1
1
Fork 0

another template made language neutral

This commit is contained in:
Friendika 2011-02-23 19:30:57 -08:00
commit 15780914ec
7 changed files with 11 additions and 6 deletions

View file

@ -768,7 +768,12 @@ function escape_tags($string) {
if(! function_exists('login')) {
function login($register = false) {
$o = "";
$register_html = (($register) ? load_view_file("view/register-link.tpl") : "");
$register_tpl = (($register) ? load_view_file("view/register-link.tpl") : "");
$register_html = replace_macros($register_tpl,array(
'$title' => t('Create a New Account'),
'$desc' => t('Register')
));
$noid = get_config('system','no_openid');
if($noid) {