@@ -41,7 +41,7 @@ |
||
| 41 | 41 | * Icons that are default with ElkArte |
| 42 | 42 | * @var array |
| 43 | 43 | */ |
| 44 | - protected $_stable_icons = array(); |
|
| 44 | + protected $_stable_icons = array(); |
|
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | 47 | * Icons to load in addition to the default |
@@ -369,7 +369,7 @@ |
||
| 369 | 369 | if ($row_board['subject'] != '') |
| 370 | 370 | { |
| 371 | 371 | $this_last_post['href'] = $this->_scripturl . '?topic=' . $row_board['id_topic'] . '.msg' . ($this->_user['is_guest'] ? $row_board['id_msg'] : $row_board['new_from']) . (empty($row_board['is_read']) ? ';boardseen' : '') . '#new'; |
| 372 | - $this_last_post['link'] = '<a href="' . $this_last_post['href'] . '" title="' . Util::htmlspecialchars($row_board['subject']). '">' . $row_board['short_subject'] . '</a>'; |
|
| 372 | + $this_last_post['link'] = '<a href="' . $this_last_post['href'] . '" title="' . Util::htmlspecialchars($row_board['subject']) . '">' . $row_board['short_subject'] . '</a>'; |
|
| 373 | 373 | /* The board's and children's 'last_post's have: |
| 374 | 374 | time, timestamp (a number that represents the time.), id (of the post), topic (topic id.), |
| 375 | 375 | link, href, subject, start (where they should go for the first unread post.), |
@@ -1416,7 +1416,7 @@ |
||
| 1416 | 1416 | |
| 1417 | 1417 | // If it sent, keep a record so we can save it in our allowed to reply log |
| 1418 | 1418 | if (!empty($unq_head) && $result) |
| 1419 | - $sent[] = array_merge($unq_head_array, array(time(),$email['to'])); |
|
| 1419 | + $sent[] = array_merge($unq_head_array, array(time(), $email['to'])); |
|
| 1420 | 1420 | |
| 1421 | 1421 | // Track total emails sent |
| 1422 | 1422 | if ($result && !empty($modSettings['trackStats'])) |
@@ -425,7 +425,7 @@ |
||
| 425 | 425 | if ($valid) |
| 426 | 426 | { |
| 427 | 427 | $this->_unsubscribeToggle($member, $area, $extra); |
| 428 | - $this->_prepareTemplateMessage( $area, $extra, $member['email_address']); |
|
| 428 | + $this->_prepareTemplateMessage($area, $extra, $member['email_address']); |
|
| 429 | 429 | |
| 430 | 430 | return true; |
| 431 | 431 | } |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | // Need GD for CAPTCHA images |
| 30 | 30 | if (in_array('gd', get_loaded_extensions())) |
| 31 | 31 | { |
| 32 | - array_unshift($known_verifications,'captcha'); |
|
| 32 | + array_unshift($known_verifications, 'captcha'); |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | // Let integration add some more controls |
@@ -241,7 +241,7 @@ |
||
| 241 | 241 | 'file_versions_subs' => SUBSDIR, |
| 242 | 242 | 'file_versions_modules' => SOURCEDIR . '/modules', |
| 243 | 243 | ); |
| 244 | - $tmp_version_info = array_combine(array_keys($directories),array_fill(0,count($directories),array())); |
|
| 244 | + $tmp_version_info = array_combine(array_keys($directories), array_fill(0, count($directories), array())); |
|
| 245 | 245 | readFileVersions($tmp_version_info, $directories, '.php', true); |
| 246 | 246 | |
| 247 | 247 | foreach ($tmp_version_info['file_versions_subs'] as $key => $val) |
@@ -1859,7 +1859,7 @@ |
||
| 1859 | 1859 | global $txt, $context, $user_info, $language, $modSettings; |
| 1860 | 1860 | |
| 1861 | 1861 | // Check that this feature is even enabled! |
| 1862 | - $pmsg_check = $this->_req->getPost('pmsg', 'intval', $this->_req->getQuery('pmsg', 'intval', 0)); |
|
| 1862 | + $pmsg_check = $this->_req->getPost('pmsg', 'intval', $this->_req->getQuery('pmsg', 'intval', 0)); |
|
| 1863 | 1863 | if (empty($modSettings['enableReportPM']) || empty($pmsg_check)) |
| 1864 | 1864 | { |
| 1865 | 1865 | throw new Elk_Exception('no_access', false); |
@@ -293,7 +293,7 @@ |
||
| 293 | 293 | loadUserSettings(); |
| 294 | 294 | |
| 295 | 295 | $_SESSION['session_var'] = isset($_SESSION['session_var']) ? $_SESSION['session_var'] : ''; |
| 296 | - $_SESSION['session_value'] = isset($_SESSION['session_value'] ) ? $_SESSION['session_value'] : ''; |
|
| 296 | + $_SESSION['session_value'] = isset($_SESSION['session_value']) ? $_SESSION['session_value'] : ''; |
|
| 297 | 297 | loadTheme(); |
| 298 | 298 | |
| 299 | 299 | // Here lies elkarte, dead from a program error. Just a cryptic message, no output could be better. |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | { |
| 41 | 41 | while ($row = $db->fetch_assoc($request)) |
| 42 | 42 | { |
| 43 | - foreach(array('body', 'subject') as $column) |
|
| 43 | + foreach (array('body', 'subject') as $column) |
|
| 44 | 44 | { |
| 45 | 45 | if ($row['Column_name'] === $column && (isset($row['Index_type']) && $row['Index_type'] === 'FULLTEXT' || isset($row['Comment']) && $row['Comment'] === 'FULLTEXT')) |
| 46 | 46 | { |