Last change
on this file since 3609 was
3609,
checked in by patdenice, 15 years ago
|
Convert all php and tpl files in Unix format for my plugins.
|
File size:
446 bytes
|
Rev | Line | |
---|
[3609] | 1 | <?php |
---|
| 2 | |
---|
| 3 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
| 4 | |
---|
| 5 | // Affichages des modules à ajouter |
---|
| 6 | foreach($modules as $module) |
---|
| 7 | { |
---|
| 8 | $template->append('add_module', array( |
---|
| 9 | 'MODULE' => $module['type'], |
---|
| 10 | 'NAME' => $module['name'], |
---|
| 11 | 'DESC' => $module['description'])); |
---|
| 12 | } |
---|
| 13 | |
---|
| 14 | $template->set_filename('plugin_admin_content', dirname(__FILE__) . '/template/new.tpl'); |
---|
| 15 | $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); |
---|
[3300] | 16 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.