Changeset 1071 in ExiteCMS for trunk/forum/options.php
- Timestamp:
- 11/06/07 17:12:56 (5 years ago)
- File:
-
- 1 edited
-
trunk/forum/options.php (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/options.php
r834 r1071 20 20 21 21 // load the locale for this forum module 22 include PATH_LOCALE.LOCALESET."forum/options.php";22 locale_load("forum.options"); 23 23 24 24 // validate parameters … … 69 69 } 70 70 // define the body panel variables 71 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.renew', 'title' => $locale['458'], 'template' => 'forum.options.tpl', 'locale' => PATH_LOCALE.LOCALESET."forum/options.php");71 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.renew', 'title' => $locale['458'], 'template' => 'forum.options.tpl', 'locale' => "forum.options"); 72 72 $template_variables['forum.options.renew'] = $variables; 73 73 } … … 109 109 } 110 110 // define the body panel variables 111 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.delete', 'title' => $locale['400'], 'template' => 'forum.options.tpl', 'locale' => PATH_LOCALE.LOCALESET."forum/options.php");111 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.delete', 'title' => $locale['400'], 'template' => 'forum.options.tpl', 'locale' => "forum.options"); 112 112 $template_variables['forum.options.delete'] = $variables; 113 113 } … … 117 117 $result = dbquery("UPDATE ".$db_prefix."threads SET thread_locked='1' WHERE thread_id='$thread_id'"); 118 118 // define the body panel variables 119 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.lock', 'title' => $locale['410'], 'template' => 'forum.options.tpl', 'locale' => PATH_LOCALE.LOCALESET."forum/options.php");119 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.lock', 'title' => $locale['410'], 'template' => 'forum.options.tpl', 'locale' => "forum.options"); 120 120 $template_variables['forum.options.lock'] = $variables; 121 121 } … … 125 125 $result = dbquery("UPDATE ".$db_prefix."threads SET thread_locked='0' WHERE thread_id='$thread_id'"); 126 126 // define the body panel variables 127 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.unlock', 'title' => $locale['420'], 'template' => 'forum.options.tpl', 'locale' => PATH_LOCALE.LOCALESET."forum/options.php");127 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.unlock', 'title' => $locale['420'], 'template' => 'forum.options.tpl', 'locale' => "forum.options"); 128 128 $template_variables['forum.options.unlock'] = $variables; 129 129 } … … 133 133 $result = dbquery("UPDATE ".$db_prefix."threads SET thread_sticky='1' WHERE thread_id='$thread_id'"); 134 134 // define the body panel variables 135 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.sticky', 'title' => $locale['430'], 'template' => 'forum.options.tpl', 'locale' => PATH_LOCALE.LOCALESET."forum/options.php");135 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.sticky', 'title' => $locale['430'], 'template' => 'forum.options.tpl', 'locale' => "forum.options"); 136 136 $template_variables['forum.options.sticky'] = $variables; 137 137 } … … 141 141 $result = dbquery("UPDATE ".$db_prefix."threads SET thread_sticky='0' WHERE thread_id='$thread_id'"); 142 142 // define the body panel variables 143 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.sticky', 'title' => $locale['440'], 'template' => 'forum.options.tpl', 'locale' => PATH_LOCALE.LOCALESET."forum/options.php");143 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.sticky', 'title' => $locale['440'], 'template' => 'forum.options.tpl', 'locale' => "forum.options"); 144 144 $template_variables['forum.options.sticky'] = $variables; 145 145 } … … 233 233 234 234 // define the body panel variables 235 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.move', 'title' => $locale['450'], 'template' => 'forum.options.tpl', 'locale' => PATH_LOCALE.LOCALESET."forum/options.php");235 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.move', 'title' => $locale['450'], 'template' => 'forum.options.tpl', 'locale' => "forum.options"); 236 236 $template_variables['forum.options.move'] = $variables; 237 237 } … … 261 261 } 262 262 // define the body panel variables 263 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.merge', 'title' => $locale['455'], 'template' => 'forum.options.tpl', 'locale' => PATH_LOCALE.LOCALESET."forum/options.php");263 $template_panels[] = array('type' => 'body', 'name' => 'forum.options.merge', 'title' => $locale['455'], 'template' => 'forum.options.tpl', 'locale' => "forum.options"); 264 264 $template_variables['forum.options.merge'] = $variables; 265 265 }
Note: See TracChangeset
for help on using the changeset viewer.
