Adjust order of items on server_add admin page. Restore autocomplete to the add form. Created a server_add.css file.

This commit is contained in:
Chad Kieffer
2009-10-23 22:24:06 -06:00
parent 85affaf23f
commit e3f90a889d
7 changed files with 50 additions and 77 deletions

View File

@@ -83,9 +83,9 @@ class Admin_Server_Add_Controller extends Admin_Controller {
private function _get_admin_form() {
$form = new Forge("admin/server_add/add_path", "", "post",
array("id" => "g-server-add-admin-form", "class" => "g-short-form g-wide"));
array("id" => "g-server-add-admin-form", "class" => "g-short-form"));
$add_path = $form->group("add_path");
$add_path->input("path")->label(t("Path"))->rules("required")
$add_path->input("path")->label(t("Path"))->rules("required")->id("g-path")
->error_messages("not_readable", t("This directory is not readable by the webserver"))
->error_messages("is_symlink", t("Symbolic links are not allowed"));
$add_path->submit("add")->value(t("Add Path"));