Last change
on this file since 19428 was
19428,
checked in by mistic100, 11 years ago
|
change reload icon with color choice (dark or light), separate HTML and PHP
|
File size:
571 bytes
|
Line | |
---|
1 | <?php |
---|
2 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
3 | |
---|
4 | global $template; |
---|
5 | |
---|
6 | if (isset($conf['cryptographp_button_color'])) |
---|
7 | { |
---|
8 | $conf['cryptographp']['button_color'] = $conf['cryptographp_button_color']; |
---|
9 | } |
---|
10 | |
---|
11 | load_language('plugin.lang', CRYPTO_PATH); |
---|
12 | |
---|
13 | $template->assign(array( |
---|
14 | 'CRYPTO' => $conf['cryptographp'], |
---|
15 | 'CRYPTO_PATH' => get_absolute_root_url().CRYPTO_PATH, |
---|
16 | )); |
---|
17 | |
---|
18 | $template->set_filename('cryptographp', realpath(CRYPTO_PATH.'include/'.$conf['cryptographp']['template'].'.tpl')); |
---|
19 | $template->assign_var_from_handle('CRYPTOGRAPHP', 'cryptographp'); |
---|
20 | |
---|
21 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.