diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -5,7 +5,7 @@ exit; } - set_include_path(get_include_path() . PATH_SEPARATOR . + set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) ."/include"); require_once "functions.php"; @@ -40,6 +40,16 @@ <?php print_theme_includes($link) ?> <?php print_user_stylesheet($link) ?> + <script type="text/javascript"> + <?php foreach (explode(",", ARTICLE_BUTTON_PLUGINS) as $p) { + $jsf = "js/${p}_button.js"; + if (file_exists($jsf)) { + include $jsf; + print "</script>"; + } + } ?> + </script> + <link rel="shortcut icon" type="image/png" href="images/favicon.png"/> <script type="text/javascript" src="lib/prototype.js"></script> |