another template made language neutral
This commit is contained in:
parent
953d8ccb54
commit
15780914ec
7 changed files with 11 additions and 6 deletions
7
boot.php
7
boot.php
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue