PHP 7.0 compatibility (short tags replaced by normal)
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
<? require_once('./templates/overall_header.tpl.php'); ?>
|
||||
<?php require_once('./templates/overall_header.tpl.php'); ?>
|
||||
<script type="text/javascript" src="templates/scripts/posting.js">
|
||||
</script>
|
||||
<div id="content">
|
||||
<? if ($this->TPL['error_msg'] != '') { ?>
|
||||
<?php if ($this->TPL['error_msg'] != '') { ?>
|
||||
<div class="error_form">
|
||||
<?= $this->TPL['error_msg']; ?>
|
||||
<?php echo $this->TPL['error_msg']; ?>
|
||||
</div>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<? if (isset($this->TPL['preview'])) { ?>
|
||||
<?php if (isset($this->TPL['preview'])) { ?>
|
||||
<div class="forum_table">
|
||||
<div class="row">
|
||||
<div class="hc1 hc4">Post preview</div>
|
||||
@@ -16,16 +16,16 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="tc1 post_content tc4" style="height: 150px">
|
||||
<?= BBCode($this->TPL['post']); ?>
|
||||
<?php echo BBCode($this->TPL['post']); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<br><form action="<?= $_SERVER['REQUEST_URI']; ?>" method="post">
|
||||
<? if (isset($this->TPL['topic'])) { ?>
|
||||
<br><form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
|
||||
<?php if (isset($this->TPL['topic'])) { ?>
|
||||
<div class="forum_table">
|
||||
<div class="row">
|
||||
<div class="hc1">Topic information</div>
|
||||
@@ -37,13 +37,13 @@
|
||||
Title:
|
||||
</div>
|
||||
<div class="tc4 rc">
|
||||
<input type="text" maxlength="100" name="topic" id="topic" value="<?= $this->TPL['topic']; ?>" required pattern=".{3,}" required title="3 characters minimum" style="width: 490px">
|
||||
<input type="text" maxlength="100" name="topic" id="topic" value="<?php echo $this->TPL['topic']; ?>" required pattern=".{3,}" required title="3 characters minimum" style="width: 490px">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<div class="forum_table">
|
||||
<div class="row">
|
||||
<div class="hc1">Post information</div>
|
||||
@@ -101,7 +101,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="tc4 rc">
|
||||
<textarea name="post" id="post" maxlength="5000" required title="3 characters minimum"><?= $this->TPL['post']; ?></textarea>
|
||||
<textarea name="post" id="post" maxlength="5000" required title="3 characters minimum"><?php echo $this->TPL['post']; ?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
@@ -123,4 +123,4 @@
|
||||
document.getElementById('bbcode_buttons').style.display = 'block';
|
||||
document.getElementById('emoticons_buttons').style.display = 'block';
|
||||
</script>
|
||||
<? require_once('./templates/overall_footer.tpl.php'); ?>
|
||||
<?php require_once('./templates/overall_footer.tpl.php'); ?>
|
||||
Reference in New Issue
Block a user