2009-05-13 19:48:57 +00:00
|
|
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
|
|
|
<div id="gAdminAdvancedSettings">
|
|
|
|
|
<h1> <?= t("Advanced Settings") ?> </h1>
|
|
|
|
|
<p>
|
2009-05-13 21:32:22 +00:00
|
|
|
<?= t("Here are internal Gallery configuration settings. Most of these settings are accessible elsewhere in the administrative console.") ?>
|
2009-05-13 19:48:57 +00:00
|
|
|
</p>
|
2009-05-13 21:32:22 +00:00
|
|
|
<ul id="gMessage">
|
|
|
|
|
<li class="gWarning">
|
2009-06-09 20:10:34 -07:00
|
|
|
<b><?= t("Change these values at your own risk!") ?>
|
2009-05-13 21:32:22 +00:00
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
2009-05-13 19:48:57 +00:00
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<th> <?= t("Module") ?> </th>
|
|
|
|
|
<th> <?= t("Name") ?> </th>
|
|
|
|
|
<th> <?= t("Value") ?></th>
|
|
|
|
|
</tr>
|
|
|
|
|
<? foreach ($vars as $var): ?>
|
2009-05-27 16:15:00 -07:00
|
|
|
<? if ($var->module_name == "gallery" && $var->name == "_cache") continue ?>
|
2009-05-13 19:48:57 +00:00
|
|
|
<tr class="setting">
|
|
|
|
|
<td> <?= $var->module_name ?> </td>
|
2009-05-31 00:11:48 -07:00
|
|
|
<td> <?= p::clean($var->name) ?> </td>
|
2009-05-13 21:32:22 +00:00
|
|
|
<td>
|
2009-05-31 00:11:48 -07:00
|
|
|
<a href="<?= url::site("admin/advanced_settings/edit/$var->module_name/" . p::clean($var->name)) ?>"
|
2009-05-13 21:32:22 +00:00
|
|
|
class="gDialogLink"
|
2009-05-31 00:11:48 -07:00
|
|
|
title="<?= t("Edit %var (%module_name)", array("var" => p::clean($var->name), "module_name" => $var->module_name)) ?>">
|
2009-06-09 18:58:40 -07:00
|
|
|
<? if ($var->value): ?>
|
2009-05-31 00:11:48 -07:00
|
|
|
<?= p::clean($var->value) ?>
|
2009-06-09 18:58:40 -07:00
|
|
|
<? else: ?>
|
|
|
|
|
<i> <?= t("empty") ?> </i>
|
|
|
|
|
<? endif ?>
|
2009-05-13 21:32:22 +00:00
|
|
|
</a>
|
|
|
|
|
</td>
|
2009-05-13 19:48:57 +00:00
|
|
|
</tr>
|
|
|
|
|
<? endforeach ?>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|