From: Chuck Scott Date: Wed, 14 Jan 2015 23:28:53 +0000 (-0500) Subject: Continuing development. Now have preliminary organization of menu items and tabs. X-Git-Tag: v1.0.0~85 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=2454e0c42faf46a8971b18610f3fd87487bca2a5;p=WP-Plugins%2Fglm-member-db.git Continuing development. Now have preliminary organization of menu items and tabs. --- diff --git a/classes/glmPluginSupport.php b/classes/glmPluginSupport.php index bd35635e..b7f4dd6e 100644 --- a/classes/glmPluginSupport.php +++ b/classes/glmPluginSupport.php @@ -28,7 +28,7 @@ class GlmPluginSupport * @return void * @access public */ - public function addNotice ($message, $title = false) + public static function addNotice ($message, $title = false) { $notices = get_option('glmMembersAdminNotices'); diff --git a/controllers/admin.php b/controllers/admin.php index d1628f64..5f3f4f01 100644 --- a/controllers/admin.php +++ b/controllers/admin.php @@ -27,12 +27,19 @@ $GLOBALS['glmMembersAdminValidActions'] = array( 'members' => array( - 'index', - 'display', - 'edit', - 'add', - 'delete' + 'index', // member list + 'reports', + 'other' ), + 'member' => array( + 'index', // Member Dashboard + 'member', + 'locations', + 'facilities', + 'activities', + 'accommodations' + ) + , 'configure' => array( 'index', 'cities', @@ -41,6 +48,7 @@ $GLOBALS['glmMembersAdminValidActions'] = array( 'regions' ), 'error' => array( + 'index', 'badAction' ) ); @@ -176,10 +184,11 @@ class glmMembersAdmin extends GlmPluginSupport } // Add hooks to WordPress - add_action('admin_menu', array( - $this, - 'configureMenus' - )); + add_action('admin_menu', + array( + $this, + 'configureMenus' + )); // Add admin scripts and css add_action('admin_enqueue_scripts', @@ -203,7 +212,8 @@ class glmMembersAdmin extends GlmPluginSupport { wp_enqueue_media(); wp_register_script('glm-members-admin-js', - GLM_MEMBERS_PLUGIN_URL . 'js/admin.js', array( + GLM_MEMBERS_PLUGIN_URL . 'js/admin.js', + array( 'jquery' )); wp_enqueue_script('glm-members-admin-js'); @@ -242,6 +252,13 @@ class glmMembersAdmin extends GlmPluginSupport 'glmMembersAdminMenuMembers' )); + add_submenu_page('glm-members-admin-menu-members', 'Member Information', + 'Member', 'glm_members_member', 'glm-members-admin-menu-member', + array( + $this, + 'glmMembersAdminMenuMember' + )); + add_submenu_page('glm-members-admin-menu-members', 'Configure Members Database', 'Configure', 'glm_members_configure', 'glm-members-admin-menu-configure', @@ -271,6 +288,11 @@ class glmMembersAdmin extends GlmPluginSupport } // Add Sub Menu Items + public function glmMembersAdminMenuMember () + { + $this->controller('member'); + } + public function glmMembersAdminMenuConfigure () { $this->controller('configure'); @@ -328,6 +350,7 @@ class glmMembersAdmin extends GlmPluginSupport */ public function controller ($menuItem) { + $errorMsg = ''; /* * Determine model to execute @@ -345,12 +368,30 @@ class glmMembersAdmin extends GlmPluginSupport } } - // Loop as long as there's a model redirect. + // Loop till we have a final action + $loopCheck = 0; do { + if (GLM_MEMBERS_PLUGIN_ADMIN_DEBUG) { + $this->addNotice("Requested Action: Menu item = $menuItem, Action = $action"); + } + + $modelRedirect = false; + + // Verify that we have the requested menu item in the valid actions + if (!isset($GLOBALS['glmMembersAdminValidActions'][$menuItem])) { + + $modelRedirect = true; + $menuItem = 'error'; + $action = 'index'; + $errorMsg .= "Model doesn't exist: ".$modelName; + + } + // Verify Menu item and action using array at top of this file - if (! in_array($action, - $GLOBALS['glmMembersAdminValidActions'][$menuItem])) { + if (! isset($GLOBALS['glmMembersAdminValidActions'][$menuItem]) || + ! in_array($action, + $GLOBALS['glmMembersAdminValidActions'][$menuItem])) { $menuItem = 'error'; $action = 'badAction'; } @@ -359,29 +400,77 @@ class glmMembersAdmin extends GlmPluginSupport * Execute the selected model */ - // Build model and path and class names and load the model + // Build model and path and class names $modelName = GLM_MEMBERS_PLUGIN_DIR . '/models/admin/' . $menuItem . '/' . $action . '.php'; $className = 'GlmMembersAdmin_' . $menuItem . '_' . $action; - require_once ($modelName); - // Instantiate the model and ask it to perform the work - $model = new $className($this->wpdb, $this->config); - $results = $model->modelAction(); + // If model file doesn't exist - we have an error + if (!file_exists($modelName)) { - // Check if there's been a model redirect request - $modelRedirect = false; - if ($results['modelRedirect']) { + $modelRedirect = true; + $menuItem = 'error'; + $action = 'index'; + $errorMsg .= "Model doesn't exist: ".$modelName; - // Set the new model action - $action = $results['modelRedirect']; + // Otherwise, load and run the model + } else { - // Check if there's also a menu item change - if ($results['menuItemRedirect']) { - $menuItem = $results['menuItemRedirect']; - } + // Load the model file + require_once ($modelName); - $modelRedirect = true; + // check for an invalid model class name + if (!class_exists($className)) { + + $modelRedirect = true; + $menuItem = 'error'; + $action = 'index'; + $errorMsg .= "Model class doesn't exist: ".$className; + + } else { + + // Instantiate the model and ask it to perform the work + $model = new $className($this->wpdb, $this->config); + $results = $model->modelAction(); + + // Check if there's been a model redirect request + if ($results['modelRedirect']) { + + // Set the new model action + $action = $results['modelRedirect']; + + // Check if there's also a menu item change + if ($results['menuItemRedirect']) { + $menuItem = $results['menuItemRedirect']; + } + + $modelRedirect = true; + } + + // Get the specified view file + $view = false; + if (isset($results['view'])) { + $view = $results['view']; + } + + // Check for invalid or missing view file + if (!$view || !is_file(GLM_MEMBERS_PLUGIN_DIR . '/views/'.$view)) { + $modelRedirect = true; + $menuItem = 'error'; + $action = 'index'; + $errorMsg .= "Bad or missing view file: ".$view; + } + + } // model class exists + } + + // This is just a sanity check on this loop to keep it from getting out of control + if (++$loopCheck > 10) { + die('

Serious failure looping on model load in "controllers/admin.php".

'); + } + + if (GLM_MEMBERS_PLUGIN_ADMIN_DEBUG && $modelRedirect) { + $this->addNotice('Redirecting...'); } // Loop again if there's a model redirect @@ -414,9 +503,19 @@ class glmMembersAdmin extends GlmPluginSupport } } + $smarty->templateAssign ( 'thisAction', $action); + + + // If there's an error message, add that also + if ($errorMsg != '') { + $smarty->templateAssign('errorMsg', $errorMsg); + } + // If view debug has been requested if (GLM_MEMBERS_PLUGIN_ADMIN_DEBUG) { + glmMembersAdmin::addNotice("Template Data
$view"); + $x = $smarty->template->getTemplateVars(); $templateVars = '
' . print_r($x, 1) . '
'; glmMembersAdmin::addNotice($templateVars, 'Template Parameters'); diff --git a/css/admin.css b/css/admin.css index 28766467..2175f67c 100644 --- a/css/admin.css +++ b/css/admin.css @@ -24,6 +24,26 @@ background-color: #fff; } +/* Admin Tabs */ +.nav-tab { + font-size: 15px !important; + font-weight: bold; +} +.nav-tab-active { + font-size: 15px !important; + font-weight: bold; + text-decoration: none; + border: 2px #ccc solid; + border-bottom: 0px; + padding: 6px 10px 8px 10px; + background-color: #f8f8f8; +} +.disabled { + pointer-events: none; + cursor: default; + color: #ccc; +} + /* Admin Forms */ .glm-form-bad-input { background: #FFaBa9; diff --git a/index.php b/index.php index 6eddbac7..3d6ded53 100644 --- a/index.php +++ b/index.php @@ -48,6 +48,7 @@ // Debug Options define('GLM_MEMBERS_PLUGIN_ADMIN_DEBUG', true); +define('GLM_MEMBERS_PLUGIN_ADMIN_DEBUG_VERBOSE', false); // Plugin Versions define('GLM_MEMBERS_PLUGIN_VERSION', 0.1); @@ -325,7 +326,7 @@ function glmMembersAdminNotices($windowed = false) } // Check if there's admin notices for output $notices = get_option('glmMembersAdminNotices'); -if (is_admin() && $notices) { +if (is_admin() && $notices && !GLM_MEMBERS_PLUGIN_ADMIN_DEBUG) { // Add action to output the notices add_action('admin_notices','glmMembersAdminNotices'); } diff --git a/lib/GlmDataAbstract/DataAbstract.php b/lib/GlmDataAbstract/DataAbstract.php index c975706c..9412e288 100755 --- a/lib/GlmDataAbstract/DataAbstract.php +++ b/lib/GlmDataAbstract/DataAbstract.php @@ -2378,6 +2378,11 @@ abstract class GlmDataAbstract public function processOutputData($data, $op = 'l', $forEdit = false, $id = false, $idfield = 'id') { + if ($forEdit) { + $fieldRequired = array(); + $fieldFail = array(); + } + // For each possible field reset($this->fields); while (list($k, $v) = each($this->fields )) { @@ -2414,9 +2419,21 @@ abstract class GlmDataAbstract $out = $this->{$type.'Output'}($v, $d, $forEdit, $id, $idfield, $op); $data[$as] = $out; + + if($forEdit) { + $fieldRequired[$as] = (isset($v['required']) && $v['required']); + $fieldFail[$as] = false; + } } } + if ($forEdit) { + return array( + 'fieldData' => $data, + 'fieldRequired' => $fieldRequired, + 'fieldFail' => $fieldFail + ); + } return $data; } @@ -2523,6 +2540,10 @@ abstract class GlmDataAbstract FROM $this->table WHERE $where;"; + if (GLM_MEMBERS_PLUGIN_ADMIN_DEBUG_VERBOSE) { + glmMembersAdmin::addNotice("
".print_r($sql,1)."
", "DataAbstract - getStats() query"); + } + $stats = $this->wpdb->get_results($sql, ARRAY_A); return $stats['count']; @@ -2557,7 +2578,11 @@ abstract class GlmDataAbstract "; } -//echo "
$sql
"; + if (GLM_MEMBERS_PLUGIN_ADMIN_DEBUG_VERBOSE) { + glmMembersAdmin::addNotice("
".print_r($sql,1)."
", "DataAbstract - getList() query"); + } + + //echo "
$sql
"; $list = $this->wpdb->get_results($sql, ARRAY_A); if (count($list) == 0) @@ -2593,7 +2618,11 @@ abstract class GlmDataAbstract $where ;"; - $detail = $this->wpdb->get_results($sql, ARRAY_A); + if (GLM_MEMBERS_PLUGIN_ADMIN_DEBUG_VERBOSE) { + glmMembersAdmin::addNotice("
".print_r($sql,1)."
", "DataAbstract - getEntry() query"); + } + + $detail = $this->wpdb->get_row($sql, ARRAY_A); // If nothing was found, simply return false if ($detail == false) { @@ -2684,6 +2713,10 @@ abstract class GlmDataAbstract $detail = $this->wpdb->get_row($sql, ARRAY_A); $r['insertedID'] = $detail['currval']; + if (GLM_MEMBERS_PLUGIN_ADMIN_DEBUG_VERBOSE) { + glmMembersAdmin::addNotice("
".print_r($sql,1)."
", "DataAbstract - insertEntry() query"); + } + // Get the data again for output $r['fieldData'] = $this->getEntry($r['insertedID']); @@ -2709,7 +2742,11 @@ abstract class GlmDataAbstract WHERE $idfield = $id ;"; - $detail = $this->wpdb->get_results($sql, ARRAY_A); + if (GLM_MEMBERS_PLUGIN_ADMIN_DEBUG_VERBOSE) { + glmMembersAdmin::addNotice("
".print_r($sql,1)."
", "DataAbstract - editEntry() query"); + } + + $detail = $this->wpdb->get_row($sql, ARRAY_A); // Process individual fields $detail = $this->processOutputData($detail, 'e', true, $id, $idfield); @@ -2776,6 +2813,10 @@ abstract class GlmDataAbstract WHERE $idField = $id; "; + if (GLM_MEMBERS_PLUGIN_ADMIN_DEBUG_VERBOSE) { + glmMembersAdmin::addNotice("
".print_r($sql,1)."
", "DataAbstract - updateEntry() query"); + } + // Now store the field data $this->wpdb->query($sql, ARRAY_A); @@ -2829,6 +2870,10 @@ abstract class GlmDataAbstract WHERE $idField = $id; "; + if (GLM_MEMBERS_PLUGIN_ADMIN_DEBUG_VERBOSE) { + glmMembersAdmin::addNotice("
".print_r($sql,1)."
", "DataAbstract - deleteEntry() query"); + } + // Assume things will go fine try { $this->wpdb->query($sql, ARRAY_A); diff --git a/lib/smartyTemplateSupport.php b/lib/smartyTemplateSupport.php index 36e6abda..a5dd0f51 100644 --- a/lib/smartyTemplateSupport.php +++ b/lib/smartyTemplateSupport.php @@ -71,7 +71,6 @@ class smartyTemplateSupport { $this->templateAssign ( 'adminDebug', GLM_MEMBERS_PLUGIN_ADMIN_DEBUG); $this->templateAssign ( 'thisURL', $scriptURL ); $this->templateAssign ( 'thisPage', $_REQUEST['page']); - $this->templateAssign ( 'thisAction', $action); $this->templateAssign ( 'glmPluginName', GLM_MEMBERS_PLUGIN_NAME ); $this->templateAssign ( 'thisYear', date ( 'Y' ) ); diff --git a/misc/smarty/templates_c/06926788f51c1a5a54be2a368556f9c37e2780da.file.badAction.html.php b/misc/smarty/templates_c/06926788f51c1a5a54be2a368556f9c37e2780da.file.badAction.html.php index d0c996f6..186d759b 100644 --- a/misc/smarty/templates_c/06926788f51c1a5a54be2a368556f9c37e2780da.file.badAction.html.php +++ b/misc/smarty/templates_c/06926788f51c1a5a54be2a368556f9c37e2780da.file.badAction.html.php @@ -1,4 +1,4 @@ - decodeProperties(array ( @@ -7,7 +7,7 @@ $_valid = $_smarty_tpl->decodeProperties(array ( '06926788f51c1a5a54be2a368556f9c37e2780da' => array ( 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/error/badAction.html', - 1 => 1421094485, + 1 => 1421264558, 2 => 'file', ), ), @@ -17,6 +17,10 @@ $_valid = $_smarty_tpl->decodeProperties(array ( ), 'version' => 'Smarty-3.1.21-dev', 'unifunc' => 'content_54b42dd4c09430_68496846', + 'variables' => + array ( + 'errorMsg' => 0, + ), 'has_nocache_code' => false, ),false); /*/%%SmartyHeaderCode%%*/?>
@@ -24,6 +28,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (

Sorry, we've had an error.

Error: : An invalid action has been specified.

+ + tpl_vars['errorMsg']->value) {?>

tpl_vars['errorMsg']->value;?> +

Please try again. If you still get the same error, contact Gaslight Media at 231-487-0692 for assistance.

diff --git a/misc/smarty/templates_c/081a36d97cdf30d438a1e104c26a275acc180da0.file.index.html.php b/misc/smarty/templates_c/081a36d97cdf30d438a1e104c26a275acc180da0.file.index.html.php index 0d4bc63a..23b62f9d 100644 --- a/misc/smarty/templates_c/081a36d97cdf30d438a1e104c26a275acc180da0.file.index.html.php +++ b/misc/smarty/templates_c/081a36d97cdf30d438a1e104c26a275acc180da0.file.index.html.php @@ -1,4 +1,4 @@ - decodeProperties(array ( @@ -7,7 +7,7 @@ $_valid = $_smarty_tpl->decodeProperties(array ( '081a36d97cdf30d438a1e104c26a275acc180da0' => array ( 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/members/index.html', - 1 => 1421135080, + 1 => 1421259050, 2 => 'file', ), ), @@ -22,6 +22,7 @@ $_valid = $_smarty_tpl->decodeProperties(array ( 'haveMembers' => 0, 'members' => 0, 'i' => 0, + 'thisURL' => 0, 'm' => 0, ), 'has_nocache_code' => false, @@ -57,8 +58,12 @@ $_smarty_tpl->tpl_vars['m']->_loop = true; - tpl_vars['m']->value['name'];?> - + + tpl_vars['m']->value['name'];?> + + (nothing here yet) diff --git a/misc/smarty/templates_c/15f83071407dddb0b3c23ae1a70b66cefbd681db.file.header.html.php b/misc/smarty/templates_c/15f83071407dddb0b3c23ae1a70b66cefbd681db.file.header.html.php index f2b50b45..a4c3b877 100644 --- a/misc/smarty/templates_c/15f83071407dddb0b3c23ae1a70b66cefbd681db.file.header.html.php +++ b/misc/smarty/templates_c/15f83071407dddb0b3c23ae1a70b66cefbd681db.file.header.html.php @@ -1,4 +1,4 @@ - decodeProperties(array ( @@ -7,7 +7,7 @@ $_valid = $_smarty_tpl->decodeProperties(array ( '15f83071407dddb0b3c23ae1a70b66cefbd681db' => array ( 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/members/header.html', - 1 => 1421132420, + 1 => 1421271213, 2 => 'file', ), ), @@ -26,17 +26,17 @@ $_valid = $_smarty_tpl->decodeProperties(array ( 'has_nocache_code' => false, ),false); /*/%%SmartyHeaderCode%%*/?>
- +

Your Members

diff --git a/misc/smarty/templates_c/1be35689c5d30d774f40ebc45e387f5f95c45e90.file.index.html.php b/misc/smarty/templates_c/1be35689c5d30d774f40ebc45e387f5f95c45e90.file.index.html.php new file mode 100644 index 00000000..6986fb30 --- /dev/null +++ b/misc/smarty/templates_c/1be35689c5d30d774f40ebc45e387f5f95c45e90.file.index.html.php @@ -0,0 +1,39 @@ + +decodeProperties(array ( + 'file_dependency' => + array ( + '1be35689c5d30d774f40ebc45e387f5f95c45e90' => + array ( + 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/member/index.html', + 1 => 1421269603, + 2 => 'file', + ), + ), + 'nocache_hash' => '163797333154b6ac77c986e8-14104892', + 'function' => + array ( + ), + 'version' => 'Smarty-3.1.21-dev', + 'unifunc' => 'content_54b6ac77cbe666_15018258', + 'variables' => + array ( + 'member' => 0, + ), + 'has_nocache_code' => false, +),false); /*/%%SmartyHeaderCode%%*/?> +getSubTemplate ('admin/member/header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> + + +

tpl_vars['member']->value['name'];?> +

+ + + +
Member Name:tpl_vars['member']->value['name'];?> +
+ +getSubTemplate ('admin/footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> + + diff --git a/misc/smarty/templates_c/25c8610e0e0bacafec3046a296066e9f8eceedae.file.member.html.php b/misc/smarty/templates_c/25c8610e0e0bacafec3046a296066e9f8eceedae.file.member.html.php new file mode 100644 index 00000000..cff656f0 --- /dev/null +++ b/misc/smarty/templates_c/25c8610e0e0bacafec3046a296066e9f8eceedae.file.member.html.php @@ -0,0 +1,85 @@ + +decodeProperties(array ( + 'file_dependency' => + array ( + '25c8610e0e0bacafec3046a296066e9f8eceedae' => + array ( + 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/member/member.html', + 1 => 1421272105, + 2 => 'file', + ), + ), + 'nocache_hash' => '172471491954b6e51b1368b6-20693769', + 'function' => + array ( + ), + 'variables' => + array ( + 'haveMember' => 0, + 'thisURL' => 0, + 'thisPage' => 0, + 'member' => 0, + ), + 'has_nocache_code' => false, + 'version' => 'Smarty-3.1.21-dev', + 'unifunc' => 'content_54b6e51b158d19_68572085', +),false); /*/%%SmartyHeaderCode%%*/?> +getSubTemplate ('admin/member/header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> + + + tpl_vars['haveMember']->value) {?> +

Edit Member

+ +

Add New Member

+ + +
+ + + + + + + + + + + + + + + + + + + + + +
tpl_vars['member']->value['fieldRequired']['name']) {?>class="glm-required">Member Name:tpl_vars['member']->value['fieldFail']['name']) {?>class="glm-form-bad-input"> + + tpl_vars['member']->value['fieldFail']['name']) {?>

tpl_vars['member']->value['fieldFail']['name'];?> +

+
Active: + tpl_vars['member']->value['fieldData']['active']['value']) {?>checked="checked""> + tpl_vars['member']->value['fieldFail']['name']) {?>

tpl_vars['member']->value['fieldFail']['name'];?> +

+
Member Type: + Need to add "enum" type to data abstract. +
tpl_vars['member']->value['fieldRequired']['descr']) {?>class="glm-required">Description:tpl_vars['member']->value['fieldFail']['descr']) {?>class="glm-form-bad-input"> + + tpl_vars['member']->value['fieldFail']['descr']) {?>

tpl_vars['member']->value['fieldFail']['descr'];?> +

+
+

* Required

+ +
+ +getSubTemplate ('admin/footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> + + diff --git a/misc/smarty/templates_c/3ec5bcbe581d6335e06bc6c9474f73121a83d59b.file.header.html.php b/misc/smarty/templates_c/3ec5bcbe581d6335e06bc6c9474f73121a83d59b.file.header.html.php index 5fa85893..9f3f0f1a 100644 --- a/misc/smarty/templates_c/3ec5bcbe581d6335e06bc6c9474f73121a83d59b.file.header.html.php +++ b/misc/smarty/templates_c/3ec5bcbe581d6335e06bc6c9474f73121a83d59b.file.header.html.php @@ -1,4 +1,4 @@ - decodeProperties(array ( @@ -7,7 +7,7 @@ $_valid = $_smarty_tpl->decodeProperties(array ( '3ec5bcbe581d6335e06bc6c9474f73121a83d59b' => array ( 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/configure/header.html', - 1 => 1421134183, + 1 => 1421271318, 2 => 'file', ), ), @@ -15,8 +15,38 @@ $_valid = $_smarty_tpl->decodeProperties(array ( 'function' => array ( ), - 'has_nocache_code' => false, 'version' => 'Smarty-3.1.21-dev', 'unifunc' => 'content_54b4cb22446989_15253660', + 'variables' => + array ( + 'glmPluginName' => 0, + 'thisURL' => 0, + 'thisPage' => 0, + 'thisAction' => 0, + ), + 'has_nocache_code' => false, ),false); /*/%%SmartyHeaderCode%%*/?> - +
+ +

tpl_vars['glmPluginName']->value;?> + Configuration

+ + +
+ diff --git a/misc/smarty/templates_c/47fb9b803e7138d215645f3c977b0b1dc2a9e718.file.index.html.php b/misc/smarty/templates_c/47fb9b803e7138d215645f3c977b0b1dc2a9e718.file.index.html.php index 67982dde..1770b38a 100644 --- a/misc/smarty/templates_c/47fb9b803e7138d215645f3c977b0b1dc2a9e718.file.index.html.php +++ b/misc/smarty/templates_c/47fb9b803e7138d215645f3c977b0b1dc2a9e718.file.index.html.php @@ -1,4 +1,4 @@ - decodeProperties(array ( @@ -7,7 +7,7 @@ $_valid = $_smarty_tpl->decodeProperties(array ( '47fb9b803e7138d215645f3c977b0b1dc2a9e718' => array ( 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/configure/index.html', - 1 => 1421135161, + 1 => 1421255040, 2 => 'file', ), ), @@ -19,7 +19,7 @@ $_valid = $_smarty_tpl->decodeProperties(array ( 'unifunc' => 'content_54b4ca1e9c5b88_76832702', 'has_nocache_code' => false, ),false); /*/%%SmartyHeaderCode%%*/?> -getSubTemplate ('admin/configure/headder.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> +getSubTemplate ('admin/configure/header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

General Configuration

diff --git a/misc/smarty/templates_c/50e78f1400d6db96c588c737669426ab57397d1d.file.footer.html.php b/misc/smarty/templates_c/50e78f1400d6db96c588c737669426ab57397d1d.file.footer.html.php index db81be3d..542893a0 100644 --- a/misc/smarty/templates_c/50e78f1400d6db96c588c737669426ab57397d1d.file.footer.html.php +++ b/misc/smarty/templates_c/50e78f1400d6db96c588c737669426ab57397d1d.file.footer.html.php @@ -1,4 +1,4 @@ - decodeProperties(array ( @@ -7,7 +7,7 @@ $_valid = $_smarty_tpl->decodeProperties(array ( '50e78f1400d6db96c588c737669426ab57397d1d' => array ( 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/footer.html', - 1 => 1421125086, + 1 => 1421268442, 2 => 'file', ), ), @@ -15,6 +15,8 @@ $_valid = $_smarty_tpl->decodeProperties(array ( 'function' => array ( ), + 'version' => 'Smarty-3.1.21-dev', + 'unifunc' => 'content_54b4cb2244e1c6_97382029', 'variables' => array ( 'glmPluginName' => 0, @@ -24,12 +26,10 @@ $_valid = $_smarty_tpl->decodeProperties(array ( 'thisPage' => 0, ), 'has_nocache_code' => false, - 'version' => 'Smarty-3.1.21-dev', - 'unifunc' => 'content_54b4cb2244e1c6_97382029', ),false); /*/%%SmartyHeaderCode%%*/?>
-
+