Changeset 1071 in ExiteCMS for trunk/administration/articles.php
- Timestamp:
- 11/06/07 17:12:56 (5 years ago)
- File:
-
- 1 edited
-
trunk/administration/articles.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/administration/articles.php
r834 r1071 17 17 18 18 // load the locale for this module 19 include PATH_LOCALE.LOCALESET."admin/news-articles.php";19 locale_load("admin.news-articles"); 20 20 21 21 // temp storage for template variables … … 41 41 // define the message panel variables 42 42 $variables['bold'] = true; 43 $template_panels[] = array('type' => 'body', 'name' => 'admin.article.status', 'title' => $title, 'template' => '_message_table_panel.tpl', 'locale' => PATH_LOCALE.LOCALESET."admin/news-articles.php");43 $template_panels[] = array('type' => 'body', 'name' => 'admin.article.status', 'title' => $title, 'template' => '_message_table_panel.tpl', 'locale' => "admin.news-articles"); 44 44 $template_variables['admin.article.status'] = $variables; 45 45 $variables = array(); … … 52 52 $variables['message'] = $locale['518']."<br />".$locale['519']."<br /><a href='article_cats.php".$aidlink."'>".$locale['520']."</a>".$locale['521']; 53 53 $variables['bold'] = true; 54 $template_panels[] = array('type' => 'body', 'name' => 'admin.article.no_cats', 'title' => $locale['517'], 'template' => '_message_table_panel.tpl', 'locale' => PATH_LOCALE.LOCALESET."admin/news-articles.php");54 $template_panels[] = array('type' => 'body', 'name' => 'admin.article.no_cats', 'title' => $locale['517'], 'template' => '_message_table_panel.tpl', 'locale' => "admin.news-articles"); 55 55 $template_variables['admin.article.no_cats'] = $variables; 56 56 $variables = array(); … … 101 101 $ratings = isset($_POST['article_ratings']); 102 102 $variables['message'] = $bodypreview; 103 $template_panels[] = array('type' => 'body', 'name' => 'admin.article.preview1', 'title' => $subject, 'template' => '_message_table_panel.simple.tpl', 'locale' => PATH_LOCALE.LOCALESET."admin/news-articles.php");103 $template_panels[] = array('type' => 'body', 'name' => 'admin.article.preview1', 'title' => $subject, 'template' => '_message_table_panel.simple.tpl', 'locale' => "admin.news-articles"); 104 104 $template_variables['admin.article.preview1'] = $variables; 105 105 $variables['message'] = $body2preview; 106 $template_panels[] = array('type' => 'body', 'name' => 'admin.article.preview2', 'title' => $subject, 'template' => '_message_table_panel.simple.tpl', 'locale' => PATH_LOCALE.LOCALESET."admin/news-articles.php");106 $template_panels[] = array('type' => 'body', 'name' => 'admin.article.preview2', 'title' => $subject, 'template' => '_message_table_panel.simple.tpl', 'locale' => "admin.news-articles"); 107 107 $template_variables['admin.article.preview2'] = $variables; 108 108 $variables = array(); … … 163 163 164 164 // define the admin body panel 165 $template_panels[] = array('type' => 'body', 'name' => 'admin.articles', 'template' => 'admin.articles.tpl', 'locale' => PATH_LOCALE.LOCALESET."admin/news-articles.php");165 $template_panels[] = array('type' => 'body', 'name' => 'admin.articles', 'template' => 'admin.articles.tpl', 'locale' => "admin.news-articles"); 166 166 $template_variables['admin.articles'] = $variables; 167 167 }
Note: See TracChangeset
for help on using the changeset viewer.
