PHP 7.0 compatibility (short tags replaced by normal)

This commit is contained in:
2018-02-04 13:36:19 +01:00
parent 2a335e9c6c
commit 75e3e43a5f
26 changed files with 225 additions and 225 deletions

View File

@@ -1,6 +1,6 @@
<? require_once('./templates/overall_header.tpl.php'); ?>
<?php require_once('./templates/overall_header.tpl.php'); ?>
<form action="<?= $_SERVER['REQUEST_URI']; ?>" method="post">
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
<div id="content">
<br>
<div class="forum_table">
@@ -14,7 +14,7 @@
Topic title:
</div>
<div class="tc4 rc">
<span style="font-weight: bold"><?= $this->TPL['topic_info']['topic_title']; ?></span>
<span style="font-weight: bold"><?php echo $this->TPL['topic_info']['topic_title']; ?></span>
</div>
@@ -25,7 +25,7 @@
Topic is in forum:
</div>
<div class="tc4 rc">
<span style="font-weight: bold"><?= $this->TPL['topic_info']['forum_name']; ?></span>
<span style="font-weight: bold"><?php echo $this->TPL['topic_info']['forum_name']; ?></span>
</div>
@@ -37,7 +37,7 @@
</div>
<div class="tc4 rc">
<select name="forum_id">
<?
<?php
for ($i=0; $i<count($this->TPL['forums_list']); $i++)
{
$sel = ($this->TPL['forums_list'][$i]['forum_id'] == $this->TPL['topic_info']['forum_id']) ? 'selected="selected"' : '';
@@ -64,4 +64,4 @@
</div>
</form>
<? require_once('./templates/overall_footer.tpl.php'); ?>
<?php require_once('./templates/overall_footer.tpl.php'); ?>