Skip to content

Commit

Permalink
Fixes several undefined constant warnings in admin.php
Browse files Browse the repository at this point in the history
  • Loading branch information
turnermm committed Apr 25, 2018
1 parent 4d00699 commit d28c217
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions admin.php
Expand Up @@ -181,7 +181,7 @@ function handle() {
*/
function html() {
ptln('<div id="qs_general_intro">');
ptln( $this->locale_xhtml(general_intro));
ptln( $this->locale_xhtml('general_intro'));
ptln('</div>');
ptln('<button class="button" onclick=" toggle_panel(' . "'qs_cache_panel'" . ');">' . $this->getLang("btn_prune") . '</button>');
ptln('&nbsp;&nbsp;<button class="button" onclick="toggle_panel(' . "'quick__stats'" . ');">' . $this->getLang("btn_queries") . '</button>');
Expand All @@ -196,7 +196,7 @@ function html() {

ptln('<div ' . $qs_display . ' id="qs_cache_panel">');

ptln( $this->locale_xhtml(intro));
ptln( $this->locale_xhtml('intro'));
ptln('<form action="'.wl($ID).'" method="post">');

// output hidden values to ensure dokuwiki will return back to this plugin
Expand All @@ -220,7 +220,7 @@ function html() {
/* Stats Panel */
$today = getdate();
ptln('<div id="quick__stats" class="quick__stats">');
ptln('<div class="qs_query_intro" id="qs_query_intro">' . $this->locale_xhtml(query));
ptln('<div class="qs_query_intro" id="qs_query_intro">' . $this->locale_xhtml('query'));
ptln('<button class="button" onclick="qs_close_panel(' . "'qs_query_intro'" . ');">' . $this->getLang('btn_close_info') . '</button>');
ptln('</div>');

Expand Down
2 changes: 1 addition & 1 deletion plugin.info.txt
@@ -1,7 +1,7 @@
base quickstats
author Myron Turner
email turnermm02@shaw.ca
date 2018-04-23
date 2018-04-25
name QuickStats Plugin
desc Non-sql-based web traffic statistics
url http://www.dokuwiki.org/plugin:quickstats
Expand Down

0 comments on commit d28c217

Please sign in to comment.