View Issue Details

IDProjectCategoryView StatusLast Update
0016645phpList 3 applicationInterface - Backendpublic21-06-18 13:05
Reportertarekdj 
PriorityhighSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version 
Target Versionnext majorFixed in Version2.11.7 
Summary0016645: Make the users page tableless
DescriptionAttached patch that replace tables content by div tags
TagsNo tags attached.

Activities

tarekdj

19-06-12 15:08

developer  

users.php.patch (1,621 bytes)
Index: users.php
===================================================================
--- users.php	(r�vision 3324)
+++ users.php	(copie de travail)
@@ -263,7 +263,7 @@
   $start = 0;
 }
 
-$filterpanel .= '<table><tr><td valign="top">';
+$filterpanel .= '<div class="filter">';
 $filterpanel .= sprintf('<form method="get" name="listcontrol" action="">
   <input type="hidden" name="page" value="users" />
   <input type="hidden" name="start" value="%d" />
@@ -303,7 +303,7 @@
        $GLOBALS['I18N']->get('desc'), $sortorder == "desc" ? 'checked="checked"' : '', 
        $GLOBALS['I18N']->get('asc'), $sortorder == "asc" ? 'checked="checked"' : '', 
        $GLOBALS['I18N']->get('Go'));
-$filterpanel .= '</td></tr></table>';
+$filterpanel .= '</div>';
 
 $order = '';
 if ($sortby) {
@@ -356,8 +356,8 @@
 }
 
 $filterpanel .= '
-<table class="usersFind" border="1">
-<tr><td colspan="4"><input type="hidden" name="id" value="'.$listid.'" />';
+<div class="usersFind">
+<input type="hidden" name="id" value="'.$listid.'" />';
 
 $filterpanel .= '<label for="find">'.$GLOBALS['I18N']->get('Find a user').'</label>';
 $filterpanel .= '<input type="text" name="find" value="';
@@ -379,9 +379,9 @@
 }
 
 $filterpanel .= '</select><input class="submit" type="submit" value="Go" />&nbsp;&nbsp;<a href="./?page=users&amp;find=NULL" class="reset">'. $GLOBALS['I18N']->get('reset').'</a>';
-$filterpanel .= '</form></td></tr>';
-$filterpanel .= '<tr><td colspan="4"></td></tr>
-</table>';
+$filterpanel .= '</form></div>';
+//$filterpanel .= '<tr><td colspan="4"></td></tr>
+//</table>';
 
 print Info($countpanel);
 
users.php.patch (1,621 bytes)