1
1
Fork 0

more templates converted to string files

This commit is contained in:
Friendika 2011-04-06 22:42:08 -07:00
commit c32ed16303
25 changed files with 356 additions and 544 deletions

View file

@ -35,7 +35,9 @@ function directory_content(&$a) {
$o .= replace_macros($tpl, array(
'$search' => $search,
'$globaldir' => $globaldir,
'$finding' => (strlen($search) ? '<h4>' . t('Finding: ') . "'" . $search . "'" . '</h4>' : "")
'$finding' => (strlen($search) ? '<h4>' . t('Finding: ') . "'" . $search . "'" . '</h4>' : ""),
'$sitedir' => t('Site Directory'),
'$submit' => t('Find')
));
if($search)

View file

@ -91,7 +91,11 @@ function group_content(&$a) {
if(($a->argc == 2) && ($a->argv[1] === 'new')) {
$tpl = load_view_file('view/group_new.tpl');
$o .= replace_macros($tpl,array());
$o .= replace_macros($tpl,array(
'$desc' => t('Create a group of contacts/friends.'),
'$name' => t('Group Name: '),
'$submit' => t('Submit')
));
return $o;
}
@ -144,7 +148,11 @@ function group_content(&$a) {
'$gid' => $group['id'],
'$name' => $group['name'],
'$drop' => $drop_txt,
'$selector' => contact_select('group_members_select','group_members_select',$preselected,25,false,$celeb)
'$selector' => contact_select('group_members_select','group_members_select',$preselected,25,false,$celeb),
'$title' => t('Group Editor'),
'$gname' => t('Group Name: '),
'$members' => t('Members:'),
'$submit' => t('Submit')
));
}

View file

@ -258,7 +258,15 @@ function settings_content(&$a) {
'$page_normal' => PAGE_NORMAL,
'$page_soapbox' => PAGE_SOAPBOX,
'$page_community' => PAGE_COMMUNITY,
'$page_freelove' => PAGE_FREELOVE
'$page_freelove' => PAGE_FREELOVE,
'$n_l' => t('Normal Account'),
'$n_d' => t('This account is a normal personal profile'),
'$s_l' => t('Soapbox Account'),
'$s_d' => t('Automatically approve all connection/friend requests as read-only fans'),
'$c_l' => t('Community/Celebrity Account'),
'$c_d' => t('Automatically approve all connection/friend requests as read-write fans'),
'$f_l' => t('Automatic Friend Account'),
'$f_d' => t('Automatically approve all connection/friend requests as friends')
));
$noid = get_config('system','no_openid');