tbrehm
2009-03-15 0239acdaa686ed172ee41d0b08b0ad4b61e1f421
interface/web/sites/database_edit.php
@@ -173,6 +173,15 @@
         $app->tpl->setVar("database_name_prefix", $dbname_prefix);
         $app->tpl->setVar("database_user_prefix", $dbuser_prefix);
      }
      if($this->id > 0) {
         //* we are editing a existing record
         $app->tpl->setVar("edit_disabled", 1);
         $app->tpl->setVar("server_id_value", $this->dataRecord["server_id"]);
         $app->tpl->setVar("database_charset_value", $this->dataRecord["database_charset"]);
      } else {
         $app->tpl->setVar("edit_disabled", 0);
      }
      parent::onShowEnd();
   }