add ttrss version and init params to reports
This commit is contained in:
parent
cbcf6517dc
commit
8b91b0beb5
|
@ -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"); ?>
|
||||
|
||||
|
|
|
@ -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"); ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue