Last change
on this file since 27325 was
26430,
checked in by mistic100, 11 years ago
|
slip help files + add entry in plugins list
|
File size:
1.1 KB
|
Line | |
---|
1 | <?php |
---|
2 | defined('EXTENDED_DESC_PATH') or die('Hacking attempt!'); |
---|
3 | |
---|
4 | global $template, $page; |
---|
5 | load_language('plugin.lang', EXTENDED_DESC_PATH); |
---|
6 | |
---|
7 | $page['infos'][] = l10n('Extended Description have been successfully installed. Now you can use all its features in most text boxes of Piwigo.'); |
---|
8 | |
---|
9 | |
---|
10 | |
---|
11 | $template->assign(array( |
---|
12 | 'EXTENDED_DESC_PATH' => EXTENDED_DESC_PATH, |
---|
13 | 'EXTDESC_HELP' => array( |
---|
14 | 'lang' => load_language('help.lang.html', EXTENDED_DESC_PATH, array('return'=>true)), |
---|
15 | 'extdesc' => load_language('help.extdesc.html', EXTENDED_DESC_PATH, array('return'=>true)), |
---|
16 | 'cat_photo' => load_language('help.cat_photo.html', EXTENDED_DESC_PATH, array('return'=>true)), |
---|
17 | 'slider' => load_language('help.slider.html', EXTENDED_DESC_PATH, array('return'=>true)), |
---|
18 | 'hide' => load_language('help.hide.html', EXTENDED_DESC_PATH, array('return'=>true)), |
---|
19 | 'redirect' => load_language('help.redirect.html', EXTENDED_DESC_PATH, array('return'=>true)), |
---|
20 | ), |
---|
21 | )); |
---|
22 | |
---|
23 | $template->set_filename('extdesc', realpath(EXTENDED_DESC_PATH . 'template/admin.tpl')); |
---|
24 | $template->assign_var_from_handle('ADMIN_CONTENT', 'extdesc'); |
---|
Note: See
TracBrowser
for help on using the repository browser.