[evolvis-commits] r18718: ah, news posting details, too

mirabilos at evolvis.org mirabilos at evolvis.org
Mon Oct 8 15:00:00 CEST 2012


Author: mirabilos
Date: 2012-10-08 15:00:00 +0200 (Mon, 08 Oct 2012)
New Revision: 18718

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/common/forum/ForumHTML.class.php
   trunk/gforge_base/evolvisforge-5.1/src/www/themes/css/fusionforge.css
Log:
ah, news posting details, too

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/forum/ForumHTML.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/forum/ForumHTML.class.php	2012-10-08 12:43:29 UTC (rev 18717)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/forum/ForumHTML.class.php	2012-10-08 13:00:00 UTC (rev 18718)
@@ -61,7 +61,12 @@
 				exit_no_group();
 			}
 			echo '<p>
-			<strong>'._('Posted by').':</strong> '.$user->getRealName().'<br />
+			<strong>'._('Posted by').':</strong> ' .
+			    str_replace('img-shadow-', 'img-inline-',
+			    str_replace('<div', '<span',
+			    str_replace('</div', '</span',
+			    util_display_user($user->getUnixName(),
+			    $user->getID(), $user->getRealName())))) . '<br />
 			<strong>'._('Date').':</strong> '. date(_('Y-m-d H:i'),db_result($result,0,'post_date')).'<br />
 			<strong>'._('Summary').':</strong> '.
 				util_make_link ('/forum/forum.php?forum_id='.db_result($result,0,'forum_id').'&group_id='.$group_id,

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/themes/css/fusionforge.css
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/themes/css/fusionforge.css	2012-10-08 12:43:29 UTC (rev 18717)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/themes/css/fusionforge.css	2012-10-08 13:00:00 UTC (rev 18718)
@@ -899,6 +899,51 @@
 	height: auto;
 }
 
+.img-inline-l {
+	background: url(../../images/img-shadowAlpha.png) no-repeat bottom right !important;
+	background: url(../../images/img-shadow.gif) no-repeat bottom right;
+	margin: 10px 0 0 10px !important;
+	margin: 10px 0 0 5px;
+}
+
+.img-inline-l img {
+	position: relative;
+	background-color: #fff;
+	border: 1px solid #a9a9a9;
+	margin: -6px 6px 6px -6px;
+	padding: 4px;
+}
+
+.img-inline-s {
+	background: url(../../images/img-shadowAlpha.png) no-repeat bottom right !important;
+	background: url(../../images/img-shadow.gif) no-repeat bottom right;
+	margin: 4px 0 0 4px !important;
+	margin: 4px 0 0 2px;
+}
+
+.img-inline-s img {
+	position: relative;
+	background-color: #fff;
+	border: 1px solid #a9a9a9;
+	margin: -2px 2px 2px -2px;
+	padding: 2px;
+}
+
+.img-inline-xs {
+	margin-right: 2px;
+}
+
+.img-inline-xs img {
+	position: relative;
+	border: 1px solid #a9a9a9;
+	width: auto;
+	height : 16px;
+}
+
+.img-inline-xs img:hover {
+	height: auto;
+}
+
 .no-img-xs {
 	float: left;
 	margin-right: 2px;



More information about the evolvis-commits mailing list