Adding the member column to the packages dashboard.
Updating the admin navigation name from Packaging to Packages.
* Plugin Name: GLM Members Database Packaging
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 1.2.12
+ * Version: 1.2.13
* Author: Gaslight Media
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersDatabasePackagingAddOn
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.2.10
+ * @version 1.2.13
*/
/*
* so that we're sure the other add-ons see an up to date
* version from this plugin.
*/
-define('GLM_MEMBERS_PACKAGING_PLUGIN_VERSION', '1.2.12');
+define('GLM_MEMBERS_PACKAGING_PLUGIN_VERSION', '1.2.13');
define('GLM_MEMBERS_PACKAGING_PLUGIN_DB_VERSION', '1.1.6');
// This is the minimum version of the GLM Members DB plugin require for this plugin.
1. Activate the plugin through the 'Plugins' menu in WordPress
+== Changelog ==
+
+= 1.2.13 =
+* Update name in navigation to Packages
+* Adding the member column to the package dashboard.
add_submenu_page(
$mainMenuSlug, // Parent slug
- 'Packaging', // Page title
- 'Packaging', // Menu Title
+ 'Packages', // Page title
+ 'Packages', // Menu Title
'glm_members_edit_my_entity', // Capability required
'glm-members-admin-menu-packaging-index', // Menu slug
function() {$this->controller('packaging');}
}
-*/
\ No newline at end of file
+*/
<thead>
<tr>
<th>Package</th>
+ <th>Member</th>
<th>Start</th>
<th>End</th>
<th>Expire</th>
{else}
<a href="{$thisUrl}?page={$thisPage}&glm_action=packaging&option=edit&packageID={$p.id}">{$p.title}</a>
{/if}
+ <td>
+ {if $p.member.member_name}
+ <a href="{$adminUrl}?page=glm-members-admin-menu-member&glm_action=index&member={$p.member.member_pointer}">{$p.member.member_name}</a>
+ {/if}
+ </td>
</td>
<td>
{$p.start_date.date}