PHP 7.0 compatibility (short tags replaced by normal)
This commit is contained in:
@@ -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'); ?>
|
||||
Reference in New Issue
Block a user