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,13 +1,13 @@
<?
<?php
if ($_GET['mode'] == 'admin')
require_once('./templates/admin/overall_header.tpl.php');
else
require_once('./templates/overall_header.tpl.php');
?>
<? if ($this->TPL['url'] != '') { ?>
<meta http-equiv="refresh" content="<?= $this->TPL['timeout']; ?>; url=<?= $this->TPL['url']; ?>">
<? } ?>
<?php if ($this->TPL['url'] != '') { ?>
<meta http-equiv="refresh" content="<?php echo $this->TPL['timeout']; ?>; url=<?php echo $this->TPL['url']; ?>">
<?php } ?>
<div id="content">
<br>
@@ -18,11 +18,11 @@ 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>
</div>
</div>
<? require_once('./templates/overall_footer.tpl.php'); ?>
<?php require_once('./templates/overall_footer.tpl.php'); ?>