/**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('kernel', self::load(), 'content-formatting');
 }
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('kernel', self::load(), 'maintenance');
 }
 /**
  * Saves the configuration in the database.
  */
 public static function save()
 {
     ConfigManager::save('kernel', self::load(), 'customization-config');
 }
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('download', self::load(), 'config');
 }
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('kernel', self::load(), 'authentication-config');
 }
<?php

require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/includes/ConfigManager.php';
//require_once $pluginManager->getController('configeditor');
$configEditor = new ConfigManager(dirname(dirname(dirname(dirname(__FILE__)))) . '/config.php');
$config = $configEditor->loadConfig();
if (!empty($_POST)) {
    foreach ($_POST as $key => $value) {
        $configEditor->setValue($key, $value);
    }
    $configEditor->save();
    $jUI->setWarning('Eingaben gespeichert.');
}
$jUI->add(new JUI\Heading("Konfigurations-Editor"));
$table = new JUI\Table();
foreach ($config as $key => $value) {
    $keyText = new JUI\Text($key);
    $keyText->setAppearance(JUI\Text::BOLD);
    $keyDescription = new JUI\Text($value['description']);
    $keyDescription->setAppearance(JUI\Text::ITALIC);
    $keyColumn = new JUI\Table\Column();
    $keyColumn->add($keyText);
    $keyColumn->add($keyDescription);
    $row = new JUI\Table\Row();
    $row->addColumn($keyColumn);
    if ($value['type'] == "STRING") {
        $view = new JUI\Input($key);
        $view->setValue($value['value']);
    } else {
        if ($value['type'] == "INTEGER") {
            $view = new JUI\Input($key);
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('recaptcha', self::load(), 'config');
 }
 /**
  * @method Saves the bugtracker configuration in the database. It becomes persistent.
  */
 public static function save()
 {
     ConfigManager::save('bugtracker', self::load(), 'config');
 }
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('newsletter', self::load(), 'config');
 }
示例#10
0
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('kernel', self::load(), 'general-config');
 }
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('kernel', self::load(), 'last-use-date');
 }
示例#12
0
 /**
  * @method Saves the calendar configuration in the database. It becomes persistent.
  */
 public static function save()
 {
     ConfigManager::save('calendar', self::load(), 'config');
 }
 /**
  * Saves the configuration
  */
 public static function save()
 {
     ConfigManager::save('kernel', self::load(), 'writing-pad');
 }
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('kernel', self::load(), 'content-management');
 }
示例#15
0
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('articles', self::load(), 'config');
 }
示例#16
0
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('gallery', self::load(), 'config');
 }
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('kernel', self::load(), 'server-environment-config');
 }
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('kernel', self::load(), 'file-upload-config');
 }
示例#19
0
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('kernel', self::load(), 'comments-config');
 }
示例#20
0
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('shoutbox', self::load(), 'config');
 }
 /**
  * Saves the guestbook configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('guestbook', self::load(), 'config');
 }
示例#22
0
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('kernel', self::load(), 'security');
 }
示例#23
0
 /**
  * Invalidates the current themes cached data.
  */
 public static function save()
 {
     ConfigManager::save('kernel', self::load(), 'themes');
 }
 /**
  * Saves the configuration in the database. Has it become persistent.
  */
 public static function save()
 {
     ConfigManager::save('kernel', self::load(), 'user-accounts');
 }