@@ -20,12 +20,12 @@ discard block |
||
20 | 20 | */ |
21 | 21 | |
22 | 22 | // defined('XOOPS_ROOT_PATH') || die('Restricted access'); |
23 | -require_once __DIR__ . '/common.php'; |
|
23 | +require_once __DIR__.'/common.php'; |
|
24 | 24 | |
25 | 25 | $moduleDirName = basename(dirname(__DIR__)); |
26 | 26 | $uploadFolders = [ |
27 | 27 | NEWBB_UPLOAD_PATH, |
28 | - NEWBB_UPLOAD_PATH . '/thumbs' |
|
28 | + NEWBB_UPLOAD_PATH.'/thumbs' |
|
29 | 29 | ]; |
30 | 30 | |
31 | 31 | function getConfig() |
@@ -33,24 +33,24 @@ discard block |
||
33 | 33 | $moduleDirName = basename(dirname(__DIR__)); |
34 | 34 | $moduleDirNameUpper = strtoupper($moduleDirName); |
35 | 35 | return (object)[ |
36 | - 'name' => strtoupper($moduleDirName) . ' Module Configurator', |
|
36 | + 'name' => strtoupper($moduleDirName).' Module Configurator', |
|
37 | 37 | 'paths' => [ |
38 | 38 | 'dirname' => $moduleDirName, |
39 | - 'admin' => XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/admin', |
|
40 | - 'modPath' => XOOPS_ROOT_PATH . '/modules/' . $moduleDirName, |
|
41 | - 'modUrl' => XOOPS_URL . '/modules/' . $moduleDirName, |
|
42 | - 'uploadPath' => XOOPS_UPLOAD_PATH . '/' . $moduleDirName, |
|
43 | - 'uploadUrl' => XOOPS_UPLOAD_URL . '/' . $moduleDirName, |
|
39 | + 'admin' => XOOPS_ROOT_PATH.'/modules/'.$moduleDirName.'/admin', |
|
40 | + 'modPath' => XOOPS_ROOT_PATH.'/modules/'.$moduleDirName, |
|
41 | + 'modUrl' => XOOPS_URL.'/modules/'.$moduleDirName, |
|
42 | + 'uploadPath' => XOOPS_UPLOAD_PATH.'/'.$moduleDirName, |
|
43 | + 'uploadUrl' => XOOPS_UPLOAD_URL.'/'.$moduleDirName, |
|
44 | 44 | ], |
45 | 45 | 'uploadFolders' => [ |
46 | - constant($moduleDirNameUpper . '_UPLOAD_PATH'), |
|
47 | - constant($moduleDirNameUpper . '_UPLOAD_PATH') . '/thumbs', |
|
46 | + constant($moduleDirNameUpper.'_UPLOAD_PATH'), |
|
47 | + constant($moduleDirNameUpper.'_UPLOAD_PATH').'/thumbs', |
|
48 | 48 | |
49 | 49 | //XOOPS_UPLOAD_PATH . '/flags' |
50 | 50 | ], |
51 | 51 | 'copyBlankFiles' => [ |
52 | - constant($moduleDirNameUpper . '_UPLOAD_PATH'), |
|
53 | - constant($moduleDirNameUpper . '_UPLOAD_PATH') . '/thumbs', |
|
52 | + constant($moduleDirNameUpper.'_UPLOAD_PATH'), |
|
53 | + constant($moduleDirNameUpper.'_UPLOAD_PATH').'/thumbs', |
|
54 | 54 | //XOOPS_UPLOAD_PATH . '/flags' |
55 | 55 | ], |
56 | 56 | |
@@ -85,6 +85,6 @@ discard block |
||
85 | 85 | '/images', |
86 | 86 | ], |
87 | 87 | 'modCopyright' => "<a href='https://xoops.org' title='XOOPS Project' target='_blank'> |
88 | - <img src='" . constant($moduleDirNameUpper . '_AUTHOR_LOGOIMG') . '\' alt=\'XOOPS Project\' /></a>', |
|
88 | + <img src='" . constant($moduleDirNameUpper.'_AUTHOR_LOGOIMG').'\' alt=\'XOOPS Project\' /></a>', |
|
89 | 89 | ]; |
90 | 90 | } |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | |
14 | 14 | // defined('XOOPS_ROOT_PATH') || die('Restricted access'); |
15 | 15 | |
16 | -defined('NEWBB_FUNCTIONS_INI') || require_once __DIR__ . '/functions.ini.php'; |
|
16 | +defined('NEWBB_FUNCTIONS_INI') || require_once __DIR__.'/functions.ini.php'; |
|
17 | 17 | define('NEWBB_FUNCTIONS_STATS_LOADED', true); |
18 | 18 | |
19 | 19 | if (!defined('NEWBB_FUNCTIONS_STATS')) { |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | */ |
103 | 103 | function getTotalViews() |
104 | 104 | { |
105 | - $sql = 'SELECT sum(topic_views) FROM ' . $GLOBALS['xoopsDB']->prefix('newbb_topics') . ' '; |
|
105 | + $sql = 'SELECT sum(topic_views) FROM '.$GLOBALS['xoopsDB']->prefix('newbb_topics').' '; |
|
106 | 106 | if (!$result = $GLOBALS['xoopsDB']->query($sql)) { |
107 | 107 | return null; |
108 | 108 | } |
@@ -11,7 +11,7 @@ |
||
11 | 11 | |
12 | 12 | // defined('XOOPS_ROOT_PATH') || die('Restricted access'); |
13 | 13 | |
14 | -defined('NEWBB_FUNCTIONS_INI') || require_once __DIR__ . '/functions.ini.php'; |
|
14 | +defined('NEWBB_FUNCTIONS_INI') || require_once __DIR__.'/functions.ini.php'; |
|
15 | 15 | define('NEWBB_FUNCTIONS_LANGUAGE_LOADED', true); |
16 | 16 | |
17 | 17 | if (!defined('NEWBB_FUNCTIONS_LANGUAGE')) { |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | |
12 | 12 | // defined('XOOPS_ROOT_PATH') || die('Restricted access'); |
13 | 13 | |
14 | -defined('NEWBB_FUNCTIONS_INI') || require_once __DIR__ . '/functions.ini.php'; |
|
14 | +defined('NEWBB_FUNCTIONS_INI') || require_once __DIR__.'/functions.ini.php'; |
|
15 | 15 | define('NEWBB_FUNCTIONS_TIME_LOADED', true); |
16 | 16 | |
17 | 17 | if (!defined('NEWBB_FUNCTIONS_TIME')) { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | // irmtfan no option when no selected value |
77 | 77 | $forum_selection_since .= '<option value="">--------</option>'; |
78 | 78 | foreach ($select_array as $since) { |
79 | - $forum_selection_since .= '<option value="' . $since . '"' . (($selected == $since) ? ' selected="selected"' : '') . '>'; |
|
79 | + $forum_selection_since .= '<option value="'.$since.'"'.(($selected == $since) ? ' selected="selected"' : '').'>'; |
|
80 | 80 | // START irmtfan functional since 0 and 365 |
81 | 81 | switch ($since) { |
82 | 82 | case 0: |
@@ -38,5 +38,5 @@ |
||
38 | 38 | /** |
39 | 39 | * @return array |
40 | 40 | */ |
41 | -require_once __DIR__ . '/functions.config.php'; |
|
42 | -require_once __DIR__ . '/functions.session.php'; |
|
41 | +require_once __DIR__.'/functions.config.php'; |
|
42 | +require_once __DIR__.'/functions.session.php'; |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | |
14 | 14 | // defined('XOOPS_ROOT_PATH') || die('Restricted access'); |
15 | 15 | |
16 | -defined('NEWBB_FUNCTIONS_INI') || require_once __DIR__ . '/functions.ini.php'; |
|
16 | +defined('NEWBB_FUNCTIONS_INI') || require_once __DIR__.'/functions.ini.php'; |
|
17 | 17 | define('NEWBB_FUNCTIONS_WELCOME_LOADED', true); |
18 | 18 | |
19 | 19 | if (!defined('NEWBB_FUNCTIONS_WELCOME')) { |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | return false; |
41 | 41 | } |
42 | 42 | |
43 | - include __DIR__ . '/functions.welcome.inc.php'; |
|
43 | + include __DIR__.'/functions.welcome.inc.php'; |
|
44 | 44 | unset($forumObject); |
45 | 45 | |
46 | 46 | return $ret; |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | use Xmf\Request; |
13 | 13 | use XoopsModules\Newbb; |
14 | 14 | |
15 | -require_once __DIR__ . '/header.php'; |
|
15 | +require_once __DIR__.'/header.php'; |
|
16 | 16 | |
17 | 17 | foreach (['forum', 'topic_id', 'post_id', 'order'] as $getint) { |
18 | 18 | ${$getint} = Request::getInt($getint, 0, 'GET'); |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | $query_array = []; |
65 | 65 | foreach ($query_vars as $var) { |
66 | 66 | if (Request::getString($var, '', 'GET')) { |
67 | - $query_array[$var] = "{$var}=" . Request::getString($var, '', 'GET'); |
|
67 | + $query_array[$var] = "{$var}=".Request::getString($var, '', 'GET'); |
|
68 | 68 | } |
69 | 69 | } |
70 | 70 | $page_query = htmlspecialchars(implode('&', array_values($query_array))); |
@@ -115,8 +115,8 @@ discard block |
||
115 | 115 | $post_karma = $postObject->getVar('post_karma'); |
116 | 116 | $require_reply = $postObject->getVar('require_reply'); |
117 | 117 | |
118 | -$xoopsTpl->assign('error_message', _MD_NEWBB_EDITEDBY . ' ' . $GLOBALS['xoopsUser']->uname()); |
|
119 | -include __DIR__ . '/include/form.post.php'; |
|
118 | +$xoopsTpl->assign('error_message', _MD_NEWBB_EDITEDBY.' '.$GLOBALS['xoopsUser']->uname()); |
|
119 | +include __DIR__.'/include/form.post.php'; |
|
120 | 120 | |
121 | 121 | ///** @var Newbb\KarmaHandler $karmaHandler */ |
122 | 122 | //$karmaHandler = Newbb\Helper::getInstance()->getHandler('Karma'); |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | $posts_contextObject = $istopic ? [] : [$postHandler->get($postObject->getVar('pid'))]; |
127 | 127 | foreach ($posts_contextObject as $post_contextObject) { |
128 | 128 | if ($GLOBALS['xoopsModuleConfig']['enable_karma'] && $post_contextObject->getVar('post_karma') > 0) { |
129 | - $p_message = sprintf(_MD_NEWBB_KARMA_REQUIREMENT, '***', $post_contextObject->getVar('post_karma')) . '</div>'; |
|
129 | + $p_message = sprintf(_MD_NEWBB_KARMA_REQUIREMENT, '***', $post_contextObject->getVar('post_karma')).'</div>'; |
|
130 | 130 | } elseif ($GLOBALS['xoopsModuleConfig']['allow_require_reply'] && $post_contextObject->getVar('require_reply')) { |
131 | 131 | $p_message = _MD_NEWBB_REPLY_REQUIREMENT; |
132 | 132 | } else { |
@@ -144,11 +144,11 @@ discard block |
||
144 | 144 | |
145 | 145 | $posts_context[] = [ |
146 | 146 | 'subject' => $p_subject, |
147 | - 'meta' => _MD_NEWBB_BY . ' ' . $p_name . ' ' . _MD_NEWBB_ON . ' ' . $p_date, |
|
147 | + 'meta' => _MD_NEWBB_BY.' '.$p_name.' '._MD_NEWBB_ON.' '.$p_date, |
|
148 | 148 | 'content' => $p_message |
149 | 149 | ]; |
150 | 150 | } |
151 | 151 | $xoopsTpl->assign_by_ref('posts_context', $posts_context); |
152 | 152 | // irmtfan move to footer.php |
153 | -require_once __DIR__ . '/footer.php'; |
|
153 | +require_once __DIR__.'/footer.php'; |
|
154 | 154 | include $GLOBALS['xoops']->path('footer.php'); |
@@ -31,12 +31,12 @@ discard block |
||
31 | 31 | |
32 | 32 | use Xmf\Request; |
33 | 33 | |
34 | -require_once __DIR__ . '/header.php'; |
|
34 | +require_once __DIR__.'/header.php'; |
|
35 | 35 | require_once $GLOBALS['xoops']->path('class/template.php'); |
36 | 36 | require_once $GLOBALS['xoops']->path('modules/newbb/include/functions.rpc.php'); |
37 | 37 | |
38 | 38 | if (!empty($GLOBALS['xoopsModuleConfig']['do_rewrite'])) { |
39 | - require_once __DIR__ . '/seo_url.php'; |
|
39 | + require_once __DIR__.'/seo_url.php'; |
|
40 | 40 | } |
41 | 41 | /* for seo */ |
42 | 42 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | $validForums = array_intersect($forums, $validForums); |
60 | 60 | } elseif ($category > 0) { |
61 | 61 | $crit_top = new \CriteriaCompo(new \Criteria('cat_id', $category)); |
62 | - $crit_top->add(new \Criteria('forum_id', '(' . implode(', ', $validForums) . ')', 'IN')); |
|
62 | + $crit_top->add(new \Criteria('forum_id', '('.implode(', ', $validForums).')', 'IN')); |
|
63 | 63 | $forums_top = $forumHandler->getIds($crit_top); |
64 | 64 | $validForums = array_intersect($forums_top, $validForums); |
65 | 65 | } |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | $forumSet = implode(',', $validForums); |
72 | 72 | |
73 | 73 | $charset = 'UTF-8'; |
74 | -header('Content-Type:text/xml; charset=' . $charset); |
|
74 | +header('Content-Type:text/xml; charset='.$charset); |
|
75 | 75 | |
76 | 76 | $tpl = new \XoopsTpl(); |
77 | 77 | $tpl->caching = 2; |
@@ -84,25 +84,25 @@ discard block |
||
84 | 84 | $xoopsCachedTemplateId = "newbbb_rss_$forumSet"; |
85 | 85 | $compile_id = null; |
86 | 86 | if (!$tpl->is_cached('db:newbb_rss.tpl', $xoopsCachedTemplateId, $compile_id)) { |
87 | - require_once __DIR__ . '/include/functions.time.php'; |
|
87 | + require_once __DIR__.'/include/functions.time.php'; |
|
88 | 88 | |
89 | 89 | // /** @var Newbb\XmlrssHandler $xmlrssHandler */ |
90 | 90 | // $xmlrssHandler = Newbb\Helper::getInstance()->getHandler('Xmlrss'); |
91 | 91 | $rss = $xmlrssHandler->create(); |
92 | 92 | |
93 | - $rss->setVarRss('channel_title', $GLOBALS['xoopsConfig']['sitename'] . ' :: ' . _MD_NEWBB_FORUM); |
|
94 | - $rss->channel_link = XOOPS_URL . '/'; |
|
95 | - $rss->setVarRss('channel_desc', $GLOBALS['xoopsConfig']['slogan'] . ' :: ' . $xoopsModule->getInfo('description')); |
|
93 | + $rss->setVarRss('channel_title', $GLOBALS['xoopsConfig']['sitename'].' :: '._MD_NEWBB_FORUM); |
|
94 | + $rss->channel_link = XOOPS_URL.'/'; |
|
95 | + $rss->setVarRss('channel_desc', $GLOBALS['xoopsConfig']['slogan'].' :: '.$xoopsModule->getInfo('description')); |
|
96 | 96 | $rss->setVarRss('channel_lastbuild', formatTimestamp(time(), 'rss')); |
97 | 97 | $rss->channel_webmaster = $GLOBALS['xoopsConfig']['adminmail']; |
98 | 98 | $rss->channel_editor = $GLOBALS['xoopsConfig']['adminmail']; |
99 | 99 | $rss->setVarRss('channel_category', $xoopsModule->getVar('name')); |
100 | - $rss->channel_generator = 'NewBB ' . $xoopsModule->getInfo('version'); |
|
100 | + $rss->channel_generator = 'NewBB '.$xoopsModule->getInfo('version'); |
|
101 | 101 | $rss->channel_language = _LANGCODE; |
102 | 102 | $rss->xml_encoding = $charset; |
103 | - $rss->image_url = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/' . $xoopsModule->getInfo('image'); |
|
103 | + $rss->image_url = XOOPS_URL.'/modules/'.$xoopsModule->getVar('dirname').'/'.$xoopsModule->getInfo('image'); |
|
104 | 104 | |
105 | - $dimension = @getimagesize($GLOBALS['xoops']->path('modules/' . $xoopsModule->getVar('dirname') . '/' . $xoopsModule->getInfo('image'))); |
|
105 | + $dimension = @getimagesize($GLOBALS['xoops']->path('modules/'.$xoopsModule->getVar('dirname').'/'.$xoopsModule->getInfo('image'))); |
|
106 | 106 | if (empty($dimension[0])) { |
107 | 107 | $width = 88; |
108 | 108 | } else { |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | $rss->max_items = $GLOBALS['xoopsModuleConfig']['rss_maxitems']; |
120 | 120 | $rss->max_item_description = $GLOBALS['xoopsModuleConfig']['rss_maxdescription']; |
121 | 121 | |
122 | - $forumCriteria = ' AND t.forum_id IN (' . implode(',', $validForums) . ')'; |
|
122 | + $forumCriteria = ' AND t.forum_id IN ('.implode(',', $validForums).')'; |
|
123 | 123 | unset($validForums); |
124 | 124 | $approveCriteria = ' AND t.approved = 1 AND p.approved = 1'; |
125 | 125 | |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | if (count($types) > 0) { |
170 | 170 | // /** @var Newbb\TypeHandler $typeHandler */ |
171 | 171 | // $typeHandler = Newbb\Helper::getInstance()->getHandler('Type'); |
172 | - $type_list = $typeHandler->getList(new \Criteria('type_id', '(' . implode(', ', array_keys($types)) . ')', 'IN')); |
|
172 | + $type_list = $typeHandler->getList(new \Criteria('type_id', '('.implode(', ', array_keys($types)).')', 'IN')); |
|
173 | 173 | } |
174 | 174 | |
175 | 175 | foreach ($rows as $topic) { |
@@ -184,16 +184,16 @@ discard block |
||
184 | 184 | } else { |
185 | 185 | $topic['uname'] = $topic['poster_name'] ? $myts->htmlSpecialChars($topic['poster_name']) : $myts->htmlSpecialChars($GLOBALS['xoopsConfig']['anonymous']); |
186 | 186 | } |
187 | - $description = $topic['forum_name'] . '::'; |
|
188 | - $topic['topic_subject'] = empty($type_list[$topic['type_id']]) ? '' : '[' . $type_list[$topic['type_id']] . '] '; |
|
189 | - $description .= $topic['topic_subject'] . $topic['topic_title'] . "<br>\n"; |
|
187 | + $description = $topic['forum_name'].'::'; |
|
188 | + $topic['topic_subject'] = empty($type_list[$topic['type_id']]) ? '' : '['.$type_list[$topic['type_id']].'] '; |
|
189 | + $description .= $topic['topic_subject'].$topic['topic_title']."<br>\n"; |
|
190 | 190 | $description .= $myts->displayTarea($topic['post_text'], $topic['dohtml'], $topic['dosmiley'], $topic['doxcode'], $topic['dobr']); |
191 | - $label = _MD_NEWBB_BY . ' ' . $topic['uname']; |
|
191 | + $label = _MD_NEWBB_BY.' '.$topic['uname']; |
|
192 | 192 | $time = formatTimestamp($topic['post_time'], 'rss'); |
193 | - $link = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/viewtopic.php?post_id=' . $topic['post_id'] . ''; |
|
193 | + $link = XOOPS_URL.'/modules/'.$xoopsModule->getVar('dirname').'/viewtopic.php?post_id='.$topic['post_id'].''; |
|
194 | 194 | if (!empty($GLOBALS['xoopsModuleConfig']['do_rewrite'])) { |
195 | - $link = XOOPS_URL . '/' . REAL_MODULE_NAME . '/viewtopic.php?post_id=' . $topic['post_id'] . ''; |
|
196 | - $oldurl = '<a href=\'' . $link . '\'>'; |
|
195 | + $link = XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewtopic.php?post_id='.$topic['post_id'].''; |
|
196 | + $oldurl = '<a href=\''.$link.'\'>'; |
|
197 | 197 | $newurl = seo_urls($oldurl); |
198 | 198 | $newurl = str_replace('<a href=\'', '', $newurl); |
199 | 199 | $newurl = str_replace('\'>', '', $newurl); |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | use Xmf\Request; |
33 | 33 | |
34 | -require_once __DIR__ . '/header.php'; |
|
34 | +require_once __DIR__.'/header.php'; |
|
35 | 35 | |
36 | 36 | $GPC = '_GET'; |
37 | 37 | if (Request::getString('submit', '', 'POST')) { |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | $viewmode = (isset(${$GPC}['viewmode']) && 'flat' !== ${$GPC}['viewmode']) ? 'thread' : 'flat'; |
45 | 45 | |
46 | 46 | if (empty($post_id)) { |
47 | - redirect_header(XOOPS_URL . '/index.php', 2, _MD_NEWBB_ERRORPOST); |
|
47 | + redirect_header(XOOPS_URL.'/index.php', 2, _MD_NEWBB_ERRORPOST); |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | if ($GLOBALS['xoopsModuleConfig']['wol_enabled']) { |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | $submit_button = new \XoopsFormButton('', 'submit', _SUBMIT, 'submit'); |
140 | 140 | $cancel_button = new \XoopsFormButton('', 'cancel', _MD_NEWBB_CANCELPOST, 'button'); |
141 | 141 | $extra = "viewtopic.php?forum=$forum&topic_id=$topic_id&post_id=$post_id&order=$order&viewmode=$viewmode"; |
142 | -$cancel_button->setExtra("onclick='location=\"" . $extra . "\"'"); |
|
142 | +$cancel_button->setExtra("onclick='location=\"".$extra."\"'"); |
|
143 | 143 | $button_tray->addElement($submit_button); |
144 | 144 | $button_tray->addElement($cancel_button); |
145 | 145 | $report_form->addElement($button_tray); |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | |
148 | 148 | $r_subject = $postObject->getVar('subject', 'E'); |
149 | 149 | if ($GLOBALS['xoopsModuleConfig']['enable_karma'] && $postObject->getVar('post_karma') > 0) { |
150 | - $r_message = sprintf(_MD_NEWBB_KARMA_REQUIREMENT, '***', $postObject->getVar('post_karma')) . '</div>'; |
|
150 | + $r_message = sprintf(_MD_NEWBB_KARMA_REQUIREMENT, '***', $postObject->getVar('post_karma')).'</div>'; |
|
151 | 151 | } elseif ($GLOBALS['xoopsModuleConfig']['allow_require_reply'] && $postObject->getVar('require_reply')) { |
152 | 152 | $r_message = _MD_NEWBB_REPLY_REQUIREMENT; |
153 | 153 | } else { |
@@ -161,11 +161,11 @@ discard block |
||
161 | 161 | $poster_name = $postObject->getVar('poster_name'); |
162 | 162 | $r_name = empty($poster_name) ? $GLOBALS['xoopsConfig']['anonymous'] : $myts->htmlSpecialChars($poster_name); |
163 | 163 | } |
164 | -$r_content = _MD_NEWBB_SUBJECTC . ' ' . $r_subject . '<br>'; |
|
165 | -$r_content .= _MD_NEWBB_BY . ' ' . $r_name . ' ' . _MD_NEWBB_ON . ' ' . $r_date . '<br><br>'; |
|
164 | +$r_content = _MD_NEWBB_SUBJECTC.' '.$r_subject.'<br>'; |
|
165 | +$r_content .= _MD_NEWBB_BY.' '.$r_name.' '._MD_NEWBB_ON.' '.$r_date.'<br><br>'; |
|
166 | 166 | $r_content .= $r_message; |
167 | 167 | |
168 | -echo "<br><table cellpadding='4' cellspacing='1' width='98%' class='outer'><tr><td class='head'>" . $r_subject . '</td></tr>'; |
|
169 | -echo '<tr><td><br>' . $r_content . '<br></td></tr></table>'; |
|
168 | +echo "<br><table cellpadding='4' cellspacing='1' width='98%' class='outer'><tr><td class='head'>".$r_subject.'</td></tr>'; |
|
169 | +echo '<tr><td><br>'.$r_content.'<br></td></tr></table>'; |
|
170 | 170 | |
171 | 171 | include $GLOBALS['xoops']->path('footer.php'); |