print "<h1>".__("Reset password")."</h1>";
print "<div class='content'>";
+ print "<p>".__("You will need to provide valid account name and email. New password will be sent on your email address.")."</p>";
+
@$method = $_POST['method'];
if (!$method) {
<fieldset>
<label>Port</label>
- <input name="DB_PORT" placeholder="if needed, PgSQL only" size="20" value="<?php echo $DB_PORT ?>"/>
+ <input name="DB_PORT" type="number" placeholder="if needed, PgSQL only" size="20" value="<?php echo $DB_PORT ?>"/>
</fieldset>
<h2>Other settings</h2>
<fieldset>
<label>Tiny Tiny RSS URL</label>
- <input name="SELF_URL_PATH" placeholder="<?php echo $SELF_URL_PATH; ?>" size="60" value="<?php echo $SELF_URL_PATH ?>"/>
+ <input type="url" name="SELF_URL_PATH" placeholder="<?php echo $SELF_URL_PATH; ?>" size="60" value="<?php echo $SELF_URL_PATH ?>"/>
</fieldset>
body {
- margin : 20px;
- padding : 0px;
font-family : sans-serif;
font-size : 12px;
+ background : #eee;
+ margin-left : auto;
+ margin-right : auto;
+ max-width : 800px;
+}
+
+div.content {
background : white;
+ border : 1px solid #ccc;
+ padding : 10px;
+ box-shadow : 0px 0px 2px #ccc;
}
p.warning {