diff options
Diffstat (limited to 'views/default/settings')
| -rw-r--r-- | views/default/settings/install.php | 19 | ||||
| -rw-r--r-- | views/default/settings/system.php | 65 |
2 files changed, 0 insertions, 84 deletions
diff --git a/views/default/settings/install.php b/views/default/settings/install.php deleted file mode 100644 index 8de795da4..000000000 --- a/views/default/settings/install.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php
-
- /**
- * Elgg system settings on initial installation
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008
- * @link http://elgg.org/
- *
- */
-
- echo "<p>" . nl2br(elgg_echo("installation:settings:description")) . "</p>";
-
- echo elgg_view("settings/system",array("action" => "action/systemsettings/install"));
-
-?>
\ No newline at end of file diff --git a/views/default/settings/system.php b/views/default/settings/system.php deleted file mode 100644 index ad509724a..000000000 --- a/views/default/settings/system.php +++ /dev/null @@ -1,65 +0,0 @@ -<?php
-
- /**
- * Elgg system settings form
- * The form to change system settings
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008
- * @link http://elgg.org/
- *
- * @uses $vars['action'] If set, the place to forward the form to (usually action/systemsettings/save)
- */
-
- // Set action appropriately
- if (!isset($vars['action'])) {
- $action = $vars['url'] . "action/systemsettings/save";
- } else {
- $action = $vars['action'];
- }
-
-?>
-
- <form action="<?php echo $action; ?>" method="post">
-
-<?php
-
- foreach(array('sitename','wwwroot','path','dataroot', 'view') as $field) {
-
-?>
- <p>
- <?php echo elgg_echo($field); ?><br />
- <?php
- echo elgg_view("input/text",array('internalname' => $field, 'value' => $vars['config']->$field));
- ?>
- </p>
-
-<?php
-
- }
-
-?> - <p> - <?php echo elgg_echo('language'); ?> - <?php - $languages = get_installed_translations(); - - echo elgg_view("input/pulldown", array('internalname' => 'language', 'value' => $vars['config']->language, 'options_values' => $languages)); - ?> - </p> - - <p> - <?php echo elgg_echo('debug'); ?><br /> - <?php - echo elgg_view("input/checkboxes", array('options' => array(elgg_echo('debug:label')), 'internalname' => 'debug', 'value' => ($vars['config']->debug ? elgg_echo('debug:label') : "") )); - ?> - </p>
- <p>
- <input type="hidden" name="settings" value="go" />
- <input type="submit" value="<?php echo elgg_echo("save"); ?>" />
- </p>
-
- </form>
\ No newline at end of file |
