Avoid short open tag for PHP.

This commit is contained in:
jgen 2014-04-20 05:07:26 -04:00
parent 60980c8839
commit 21e1359b86

View file

@ -83,7 +83,6 @@ if (isset($_POST['p'])) {
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
@ -109,13 +108,13 @@ if (isset($_POST['p'])) {
<div id="top">
<h1>YShout.History</h1>
<div id="controls">
<? if($admin) : ?>
<?php if($admin) : ?>
<a id="clear-log" href="#">Clear this log</a>, or
<a id="clear-logs" href="#">Clear all logs</a>.
<? endif; ?>
<?php endif; ?>
<select id="log">
<?
<?php
for ($i = 1; $i <= $prefs['logs']; $i++)
echo '<option' . ($log == $i ? ' selected' : '') . ' rel="' . $i . '">Log ' . $i . '</option>' . "\n";
?>