diff --git a/admin/accounts.php b/admin/accounts.php index 9f6da40f5d..d3d45025c8 100755 --- a/admin/accounts.php +++ b/admin/accounts.php @@ -17,8 +17,8 @@ include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_" . $phpgw_info["server"]["account_repository"] . ".inc.php"); - $phpgw->template->set_file(array("list" => "accounts.tpl", - "row" => "accounts_row.tpl")); + $phpgw->template->set_file(array("list" => "accounts.tpl", + "row" => "accounts_row.tpl")); $total = account_total(); diff --git a/admin/applications.php b/admin/applications.php index e531be811f..ec337c5bdd 100644 --- a/admin/applications.php +++ b/admin/applications.php @@ -15,50 +15,54 @@ $phpgw_info["flags"] = array("currentapp" => "admin", "enable_nextmatchs_class" => True); include("../header.inc.php"); - if ($order) - $ordermethod = "order by $order $sort"; - else - $ordermethod = "order by app_title asc"; + $phpgw->template->set_file(array("list" => "applications.tpl", + "row" => "applications_row.tpl")); - if (! $sort) - $sort = "desc"; - - echo '
' . lang("Installed applications") . '
'; - echo '
" - . $phpgw->nextmatchs->show_sort_order($sort,"app_title",$order,"applications.php",lang("title")) . " | " - . lang("Edit") . " | " . lang("Delete") . " | " - . lang("Enabled") . " | |
$name | link("editapplication.php","app_name=" . urlencode($phpgw->db->f("app_name"))) - . "\"> " . lang("Edit") . " | "; - - echo "link("deleteapplication.php", - "app_name=" . urlencode($phpgw->db->f("app_name"))) . "\"> " . lang("Delete") - . " | "; - - echo ""; - if ($phpgw->db->f("app_enabled") != 0) { - echo lang("Yes"); - } else { - echo "" . lang("No") . ""; - } - echo " |
{lang_installed}
+ +
+
{sort_title} | +{lang_edit} | +{lang_delete} | +{lang_enabled} | +
+ + | +