1
0
Fork 0

localisation path for all view templates

This commit is contained in:
Mike Macgirvin 2010-09-22 18:00:19 -07:00
commit d5a13b1e4c
28 changed files with 113 additions and 100 deletions

View file

@ -8,7 +8,7 @@ function directory_content(&$a) {
$search = ((x($_GET,'search')) ? notags(trim($_GET['search'])) : '');
$tpl .= file_get_contents('view/directory_header.tpl');
$tpl .= load_view_file('view/directory_header.tpl');
@ -34,7 +34,7 @@ function directory_content(&$a) {
);
if(count($r)) {
$tpl = file_get_contents('view/directory_item.tpl');
$tpl = load_view_file('view/directory_item.tpl');
if(in_array('small', $a->argv))
$photo = 'thumb';