Changeset 1071 in ExiteCMS for trunk/administration/custom_pages.php
- Timestamp:
- 11/06/07 17:12:56 (5 years ago)
- File:
-
- 1 edited
-
trunk/administration/custom_pages.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/administration/custom_pages.php
r834 r1071 17 17 18 18 // load the locale for this module 19 include PATH_LOCALE.LOCALESET."admin/custom_pages.php";19 locale_load("admin.custom_pages"); 20 20 21 21 // temp storage for template variables … … 47 47 // define the message panel variables 48 48 $variables['bold'] = true; 49 $template_panels[] = array('type' => 'body', 'name' => 'admin.custom_pages.status', 'title' => $title, 'template' => '_message_table_panel.tpl', 'locale' => PATH_LOCALE.LOCALESET."admin/custom_pages.php");49 $template_panels[] = array('type' => 'body', 'name' => 'admin.custom_pages.status', 'title' => $title, 'template' => '_message_table_panel.tpl', 'locale' => "admin.custom_pages"); 50 50 $template_variables['admin.custom_pages.status'] = $variables; 51 51 $variables = array(); … … 91 91 92 92 $variables['message'] = $page_content; 93 $template_panels[] = array('type' => 'body', 'name' => 'admin.custom_pages.preview', 'title' => $page_title, 'template' => '_message_table_panel.simple.tpl', 'locale' => PATH_LOCALE.LOCALESET."admin/custom_pages.php");93 $template_panels[] = array('type' => 'body', 'name' => 'admin.custom_pages.preview', 'title' => $page_title, 'template' => '_message_table_panel.simple.tpl', 'locale' => "admin.custom_pages"); 94 94 $template_variables['admin.custom_pages.preview'] = $variables; 95 95 //$page_content = stripinput((QUOTES_GPC ? addslashes($page_content) : $page_content)); … … 147 147 148 148 // define the admin body panel 149 $template_panels[] = array('type' => 'body', 'name' => 'admin.custom_pages', 'template' => 'admin.custom_pages.tpl', 'locale' => PATH_LOCALE.LOCALESET."admin/custom_pages.php");149 $template_panels[] = array('type' => 'body', 'name' => 'admin.custom_pages', 'template' => 'admin.custom_pages.tpl', 'locale' => "admin.custom_pages"); 150 150 $template_variables['admin.custom_pages'] = $variables; 151 151 }
Note: See TracChangeset
for help on using the changeset viewer.
