Changeset 582:1f624beae675 for plugins/aboutConfig/index.php
- Timestamp:
- 07/12/11 22:00:04 (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/aboutConfig/index.php
r581 r582 90 90 table.settings { border: 1px solid #999; margin-bottom: 2em; } 91 91 table.settings th { background: #f5f5f5; color: #444; padding-top: 0.3em; padding-bottom: 0.3em; } 92 ul.submenu {float: right; border: 1px solid #ccc; padding-right: 1em; padding-left: 1.5em; margin-top:0.5em; margin-bottom:0.5em; } 92 93 </style> 93 94 </head> … … 110 111 <?php 111 112 112 $table_header = '<table class="settings" ><caption>%s</caption>'.113 $table_header = '<table class="settings" id="%s"><caption>%s</caption>'. 113 114 '<thead>'. 114 115 '<tr>'."\n". … … 132 133 ksort($settings); 133 134 135 if (count($settings) > 0) { 136 echo '<ul class="submenu">'; 137 foreach ($settings as $ns => $s) { 138 echo '<li><a href="#l_'.$ns.'">'.$ns.'</a></li>'; 139 } 140 echo '</ul>'; 141 } 142 134 143 foreach ($settings as $ns => $s) 135 144 { 136 145 ksort($s); 137 echo sprintf($table_header, $ns);146 echo sprintf($table_header,'l_'.$ns,$ns); 138 147 foreach ($s as $k => $v) 139 148 { … … 163 172 ksort($settings); 164 173 174 if (count($settings) > 0) { 175 echo '<ul class="submenu">'; 176 foreach ($settings as $ns => $s) { 177 echo '<li><a href="#g_'.$ns.'">'.$ns.'</a></li>'; 178 } 179 echo '</ul>'; 180 } 181 165 182 foreach ($settings as $ns => $s) 166 183 { 167 184 ksort($s); 168 echo sprintf($table_header, $ns);185 echo sprintf($table_header,'g_'.$ns,$ns); 169 186 foreach ($s as $k => $v) 170 187 {
Note: See TracChangeset
for help on using the changeset viewer.