| | |
| | | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| | | */ |
| | | |
| | | require_once('../../lib/config.inc.php'); |
| | | require_once('../../lib/app.inc.php'); |
| | | require_once '../../lib/config.inc.php'; |
| | | require_once '../../lib/app.inc.php'; |
| | | |
| | | //* Check permissions for module |
| | | $app->auth->check_module_permissions('designer'); |
| | |
| | | |
| | | function getinfo($file, $form_file, $bgcolor) { |
| | | $module_name = $file; |
| | | include(ISPC_WEB_PATH."/$file/form/$form_file"); |
| | | include ISPC_WEB_PATH."/$file/form/$form_file"; |
| | | return array( 'name' => $form['name'], |
| | | 'title' => $form['title'], |
| | | 'description' => $form['description'], |
| | |
| | | |
| | | //* load language file |
| | | $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_form_list.lng'; |
| | | include($lng_file); |
| | | include $lng_file; |
| | | $app->tpl->setVar($wb); |
| | | |
| | | $app->tpl_defaults(); |