updated etxlink, ctools, colorbox, computed_field
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
*
|
||||
* Implementing this
|
||||
*/
|
||||
|
||||
/**
|
||||
* Get a plugin configuration form.
|
||||
*
|
||||
@@ -100,7 +101,7 @@ function _ctools_plugin_configure_create_form_info(&$form_info, $plugin_definiti
|
||||
if (empty($plugin_definition['title'])) {
|
||||
$title = t('Configure');
|
||||
}
|
||||
else if ($op == 'add') {
|
||||
elseif ($op == 'add') {
|
||||
$title = t('Configure new !plugin_title', array('!plugin_title' => $plugin_definition['title']));
|
||||
}
|
||||
else {
|
||||
@@ -134,10 +135,10 @@ function _ctools_plugin_configure_create_form_info(&$form_info, $plugin_definiti
|
||||
$form_info['forms']['form']['wrapper'] = 'ctools_plugins_default_form_wrapper';
|
||||
}
|
||||
}
|
||||
else if (is_array($info)) {
|
||||
if (empty($form_info['order'])) {
|
||||
$form_info['order'] = array();
|
||||
}
|
||||
elseif (is_array($info)) {
|
||||
if (empty($form_info['order'])) {
|
||||
$form_info['order'] = array();
|
||||
}
|
||||
if (empty($form_info['forms'])) {
|
||||
$form_info['forms'] = array();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user