localisation path for all view templates
This commit is contained in:
parent
124129e2a0
commit
d5a13b1e4c
28 changed files with 113 additions and 100 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue