Add Help for new template variable, and i18n.
This commit is contained in:
parent
2548273219
commit
2173a202f8
3 changed files with 16 additions and 2 deletions
|
|
@ -1274,8 +1274,8 @@ ibox.sentBy,
|
|||
(IF(userProfileData.firstName != '' and userProfileData.firstName is not null and userProfileData.lastName !='' and userProfileData.lastName is not null, concat(userProfileData.firstName,' ',userProfileData.lastName),users.username)) as fullName
|
||||
EOSQL
|
||||
tie my %userHash, 'Tie::IxHash';
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
%userHash = ( 'all' => $i18n->echo('all users'), $session->db->buildHash($userSql) );
|
||||
my $i18n = WebGUI::International->new($session, 'Account_Inbox');
|
||||
%userHash = ( 'all' => $i18n->get('All users'), $session->db->buildHash($userSql) );
|
||||
$var->{'userFilter'} = WebGUI::Form::selectBox($session,{
|
||||
name => 'userFilter',
|
||||
options => \%userHash,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue