diff --git a/admin/lang/en_admin.inc.php b/admin/lang/en_admin.inc.php index 7ad81b1c15..53e4d4fd40 100755 --- a/admin/lang/en_admin.inc.php +++ b/admin/lang/en_admin.inc.php @@ -44,6 +44,21 @@ case "installed applications": $s = "Installed applications"; break; + + + case "add new application": + $s = "Add new application"; break; + + case "application name": + $s = "Application name"; break; + + case "application title": + $s = "Application title"; break; + + + + + case "are you sure you want to delete this group ?": $s = "Are you sure you want to delete this group ?"; break; diff --git a/admin/newapplication.php b/admin/newapplication.php new file mode 100644 index 0000000000..9227fdee26 --- /dev/null +++ b/admin/newapplication.php @@ -0,0 +1,58 @@ + True, "nonavbar" => True); + } + + $phpgw_flags["currentapp"] = "admin"; + include("../header.inc.php"); + if (! $submit) { + ?> +
+
+
+ db->query("insert into applications (app_name,app_title,app_enabled) values ('" + . addslashes($n_app_name) . "','" . addslashes($n_app_title) . "','" + . "$n_app_enabled')"); + + Header("Location: " . $phpgw->link("applications.php")); + } +