2010-12-23 Ramon Novoa <rnovoa@artica.es>
* include/javascript/pandora.js: Translate space HTML entities. Fixes bug #3142670. * godmode/alerts/configure_alert_action.php: Added a link to the macro help page. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3695 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
a9603f776e
commit
da2304eb14
|
@ -1,3 +1,11 @@
|
|||
2010-12-23 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* include/javascript/pandora.js: Translate space HTML entities.
|
||||
Fixes bug #3142670.
|
||||
|
||||
* godmode/alerts/configure_alert_action.php: Added a link to the
|
||||
macro help page.
|
||||
|
||||
2010-12-23 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/events/events_validate.php: Fixed the style of
|
||||
|
|
|
@ -72,7 +72,7 @@ $table->data[2][1] .= __('Create Command');
|
|||
$table->data[2][1] .= '</a>';
|
||||
|
||||
$table->data[3][0] = __('Field 1');
|
||||
$table->data[3][1] = print_input_text ('field1', $field1, '', 35, 255, true);
|
||||
$table->data[3][1] = print_input_text ('field1', $field1, '', 35, 255, true) . print_help_icon ('alert_macros', true);
|
||||
|
||||
$table->data[4][0] = __('Field 2');
|
||||
$table->data[4][1] = print_input_text ('field2', $field2, '', 80, 255, true);
|
||||
|
|
|
@ -33,7 +33,7 @@ function js_html_entity_decode (str) {
|
|||
str2 = str.replace (/</g, "<").
|
||||
replace (/>/g,">").replace(/</g,'<').replace(/>/g,'>')
|
||||
.replace(/\/g,'\\').replace(/"/g,'\"').replace(/'/g,'\'')
|
||||
.replace(/&/g,'&')
|
||||
.replace(/&/g,'&').replace(/ /g,' ')
|
||||
.replace(/ /g, '\r').replace(/ /g, '\n');
|
||||
|
||||
return str2;
|
||||
|
|
Loading…
Reference in New Issue