Changeset 582:1f624beae675 for plugins/userPref
- Timestamp:
- 07/12/11 22:00:04 (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/userPref/index.php
r581 r582 86 86 table.prefs { border: 1px solid #999; margin-bottom: 2em; } 87 87 table.prefs th { background: #f5f5f5; color: #444; padding-top: 0.3em; padding-bottom: 0.3em; } 88 ul.submenu {float: right; border: 1px solid #ccc; padding-right: 1em; padding-left: 1.5em; margin-top:0.5em; margin-bottom:0.5em; } 88 89 </style> 89 90 </head> … … 128 129 ksort($prefs); 129 130 131 if (count($prefs) > 0) { 132 echo '<ul class="submenu">'; 133 foreach ($prefs as $ws => $s) { 134 echo '<li><a href="#l_'.$ws.'">'.$ws.'</a></li>'; 135 } 136 echo '</ul>'; 137 } 138 130 139 foreach ($prefs as $ws => $s) 131 140 { … … 160 169 ksort($prefs); 161 170 171 if (count($prefs) > 0) { 172 echo '<ul class="submenu">'; 173 foreach ($prefs as $ws => $s) { 174 echo '<li><a href="#g_'.$ws.'">'.$ws.'</a></li>'; 175 } 176 echo '</ul>'; 177 } 178 162 179 foreach ($prefs as $ws => $s) 163 180 {
Note: See TracChangeset
for help on using the changeset viewer.