1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Batch drop-down default fix and renamed 'Execute' to 'Go'.

This commit is contained in:
Cameron
2013-03-01 15:50:31 -08:00
parent 757b52fb09
commit 2a374b7251
3 changed files with 16 additions and 3 deletions

View File

@@ -5229,13 +5229,13 @@ class e_admin_form_ui extends e_form
<div class='navbar navbar-inner left' style='padding-left:30px; padding-top:6px; margin-top:-20px;border-top:0px'>
<img src='".e_IMAGE_ABS."generic/branchbottom.gif' alt='' class='icon action' />
".$this->select_open('etrigger_batch', array('class' => 'tbox select batch e-autosubmit reset', 'id' => false))."
".$this->option(LAN_BATCH_LABEL_SELECTED, '', false, 'disabled=1')."
".$this->option(LAN_BATCH_LABEL_SELECTED, '', false)."
".($allow_copy ? $this->option(LAN_COPY, 'copy', false, array('class' => 'ui-batch-option class', 'other' => 'style="padding-left: 15px"')) : '')."
".($allow_delete ? $this->option(LAN_DELETE, 'delete', false, array('class' => 'ui-batch-option class', 'other' => 'style="padding-left: 15px"')) : '')."
".($allow_url ? $this->option(LAN_UI_BATCH_CREATELINK, 'url', false, array('class' => 'ui-batch-option class', 'other' => 'style="padding-left: 15px"')) : '')."
".$this->renderBatchFilter('batch')."
".$this->select_close()."
".$this->admin_button('e__execute_batch', 'e__execute_batch', 'batch e-hide-if-js', 'Execute', array('id' => false))."
".$this->admin_button('e__execute_batch', 'e__execute_batch', 'batch e-hide-if-js', LAN_GO, array('id' => false))."
</div>
";

View File

@@ -140,6 +140,7 @@ class e107
'db' => '{e_HANDLER}mysql_class.php',
'e107Email' => '{e_HANDLER}mail.php',
'e107_event' => '{e_HANDLER}event_class.php',
'e107_db_debug' => '{e_HANDLER}db_debug_class.php',
'e107_traffic' => '{e_HANDLER}traffic_class.php',
'e107_user_extended' => '{e_HANDLER}user_extended_class.php',
'e107plugin' => '{e_HANDLER}plugin_class.php',
@@ -1255,6 +1256,17 @@ class e107
return self::getSingleton('convert', true);
}
/**
* Retrieve date handler singleton object - preferred method.
*
* @return convert
*/
public static function getDebug() //XXX Discuss - possible with current setup?
{
return self::getSingleton('e107_db_debug', true);
}
/**
* Retrieve notify handler singleton object
*

View File

@@ -327,7 +327,8 @@ define("LAN_VISIBILITY", "Visibility");
define("LAN_ICON", "Icon");
define("LAN_LOADING", "Loading...");
define("LAN_FILE", "File");
define("LAN_EXECUTE","Execute");
define("LAN_GO","Go"); // Not "Execute"
define("LAN_RUN","Run");
define("LAN_SEFURL","SEF URL");
define("LAN_COPY","Copy");
define("LAN_KEYWORDS","Keywords");