mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-21 04:44:53 +02:00
Ent 7155 bug edicion tickets integria
This commit is contained in:
parent
321fc8aa05
commit
a94c70551d
@ -4991,6 +4991,9 @@ function html_print_input_multicheck(array $data):string
|
||||
* @param string $default The default value to show in the ajax control.
|
||||
* @param boolean $return If it is true return a string with the output instead to echo the output.
|
||||
* @param string $size Size.
|
||||
* @param boolean $disable Disable the button (optional, button enabled by default).
|
||||
* @param boolean $required Attribute required.
|
||||
* @param string $class Text inpunt class.
|
||||
*
|
||||
* @return mixed If the $return is true, return the output as string.
|
||||
*/
|
||||
@ -5000,7 +5003,8 @@ function html_print_autocomplete_users_from_integria(
|
||||
$return=false,
|
||||
$size='30',
|
||||
$disable=false,
|
||||
$required=false
|
||||
$required=false,
|
||||
$class=null
|
||||
) {
|
||||
global $config;
|
||||
|
||||
@ -5012,6 +5016,10 @@ function html_print_autocomplete_users_from_integria(
|
||||
$attrs['required'] = 'required';
|
||||
}
|
||||
|
||||
if (empty($class) === false) {
|
||||
$attrs['class'] = $class;
|
||||
}
|
||||
|
||||
html_print_input_text_extended(
|
||||
$name,
|
||||
$default,
|
||||
|
@ -163,7 +163,6 @@ $table->colspan[3][0] = 3;
|
||||
|
||||
$help_macros = isset($_GET['from_event']) ? ui_print_help_icon('response_macros', true) : '';
|
||||
|
||||
if (isset($_GET['from_event'])) {
|
||||
if ($update) {
|
||||
$input_value_title = $incident_details[3];
|
||||
$input_value_type = $incident_details[17];
|
||||
@ -189,7 +188,6 @@ if (isset($_GET['from_event'])) {
|
||||
$input_value_owner = '';
|
||||
$input_value_content = '';
|
||||
}
|
||||
}
|
||||
|
||||
$table->data[0][0] = '<div class="label_select"><p class="input_label">'.__('Title').': '.$help_macros.'</p>';
|
||||
$table->data[0][0] .= '<div class="label_select_parent">'.html_print_input_text(
|
||||
@ -290,7 +288,11 @@ $table->data[2][2] = '<div class="label_select"><p class="input_label">'.__('Own
|
||||
$table->data[2][2] .= '<div class="label_select_parent">'.html_print_autocomplete_users_from_integria(
|
||||
'owner',
|
||||
$input_value_owner,
|
||||
true
|
||||
true,
|
||||
'30',
|
||||
false,
|
||||
false,
|
||||
'w100p'
|
||||
).'</div>';
|
||||
|
||||
$table->data[3][0] = '<div class="label_select"><p class="input_label">'.__('Description').': '.$help_macros.'</p>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user