mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
deprecate load_view_file
This commit is contained in:
parent
a00813497f
commit
b2e92e0af3
36 changed files with 135 additions and 102 deletions
|
@ -29,7 +29,7 @@ function directory_content(&$a) {
|
|||
else
|
||||
$search = ((x($_GET,'search')) ? notags(trim(rawurldecode($_GET['search']))) : '');
|
||||
|
||||
$tpl = file_get_contents('view/directory_header.tpl');
|
||||
$tpl = get_markup_template('directory_header.tpl');
|
||||
|
||||
$globaldir = '';
|
||||
$gdirpath = dirname(get_config('system','directory_submit_url'));
|
||||
|
@ -65,7 +65,7 @@ function directory_content(&$a) {
|
|||
);
|
||||
if(count($r)) {
|
||||
|
||||
$tpl = file_get_contents('view/directory_item.tpl');
|
||||
$tpl = get_markup_template('directory_item.tpl');
|
||||
|
||||
if(in_array('small', $a->argv))
|
||||
$photo = 'thumb';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue