PHP 7.0 compatibility (short tags replaced by normal)
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<? require_once('./templates/overall_header.tpl.php'); ?>
|
||||
<?php require_once('./templates/overall_header.tpl.php'); ?>
|
||||
<div id="content">
|
||||
<? if ($this->TPL['topic_info']['forum_locked'] == false && $this->TPL['topic_info']['topic_locked'] == false) { ?>
|
||||
<a href="index.php?mode=reply&id=<?= $_GET['id']; ?>" class="btn">Reply</a>
|
||||
<? } else { ?>
|
||||
<?php if ($this->TPL['topic_info']['forum_locked'] == false && $this->TPL['topic_info']['topic_locked'] == false) { ?>
|
||||
<a href="index.php?mode=reply&id=<?php echo $_GET['id']; ?>" class="btn">Reply</a>
|
||||
<?php } else { ?>
|
||||
<div class="btn">
|
||||
Locked
|
||||
</div>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<br />
|
||||
|
||||
<?php
|
||||
@@ -93,38 +93,38 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<? if ($this->TPL['topic_info']['forum_locked'] == false && $this->TPL['topic_info']['topic_locked'] == false) { ?>
|
||||
<a href="index.php?mode=reply&id=<?= $_GET['id']; ?>" class="btn">Reply</a>
|
||||
<? } else { ?>
|
||||
<?php if ($this->TPL['topic_info']['forum_locked'] == false && $this->TPL['topic_info']['topic_locked'] == false) { ?>
|
||||
<a href="index.php?mode=reply&id=<?php echo $_GET['id']; ?>" class="btn">Reply</a>
|
||||
<?php } else { ?>
|
||||
<div class="btn">
|
||||
Locked
|
||||
</div>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<? if ($this->TPL['my_rank'] >= RANK_MOD) { ?>
|
||||
<?php if ($this->TPL['my_rank'] >= RANK_MOD) { ?>
|
||||
<div class="forum_table topic_mod" style="">
|
||||
<div class="row">
|
||||
<div class="hc1 hc4 hcpost" style="padding: 0px; text-align: center">Actions</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="tc1 tc4">
|
||||
<a href="index.php?mode=moderate&submode=sticktopic&id=<?= $_GET['id']; ?>">
|
||||
<img src="templates/images/<? if ($this->TPL['topic_info']['topic_sticky']) echo 'un'; ?>stick.gif" alt="stick">
|
||||
<a href="index.php?mode=moderate&submode=sticktopic&id=<?php echo $_GET['id']; ?>">
|
||||
<img src="templates/images/<?php if ($this->TPL['topic_info']['topic_sticky']) echo 'un'; ?>stick.gif" alt="stick">
|
||||
</a>
|
||||
<a href="index.php?mode=moderate&submode=deletetopic&id=<?= $_GET['id']; ?>">
|
||||
<a href="index.php?mode=moderate&submode=deletetopic&id=<?php echo $_GET['id']; ?>">
|
||||
<img src="templates/images/delete.gif" alt="delete">
|
||||
</a>
|
||||
<a href="index.php?mode=moderate&submode=locktopic&id=<?= $_GET['id']; ?>">
|
||||
<img src="templates/images/<? if ($this->TPL['topic_info']['topic_locked']) echo 'un'; ?>lock.gif" alt="lock">
|
||||
<a href="index.php?mode=moderate&submode=locktopic&id=<?php echo $_GET['id']; ?>">
|
||||
<img src="templates/images/<?php if ($this->TPL['topic_info']['topic_locked']) echo 'un'; ?>lock.gif" alt="lock">
|
||||
</a>
|
||||
<a href="index.php?mode=moderate&submode=movetopic&id=<?= $_GET['id']; ?>">
|
||||
<a href="index.php?mode=moderate&submode=movetopic&id=<?php echo $_GET['id']; ?>">
|
||||
<img src="templates/images/move.gif" alt="move">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<div style="clear: both"> </div>
|
||||
</div>
|
||||
|
||||
<? require_once('./templates/overall_footer.tpl.php'); ?>
|
||||
<?php require_once('./templates/overall_footer.tpl.php'); ?>
|
||||
Reference in New Issue
Block a user