diff --git a/src/assets/js/changelog.js b/src/assets/js/changelog.js index 8085e894..ba82b1a4 100644 --- a/src/assets/js/changelog.js +++ b/src/assets/js/changelog.js @@ -1,3 +1,9 @@ $(function() { + /** + * Tabs + */ + var current_version_tab = version.replaceAll('.', '-'); + $('.menu .item').tab(); + $('.menu .item').tab('change tab', current_version_tab); }); diff --git a/src/classes/page.php b/src/classes/page.php index 4c3b1926..27250383 100644 --- a/src/classes/page.php +++ b/src/classes/page.php @@ -348,6 +348,7 @@ class Page var api = { 'token' : "getOption('api_token'); ?>", }; + var version = ''; var wish_status_temporary = ''; var wish_status_unavailable = ''; var wish_status_fulfilled = ''; diff --git a/src/pages/changelog.php b/src/pages/changelog.php index 75ae5911..f618e661 100644 --- a/src/pages/changelog.php +++ b/src/pages/changelog.php @@ -103,6 +103,12 @@ $page->navigation(); echo __('Large parts of wishthis have been completely rewritten, such as the API and how pretty URLs work. The aim was to increase security and maintainability.'); ?> +
  • + +