"
- . $phpgw->nextmatchs->show_sort_order($sort,"lastname",$order,"accounts.php",lang_common("last name")) . " | "
- . $phpgw->nextmatchs->show_sort_order($sort,"firstname",$order,"accounts.php",lang_common("first name")) . " | "
- . lang_common("Edit") . " | " . lang_common("Delete") . " | "
- . lang_common("View") . " |
\n";
+ $t->set_var("left_next_matchs",$phpgw->nextmatchs->left("accounts.php",$start,$total));
+ $t->set_var("lang_user_accounts",lang_admin("user accounts"));
+ $t->set_var("right_next_matchs",$phpgw->nextmatchs->right("accounts.php",$start,$total));
+
+ $t->set_var("lang_lastname",$phpgw->nextmatchs->show_sort_order($sort,"lastname",$order,"accounts.php",lang_common("last name")));
+ $t->set_var("lang_firstname",$phpgw->nextmatchs->show_sort_order($sort,"firstname",$order,"accounts.php",lang_common("first name")));
+
+ $t->set_var("lang_edit",lang_common("Edit"));
+ $t->set_var("lang_delete",lang_common("Delete"));
+ $t->set_var("lang_view",lang_common("View"));
+
+ $t->parse("out","header");
$phpgw->db->query("select con,firstname,lastname,loginid from accounts $querymethod "
- . "$ordermethod limit $limit");
+ . "$ordermethod limit $limit");
while ($phpgw->db->next_record()) {
$tr_color = $phpgw->nextmatchs->alternate_row_color($tr_color);
+ $t->set_var("tr_color",$tr_color);
$lastname = $phpgw->db->f("lastname");
$firstname = $phpgw->db->f("firstname");
@@ -62,24 +72,31 @@
if (! $lastname) $lastname = ' ';
if (! $firstname) $firstname = ' ';
- echo "