Last change
on this file since 13514 was
12271,
checked in by Eric, 13 years ago
|
- Bug 2447 fixed : Pre-filled text are localized for installation from scratch. If language is not supported by the plugin, the default language remains English.
- maintain.inc.php refactory : Simplify installation from scratch and make code more readable.
- Comments in all code are more readable.
|
-
Property svn:eol-style set to
LF
|
File size:
541 bytes
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
4 | |
---|
5 | if (!isset($datas)) $datas = ''; |
---|
6 | |
---|
7 | // set configuration |
---|
8 | // ----------------- |
---|
9 | if (isset($_POST['submit']) and !is_adviser()) { |
---|
10 | $datas = stripslashes($_POST['personal_content']); |
---|
11 | } |
---|
12 | |
---|
13 | // Template init |
---|
14 | // ------------- |
---|
15 | $template->assign('cat_style', array()); |
---|
16 | $template->assign(array('PERSONAL_CONTENT' => $datas)); |
---|
17 | |
---|
18 | $template->set_filenames(array('module_options' => dirname(__FILE__) . '/config.tpl')); |
---|
19 | $template->assign_var_from_handle('MODULE_OPTIONS', 'module_options'); |
---|
20 | |
---|
21 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.