Changeset 8195 for extensions/PHP_Optimisateur/files/display_config.php
- Timestamp:
- Dec 19, 2010, 11:31:52 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PHP_Optimisateur/files/display_config.php
r7993 r8195 2 2 /***************************************\ 3 3 | PHP OPTIMISATEUR | 4 | Version 1. 1|4 | Version 1.2 | 5 5 \***************************************/ 6 6 … … 24 24 <span class="title">'.l10n('Options').'</span> 25 25 <table> 26 <tr> 27 <td><b>'.l10n('silentORNOT').' :</b></td> 28 <td>'.l10n($silentORNOT).'</td> 29 </tr> 30 26 31 <tr> 27 32 <td><b>'.l10n('DIRhighORNOT').' :</b></td> … … 111 116 </tr> 112 117 </table> 113 </li> 114 <li> 115 <span class="title">'.l10n('PluginsBefore').'</span> 116 <ul>'; 117 foreach ($PluginsBefore as $name => $config) { 118 echo '<li> 119 <b>'.$name.' :</b> 120 <table>'; 121 foreach ($config as $key => $value) { 122 echo '<tr> 123 <td>'.$key.' :</td> 124 <td>'.bool_to_string($value).'</td> 125 </tr>'; 126 } 127 echo '</table> 128 </li>'; 129 } 130 echo '</ul> 131 </li> 132 <li> 133 <span class="title">'.l10n('PluginsProcess').'</span> 134 <ul>'; 135 foreach ($PluginsProcess as $name => $config) { 136 echo '<li> 137 <b>'.$name.' :</b> 138 <table>'; 139 foreach ($config as $key => $value) { 140 echo '<tr> 141 <td>'.$key.' :</td> 142 <td>'.bool_to_string($value).'</td> 143 </tr>'; 144 } 145 echo '</table> 146 </li>'; 147 } 148 echo '</ul> 149 </li> 150 <li> 151 <span class="title">'.l10n('PluginsAfter').'</span> 152 <ul>'; 153 foreach ($PluginsAfter as $name => $config) { 154 echo '<li> 155 <b>'.$name.' :</b> 156 <table>'; 157 foreach ($config as $key => $value) { 158 echo '<tr> 159 <td>'.$key.' :</td> 160 <td>'.bool_to_string($value).'</td> 161 </tr>'; 162 } 163 echo '</table> 164 </li>'; 165 } 166 echo '</ul> 167 </li> 168 </ul> 118 </li>'; 119 120 // Affichage des plugins, un bloc par mode 121 foreach (array('PluginsBefore','PluginsProcess','PluginsAfter') as $mode) { 122 echo '<li> 123 <span class="title">'.l10n($mode).'</span> 124 <ul>'; 125 // Un bloc par plugin 126 foreach (${$mode} as $name => $config) { 127 echo '<li>'; 128 echo '<b>'.$name.' :</b> 129 <table>'; 130 foreach ($config as $key => $value) { 131 echo '<tr> 132 <td>'.$key.' :</td> 133 <td>'.bool_to_string($value).'</td> 134 </tr>'; 135 } 136 echo '</table> 137 </li>'; 138 } 139 echo '</ul> 140 </li>'; 141 } 142 143 echo '</ul> 169 144 </div>'; 170 145 ?>
Note: See TracChangeset
for help on using the changeset viewer.