|
From: <dj...@us...> - 2012-01-23 17:31:01
|
Revision: 8795
http://xoops.svn.sourceforge.net/xoops/?rev=8795&view=rev
Author: djculex
Date: 2012-01-23 17:30:55 +0000 (Mon, 23 Jan 2012)
Log Message:
-----------
Final adjust to image select.. :-)
Modified Paths:
--------------
XoopsModules/smallworld/trunk/smallworld/css/smallworld.css
XoopsModules/smallworld/trunk/smallworld/include/functions.php
Modified: XoopsModules/smallworld/trunk/smallworld/css/smallworld.css
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/css/smallworld.css 2012-01-23 17:02:29 UTC (rev 8794)
+++ XoopsModules/smallworld/trunk/smallworld/css/smallworld.css 2012-01-23 17:30:55 UTC (rev 8795)
@@ -748,6 +748,14 @@
position: relative;
}
+.smallworldAttImgTxt {
+ color: #A2ADE8;
+ font-size: 9px;
+ margin-left: 15%;
+ position: relative;
+ text-align: center;
+}
+
.smallworld_sttext b{
color:#006699;
}
Modified: XoopsModules/smallworld/trunk/smallworld/include/functions.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/include/functions.php 2012-01-23 17:02:29 UTC (rev 8794)
+++ XoopsModules/smallworld/trunk/smallworld/include/functions.php 2012-01-23 17:30:55 UTC (rev 8795)
@@ -202,11 +202,11 @@
$ext2 = substr($text,-5,5);
if (in_array($ext,array('.jpg','.bmp','.gif','.png')) || in_array($ext2,array('.jpeg'))){
$text = preg_replace('/(((f|ht){1}tp:\/\/)[-a-zA-Z0-9@:%_\+.~#?&\/\/=]+)/i',
- '<a href="\\1">'._SMALLWORLD_CLICKIMAGETHUMB.' </a><img class="smallworldAttImg" src="\\1">', $text);
+ '<img class="smallworldAttImg" src="\\1"><a class="smallworldAttImgTxt" href="\\1">'._SMALLWORLD_CLICKIMAGETHUMB.' </a><br>', $text);
$text = preg_replace('/(((f|ht){1}tps:\/\/)[-a-zA-Z0-9@:%_\+.~#?&\/\/=]+)/i',
'<a href="\\1">lala</a>', $text);
$text = preg_replace('/([[:space:]()[{}])(www.[-a-zA-Z0-9@:%_\+.~#?&\/\/=]+)/i',
- '\\1<a href="//\\2">'._SMALLWORLD_CLICKIMAGETHUMB.'</a><img class="smallworldAttImg" src="//\\2">', $text);
+ '\\1<img class="smallworldAttImg" src="//\\2"><a class="smallworldAttImgTxt" href="//\\2">'._SMALLWORLD_CLICKIMAGETHUMB.'</a><br>', $text);
} else {
$text = html_entity_decode($text);
$text = " ".$text;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|