diff options
-rw-r--r-- | index.php | 4 | ||||
-rw-r--r-- | js/functions.js | 2 | ||||
-rw-r--r-- | prefs.php | 4 |
3 files changed, 10 insertions, 0 deletions
@@ -56,6 +56,10 @@ <head> <title>Tiny Tiny RSS</title> + <script type="text/javascript"> + var __ttrss_version = "<?php echo VERSION ?>" + </script> + <?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?> <?php echo stylesheet_tag("css/layout.css"); ?> diff --git a/js/functions.js b/js/functions.js index 1ad15fcc6..ee9f2b7fd 100644 --- a/js/functions.js +++ b/js/functions.js @@ -111,6 +111,8 @@ function exception_error(location, e, ext_info) { browserVersion: navigator.appVersion, browserPlatform: navigator.platform, browserCookies: navigator.cookieEnabled, + ttrssVersion: __ttrss_version, + initParams: JSON.stringify(init_params), }).toQueryString(); document.forms['exceptionForm'].submit(); @@ -32,6 +32,10 @@ <head> <title>Tiny Tiny RSS : <?php echo __("Preferences") ?></title> + <script type="text/javascript"> + var __ttrss_version = "<?php echo VERSION ?>" + </script> + <?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?> <?php echo stylesheet_tag("css/layout.css"); ?> |