Skip to content

Commit e13bb51

Browse files
committed
add tpl index.tpl myspace
1 parent 6af53d2 commit e13bb51

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

main/mySpace/index.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,15 @@
413413
}
414414
}
415415

416+
$view = new Template($toolName);
417+
$view->assign('header', $toolName);
418+
$view->assign('actions',Display::toolbarAction('toolbar', [$actions]));
419+
$view->assign('content', $content);
420+
$template = $view->get_template('my_space/index.tpl');
421+
$content = $view->fetch($template);
422+
$view->display_one_col_template();
423+
424+
416425
// Send the csv file if asked
417426
if ($export_csv) {
418427
ob_end_clean();

main/template/default/my_space/index.tpl

Whitespace-only changes.

0 commit comments

Comments
 (0)