summaryrefslogtreecommitdiff
path: root/classes/handler/public.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-16 14:23:00 +0300
committerAndrew Dolgov <[email protected]>2021-02-16 14:23:00 +0300
commit26d6b84a572b5cbd99acffc5ae727ea6d1be543a (patch)
treedd1f491b0e46efa92f0b1eeed85253120e519347 /classes/handler/public.php
parentcb6b3584ce6160b69ee03f1a31660a430cb06854 (diff)
add namespaced controls with unified naming; deprecated old-style control shortcuts
Diffstat (limited to 'classes/handler/public.php')
-rwxr-xr-xclasses/handler/public.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index da1e53853..b0bed5d1c 100755
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -788,7 +788,7 @@ class Handler_Public extends Handler {
?>
<form method="post">
<input type="hidden" name="op" value="subscribe">
- <?php print_hidden("csrf_token", $_SESSION["csrf_token"]) ?>
+ <?= \Controls\hidden_tag("csrf_token", $_SESSION["csrf_token"]) ?>
<fieldset>
<label>Feed or site URL:</label>
<input style="width: 300px" dojoType="dijit.form.ValidationTextBox" required="1" name="feed_url" value="<?= htmlspecialchars($feed_url) ?>">
@@ -831,7 +831,7 @@ class Handler_Public extends Handler {
print "<form action='public.php'>";
print "<input type='hidden' name='op' value='subscribe'>";
- print_hidden("csrf_token", $_SESSION["csrf_token"]);
+ print \Controls\hidden_tag("csrf_token", $_SESSION["csrf_token"]);
print "<fieldset>";
print "<label style='display : inline'>" . __("Multiple feed URLs found:") . "</label>";