PHP 7.0 compatibility (short tags replaced by normal)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<? require_once('./templates/overall_header.tpl.php'); ?>
|
||||
<?php require_once('./templates/overall_header.tpl.php'); ?>
|
||||
<div id="content">
|
||||
<script type="text/javascript" src="templates/scripts/chkcookie.js">
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
create_cookie("checkcookie", "testvalue", 0);
|
||||
</script>
|
||||
<p id="js_msg" style="color: red; font-weight: bold">You must enable cookies if you want log in</p>
|
||||
<? 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">Log in</div>
|
||||
@@ -24,7 +24,7 @@
|
||||
Nick:
|
||||
</div>
|
||||
<div class="tc4 rc">
|
||||
<input type="text" maxlength="30" name="nick" id="nick" value="<?= $this->TPL['nick']; ?>" required>
|
||||
<input type="text" maxlength="30" name="nick" id="nick" value="<?php echo $this->TPL['nick']; ?>" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
@@ -51,4 +51,4 @@
|
||||
erase_cookie("checkcookie");
|
||||
|
||||
</script>
|
||||
<? require_once('./templates/overall_footer.tpl.php'); ?>
|
||||
<?php require_once('./templates/overall_footer.tpl.php'); ?>
|
||||
Reference in New Issue
Block a user