'force_list' => true,
'use' => 'a'
),
- 'status' => array (
- 'field' => 'status',
- 'type' => 'list',
- 'list' => $this->config['status'],
- 'default' => 'Pending',
- 'force_list' => true,
- 'use' => 'a'
- ),
'title' => array (
'field' => 'title',
'type' => 'text',
'type' => 'datetime',
'use' => 'lge'
),
- 'visible' => array (
- 'field' => 'visible',
+ 'active' => array (
+ 'field' => 'active',
'type' => 'checkbox',
'use' => 'a'
),
'contact_email' =>$value['contactemail'],
'contact_name' =>$value['contactname'],
'contact_phone' =>$value['contactphone'],
- 'visible' =>$value['visable'],
+ 'active' =>$value['visable'],
'company' =>$value['company'],
'terms' =>$value['terms'],
'post_date' =>$value['ds'],
contact_phone TINYTEXT NULL ,
post_date DATETIME NULL,
updated DATETIME NULL,
- visible BOOL NULL,
+ active BOOL NULL,
terms TEXT NULL,
item_expiration INT NULL,
image_1 TINYTEXT NULL ,
image_3 TINYTEXT NULL ,
member INT NULL,
repost BOOL null,
- status TINYINT null,
PRIMARY KEY (id)
);
-- Add Status
-ALTER TABLE {prefix}items ADD COLUMN status TINYINT;
\ No newline at end of file
+ALTER TABLE {prefix}items CHANGE COLUMN visible active TINYINT;
\ No newline at end of file
<!-- VISIBLE -->
<div class="glm-item-row glm-row">
<div class="glm-small-12 glm-medium-2 glm-columns admin-item-label">
- Visible
+ Active
</div>
<div class="glm-small-12 glm-medium-5 glm-columns admin-item-input">
- <input id="item-visible" data-id="item-visible" type="checkbox" name="visible" class="visible-checkbox" {if $item.fieldData.visible.value} checked{/if}>
+ <input id="item-active" data-id="item-active" type="checkbox" name="active" class="active-checkbox" {if $item.fieldData.active.value} checked{/if}>
</div>
</div>
<!-- ITEM EXPIRATION-->