summaryrefslogtreecommitdiff
path: root/actions/siteadminpanel.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-11-19 11:55:07 -0800
committerZach Copley <zach@status.net>2009-11-19 11:55:07 -0800
commitb8de14af2c91eb50b62e352a5a66ee3ee474d7a0 (patch)
tree86acc378f9bea557f6e8ac0ee6c025f3ad33ed91 /actions/siteadminpanel.php
parent640bb39891c7e36886ff0cc3b2599e75f9c691be (diff)
Moved most path and server settings to a new paths admin panel
Diffstat (limited to 'actions/siteadminpanel.php')
-rw-r--r--actions/siteadminpanel.php19
1 files changed, 2 insertions, 17 deletions
diff --git a/actions/siteadminpanel.php b/actions/siteadminpanel.php
index 916b9ebfb..40197d6e2 100644
--- a/actions/siteadminpanel.php
+++ b/actions/siteadminpanel.php
@@ -92,8 +92,8 @@ class SiteadminpanelAction extends AdminPanelAction
{
static $settings = array('site' => array('name', 'broughtby', 'broughtbyurl',
'email', 'timezone', 'language',
- 'ssl', 'sslserver', 'site', 'path',
- 'textlimit', 'dupelimit', 'locale_path'),
+ 'ssl', 'sslserver', 'site',
+ 'textlimit', 'dupelimit'),
'snapshot' => array('run', 'reporturl', 'frequency'));
static $booleans = array('site' => array('private', 'inviteonly', 'closed', 'fancy'));
@@ -216,14 +216,6 @@ class SiteadminpanelAction extends AdminPanelAction
$this->clientError(_("Dupe limit must 1 or more seconds."));
}
- // Validate locales path
-
- // XXX: What else do we need to validate for lacales path here? --Z
-
- if (!empty($values['site']['locale_path']) && !is_readable($values['site']['locale_path'])) {
- $this->clientError(sprintf(_("Locales directory not readable: %s"), $values['site']['locale_path']));
- }
-
}
}
@@ -317,9 +309,6 @@ class SiteAdminPanelForm extends AdminForm
false, $this->value('language'));
$this->unli();
- $this->li();
- $this->input('locale_path', _('Path to locales'), _('Directory path to locales'));
- $this->unli();
$this->out->elementEnd('ul');
$this->out->elementEnd('fieldset');
@@ -331,10 +320,6 @@ class SiteAdminPanelForm extends AdminForm
$this->unli();
$this->li();
- $this->input('path', _('Path'), _('Site path'));
- $this->unli();
-
- $this->li();
$this->out->checkbox('fancy', _('Fancy URLs'),
(bool) $this->value('fancy'),
_('Use fancy (more readable and memorable) URLs?'));