[Fusionforge-commits] r18488 - trunk/src/common/widget

Marc-Etienne VARGENAU vargenau at fusionforge.org
Wed Nov 20 19:26:28 CET 2013


Author: vargenau
Date: 2013-11-20 19:26:28 +0100 (Wed, 20 Nov 2013)
New Revision: 18488

Modified:
   trunk/src/common/widget/Widget_MyAdmin.class.php
   trunk/src/common/widget/Widget_MyBookmarks.class.php
Log:
Use CSS

Modified: trunk/src/common/widget/Widget_MyAdmin.class.php
===================================================================
--- trunk/src/common/widget/Widget_MyAdmin.class.php	2013-11-20 17:58:36 UTC (rev 18487)
+++ trunk/src/common/widget/Widget_MyAdmin.class.php	2013-11-20 18:26:28 UTC (rev 18488)
@@ -36,7 +36,7 @@
 	}
 	function getContent() {
 		$i = 0;
-		$html_my_admin = '<table width="100%">';
+		$html_my_admin = '<table class="fullwidth">';
 
 		if (forge_check_global_perm ('forge_admin')) {
 			$res = db_query_params("SELECT count(*) AS count FROM users WHERE status='P' OR status='V' OR status='W'",array());
@@ -66,7 +66,7 @@
 
 			$html_my_admin .= $this->_get_admin_row(
 				$i++,
-				vsprintf(_('Groups in <a href="%s"><strong>P</strong> (pending) Status</A>'), array("/admin/approve-pending.php")),
+				vsprintf(_('Groups in <a href="%s"><strong>P</strong> (pending) Status</a>'), array("/admin/approve-pending.php")),
 				$pending_projects,
 				$this->_get_color($pending_projects)
 			);

Modified: trunk/src/common/widget/Widget_MyBookmarks.class.php
===================================================================
--- trunk/src/common/widget/Widget_MyBookmarks.class.php	2013-11-20 17:58:36 UTC (rev 18487)
+++ trunk/src/common/widget/Widget_MyBookmarks.class.php	2013-11-20 18:26:28 UTC (rev 18488)
@@ -45,14 +45,14 @@
 			$html_my_bookmarks .= '<div class="warning">'. _("You currently do not have any bookmarks saved") .'</div>';
 			$html_my_bookmarks .= db_error();
 		} else {
-			$html_my_bookmarks .= '<table style="width:100%">';
+			$html_my_bookmarks .= '<table class="fullwidth">';
 			for ($i=0; $i<$rows; $i++) {
 				$html_my_bookmarks .= '<tr '. $GLOBALS['HTML']->boxGetAltRowStyle($i) .'><td>';
 				$html_my_bookmarks .= '<a href="'. db_result($result,$i,'bookmark_url') .'">'. db_result($result,$i,'bookmark_title') .'</a> ';
 				$html_my_bookmarks .= '<small><a href="/my/bookmark_edit.php?bookmark_id='. db_result($result,$i,'bookmark_id') .'">['._("Edit").']</a></small></td>';
 				$html_my_bookmarks .= '<td style="text-align:right"><a href="/my/bookmark_delete.php?bookmark_id='. db_result($result,$i,'bookmark_id');
 				$html_my_bookmarks .= '" onClick="return confirm(\''._("Delete this bookmark?").'\')">';
-				$html_my_bookmarks .= '<img src="'.$GLOBALS['HTML']->imgroot.'ic/trash.png" height="16" width="16" border="0" alt="DELETE" /></a></td></tr>';
+				$html_my_bookmarks .= '<img src="'.$GLOBALS['HTML']->imgroot.'ic/trash.png" height="16" width="16" alt="Delete" /></a></td></tr>';
 			}
 			$html_my_bookmarks .= '</table>';
 		}




More information about the Fusionforge-commits mailing list