1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

media-picker work. Issue #6 Removed '...' from LAN_SELECT and added manually where appropriate.

This commit is contained in:
Cameron
2018-07-25 12:29:52 -07:00
parent 74f19820b0
commit 9b2772b7ac
8 changed files with 57 additions and 13 deletions

View File

@@ -528,7 +528,7 @@ class banner_form_ui extends e_admin_form_ui
$text = '';
if (count($this->clients))
{
$text = $frm->select('banner_clientname_sel',$this->clients, $curVal,'', LAN_SELECT);
$text = $frm->select('banner_clientname_sel',$this->clients, $curVal,'', LAN_SELECT."...");
$text .= $frm->text('banner_clientname','','',array('placeholder'=> 'Or enter a new client'));
}
else
@@ -611,7 +611,7 @@ class banner_form_ui extends e_admin_form_ui
case 'write': // Edit Page
if (count($this->campaigns))
{
$text = $frm->select('banner_campaign_sel',$this->campaigns, $curVal,'',LAN_SELECT);
$text = $frm->select('banner_campaign_sel',$this->campaigns, $curVal,'',LAN_SELECT."...");
$text .= $frm->text('banner_campaign','','',array('size'=>'xlarge', 'class'=>'e-hideme','placeholder'=> 'Enter a campaign name'));
}
else
@@ -1030,7 +1030,7 @@ if ($action == "create")
if (count($campaigns))
{
$text .= $frm->select('banner_campaign_sel',$campaigns,$_POST['banner_campaign'],'',LAN_SELECT);
$text .= $frm->select('banner_campaign_sel',$campaigns,$_POST['banner_campaign'],'',LAN_SELECT."...");
$text .= $frm->text('banner_campaign','','',array('placeholder'=> 'Or enter a new campaign'));
}
else
@@ -1048,7 +1048,7 @@ if ($action == "create")
if (count($clients))
{
$text .= $frm->select('banner_client_sel',$clients, $_POST['client_name'],'', LAN_SELECT);
$text .= $frm->select('banner_client_sel',$clients, $_POST['client_name'],'', LAN_SELECT."...");
$text .= $frm->text('client_name','','',array('placeholder'=> 'Or enter a new client'));