diff options
author | Andrew Dolgov <[email protected]> | 2014-03-14 14:20:32 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-03-14 14:20:32 +0400 |
commit | 8b91b0beb59bc6f7d9e1e75997d77f3bd64d961a (patch) | |
tree | ed3f156935e1ec476654e1e33c890605dce31c45 | |
parent | cbcf6517dca6d3c0ba32745969b6fe4d73d704ba (diff) |
add ttrss version and init params to reports
-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"); ?> |