Skip to content
Browse files

Fix code style: use space before closing single tags

Signed-off-by: dimkalinux <dimka.linux@gmail.com>
  • Loading branch information...
1 parent 74c1804 commit c4bb7b64d8433c08139ca31d7a524ee789119927 @Shutnik Shutnik committed with dimkalinux Jan 11, 2012
View
2 admin/bans.php
@@ -544,7 +544,7 @@
<div class="ct-set set<?php echo ++$forum_page['item_num'] ?>">
<div class="ct-box">
<div class="ct-legend">
- <h3 class=""><span><?php printf($lang_admin_bans['Current ban head'], $forum_page['ban_creator']) ?></span></h3>
+ <h3><span><?php printf($lang_admin_bans['Current ban head'], $forum_page['ban_creator']) ?></span></h3>
<p><?php printf($lang_admin_bans['Edit or remove'], '<a href="'.forum_link($forum_url['admin_bans']).'&amp;edit_ban='.$cur_ban['id'].'">'.$lang_admin_bans['Edit ban'].'</a>', '<a href="'.forum_link($forum_url['admin_bans']).'&amp;del_ban='.$cur_ban['id'].'&amp;csrf_token='.generate_form_token('del_ban'.$cur_ban['id']).'">'.$lang_admin_bans['Remove ban'].'</a>') ?></p>
</div>
<?php if (!empty($forum_page['ban_info'])): ?>
View
4 admin/db_update.php
@@ -471,7 +471,7 @@ function convert_avatars()
<!--[if IE 8 ]> <html class="oldie ie8" lang="en" dir="ltr"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en" dir="ltr"> <!--<![endif]-->
<head>
- <meta charset="utf-8"/>
+ <meta charset="utf-8" />
<title>PunBB Database Update</title>
<link rel="stylesheet" type="text/css" href="<?php echo $base_url ?>/style/Oxygen/Oxygen.min.css" />
<script type="text/javascript" src="<?php echo $base_url ?>/include/js/min/punbb.common.min.js"></script>
@@ -2180,7 +2180,7 @@ function convert_avatars()
<!--[if IE 8 ]> <html class="oldie ie8" lang="en" dir="ltr"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en" dir="ltr"> <!--<![endif]-->
<head>
- <meta charset="utf-8"/>
+ <meta charset="utf-8" />
<title>PunBB Database Update</title>
<link rel="stylesheet" type="text/css" href="<?php echo $base_url ?>/style/Oxygen/Oxygen.min.css" />
<script type="text/javascript" src="<?php echo $base_url ?>/include/js/min/punbb.common.min.js"></script>
View
4 admin/install.php
@@ -143,7 +143,7 @@ function generate_config_file()
<!--[if IE 8 ]> <html class="oldie ie8" lang="en" dir="ltr"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en" dir="ltr"> <!--<![endif]-->
<head>
- <meta charset="utf-8"/>
+ <meta charset="utf-8" />
<title>PunBB Installation</title>
<link rel="stylesheet" type="text/css" href="<?php echo FORUM_ROOT ?>style/Oxygen/Oxygen.min.css" />
</head>
@@ -1912,7 +1912,7 @@ function unescape($str)
<!--[if IE 8 ]> <html class="oldie ie8" lang="en" dir="ltr"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en" dir="ltr"> <!--<![endif]-->
<head>
- <meta charset="utf-8"/>
+ <meta charset="utf-8" />
<title>PunBB Installation</title>
<link rel="stylesheet" type="text/css" href="<?php echo FORUM_ROOT ?>style/Oxygen/Oxygen.min.css" />
</head>
View
2 admin/settings.php
@@ -434,7 +434,7 @@
<?php ($hook = get_hook('aop_setup_pre_default_dst')) ? eval($hook) : null; ?>
<div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">
<div class="sf-box checkbox">
- <span class="fld-input"><input type="checkbox" id="fld<?php echo ++$forum_page['fld_count'] ?>" name="form[default_dst]" value="1" <?php if ($forum_config['o_default_dst'] == 1) echo 'checked="checked" ' ?>/></span>
+ <span class="fld-input"><input type="checkbox" id="fld<?php echo ++$forum_page['fld_count'] ?>" name="form[default_dst]" value="1"<?php if ($forum_config['o_default_dst'] == 1) echo ' checked="checked"' ?> /></span>
<label for="fld<?php echo $forum_page['fld_count'] ?>"><?php echo $lang_admin_settings['DST label'] ?></label>
</div>
</div>
View
4 extern.php
@@ -162,7 +162,7 @@ function output_atom($feed)
echo '<feed xmlns="http://www.w3.org/2005/Atom">'."\n";
echo "\t".'<title type="html"><![CDATA['.escape_cdata($feed['title']).']]></title>'."\n";
- echo "\t".'<link rel="self" href="'.forum_htmlencode(get_current_url()).'"/>'."\n";
+ echo "\t".'<link rel="self" href="'.forum_htmlencode(get_current_url()).'" />'."\n";
echo "\t".'<updated>'.gmdate('Y-m-d\TH:i:s\Z', count($feed['items']) ? $feed['items'][0]['pubdate'] : time()).'</updated>'."\n";
if ($forum_config['o_show_version'] == '1')
@@ -180,7 +180,7 @@ function output_atom($feed)
{
echo "\t\t".'<entry>'."\n";
echo "\t\t\t".'<title type="html"><![CDATA['.escape_cdata($item['title']).']]></title>'."\n";
- echo "\t\t\t".'<link rel="alternate" href="'.$item['link'].'"/>'."\n";
+ echo "\t\t\t".'<link rel="alternate" href="'.$item['link'].'" />'."\n";
echo "\t\t\t".'<'.$content_tag.' type="html"><![CDATA['.escape_cdata($item['description']).']]></'.$content_tag.'>'."\n";
echo "\t\t\t".'<author>'."\n";
echo "\t\t\t\t".'<name><![CDATA['.escape_cdata($item['author']['name']).']]></name>'."\n";
View
2 header.php
@@ -54,7 +54,7 @@
while (preg_match('#<!-- ?forum_include "([^/\\\\]*?)" ?-->#', $tpl_main, $cur_include))
{
if (!file_exists(FORUM_ROOT.'include/user/'.$cur_include[1]))
- error('Unable to process user include &lt;!-- forum_include "'.forum_htmlencode($cur_include[1]).'" --&gt; from template main.tpl.<br/>There is no such file in folder /include/user/', __FILE__, __LINE__);
+ error('Unable to process user include &lt;!-- forum_include "'.forum_htmlencode($cur_include[1]).'" --&gt; from template main.tpl.<br />There is no such file in folder /include/user/', __FILE__, __LINE__);
ob_start();
include FORUM_ROOT.'include/user/'.$cur_include[1];
View
18 include/cache.php
@@ -79,7 +79,7 @@ function generate_config_cache()
// Output config as PHP code
if (!write_cache_file(FORUM_CACHE_DIR.'cache_config.php', '<?php'."\n\n".'define(\'FORUM_CONFIG_LOADED\', 1);'."\n\n".'$forum_config = '.var_export($output, true).';'."\n\n".'?>'))
{
- error('Unable to write configuration cache file to cache directory.<br/>Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
+ error('Unable to write configuration cache file to cache directory.<br />Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
}
}
@@ -118,7 +118,7 @@ function generate_bans_cache()
// Output ban list as PHP code
if (!write_cache_file(FORUM_CACHE_DIR.'cache_bans.php', '<?php'."\n\n".'define(\'FORUM_BANS_LOADED\', 1);'."\n\n".'$forum_bans = '.var_export($output, true).';'."\n\n".'?>'))
{
- error('Unable to write bans cache file to cache directory.<br/>Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
+ error('Unable to write bans cache file to cache directory.<br />Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
}
}
@@ -151,7 +151,7 @@ function generate_ranks_cache()
// Output ranks list as PHP code
if (!write_cache_file(FORUM_CACHE_DIR.'cache_ranks.php', '<?php'."\n\n".'define(\'FORUM_RANKS_LOADED\', 1);'."\n\n".'$forum_ranks = '.var_export($output, true).';'."\n\n".'?>'))
{
- error('Unable to write ranks cache file to cache directory.<br/>Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
+ error('Unable to write ranks cache file to cache directory.<br />Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
}
}
@@ -212,7 +212,7 @@ function generate_stats_cache()
// Output ranks list as PHP code
if (!write_cache_file(FORUM_CACHE_DIR.'cache_stats.php', '<?php'."\n\n".'if (!defined(\'FORUM_STATS_LOADED\')) define(\'FORUM_STATS_LOADED\', 1);'."\n\n".'$forum_stats = '.var_export($stats, true).';'."\n\n".'?>'))
{
- error('Unable to write stats cache file to cache directory.<br/>Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
+ error('Unable to write stats cache file to cache directory.<br />Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
}
unset($stats);
@@ -260,7 +260,7 @@ function generate_censors_cache()
// Output censors list as PHP code
if (!write_cache_file(FORUM_CACHE_DIR.'cache_censors.php', '<?php'."\n\n".'define(\'FORUM_CENSORS_LOADED\', 1);'."\n\n".'$forum_censors = '.var_export($output, true).';'."\n\n".'?>'))
{
- error('Unable to write censor cache file to cache directory.<br/>Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
+ error('Unable to write censor cache file to cache directory.<br />Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
}
}
@@ -370,7 +370,7 @@ function generate_quickjump_cache($group_id = false)
// Output quickjump as PHP code
if (!write_cache_file(FORUM_CACHE_DIR.'cache_quickjump_'.$group_id.'.php', $output))
{
- error('Unable to write quickjump cache file to cache directory.<br/>Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
+ error('Unable to write quickjump cache file to cache directory.<br />Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
}
}
}
@@ -482,7 +482,7 @@ function generate_hooks_cache()
// Output hooks as PHP code
if (!write_cache_file(FORUM_CACHE_DIR.'cache_hooks.php', '<?php'."\n\n".'define(\'FORUM_HOOKS_LOADED\', 1);'."\n\n".'$forum_hooks = '.var_export($output, true).';'."\n\n".'?>'))
{
- error('Unable to write hooks cache file to cache directory.<br/>Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
+ error('Unable to write hooks cache file to cache directory.<br />Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
}
}
@@ -541,7 +541,7 @@ function generate_updates_cache()
// Output update status as PHP code
if (!write_cache_file(FORUM_CACHE_DIR.'cache_updates.php', '<?php'."\n\n".'if (!defined(\'FORUM_UPDATES_LOADED\')) define(\'FORUM_UPDATES_LOADED\', 1);'."\n\n".'$forum_updates = '.var_export($output, true).';'."\n\n".'?>'))
{
- error('Unable to write updates cache file to cache directory.<br/>Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
+ error('Unable to write updates cache file to cache directory.<br />Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
}
}
@@ -602,7 +602,7 @@ function generate_ext_versions_cache($inst_exts, $repository_urls, $repository_u
// Output config as PHP code
if (!write_cache_file(FORUM_CACHE_DIR.'cache_ext_version_notifications.php', '<?php'."\n\n".'if (!defined(\'FORUM_EXT_VERSIONS_LOADED\')) define(\'FORUM_EXT_VERSIONS_LOADED\', 1);'."\n\n".'$forum_ext_repos = '.var_export($forum_ext_repos, true).';'."\n\n".' $forum_ext_last_versions = '.var_export($forum_ext_last_versions, true).";\n\n".'$forum_ext_versions_update_cache = '.time().";\n\n".'?>'))
{
- error('Unable to write configuration cache file to cache directory.<br/>Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
+ error('Unable to write configuration cache file to cache directory.<br />Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__);
}
}
View
2 include/common.php
@@ -66,7 +66,7 @@ function stripslashes_array($array)
if (file_exists(FORUM_ROOT.'lang/'.$forum_user['language'].'/common.php'))
include FORUM_ROOT.'lang/'.$forum_user['language'].'/common.php';
else
- error('There is no valid language pack \''.forum_htmlencode($forum_user['language']).'\' installed.<br/>Please reinstall a language of that name.');
+ error('There is no valid language pack \''.forum_htmlencode($forum_user['language']).'\' installed.<br />Please reinstall a language of that name.');
// Setup the URL rewriting scheme
if ($forum_config['o_sef'] != 'Default' && file_exists(FORUM_ROOT.'include/url/'.$forum_config['o_sef'].'/forum_urls.php'))
View
2 include/dblayer/mysqli.php
@@ -41,7 +41,7 @@ function DBLayer($db_host, $db_username, $db_password, $db_name, $db_prefix, $fo
$this->link_id = @mysqli_connect($db_host, $db_username, $db_password, $db_name);
if (!$this->link_id)
- error('Unable to connect to MySQL and select database.<br/>MySQL reported: '.mysqli_connect_error(), __FILE__, __LINE__);
+ error('Unable to connect to MySQL and select database.<br />MySQL reported: '.mysqli_connect_error(), __FILE__, __LINE__);
// Setup the client-server character set (UTF-8)
if (!defined('FORUM_NO_SET_NAMES'))
View
4 include/email.php
@@ -117,11 +117,11 @@ function server_parse($socket, $expected_response)
while (substr($server_response, 3, 1) != ' ')
{
if (!($server_response = fgets($socket, 256)))
- error('Couldn\'t get mail server response codes.<br/>Please contact the forum administrator.', __FILE__, __LINE__);
+ error('Couldn\'t get mail server response codes.<br />Please contact the forum administrator.', __FILE__, __LINE__);
}
if (!(substr($server_response, 0, 3) == $expected_response))
- error('Unable to send e-mail.<br/>Please contact the forum administrator with the following error message reported by the SMTP server: "'.$server_response.'"', __FILE__, __LINE__);
+ error('Unable to send e-mail.<br />Please contact the forum administrator with the following error message reported by the SMTP server: "'.$server_response.'"', __FILE__, __LINE__);
}
View
4 include/essentials.php
@@ -44,7 +44,7 @@
define('FORUM', 1);
if (!defined('FORUM'))
- error('The file \'config.php\' doesn\'t exist or is corrupt.<br/>Please run <a href="'.FORUM_ROOT.'admin/install.php">install.php</a> to install PunBB first.');
+ error('The file \'config.php\' doesn\'t exist or is corrupt.<br />Please run <a href="'.FORUM_ROOT.'admin/install.php">install.php</a> to install PunBB first.');
// Block prefetch requests
if (isset($_SERVER['HTTP_X_MOZ']) && $_SERVER['HTTP_X_MOZ'] == 'prefetch')
@@ -116,7 +116,7 @@
// Verify that we are running the proper database schema revision
if (defined('PUN') || !isset($forum_config['o_database_revision']) || $forum_config['o_database_revision'] < FORUM_DB_REVISION || version_compare($forum_config['o_cur_version'], FORUM_VERSION, '<'))
- error('Your PunBB database is out-of-date and must be upgraded in order to continue.<br/>Please run <a href="'.$base_url.'/admin/db_update.php">db_update.php</a> in order to complete the upgrade process.');
+ error('Your PunBB database is out-of-date and must be upgraded in order to continue.<br />Please run <a href="'.$base_url.'/admin/db_update.php">db_update.php</a> in order to complete the upgrade process.');
// Load hooks
View
16 include/functions.php
@@ -129,7 +129,7 @@ function array_insert(&$input, $offset, $element, $key = null)
function forum_unregister_globals()
{
$register_globals = @ini_get('register_globals');
- if ($register_globals === "" || $register_globals === "0" || strtolower($register_globals) === "off")
+ if ($register_globals === '' || $register_globals === '0' || strtolower($register_globals) === 'off')
return;
// Prevent script.php?GLOBALS[foo]=bar
@@ -195,7 +195,7 @@ function forum_fix_request_uri()
// Otherwise I am not aware of a work around...
else
- error('The web server you are using is not correctly setting the REQUEST_URI variable.<br/>This usually means you are using IIS6, or an unpatched IIS7. Please either disable SEF URLs, upgrade to IIS7 and install any available patches or try a different web server.');
+ error('The web server you are using is not correctly setting the REQUEST_URI variable.<br />This usually means you are using IIS6, or an unpatched IIS7. Please either disable SEF URLs, upgrade to IIS7 and install any available patches or try a different web server.');
}
}
@@ -696,7 +696,7 @@ function paginate($num_pages, $cur_page, $link, $separator, $args = null, $is_de
if ($current < 1 || $current > $num_pages)
continue;
else if ($current != $cur_page || $link_to_all)
- $pages[] = '<a'.(empty($pages) ? ' class="first-item" ' : '').' href="'.forum_sublink($link, $forum_url_page, $current, $args).'">'.forum_number_format($current).'</a>';
+ $pages[] = '<a'.(empty($pages) ? ' class="first-item"' : '').' href="'.forum_sublink($link, $forum_url_page, $current, $args).'">'.forum_number_format($current).'</a>';
else
$pages[] = '<strong'.(empty($pages) ? ' class="first-item"' : '').'>'.forum_number_format($current).'</strong>';
@@ -705,12 +705,12 @@ function paginate($num_pages, $cur_page, $link, $separator, $args = null, $is_de
if ($cur_page != ($num_pages-3) && $cur_page != ($num_pages-4))
$pages[] = '<span>'.$lang_common['Spacer'].'</span>';
- $pages[] = '<a'.(empty($pages) ? ' class="first-item" ' : '').' href="'.forum_sublink($link, $forum_url_page, $num_pages, $args).'">'.forum_number_format($num_pages).'</a>';
+ $pages[] = '<a'.(empty($pages) ? ' class="first-item"' : '').' href="'.forum_sublink($link, $forum_url_page, $num_pages, $args).'">'.forum_number_format($num_pages).'</a>';
}
// Add a next page link
if ($num_pages > 1 && !$link_to_all && $cur_page < $num_pages)
- $pages[] = '<a'.(empty($pages) ? ' class="first-item" ' : '').' href="'.forum_sublink($link, $forum_url_page, ($cur_page + 1), $args).'">'.$lang_common['Next'].'</a>';
+ $pages[] = '<a'.(empty($pages) ? ' class="first-item"' : '').' href="'.forum_sublink($link, $forum_url_page, ($cur_page + 1), $args).'">'.$lang_common['Next'].'</a>';
}
($hook = get_hook('fn_paginate_end')) ? eval($hook) : null;
@@ -3142,7 +3142,7 @@ function maintenance_message()
while (preg_match('#<!-- ?forum_include "([^/\\\\]*?)" ?-->#', $tpl_maint, $cur_include))
{
if (!file_exists(FORUM_ROOT.'include/user/'.$cur_include[1]))
- error('Unable to process user include &lt;!-- forum_include "'.forum_htmlencode($cur_include[1]).'" --&gt; from template maintenance.tpl.<br/>There is no such file in folder /include/user/.');
+ error('Unable to process user include &lt;!-- forum_include "'.forum_htmlencode($cur_include[1]).'" --&gt; from template maintenance.tpl.<br />There is no such file in folder /include/user/.');
ob_start();
include FORUM_ROOT.'include/user/'.$cur_include[1];
@@ -3264,7 +3264,7 @@ function redirect($destination_url, $message)
while (preg_match('#<!-- ?forum_include "([^/\\\\]*?)" ?-->#', $tpl_redir, $cur_include))
{
if (!file_exists(FORUM_ROOT.'include/user/'.$cur_include[1]))
- error('Unable to process user include &lt;!-- forum_include "'.forum_htmlencode($cur_include[1]).'" --&gt; from template redirect.tpl.<br/>There is no such file in folder /include/user/.');
+ error('Unable to process user include &lt;!-- forum_include "'.forum_htmlencode($cur_include[1]).'" --&gt; from template redirect.tpl.<br />There is no such file in folder /include/user/.');
ob_start();
include FORUM_ROOT.'include/user/'.$cur_include[1];
@@ -3361,7 +3361,7 @@ function error()
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
- <meta charset="utf-8"/>
+ <meta charset="utf-8" />
<title>Error - <?php echo forum_htmlencode($forum_config['o_board_title']) ?></title>
<style>
strong { font-weight: bold; }
View
2 include/template/admin.tpl
@@ -4,7 +4,7 @@
<!--[if IE 8 ]> <html class="oldie ie8" <!-- forum_local -->> <![endif]-->
<!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->
<head>
-<meta charset="utf-8"/>
+<meta charset="utf-8" />
<!-- forum_head -->
</head>
<body>
View
2 include/template/help.tpl
@@ -5,7 +5,7 @@
<!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->
<head>
<head>
-<meta charset="utf-8"/>
+<meta charset="utf-8" />
<!-- forum_head -->
</head>
<body>
View
2 include/template/main.tpl
@@ -4,7 +4,7 @@
<!--[if IE 8 ]> <html class="oldie ie8" <!-- forum_local -->> <![endif]-->
<!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->
<head>
-<meta charset="utf-8"/>
+<meta charset="utf-8" />
<!-- forum_head -->
</head>
<body>
View
2 include/template/maintenance.tpl
@@ -4,7 +4,7 @@
<!--[if IE 8 ]> <html class="oldie ie8" <!-- forum_local -->> <![endif]-->
<!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->
<head>
-<meta charset="utf-8"/>
+<meta charset="utf-8" />
<!-- forum_head -->
</head>
<body>
View
2 include/template/redirect.tpl
@@ -4,7 +4,7 @@
<!--[if IE 8 ]> <html class="oldie ie8" <!-- forum_local -->> <![endif]-->
<!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->
<head>
-<meta charset="utf-8"/>
+<meta charset="utf-8" />
<!-- forum_head -->
</head>
<body>
View
2 login.php
@@ -449,7 +449,7 @@
<?php ($hook = get_hook('li_login_pre_remember_me_checkbox')) ? eval($hook) : null; ?>
<div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">
<div class="sf-box checkbox">
- <span class="fld-input"><input type="checkbox" id="fld<?php echo ++$forum_page['fld_count'] ?>" name="save_pass" value="1" <?php if (isset($_POST['save_pass'])) echo 'checked="checked" '; ?>/></span>
+ <span class="fld-input"><input type="checkbox" id="fld<?php echo ++$forum_page['fld_count'] ?>" name="save_pass" value="1"<?php if (isset($_POST['save_pass'])) echo ' checked="checked"'; ?> /></span>
<label for="fld<?php echo $forum_page['fld_count'] ?>"><?php echo $lang_login['Remember me'] ?></label>
</div>
</div>
View
2 moderate.php
@@ -381,7 +381,7 @@
<?php ($hook = get_hook('mr_confirm_split_posts_pre_subject')) ? eval($hook) : null; ?>
<div class="sf-box text required">
<label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_misc['New subject'] ?></span></label><br />
- <span class="fld-input"><input type="text" id="fld<?php echo $forum_page['fld_count'] ?>" name="new_subject" value="" size="70" maxlength="70" required /></span>
+ <span class="fld-input"><input type="text" id="fld<?php echo $forum_page['fld_count'] ?>" name="new_subject" size="70" maxlength="70" required /></span>
</div>
<?php ($hook = get_hook('mr_confirm_split_posts_pre_confirm_checkbox')) ? eval($hook) : null; ?>
<div class="sf-box checkbox">
View
2 profile.php
@@ -2290,7 +2290,7 @@ function extract_elements($allowed_elements)
<?php ($hook = get_hook('pf_change_details_settings_pre_dst_checkbox')) ? eval($hook) : null; ?>
<div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">
<div class="sf-box checkbox">
- <span class="fld-input"><input type="checkbox" id="fld<?php echo ++$forum_page['fld_count'] ?>" name="form[dst]" value="1" <?php if ($user['dst'] == 1) echo 'checked="checked" ' ?>/></span>
+ <span class="fld-input"><input type="checkbox" id="fld<?php echo ++$forum_page['fld_count'] ?>" name="form[dst]" value="1"<?php if ($user['dst'] == 1) echo ' checked="checked"' ?> /></span>
<label for="fld<?php echo $forum_page['fld_count'] ?>"><?php echo $lang_profile['DST label'] ?></label>
</div>
</div>
View
2 rewrite.php
@@ -84,7 +84,7 @@
// Allow an extension to override the "Bad request" message with a custom 404 page
($hook = get_hook('re_page_not_found')) ? eval($hook) : null;
- error('Page Not found (Error 404):<br/>The requested page <em>'.forum_htmlencode($request_uri).'</em> could not be found.');
+ error('Page Not found (Error 404):<br />The requested page <em>'.forum_htmlencode($request_uri).'</em> could not be found.');
}
// We change $_SERVER['PHP_SELF'] so that it reflects the file we're actually loading

0 comments on commit c4bb7b6

Please sign in to comment.
Something went wrong with that request. Please try again.