1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 04:55:54 +00:00

use shortcut echo syntax for php templates

This commit is contained in:
Andrew Dolgov
2021-02-14 09:15:51 +03:00
parent d4c925819b
commit 15fd23c374
12 changed files with 183 additions and 183 deletions

View File

@@ -63,21 +63,21 @@ class Auth_Internal extends Auth_Base {
<title>Tiny Tiny RSS</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<?php echo stylesheet_tag("themes/light.css") ?>
<?= stylesheet_tag("themes/light.css") ?>
<body class="ttrss_utility otp">
<h1><?php echo __("Authentication") ?></h1>
<h1><?= __("Authentication") ?></h1>
<div class="content">
<form action="public.php?return=<?php echo $return ?>"
<form action="public.php?return=<?= $return ?>"
method="POST" class="otpform">
<input type="hidden" name="op" value="login">
<input type="hidden" name="login" value="<?php echo htmlspecialchars($login) ?>">
<input type="hidden" name="password" value="<?php echo htmlspecialchars($password) ?>">
<input type="hidden" name="bw_limit" value="<?php echo htmlspecialchars($_POST["bw_limit"]) ?>">
<input type="hidden" name="remember_me" value="<?php echo htmlspecialchars($_POST["remember_me"]) ?>">
<input type="hidden" name="profile" value="<?php echo htmlspecialchars($_POST["profile"]) ?>">
<input type="hidden" name="login" value="<?= htmlspecialchars($login) ?>">
<input type="hidden" name="password" value="<?= htmlspecialchars($password) ?>">
<input type="hidden" name="bw_limit" value="<?= htmlspecialchars($_POST["bw_limit"]) ?>">
<input type="hidden" name="remember_me" value="<?= htmlspecialchars($_POST["remember_me"]) ?>">
<input type="hidden" name="profile" value="<?= htmlspecialchars($_POST["profile"]) ?>">
<fieldset>
<label><?php echo __("Please enter your one time password:") ?></label>
<label><?= __("Please enter your one time password:") ?></label>
<input autocomplete="off" size="6" name="otp" value=""/>
<input type="submit" value="Continue"/>
</fieldset>