From eb7d1061a249e03bc1c38f880d3392263ddc448c Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Fri, 16 Sep 2016 10:17:47 -0400 Subject: [PATCH] Added .gitignore to keep smarty cache files out of repository. --- .gitignore | 4 + ...e8a6603e49a.file.adminServerStats.html.php | 152 ------------------ ...0d4cf.file.adminServerStatsConfig.html.php | 123 -------------- ...3a7a0811e948cca0c2472.file.footer.html.php | 39 ----- ...570b445d05711f940888b.file.header.html.php | 26 --- ...fb8.file.adminServerStatsAllSites.html.php | 29 ---- 6 files changed, 4 insertions(+), 369 deletions(-) create mode 100644 .gitignore delete mode 100644 misc/smarty/templates_c/424fa8075e980e0b540d7353dc3dee8a6603e49a.file.adminServerStats.html.php delete mode 100644 misc/smarty/templates_c/5cc7f37bdbecb309b4681cb8d3e4e23f95a0d4cf.file.adminServerStatsConfig.html.php delete mode 100644 misc/smarty/templates_c/6520e3a746eb38303d33a7a0811e948cca0c2472.file.footer.html.php delete mode 100644 misc/smarty/templates_c/9a9cab5b5e177e644dc570b445d05711f940888b.file.header.html.php delete mode 100644 misc/smarty/templates_c/d5ca03ee0040131e1874111dbe0e154353afefb8.file.adminServerStatsAllSites.html.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0658ee7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +# Don't save smarty cache directories or files +misc/smarty/** +.project + diff --git a/misc/smarty/templates_c/424fa8075e980e0b540d7353dc3dee8a6603e49a.file.adminServerStats.html.php b/misc/smarty/templates_c/424fa8075e980e0b540d7353dc3dee8a6603e49a.file.adminServerStats.html.php deleted file mode 100644 index ae82f6d..0000000 --- a/misc/smarty/templates_c/424fa8075e980e0b540d7353dc3dee8a6603e49a.file.adminServerStats.html.php +++ /dev/null @@ -1,152 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - '424fa8075e980e0b540d7353dc3dee8a6603e49a' => - array ( - 0 => '/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/adminServerStats.html', - 1 => 1473963237, - 2 => 'file', - ), - ), - 'nocache_hash' => '110119019657d98b9ab16155-83023790', - 'function' => - array ( - ), - 'version' => 'Smarty-3.1.21-dev', - 'unifunc' => 'content_57d98b9ab21d84_89078373', - 'variables' => - array ( - 'serverStats' => 0, - 'glmSiteTitle' => 0, - 'thisDate' => 0, - 'ajaxUrl' => 0, - 'jsUrl' => 0, - ), - 'has_nocache_code' => false, -),false); /*/%%SmartyHeaderCode%%*/?> -getSubTemplate ('header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> - - -

- Server Bandwidth -

-
-

- Server Bandwidth is the amount of data sent and received by this Web site. -

- Incoming data (red) is related to requests to display a page on the site and any - images or files uploaded, including in your administration area. -

- Outgoing data (green) is related to the pages sent to users of your site, including - all images, and files requested by the site user and all information displayed while using - your administration area. -

- Total data (blue) is the total of Incoming and Outgoing data and is the value used - to set the Target bandwidth for billing purposes. The target bandwidth is per-month - and is indicated as a dotted line on the "2 Years" graph included below. -

- Server Bandwidth is displayed below in Megabytes (Millions of bytes) and Gigabytes - (Billions of bytes). A byte is roughly equivalent to one character. -

- -
-

 

- - - - - - - - - - - -
Today: - tpl_vars['serverStats']->value['today']['data_total'],3);?> - Megabytes
-
This Month: - tpl_vars['serverStats']->value['thisMonth']['data_total'],3);?> - Gigabytes
-
Last Month: - tpl_vars['serverStats']->value['lastMonth']['data_total'],3);?> - Gigabytes -
- -
Print
- - -
-
-

tpl_vars['glmSiteTitle']->value;?> -

-

- tpl_vars['thisDate']->value;?> - - Server Bandwidth Stats for Today by 10 Min Intervals - Megabytes -

- -

- tpl_vars['thisDate']->value;?> - - Server Bandwidth Stats for last 2 Months by Day - Gigabytes -

- -

- tpl_vars['thisDate']->value;?> - - Server Bandwidth Stats for last 2 Years by Month - Gigabytes -

- -
Color Key: Incoming, Outgoing, Total
-
-
- - - src="tpl_vars['jsUrl']->value;?> -/PrintArea/jquery.PrintArea.js" type="text/JavaScript" language="javascript"> -> - - - type="text/javascript"> - jQuery(document).ready(function($) { - - $(".graph-print").click(function(){ - var areaToPrint = $(this).attr('data-areaToPrint'); - var position = $(this).offset(); - $('#' + areaToPrint).printArea({ - mode: 'popup', //printable window is either iframe or browser popup - popHt: 1200, // popup window height - popWd: 1200, // popup window width - popX: 200, // popup window screen X position - popY: 200, //popup window screen Y position - popTitle: 'Graph Print Window', // popup window title element - popClose: true, // popup window close after printing - extraCss: '', // Comma separated list of extra css to include - extraHead: '', // Comma separated list of extra elements to be appended to head tag - strict: false // strict or looseTransitional html 4.01 document standard or undefined to not include at all only for popup option - }); - }); - - // Display selected graph dialog box - $('.dialog-button').click( function() { - $(".graph-dialog").dialog("close"); - var graph = $(this).attr('data-type'); - $('#' + graph).dialog("open"); - return false; - }); - - }); - -> - - -getSubTemplate ('footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> - - diff --git a/misc/smarty/templates_c/5cc7f37bdbecb309b4681cb8d3e4e23f95a0d4cf.file.adminServerStatsConfig.html.php b/misc/smarty/templates_c/5cc7f37bdbecb309b4681cb8d3e4e23f95a0d4cf.file.adminServerStatsConfig.html.php deleted file mode 100644 index 63ffd9a..0000000 --- a/misc/smarty/templates_c/5cc7f37bdbecb309b4681cb8d3e4e23f95a0d4cf.file.adminServerStatsConfig.html.php +++ /dev/null @@ -1,123 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - '5cc7f37bdbecb309b4681cb8d3e4e23f95a0d4cf' => - array ( - 0 => '/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/adminServerStatsConfig.html', - 1 => 1473968140, - 2 => 'file', - ), - ), - 'nocache_hash' => '8830363857d98e67f03272-04963035', - 'function' => - array ( - ), - 'version' => 'Smarty-3.1.21-dev', - 'unifunc' => 'content_57d98e67f0d528_24407775', - 'variables' => - array ( - 'settingsUpdated' => 0, - 'settingsUpdateError' => 0, - 'dbError' => 0, - 'thisUrl' => 0, - 'thisPage' => 0, - 'db_name' => 0, - 'db_host' => 0, - 'db_user' => 0, - 'db_pass' => 0, - 'website' => 0, - 'target' => 0, - ), - 'has_nocache_code' => false, -),false); /*/%%SmartyHeaderCode%%*/?> -getSubTemplate ('header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> - - - -
- - tpl_vars['settingsUpdated']->value) {?>

Settings Updated

- tpl_vars['settingsUpdateError']->value) {?>Settings Update Error - - tpl_vars['dbError']->value!='') {?> -

Unable to test database connection!

-

Error reported: tpl_vars['dbError']->value;?> -

- -

Server Bandwidth Statistics Configuration

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Database Name:tpl_vars['db_name']->value) {?>class="glm-form-bad-input glm-form-bad-input-misc"> - - tpl_vars['db_name']->value) {?>

Database Name not provided or invalid!

-
Database Server Hostname:tpl_vars['db_host']->value) {?>class="glm-form-bad-input glm-form-bad-input-misc"> - -
Database Username:tpl_vars['db_user']->value) {?>class="glm-form-bad-input glm-form-bad-input-misc"> - -
Database Password:tpl_vars['db_pass']->value) {?>class="glm-form-bad-input glm-form-bad-input-misc"> - -
Website Name:tpl_vars['website']->value) {?>class="glm-form-bad-input glm-form-bad-input-misc"> - -
This is the name of the Website as it's listed in the server stats database. Normally does not include 'www'. -
Monthly Target Bandwidth:tpl_vars['target']->value) {?>class="glm-form-bad-input glm-form-bad-input-misc"> - -
Monthly target bandwidth is entered in Megabytes without any fractions. -
- -
-
- - type="text/javascript"> - - jQuery(document).ready(function($) { - - // Flash certain elements for a short time after display - $(".glm-flash-updated").fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500); - - }); - -> - - -getSubTemplate ('footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> - - diff --git a/misc/smarty/templates_c/6520e3a746eb38303d33a7a0811e948cca0c2472.file.footer.html.php b/misc/smarty/templates_c/6520e3a746eb38303d33a7a0811e948cca0c2472.file.footer.html.php deleted file mode 100644 index 646a10e..0000000 --- a/misc/smarty/templates_c/6520e3a746eb38303d33a7a0811e948cca0c2472.file.footer.html.php +++ /dev/null @@ -1,39 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - '6520e3a746eb38303d33a7a0811e948cca0c2472' => - array ( - 0 => '/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/footer.html', - 1 => 1466006315, - 2 => 'file', - ), - ), - 'nocache_hash' => '148222961257d98c2b09f4c9-79658548', - 'function' => - array ( - ), - 'variables' => - array ( - 'glmPluginName' => 0, - 'thisYear' => 0, - ), - 'has_nocache_code' => false, - 'version' => 'Smarty-3.1.21-dev', - 'unifunc' => 'content_57d98c2b0a3e49_68578719', -),false); /*/%%SmartyHeaderCode%%*/?> - - - - - - diff --git a/misc/smarty/templates_c/9a9cab5b5e177e644dc570b445d05711f940888b.file.header.html.php b/misc/smarty/templates_c/9a9cab5b5e177e644dc570b445d05711f940888b.file.header.html.php deleted file mode 100644 index a0d6d7b..0000000 --- a/misc/smarty/templates_c/9a9cab5b5e177e644dc570b445d05711f940888b.file.header.html.php +++ /dev/null @@ -1,26 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - '9a9cab5b5e177e644dc570b445d05711f940888b' => - array ( - 0 => '/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/header.html', - 1 => 1473874943, - 2 => 'file', - ), - ), - 'nocache_hash' => '36071800257d98c09f01770-19190258', - 'function' => - array ( - ), - 'has_nocache_code' => false, - 'version' => 'Smarty-3.1.21-dev', - 'unifunc' => 'content_57d98c09f09e39_08069607', -),false); /*/%%SmartyHeaderCode%%*/?> -
- -
- - diff --git a/misc/smarty/templates_c/d5ca03ee0040131e1874111dbe0e154353afefb8.file.adminServerStatsAllSites.html.php b/misc/smarty/templates_c/d5ca03ee0040131e1874111dbe0e154353afefb8.file.adminServerStatsAllSites.html.php deleted file mode 100644 index c732b33..0000000 --- a/misc/smarty/templates_c/d5ca03ee0040131e1874111dbe0e154353afefb8.file.adminServerStatsAllSites.html.php +++ /dev/null @@ -1,29 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - 'd5ca03ee0040131e1874111dbe0e154353afefb8' => - array ( - 0 => '/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/adminServerStatsAllSites.html', - 1 => 1473874977, - 2 => 'file', - ), - ), - 'nocache_hash' => '75570888657d98e6b167525-09358684', - 'function' => - array ( - ), - 'has_nocache_code' => false, - 'version' => 'Smarty-3.1.21-dev', - 'unifunc' => 'content_57d98e6b16ea78_13002219', -),false); /*/%%SmartyHeaderCode%%*/?> -getSubTemplate ('header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> - - -All Stats - -getSubTemplate ('footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> - - -- 2.17.1