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,11 +1,11 @@
<?
<?php
if ($_GET['mode'] == 'admin')
require_once('./templates/admin/overall_header.tpl.php');
else
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">
@@ -15,7 +15,7 @@ else
<div class="row">
<div class="tc1 tc4" style="padding-top: 20px; padding-bottom: 20px">
<?= $this->TPL['message']; ?>
<?php echo $this->TPL['message']; ?>
</div>
</div>
@@ -31,4 +31,4 @@ else
</div>
</form>
<? require_once('./templates/overall_footer.tpl.php'); ?>
<?php require_once('./templates/overall_footer.tpl.php'); ?>