@@ -88,16 +88,16 @@ |
||
88 | 88 | $approved = 1 |
89 | 89 | ) { |
90 | 90 | $sql = 'SELECT p.*, t.*, tp.topic_status FROM ' |
91 | - . $this->db->prefix('newbb_posts') |
|
92 | - . ' p LEFT JOIN ' |
|
93 | - . $this->db->prefix('newbb_posts_text') |
|
94 | - . ' t ON p.post_id=t.post_id LEFT JOIN ' |
|
95 | - . $this->db->prefix('newbb_topics') |
|
96 | - . ' tp ON tp.topic_id=p.topic_id WHERE p.topic_id=' |
|
97 | - . $topic_id |
|
98 | - . ' AND p.approved =' |
|
99 | - . $approved |
|
100 | - . ' ORDER BY p.post_time DESC'; |
|
91 | + . $this->db->prefix('newbb_posts') |
|
92 | + . ' p LEFT JOIN ' |
|
93 | + . $this->db->prefix('newbb_posts_text') |
|
94 | + . ' t ON p.post_id=t.post_id LEFT JOIN ' |
|
95 | + . $this->db->prefix('newbb_topics') |
|
96 | + . ' tp ON tp.topic_id=p.topic_id WHERE p.topic_id=' |
|
97 | + . $topic_id |
|
98 | + . ' AND p.approved =' |
|
99 | + . $approved |
|
100 | + . ' ORDER BY p.post_time DESC'; |
|
101 | 101 | $result = $this->db->query($sql, $limit, 0); |
102 | 102 | $ret = []; |
103 | 103 | while (false !== ($myrow = $this->db->fetchArray($result))) { |
@@ -42,14 +42,14 @@ discard block |
||
42 | 42 | $forums = (is_array($forums) ? array_filter(array_map('intval', array_map('trim', $forums))) : (empty($forums) ? 0 : [(int)$forums])); |
43 | 43 | |
44 | 44 | $sql = ' SELECT o.type_id, o.type_name, o.type_color, l.type_order' |
45 | - . ' FROM ' |
|
46 | - . $this->db->prefix('newbb_type_forum') |
|
47 | - . ' AS l ' |
|
48 | - . " LEFT JOIN {$this->table} AS o ON o.{$this->keyName} = l.{$this->keyName} " |
|
49 | - . ' WHERE ' |
|
50 | - . ' l.forum_id ' |
|
51 | - . (empty($forums) ? 'IS NOT NULL' : 'IN (' . implode(', ', $forums) . ')') |
|
52 | - . ' ORDER BY l.type_order ASC'; |
|
45 | + . ' FROM ' |
|
46 | + . $this->db->prefix('newbb_type_forum') |
|
47 | + . ' AS l ' |
|
48 | + . " LEFT JOIN {$this->table} AS o ON o.{$this->keyName} = l.{$this->keyName} " |
|
49 | + . ' WHERE ' |
|
50 | + . ' l.forum_id ' |
|
51 | + . (empty($forums) ? 'IS NOT NULL' : 'IN (' . implode(', ', $forums) . ')') |
|
52 | + . ' ORDER BY l.type_order ASC'; |
|
53 | 53 | if (false === ($result = $this->db->query($sql))) { |
54 | 54 | //xoops_error($this->db->error()); |
55 | 55 | return $ret; |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | |
106 | 106 | if (!empty($types_valid)) { |
107 | 107 | $sql = 'DELETE FROM ' . $this->db->prefix('newbb_type_forum') . ' WHERE ' . ' forum_id = ' . $forum_id . ' AND ' . // irmtfan bug fix: delete other forums types when update the type for a specific forum |
108 | - " {$this->keyName} NOT IN (" . implode(', ', $types_valid) . ')'; |
|
108 | + " {$this->keyName} NOT IN (" . implode(', ', $types_valid) . ')'; |
|
109 | 109 | if (false === ($result = $this->db->queryF($sql))) { |
110 | 110 | } |
111 | 111 | } |
@@ -110,8 +110,8 @@ |
||
110 | 110 | $path = is_dir($theme_path . "/{$rel_dir}/{$type}/") ? $theme_path . "/{$rel_dir}/{$type}" : ( |
111 | 111 | is_dir($theme_path . "/{$rel_dir}/{$default}/") ? $theme_path . "/{$rel_dir}/{$default}" : ( |
112 | 112 | is_dir(XOOPS_THEME_PATH . "/default/{$rel_dir}/{$type}/") ? XOOPS_THEME_PATH |
113 | - . "/default/{$rel_dir}/{$type}" : ( |
|
114 | - is_dir(XOOPS_THEME_PATH . "/default/{$rel_dir}/{$default}/") ? XOOPS_THEME_PATH . "/default/{$rel_dir}/{$default}" |
|
113 | + . "/default/{$rel_dir}/{$type}" : ( |
|
114 | + is_dir(XOOPS_THEME_PATH . "/default/{$rel_dir}/{$default}/") ? XOOPS_THEME_PATH . "/default/{$rel_dir}/{$default}" |
|
115 | 115 | : (is_dir($GLOBALS['xoops']->path("modules/{$dirname}/templates/{$endDir}/{$type}/")) ? $GLOBALS['xoops']->path("modules/{$dirname}/templates/{$endDir}/{$type}") |
116 | 116 | : $GLOBALS['xoops']->path("modules/{$dirname}/templates/{$endDir}/{$default}")) // XOOPS_ROOT_PATH |
117 | 117 | ) // XOOPS_THEME_PATH {$default} |
@@ -252,18 +252,18 @@ |
||
252 | 252 | $xoopsOnlineTable = $xoops_onlineHandler->table; |
253 | 253 | |
254 | 254 | $sql = 'DELETE FROM ' |
255 | - . $this->db->prefix('newbb_online') |
|
256 | - . ' WHERE' |
|
257 | - . ' ( online_uid > 0 AND online_uid NOT IN ( SELECT online_uid FROM ' |
|
258 | - . $xoopsOnlineTable |
|
259 | - . ' WHERE online_module =' |
|
260 | - . $xoopsModule->getVar('mid') |
|
261 | - . ' ) )' |
|
262 | - . ' OR ( online_uid = 0 AND online_ip NOT IN ( SELECT online_ip FROM ' |
|
263 | - . $xoopsOnlineTable |
|
264 | - . ' WHERE online_module =' |
|
265 | - . $xoopsModule->getVar('mid') |
|
266 | - . ' AND online_uid = 0 ) )'; |
|
255 | + . $this->db->prefix('newbb_online') |
|
256 | + . ' WHERE' |
|
257 | + . ' ( online_uid > 0 AND online_uid NOT IN ( SELECT online_uid FROM ' |
|
258 | + . $xoopsOnlineTable |
|
259 | + . ' WHERE online_module =' |
|
260 | + . $xoopsModule->getVar('mid') |
|
261 | + . ' ) )' |
|
262 | + . ' OR ( online_uid = 0 AND online_ip NOT IN ( SELECT online_ip FROM ' |
|
263 | + . $xoopsOnlineTable |
|
264 | + . ' WHERE online_module =' |
|
265 | + . $xoopsModule->getVar('mid') |
|
266 | + . ' AND online_uid = 0 ) )'; |
|
267 | 267 | |
268 | 268 | if ($result = $this->db->queryF($sql)) { |
269 | 269 | return true; |
@@ -214,18 +214,18 @@ |
||
214 | 214 | $reply_criteria = $GLOBALS['xoopsModuleConfig']['allow_require_reply'] ? ' AND p.require_reply=0' : ''; |
215 | 215 | |
216 | 216 | $query = 'SELECT t.topic_id, t.forum_id, t.topic_title, t.topic_time, t.digest_time, p.uid, p.poster_name, pt.post_text FROM ' |
217 | - . $this->db->prefix('newbb_topics') |
|
218 | - . ' t, ' |
|
219 | - . $this->db->prefix('newbb_posts_text') |
|
220 | - . ' pt, ' |
|
221 | - . $this->db->prefix('newbb_posts') |
|
222 | - . ' p WHERE t.topic_digest = 1 AND p.topic_id=t.topic_id AND p.pid=0 ' |
|
223 | - . $forumCriteria |
|
224 | - . $approveCriteria |
|
225 | - . $time_criteria |
|
226 | - . $karma_criteria |
|
227 | - . $reply_criteria |
|
228 | - . ' AND pt.post_id=p.post_id ORDER BY t.digest_time DESC'; |
|
217 | + . $this->db->prefix('newbb_topics') |
|
218 | + . ' t, ' |
|
219 | + . $this->db->prefix('newbb_posts_text') |
|
220 | + . ' pt, ' |
|
221 | + . $this->db->prefix('newbb_posts') |
|
222 | + . ' p WHERE t.topic_digest = 1 AND p.topic_id=t.topic_id AND p.pid=0 ' |
|
223 | + . $forumCriteria |
|
224 | + . $approveCriteria |
|
225 | + . $time_criteria |
|
226 | + . $karma_criteria |
|
227 | + . $reply_criteria |
|
228 | + . ' AND pt.post_id=p.post_id ORDER BY t.digest_time DESC'; |
|
229 | 229 | if (!$result = $this->db->query($query)) { |
230 | 230 | //echo "<br>No result:<br>$query"; |
231 | 231 | return false; |
@@ -119,12 +119,12 @@ discard block |
||
119 | 119 | $classOption = $classPoll . 'Option'; |
120 | 120 | $poll_form = new \XoopsThemeForm(_MD_NEWBB_POLL_CREATNEWPOLL, 'poll_form', 'polls.php', 'post', true); |
121 | 121 | $author_label = new \XoopsFormLabel(_MD_NEWBB_POLL_AUTHOR, is_object($GLOBALS['xoopsUser']) ? ("<a href='" |
122 | - . XOOPS_URL |
|
123 | - . '/userinfo.php?uid=' |
|
124 | - . $GLOBALS['xoopsUser']->getVar('uid') |
|
125 | - . "'>" |
|
126 | - . newbbGetUnameFromId($GLOBALS['xoopsUser']->getVar('uid'), $GLOBALS['xoopsModuleConfig']['show_realname']) |
|
127 | - . '</a>') : $GLOBALS['xoopsConfig']['anonymous']); |
|
122 | + . XOOPS_URL |
|
123 | + . '/userinfo.php?uid=' |
|
124 | + . $GLOBALS['xoopsUser']->getVar('uid') |
|
125 | + . "'>" |
|
126 | + . newbbGetUnameFromId($GLOBALS['xoopsUser']->getVar('uid'), $GLOBALS['xoopsModuleConfig']['show_realname']) |
|
127 | + . '</a>') : $GLOBALS['xoopsConfig']['anonymous']); |
|
128 | 128 | $poll_form->addElement($author_label); |
129 | 129 | $question_text = new \XoopsFormText(_MD_NEWBB_POLL_POLLQUESTION, 'question', 50, 255); |
130 | 130 | $poll_form->addElement($question_text); |
@@ -154,12 +154,12 @@ discard block |
||
154 | 154 | $color_select->addOptionArray($barcolor_array); |
155 | 155 | $color_select->setExtra("onchange='showImgSelected(\"option_color_image[{$i}]\", \"option_color[{$i}]\", \"modules/" . $GLOBALS['xoopsModuleConfig']['poll_module'] . '/assets/images/colorbars", "", "' . XOOPS_URL . "\")'"); |
156 | 156 | $color_label = new \XoopsFormLabel('', "<img src='" |
157 | - . XOOPS_URL |
|
158 | - . '/modules/' |
|
159 | - . $GLOBALS['xoopsModuleConfig']['poll_module'] |
|
160 | - . '/assets/images/colorbars/' |
|
161 | - . $current_bar |
|
162 | - . "' name='option_color_image[{$i}]' id='option_color_image[{$i}]' width='30' align='bottom' height='15' alt='' /><br>"); |
|
157 | + . XOOPS_URL |
|
158 | + . '/modules/' |
|
159 | + . $GLOBALS['xoopsModuleConfig']['poll_module'] |
|
160 | + . '/assets/images/colorbars/' |
|
161 | + . $current_bar |
|
162 | + . "' name='option_color_image[{$i}]' id='option_color_image[{$i}]' width='30' align='bottom' height='15' alt='' /><br>"); |
|
163 | 163 | $option_tray->addElement($color_select); |
164 | 164 | $option_tray->addElement($color_label); |
165 | 165 | if (!next($barcolor_array)) { |
@@ -228,8 +228,8 @@ discard block |
||
228 | 228 | $color_select->addOptionArray($barcolor_array); |
229 | 229 | $color_select->setExtra("onchange='showImgSelected(\"option_color_image[{$i}]\", \"option_color[" . $i . "]\", \"modules/{$GLOBALS['xoopsModuleConfig']['poll_module']}/assets/images/colorbars\", \"\", \"" . XOOPS_URL . "\")'"); |
230 | 230 | $color_label = new \XoopsFormLabel('', "<img src='" |
231 | - . $GLOBALS['xoops']->url("modules/{$GLOBALS['xoopsModuleConfig']['poll_module']}/assets/images/colorbars/" . $option->getVar('option_color', 'E')) |
|
232 | - . "' name='option_color_image[{$i}]' id='option_color_image[{$i}]' class='alignbottom' width='30' height='15' alt='' /><br>"); |
|
231 | + . $GLOBALS['xoops']->url("modules/{$GLOBALS['xoopsModuleConfig']['poll_module']}/assets/images/colorbars/" . $option->getVar('option_color', 'E')) |
|
232 | + . "' name='option_color_image[{$i}]' id='option_color_image[{$i}]' class='alignbottom' width='30' height='15' alt='' /><br>"); |
|
233 | 233 | $option_tray->addElement($color_select); |
234 | 234 | $option_tray->addElement($color_label); |
235 | 235 | unset($color_select, $color_label); |
@@ -518,8 +518,8 @@ discard block |
||
518 | 518 | $color_select->addOptionArray($barcolor_array); |
519 | 519 | $color_select->setExtra("onchange='showImgSelected(\"option_color_image[{$i}]\", \"option_color[{$i}]\", \"modules/{$GLOBALS['xoopsModuleConfig']['poll_module']}/assets/images/colorbars\", \"\", \"" . XOOPS_URL . "\")'"); |
520 | 520 | $color_label = new \XoopsFormLabel('', "<img src='" |
521 | - . $GLOBALS['xoops']->url("modules/{$GLOBALS['xoopsModuleConfig']['poll_module']}/assets/images/colorbars/{$current_bar}") |
|
522 | - . "' name='option_color_image[{$i}]' id='option_color_image[{$i}]' class='alignbottom' width='30' height='15' alt='' /><br>"); |
|
521 | + . $GLOBALS['xoops']->url("modules/{$GLOBALS['xoopsModuleConfig']['poll_module']}/assets/images/colorbars/{$current_bar}") |
|
522 | + . "' name='option_color_image[{$i}]' id='option_color_image[{$i}]' class='alignbottom' width='30' height='15' alt='' /><br>"); |
|
523 | 523 | $option_tray->addElement($color_select); |
524 | 524 | $option_tray->addElement($color_label); |
525 | 525 | unset($color_select, $color_label, $option_text); |
@@ -652,9 +652,9 @@ discard block |
||
652 | 652 | $expire_text = new \XoopsFormText( |
653 | 653 | _MD_NEWBB_POLL_EXPIRATION . '<br><small>' . _MD_NEWBB_POLL_FORMAT . '<br>' . sprintf(_MD_NEWBB_POLL_CURRENTTIME, formatTimestamp(time(), 'Y-m-d H:i:s')) . '<br>' . sprintf( |
654 | 654 | _MD_NEWBB_POLL_EXPIREDAT, |
655 | - formatTimestamp($pollObject->getVar('end_time'), 'Y-m-d H:i:s') |
|
655 | + formatTimestamp($pollObject->getVar('end_time'), 'Y-m-d H:i:s') |
|
656 | 656 | ) . '</small>', |
657 | - 'end_time', |
|
657 | + 'end_time', |
|
658 | 658 | 20, |
659 | 659 | 19, |
660 | 660 | formatTimestamp(time() + $default_poll_duration, 'Y-m-d H:i:s') |
@@ -220,9 +220,9 @@ discard block |
||
220 | 220 | $xoopsTpl->assign('notifyicon', $category_icon); |
221 | 221 | |
222 | 222 | $xoopsTpl->assign([ |
223 | - 'index_title' => sprintf(_MD_NEWBB_WELCOME, htmlspecialchars($GLOBALS['xoopsConfig']['sitename'], ENT_QUOTES)), |
|
224 | - 'index_desc' => _MD_NEWBB_TOSTART |
|
225 | - ]); |
|
223 | + 'index_title' => sprintf(_MD_NEWBB_WELCOME, htmlspecialchars($GLOBALS['xoopsConfig']['sitename'], ENT_QUOTES)), |
|
224 | + 'index_desc' => _MD_NEWBB_TOSTART |
|
225 | + ]); |
|
226 | 226 | |
227 | 227 | /* display user stats */ |
228 | 228 | if (!empty($GLOBALS['xoopsModuleConfig']['statistik_enabled'])) { |
@@ -280,10 +280,10 @@ discard block |
||
280 | 280 | $xoopsTpl->assign('rss_button', newbbDisplayImage('rss', 'RSS feed')); |
281 | 281 | } |
282 | 282 | $xoopsTpl->assign([ |
283 | - 'img_forum_new' => newbbDisplayImage('forum_new', _MD_NEWBB_NEWPOSTS), |
|
284 | - 'img_forum' => newbbDisplayImage('forum', _MD_NEWBB_NONEWPOSTS), |
|
285 | - 'img_subforum' => newbbDisplayImage('subforum') |
|
286 | - ]); |
|
283 | + 'img_forum_new' => newbbDisplayImage('forum_new', _MD_NEWBB_NEWPOSTS), |
|
284 | + 'img_forum' => newbbDisplayImage('forum', _MD_NEWBB_NONEWPOSTS), |
|
285 | + 'img_subforum' => newbbDisplayImage('subforum') |
|
286 | + ]); |
|
287 | 287 | |
288 | 288 | // irmtfan move to footer.php |
289 | 289 | require_once __DIR__ . '/footer.php'; |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | define('_AM_NEWBB_DIGEST_HELP_4', 'After creating and sending, do not delete the created messages. Otherwise they will be generated again.'); |
77 | 77 | define( |
78 | 78 | '_AM_NEWBB_DIGEST_HELP_AUTO_DIGEST', |
79 | - 'To configure the automatic creation and distribution of Digest topics, you need to create a cron task on your server.<br>For example: * NIX systems: <strong>0 6 * * * wget --post-data \'foo=bar\' https://example.com/modules/newbb/digest.php</strong><br>In this example, the script will run every day at 6.00 and check if there are any new Digest topics. If they are not found, mailing will not be done.<br>If for any reason you do not have the opportunity to create a task, then it is possible to create and make the dispatch on this page manually by clicking on the button above.<br>Please note that it is not recommended to delete created mailings, otherwise they will be created and sent again.' |
|
79 | + 'To configure the automatic creation and distribution of Digest topics, you need to create a cron task on your server.<br>For example: * NIX systems: <strong>0 6 * * * wget --post-data \'foo=bar\' https://example.com/modules/newbb/digest.php</strong><br>In this example, the script will run every day at 6.00 and check if there are any new Digest topics. If they are not found, mailing will not be done.<br>If for any reason you do not have the opportunity to create a task, then it is possible to create and make the dispatch on this page manually by clicking on the button above.<br>Please note that it is not recommended to delete created mailings, otherwise they will be created and sent again.' |
|
80 | 80 | ); |
81 | 81 | //define('_AM_NEWBB_DIGEST_PAST', '<span style="color:red;">Should be sent out %d minutes ago</span>'); |
82 | 82 | //define('_AM_NEWBB_DIGEST_NEXT', 'Need to send out in %d minutes'); |
@@ -325,30 +325,30 @@ discard block |
||
325 | 325 | // Help tab |
326 | 326 | define( |
327 | 327 | '_AM_NEWBB_HELP_CATEGORY_TAB', |
328 | - 'To create a category, use the button above and fill in all the fields on the form.<br>By default, category images are located: /modules/newbb/assets/images/category/<br>Sponsor link should be written in the following format: https://xoops.org/modules/newbb/ newBB Support. First the link, then the sponsor\'s name or other text.' |
|
328 | + 'To create a category, use the button above and fill in all the fields on the form.<br>By default, category images are located: /modules/newbb/assets/images/category/<br>Sponsor link should be written in the following format: https://xoops.org/modules/newbb/ newBB Support. First the link, then the sponsor\'s name or other text.' |
|
329 | 329 | ); |
330 | 330 | define( |
331 | 331 | '_AM_NEWBB_HELP_FORUM_TAB', |
332 | - 'To create and manage the forums use the buttons with the right<br>To create the forum, use the \'Create forum\' button. Then fill in all the fields of the form. You can also create a subforum.<br>To move the forum between categories, use the \'Move\' button. Follow the further instructions.<br>To merge forums, use the \'Merge\' button. Follow the further instructions.<br>If you have an access rights template, then you can apply it to the forum you are creating.' |
|
332 | + 'To create and manage the forums use the buttons with the right<br>To create the forum, use the \'Create forum\' button. Then fill in all the fields of the form. You can also create a subforum.<br>To move the forum between categories, use the \'Move\' button. Follow the further instructions.<br>To merge forums, use the \'Merge\' button. Follow the further instructions.<br>If you have an access rights template, then you can apply it to the forum you are creating.' |
|
333 | 333 | ); |
334 | 334 | define( |
335 | 335 | '_AM_NEWBB_HELP_PERMISSION_TAB', |
336 | - '<strong>When setting permissions, be careful.</strong><br>After you install and apply the settings, you will automatically go to the next permissions tab.<br>Also here it is possible to create a default access rights template and apply it either to one forum or to all forums.' |
|
336 | + '<strong>When setting permissions, be careful.</strong><br>After you install and apply the settings, you will automatically go to the next permissions tab.<br>Also here it is possible to create a default access rights template and apply it either to one forum or to all forums.' |
|
337 | 337 | ); |
338 | 338 | define('_AM_NEWBB_HELP_ORDER_TAB', 'Allows you to set the order of categories and forums relative to each other.<br>The order (Weight) is set to 0 - top, 99 (and further) - bottom.'); |
339 | 339 | define('_AM_NEWBB_HELP_PRUNE_TAB', 'Allows you to clear forums from empty themes, obsolete themes, etc.<br>Also you can not delete topics that you want to clear, but transfer them to a specially created category \'Archive\' or any other.'); |
340 | 340 | define( |
341 | 341 | '_AM_NEWBB_HELP_REPORT_TAB', |
342 | - 'Allows you to process reports that users send to you if they believe that the message on the forum does not comply with forum rules or ethical rules.<br>You can review the report and take action in relation to the message, the author, etc.<br>When a user sends a message, moderators and administrators are notified by e-mail.' |
|
342 | + 'Allows you to process reports that users send to you if they believe that the message on the forum does not comply with forum rules or ethical rules.<br>You can review the report and take action in relation to the message, the author, etc.<br>When a user sends a message, moderators and administrators are notified by e-mail.' |
|
343 | 343 | ); |
344 | 344 | define('_AM_NEWBB_HELP_VOTE_TAB', 'If you have the voting function enabled, here you can see the results of the voting.<br>This vote is not associated with other XOOPS modules.'); |
345 | 345 | define( |
346 | 346 | '_AM_NEWBB_HELP_TYPE_TAB', |
347 | - 'Allows you to create tags for highlighting themes. For example:<br><strong style="color:blue;">[Important]</strong> <strong>Topic Title</strong><br><strong style="color:red;">[ATTENTION]</strong> <strong>Topic Title</strong><br>You can set theme types when creating a theme on the user side.' |
|
347 | + 'Allows you to create tags for highlighting themes. For example:<br><strong style="color:blue;">[Important]</strong> <strong>Topic Title</strong><br><strong style="color:red;">[ATTENTION]</strong> <strong>Topic Title</strong><br>You can set theme types when creating a theme on the user side.' |
|
348 | 348 | ); |
349 | 349 | define( |
350 | 350 | '_AM_NEWBB_HELP_GROUPMOD_TAB', |
351 | - 'Allows you to install users of certain groups as moderators for the entire module, and for individual categories and forums.<br>It is recommended to create separate groups of moderators, for more convenient management of moderators.<br>You can also assign specific users to moderators when creating a forum.' |
|
351 | + 'Allows you to install users of certain groups as moderators for the entire module, and for individual categories and forums.<br>It is recommended to create separate groups of moderators, for more convenient management of moderators.<br>You can also assign specific users to moderators when creating a forum.' |
|
352 | 352 | ); |
353 | 353 | define('_AM_NEWBB_HELP_SYNC_TAB', 'If you notice a problem with the message dates, the appearance of blank messages, etc. Here you can synchronize and correct forum data and topics'); |
354 | 354 |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | define('_MI_NEWBB_DIR_ATTACHMENT', 'Attachments physical path.'); |
44 | 44 | define( |
45 | 45 | '_MI_NEWBB_DIR_ATTACHMENT_DESC', |
46 | - "Physical path only needs to be set from your xoops root and not before, for example you may have attachments uploaded to www.yoururl.com/uploads/newbb the path entered would then be '/uploads/newbb' never include a trailing slash '/' the thumbnails path becomes '/uploads/newbb/thumbs'" |
|
46 | + "Physical path only needs to be set from your xoops root and not before, for example you may have attachments uploaded to www.yoururl.com/uploads/newbb the path entered would then be '/uploads/newbb' never include a trailing slash '/' the thumbnails path becomes '/uploads/newbb/thumbs'" |
|
47 | 47 | ); |
48 | 48 | define('_MI_NEWBB_PATH_MAGICK', 'Path for ImageMagick'); |
49 | 49 | define('_MI_NEWBB_PATH_MAGICK_DESC', "Usually it is '/usr/bin/X11'. Leave it BLANK if you do not have ImageMagicK installed or for autodetecting."); |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | define('_MI_NEWBB_USERLEVEL', 'HP/MP/EXP Level Mode'); |
83 | 83 | define( |
84 | 84 | '_MI_NEWBB_USERLEVEL_DESC', |
85 | - '<strong>HP</strong> is determined by your average posts per day.<br><strong>MP</strong> is determined by your join date related to your post count.<br><strong>EXP</strong> goes up each time you post, and when you get to 100%, you gain a level and the EXP drops to 0 again.' |
|
85 | + '<strong>HP</strong> is determined by your average posts per day.<br><strong>MP</strong> is determined by your join date related to your post count.<br><strong>EXP</strong> goes up each time you post, and when you get to 100%, you gain a level and the EXP drops to 0 again.' |
|
86 | 86 | ); |
87 | 87 | define('_MI_NEWBB_RSS_ENABLE', 'Enable RSS Feed'); |
88 | 88 | define('_MI_NEWBB_RSS_ENABLE_DESC', 'Enable RSS Feed, edit options below for maximum Items and Description length'); |