Last change
on this file since 18948 was
12181,
checked in by arno, 13 years ago
|
feature : dynamicResize 1er commit, suite et fin
|
File size:
628 bytes
|
Line | |
---|
1 | <?php |
---|
2 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
3 | |
---|
4 | $me = get_plugin_data($plugin_id); |
---|
5 | |
---|
6 | if (isset($_POST['submit'])) |
---|
7 | { |
---|
8 | $me->my_config['DynamicResize'] = $_POST['DEBUG_MODE']; |
---|
9 | // $me->my_config['TestPlugin2'] = $_POST['TESTPLUGIN_VAR1']; |
---|
10 | $me->save_config(); |
---|
11 | } |
---|
12 | |
---|
13 | global $template; |
---|
14 | $template->set_filenames( array('plugin_admin_content' => dirname(__FILE__).'/dynamic_resize_admin.tpl') ); |
---|
15 | |
---|
16 | $template->assign('DEBUG_MODE', $me->my_config['DynamicResize']); |
---|
17 | //$template->assign('TESTPLUGIN_VAR2', $me->my_config['TestPlugin2']); |
---|
18 | |
---|
19 | $template->assign_var_from_handle( 'ADMIN_CONTENT', 'plugin_admin_content'); |
---|
20 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.