diff options
author | YoungMin Park <[email protected]> | 2014-11-04 11:49:43 +0900 |
---|---|---|
committer | YoungMin Park <[email protected]> | 2014-11-04 11:49:43 +0900 |
commit | a5bbb2bec133bdee08b361628f32430ae3884107 (patch) | |
tree | b203105149ec234ebe155d5718d2cbb6390b4a45 /include/login_form.php | |
parent | 12727ad17d125eb2f3f243231ccca1cb0a5a7b4b (diff) | |
parent | 2f43089de1ead3f164b8b31967d1abbb784319fa (diff) |
Merge pull request #1 from gothfox/master
Update from original
Diffstat (limited to 'include/login_form.php')
-rw-r--r-- | include/login_form.php | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/include/login_form.php b/include/login_form.php index 891e25e13..0000bc2f6 100644 --- a/include/login_form.php +++ b/include/login_form.php @@ -2,15 +2,22 @@ <html> <head> <title>Tiny Tiny RSS : Login</title> - <link rel="stylesheet" type="text/css" href="lib/dijit/themes/claro/claro.css"/> - <link rel="stylesheet" type="text/css" href="css/tt-rss.css"> + <?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css") ?> + <?php echo stylesheet_tag("css/tt-rss.css") ?> + <?php echo stylesheet_tag("css/dijit.css") ?> <link rel="shortcut icon" type="image/png" href="images/favicon.png"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <script type="text/javascript" src="lib/dojo/dojo.js"></script> - <script type="text/javascript" src="lib/dojo/tt-rss-layer.js"></script> - <script type="text/javascript" src="lib/prototype.js"></script> - <script type="text/javascript" src="js/functions.js"></script> - <script type="text/javascript" charset="utf-8" src="errors.php?mode=js"></script> + <?php + foreach (array("lib/prototype.js", + "lib/dojo/dojo.js", + "lib/dojo/tt-rss-layer.js", + "js/functions.js", + "errors.php?mode=js") as $jsfile) { + + echo javascript_tag($jsfile); + + } ?> + <script type="text/javascript"> require({cache:{}}); Event.observe(window, 'load', function() { @@ -246,9 +253,6 @@ function bwLimitChange(elem) { <div class='footer'> <a href="http://tt-rss.org/">Tiny Tiny RSS</a> - <?php if (!defined('HIDE_VERSION')) { ?> - v<?php echo VERSION ?> - <?php } ?> © 2005–<?php echo date('Y') ?> <a href="http://fakecake.org/">Andrew Dolgov</a> </div> |