PHP 7.0 compatibility (short tags replaced by normal)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if ($_GET['mode'] == 'admin')
|
||||
require_once('./templates/admin/overall_header.tpl.php');
|
||||
else
|
||||
@@ -6,15 +6,15 @@ else
|
||||
?>
|
||||
|
||||
<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>
|
||||
<? } ?>
|
||||
<br><form action="<?= $_SERVER['REQUEST_URI']; ?>" method="post">
|
||||
<?php } ?>
|
||||
<br><form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
|
||||
<div class="forum_table">
|
||||
<div class="row">
|
||||
<div class="hc1"><?= $this->TPL['forum_form_name']; ?></div>
|
||||
<div class="hc1"><?php echo $this->TPL['forum_form_name']; ?></div>
|
||||
<div class="hc4"> </div>
|
||||
</div>
|
||||
|
||||
@@ -23,7 +23,7 @@ else
|
||||
Forum name:
|
||||
</div>
|
||||
<div class="tc4 rc">
|
||||
<input type="text" maxlength="50" name="name" id="name" value="<?= $this->TPL['name']; ?>" required pattern=".{3,}" required title="3 characters minimum">
|
||||
<input type="text" maxlength="50" name="name" id="name" value="<?php echo $this->TPL['name']; ?>" required pattern=".{3,}" required title="3 characters minimum">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
@@ -31,7 +31,7 @@ else
|
||||
Forum description:
|
||||
</div>
|
||||
<div class="tc4 rc">
|
||||
<input type="text" maxlength="150" name="desc" id="desc" value="<?= $this->TPL['desc']; ?>" style="width: 400px">
|
||||
<input type="text" maxlength="150" name="desc" id="desc" value="<?php echo $this->TPL['desc']; ?>" style="width: 400px">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
@@ -55,9 +55,9 @@ else
|
||||
Forum locked:
|
||||
</div>
|
||||
<div class="tc4 rc">
|
||||
<input type="radio" name="locked" value="1" <?= $this->TPL['lock_selected']; ?>>
|
||||
<input type="radio" name="locked" value="1" <?php echo $this->TPL['lock_selected']; ?>>
|
||||
Yes
|
||||
<input type="radio" name="locked" value="0" <?= $this->TPL['unlock_selected']; ?>>
|
||||
<input type="radio" name="locked" value="0" <?php echo $this->TPL['unlock_selected']; ?>>
|
||||
No
|
||||
</div>
|
||||
</div>
|
||||
@@ -73,4 +73,4 @@ else
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<? require_once('./templates/overall_footer.tpl.php'); ?>
|
||||
<?php require_once('./templates/overall_footer.tpl.php'); ?>
|
||||
Reference in New Issue
Block a user