diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-05-13 19:48:57 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-13 19:48:57 +0000 |
| commit | 12380b8b39d650e1b23b2d9f57af3f3829559d36 (patch) | |
| tree | 08ff4961213e31a934c44050d718bf7b5ad80ccc /core/views | |
| parent | c52a231bc08558077788601cbd8a97cd514f1a63 (diff) | |
Add the "advanced settings" controller which lets you see all the
vars. We'll eventually turn this into a registry where you can edit
settings directly (at your own risk).
Diffstat (limited to 'core/views')
| -rw-r--r-- | core/views/admin_advanced_settings.html.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/core/views/admin_advanced_settings.html.php b/core/views/admin_advanced_settings.html.php new file mode 100644 index 00000000..e2832d97 --- /dev/null +++ b/core/views/admin_advanced_settings.html.php @@ -0,0 +1,21 @@ +<?php defined("SYSPATH") or die("No direct script access.") ?> +<div id="gAdminAdvancedSettings"> + <h1> <?= t("Advanced Settings") ?> </h1> + <p> + <?= t("Here are internal Gallery configuration settings. Most of these settings are accessible elsewhere in the administrative console. You will eventually be able to modify these directly (at your own risk).") ?> + </p> + <table> + <tr> + <th> <?= t("Module") ?> </th> + <th> <?= t("Name") ?> </th> + <th> <?= t("Value") ?></th> + </tr> + <? foreach ($vars as $var): ?> + <tr class="setting"> + <td> <?= $var->module_name ?> </td> + <td> <?= $var->name ?> </td> + <td> <?= $var->value ?> </td> + </tr> + <? endforeach ?> + </table> +</div> |
