From: Anthony Talarico Date: Mon, 29 Apr 2019 18:31:04 +0000 (-0400) Subject: changing some of the language in the admin of the plugin. item to new for sale item... X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fdevelop;p=WP-Plugins%2Fglm-member-db-for-sale.git changing some of the language in the admin of the plugin. item to new for sale item. topic to for sale or wanted. adjusting some of the styles in the list view to accommodate these changes --- diff --git a/setup/adminMenus.php b/setup/adminMenus.php index a36caaf..231df45 100644 --- a/setup/adminMenus.php +++ b/setup/adminMenus.php @@ -52,8 +52,8 @@ if (isset($this->config['loggedInUser']) && isset($this->config['loggedInUser']['contactUser']) && $this->config['loggedInUser']['contactUser']) { add_submenu_page( $mainMenuSlug, - 'For Sale', - 'For Sale', + 'For Sale/Wanted', + 'For Sale/Wanted', 'glm_members_edit_my_entity', 'glm-members-admin-menu-for-sale-index', function(){$this->controller('forSale');} @@ -61,8 +61,8 @@ } else { add_submenu_page( 'glm-members-admin-menu-members', - 'For Sale', - 'For Sale', + 'For Sale/Wanted', + 'For Sale/Wanted', 'edit_posts', 'glm-members-admin-menu-for-sale-index', function(){$this->controller('forSale');} diff --git a/views/admin/forSale/edit.html b/views/admin/forSale/edit.html index a649168..d54c9b6 100644 --- a/views/admin/forSale/edit.html +++ b/views/admin/forSale/edit.html @@ -54,7 +54,7 @@
- Topic + For Sale or Wanted
diff --git a/views/admin/forSale/list.html b/views/admin/forSale/list.html index f7e017e..d3ac06b 100644 --- a/views/admin/forSale/list.html +++ b/views/admin/forSale/list.html @@ -31,17 +31,17 @@
{if $itemData}
Active
-
Topic
-
For-sale Item
-
Item Post Date
-
Post For
+
For Sale or Wanted
+
Item
+
Post Date
+
Post For
{foreach $itemData as $item=>$data} @@ -55,13 +55,13 @@ no {/if}
-
{$data.topic.name}
+
{$data.topic.name}
{$data.title}
-
{$data.updated.timestamp|date_format:"%Y-%m-%d"}
-
{$data.item_expiration.name}
+
{$data.updated.timestamp|date_format:"%Y-%m-%d"}
+
{$data.item_expiration.name}
-
+