From 21a934d1c796d05f1b29c342f8bbc8135e8ee3ba Mon Sep 17 00:00:00 2001 From: jengo Date: Sat, 19 Aug 2000 13:58:49 +0000 Subject: [PATCH] Started app the application enabler/disabler --- admin/applications.php | 65 ++++++++++++++++++++++++++++++++++++++++++ admin/index.php | 1 + 2 files changed, 66 insertions(+) create mode 100644 admin/applications.php diff --git a/admin/applications.php b/admin/applications.php new file mode 100644 index 0000000000..aade14a43e --- /dev/null +++ b/admin/applications.php @@ -0,0 +1,65 @@ +' + . ''; + + echo ""; + + $phpgw->db->query("select * from applications $ordermethod"); + + while ($phpgw->db->next_record()) { + $tr_color = $phpgw->nextmatchs->alternate_row_color($tr_color); + $name = $phpgw->db->f("app_title"); + + if (! $phpgw->db->f("app_title")) $name = $phpgw->db->f("app_name"); + if (! $name) $name = " "; + + echo ""; + + echo ""; + + echo "\n"; + } + + echo "
' . lang_admin("Installed applications") . '
" + . $phpgw->nextmatchs->show_sort_order($sort,"app_title",$order,"applications.php",lang_common("title")) . "" + . lang_common("Edit") . " " . lang_common("Delete") . " " + . lang_common("Enabled") . "
$namelink("editapplication.php","app_name=" . urlencode($phpgw->db->f("app_name"))) + . "\"> " . lang_common("Edit") . " link("deleteapplication.php", + "app_name=" . urlencode($phpgw->db->f("app_name"))) . "\"> " . lang_common("Delete") + . " "; + if ($phpgw->db->f("app_enabled") == 1) { + echo lang_common("Yes"); + } else { + echo "" . lang_common("No") . ""; + } + echo "
" + . $phpgw->session->hidden_var() + . "
"; + + include($phpgw_info["server"]["api_dir"] . "/footer.inc.php"); diff --git a/admin/index.php b/admin/index.php index cdf11fb65a..12bca51f7a 100755 --- a/admin/index.php +++ b/admin/index.php @@ -21,6 +21,7 @@


" . lang_admin("User accounts"); ?>
" . lang_admin("User groups"); ?> +
" . lang_admin("Applications"); ?>

" . lang_admin("View sessions"); ?>
" . lang_admin("View Access Log"); ?>

" . lang_admin("Headline Sites"); ?>