Fix a few more notices
This commit is contained in:
@@ -327,7 +327,7 @@ function template_main()
|
||||
<b', isset($context['post_error']['no_subject']) ? ' style="color: #FF0000;"' : '', '>', $txt[70], ':</b>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" maxlength="50" name="subject"', $context['subject'] == '' ? '' : ' value="' . $context['subject'] . '"', ' size="80" maxlength="80" tabindex="1" />
|
||||
<input type="text" maxlength="50" name="subject"', empty($context['subject']) ? '' : ' value="' . $context['subject'] . '"', ' size="80" maxlength="80" tabindex="1" />
|
||||
</td>
|
||||
</tr>';
|
||||
if ($context['is_first_post'])
|
||||
@@ -337,7 +337,7 @@ function template_main()
|
||||
<b>Подзаголовок:</b>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" maxlength="50" name="subtitle"', $context['subtitle'] == '' ? '' : ' value="' . $context['subtitle'] . '"', ' size="80" maxlength="80" tabindex="2" />
|
||||
<input type="text" maxlength="50" name="subtitle"', empty($context['subtitle']) ? '' : ' value="' . $context['subtitle'] . '"', ' size="80" maxlength="80" tabindex="2" />
|
||||
</td>
|
||||
</tr>';
|
||||
echo '
|
||||
|
||||
@@ -493,7 +493,7 @@ if (! defined('MOBILE')) {
|
||||
</li>
|
||||
</ul>
|
||||
<?
|
||||
if (!empty($context['current_topic']) && $context['is_watched'] == false ) {
|
||||
if (!empty($context['current_topic']) && empty($context['is_watched']) ) {
|
||||
?>
|
||||
<ul class="jx-bar-button">
|
||||
<li title="Следить за темой"><a href="http://rock.ru/forum/index.php?action=watch;id_topic=<?=$context['current_topic']?>;return=<?=urlencode("topic=".$context['current_topic'].'.'.$context['start'])?>"><img src="http://img.rock.ru/images/reply.png" alt="" />Следить за темой</a>
|
||||
|
||||
Reference in New Issue
Block a user