<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="utility.css">
<script type="text/javascript" src="functions.js"></script>
-<script type="text/javascript" src="prototype.js"></script>
+<script type="text/javascript" src="lib/prototype.js"></script>
<script type="text/javascript" src="lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script>
</head>
$num_users = db_fetch_result($result, 0, "cu");
} ?>
-<? if (!REG_MAX_USERS || $num_users < REG_MAX_USERS) { ?>
+<?php if (!REG_MAX_USERS || $num_users < REG_MAX_USERS) { ?>
<!-- If you have any rules or ToS you'd like to display, enter them here -->
require_once "templates/register_notice.txt";
} ?>
- <? if (!$action) { ?>
+ <?php if (!$action) { ?>
<p><?php echo __('Your temporary password will be sent to the specified email. Accounts, which were not logged in once, are erased automatically 24 hours after temporary password is sent.') ?></p>
<td><?php echo __('How much is two plus two:') ?></td><td>
<input name="turing_test"></td></tr>
<tr><td colspan="2" align="right">
- <input type="submit" name="sub_btn" value="<?php echo __('Submit registration"') ?>"
+ <input type="submit" name="sub_btn" value="<?php echo __('Submit registration') ?>"
disabled="true" onclick='return validateRegForm()'>
</td></tr>
</table>
<input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\">
</form>"; ?>
- <? } else if ($action == "do_register") { ?>
+ <?php } else if ($action == "do_register") { ?>
- <?
+ <?php
$login = mb_strtolower(trim(db_escape_string($_REQUEST["login"])));
$email = trim(db_escape_string($_REQUEST["email"]));
$test = trim(db_escape_string($_REQUEST["turing_test"]));
}
?>
-<? } else { ?>
+<?php } else { ?>
<?php print_notice(__('New user registrations are currently closed.')) ?>
<input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\">
</form>"; ?>
-<? } ?>
+<?php } ?>
</body>
</html>