forked from extern/egroupware
Add change two calls to lang
This commit is contained in:
parent
584ea9936d
commit
2747b3681d
@ -41,7 +41,7 @@
|
|||||||
$str = '<select name="new_owner" size="5">'."\n";
|
$str = '<select name="new_owner" size="5">'."\n";
|
||||||
$users = $phpgw->accounts->get_list('accounts');
|
$users = $phpgw->accounts->get_list('accounts');
|
||||||
$c_users = count($users);
|
$c_users = count($users);
|
||||||
$str .= '<option value="0">Delete All Records</option>'."\n";
|
$str .= '<option value="0">'.lang('Delete All Records').'</option>'."\n";
|
||||||
for($i=0;$i<$c_users;$i++)
|
for($i=0;$i<$c_users;$i++)
|
||||||
{
|
{
|
||||||
$str .= '<option value="'.$users[$i]['account_id'].'">'.$phpgw->common->display_fullname($users[$i]['account_lid'],$users[$i]['account_firstname'],$users[$i]['account_lastname']).'</option>'."\n";
|
$str .= '<option value="'.$users[$i]['account_id'].'">'.$phpgw->common->display_fullname($users[$i]['account_lid'],$users[$i]['account_firstname'],$users[$i]['account_lastname']).'</option>'."\n";
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($errorcount) { $t->set_var('message',$phpgw->common->error_list($error)); }
|
if ($errorcount) { $t->set_var('message',$phpgw->common->error_list($error)); }
|
||||||
if (($submit) && (! $error) && (! $errorcount)) { $t->set_var('message',lang("Category x has been updated !",$catname)); }
|
if (($submit) && (! $error) && (! $errorcount)) { $t->set_var('message',lang("Category x has been updated !",$cat_name)); }
|
||||||
if ((! $submit) && (! $error) && (! $errorcount)) { $t->set_var('message',''); }
|
if ((! $submit) && (! $error) && (! $errorcount)) { $t->set_var('message',''); }
|
||||||
|
|
||||||
$cats = $c->return_single($cat_id);
|
$cats = $c->return_single($cat_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user