That's better

This commit is contained in:
friendica 2012-08-16 01:03:53 -07:00
parent eb911443aa
commit adba0bd98a
4 changed files with 3 additions and 6 deletions

View File

@ -451,7 +451,7 @@ function format_js_if_exists($source) {
else
$path = theme_include($source);
if($path)
return '<script src="' . z_root() . '/' . $source . '" ></script>' . "\r\n" ;
return '<script src="' . z_root() . '/' . $path . '" ></script>' . "\r\n" ;
}

View File

@ -1,5 +1,6 @@
<?php
require_once('include/account.php');
function zregister_init(&$a) {
$a->page['template'] = 'full';
@ -57,8 +58,6 @@ function zregister_post(&$a) {
break;
}
require_once('include/account.php');
$arr = $_POST;
$arr['account_flags'] = $flags;

View File

@ -27,5 +27,3 @@
}
});
});
</script>

View File

@ -8,7 +8,7 @@
'showmore' : '$showmore',
'showfewer' : '$showfewer',
'pwshort' : '$pwshort',
'pwnomatch' : 'pwnomatch',
'pwnomatch' : '$pwnomatch',
't01' : $t01,
't02' : $t02,