summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_comment_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/pkg_comment_form.php')
-rw-r--r--web/template/pkg_comment_form.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/web/template/pkg_comment_form.php b/web/template/pkg_comment_form.php
index fb3ebffb..9315b0af 100644
--- a/web/template/pkg_comment_form.php
+++ b/web/template/pkg_comment_form.php
@@ -1,6 +1,6 @@
<div id="generic-form" class="box">
- <h2><?php echo __("Add Comment"); ?></h2>
- <form call="general-form" action="<?php echo $_SERVER['REQUEST_URI'] ?>" method="post">
+ <h2><?= __("Add Comment"); ?></h2>
+ <form call="general-form" action="<?= $_SERVER['REQUEST_URI'] ?>" method="post">
<fieldset>
<?php
if (isset($_REQUEST['comment']) && check_token()) {
@@ -8,16 +8,16 @@ if (isset($_REQUEST['comment']) && check_token()) {
}
?>
<div>
- <input type="hidden" name="ID" value="<?php echo intval($row['ID']) ?>" />
- <input type="hidden" name="token" value="<?php echo htmlspecialchars($_COOKIE['AURSID']) ?>" />
+ <input type="hidden" name="ID" value="<?= intval($row['ID']) ?>" />
+ <input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
</div>
<p>
- <label for="id_comment"><?php echo __("Comment") . ':' ?></label>
+ <label for="id_comment"><?= __("Comment") . ':' ?></label>
<textarea id="id_comment" name="comment" cols="80" rows="10"></textarea>
</p>
<p>
<label></label>
- <input type="submit" value="<?php echo __("Add Comment") ?>" />
+ <input type="submit" value="<?= __("Add Comment") ?>" />
</p>
</fieldset>
</form>