</div>
';
}
-$plugin_name = 'glm-member-db/glm-member-db.php';
+$plugin_name = 'glm-member-db/index.php';
$is_active = is_plugin_active($plugin_name);
if ($is_active != '1') {
add_action( 'admin_notices', 'glmMembersSamplePluginRequired' );
*/
require_once(GLM_MEMBERS_SAMPLE_PLUGIN_SETUP_PATH.'/validActions.php');
require_once(GLM_MEMBERS_SAMPLE_PLUGIN_SETUP_PATH.'/shortcodes.php');
-$havePluginDatabase = false;
if (is_file(GLM_MEMBERS_SAMPLE_PLUGIN_DB_SCRIPTS.'/dbVersions.php')) {
require_once(GLM_MEMBERS_SAMPLE_PLUGIN_DB_SCRIPTS.'/dbVersions.php');
- $havePluginDatabase = true;
}
// Load Sample Management Settings data
);
// If we have database tables for this plugin/addon, provide that data also
- if ($GLOBALS['havePluginDatabase']) {
+ if (isset($GLOBALS['glmMembersSampleDbVersions'])) {
$addOns[GLM_MEMBERS_SAMPLE_PLUGIN_SLUG]['database'] = array(
'dbPrefix' => GLM_MEMBERS_SAMPLE_PLUGIN_DB_PREFIX,
'dbCurrentVersion' => GLM_MEMBERS_SAMPLE_PLUGIN_DB_VERSION,
<div id="glm-admin-content-container">
<h3>Sample Model</h3>
<p>{$displayData}</p>
- <a href="{$thisURL}?page={$thisPage}&glm_action=more">Click me to see more!</a>
+ <a href="{$thisUrl}?page={$thisPage}&glm_action=more">Click me to see more!</a>
</div>
</div>
\ No newline at end of file