2012-10-29 Sergio Martin <sergio.martin@artica.es>

* include/help/en/help_alert_fields_description.php
	include/help/en/help_alert_fields_values.php
	include/help/es/help_alert_fields_description.php
	include/help/es/help_alert_fields_values.php
	godmode/alerts/configure_alert_command.php: Add help to the command
	new fields system



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7104 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2012-10-29 10:23:55 +00:00
parent b09cfacf69
commit 198d3c8b38
6 changed files with 73 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2012-10-29 Sergio Martin <sergio.martin@artica.es>
* include/help/en/help_alert_fields_description.php
include/help/en/help_alert_fields_values.php
include/help/es/help_alert_fields_description.php
include/help/es/help_alert_fields_values.php
godmode/alerts/configure_alert_command.php: Add help to the command
new fields system
2012-10-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,

View File

@ -78,6 +78,12 @@ $table->data[2][1] = html_print_textarea ('description', 10, 30, $description, '
for($i=1;$i<=10;$i++) {
$table->data['field'.$i][0] = sprintf(__('Field %s description'), $i);
// Only show help on first row
if($i == 1) {
$table->data['field'.$i][0] .= ui_print_help_icon ('alert_fields_description', true);
}
if(!empty($fields_descriptions)) {
$field_description = $fields_descriptions[$i-1];
}
@ -87,6 +93,12 @@ for($i=1;$i<=10;$i++) {
$table->data['field'.$i][1] = html_print_input_text ('field'.$i.'_description', $field_description, '', 35, 255, true);
$table->data['field'.$i][2] = sprintf(__('Field %s values'), $i);
// Only show help on first row
if($i == 1) {
$table->data['field'.$i][2] .= ui_print_help_icon ('alert_fields_values', true);
}
if(!empty($fields_values)) {
$field_values = $fields_values[$i-1];
}

View File

@ -0,0 +1,10 @@
<?php
/**
* @package Include/help/en
*/
?>
<h1>Fields description</h1>
Is possible configure a custom description to each field in the command configuration.
<br><br>
This description will appear in the action configuration form near the field text box when this command is selected.

View File

@ -0,0 +1,16 @@
<?php
/**
* @package Include/help/en
*/
?>
<h1>Fields values</h1>
To limit the possible values on a field, is possible to define a list of value/tag. If this list is defined, the field will be a selection combo.
<br><br>
The format will be the following:
<br><br>
value1,tag1;value2,tag2;value3,tag3
<br><br>
Example:
<br><br>
1,Number one;2,Number two;3,Number three;4,Number four

View File

@ -0,0 +1,10 @@
<?php
/**
* @package Include/help/es
*/
?>
<h1>Descripcion de campos</h1>
Es posible configurar una descripcion personalizada a cada campo en la configuracion del comando.
<br><br>
Esta descripcion aparecera en el formulario de configuracion de la accion junto a la caja de texto del campo cuando se seleccione el comando.

View File

@ -0,0 +1,16 @@
<?php
/**
* @package Include/help/es
*/
?>
<h1>Valores de los campos</h1>
Para limitar los valores posibles de un campo, se puede definir una lista de valor/etiqueta. Si esta lista es definida, el campo sera un combo de seleccion.
<br><br>
El formato sera el siguiente:
<br><br>
valor1,etiqueta1;valor2,etiqueta2;valor3,etiqueta3
<br><br>
Ejemplo:
<br><br>
1,Numero uno;2,Numero dos;3,Numero tres;4,Numero cuatro