2012-02-28 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php, operation/agentes/datos_agente.php, operation/agentes/custom_fields.php, operation/agentes/alerts_status.functions.php, operation/search_reports.php, operation/search_modules.php: : cleaned source code style. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5662 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7a3a3a6f7d
commit
b96a5bb4e5
|
@ -1,3 +1,10 @@
|
|||
2012-02-28 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/events/events.php, operation/agentes/datos_agente.php,
|
||||
operation/agentes/custom_fields.php,
|
||||
operation/agentes/alerts_status.functions.php, operation/search_reports.php,
|
||||
operation/search_modules.php: : cleaned source code style.
|
||||
|
||||
2012-02-28 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/alerts/configure_alert_action.php,
|
||||
|
|
|
@ -73,7 +73,8 @@ function printFormFilterAlert($id_group, $filter, $free_search, $url, $filter_st
|
|||
|
||||
if($return) {
|
||||
return $data;
|
||||
}else{
|
||||
}
|
||||
else {
|
||||
echo $data;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,7 +42,8 @@ $fields = db_get_all_fields_in_table('tagent_custom_fields');
|
|||
if($fields === false) {
|
||||
$fields = array();
|
||||
echo "<div class='nf'>". __("No fields defined"). "</div>";
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$table->width = '98%';
|
||||
$table->head = array ();
|
||||
$table->head[0] = __('Field');
|
||||
|
@ -59,7 +60,8 @@ if($fields === false) {
|
|||
|
||||
if($field['display_on_front']) {
|
||||
$data[1] = html_print_image('images/tick.png', true);
|
||||
}else {
|
||||
}
|
||||
else {
|
||||
$data[1] = html_print_image('images/delete.png', true);
|
||||
}
|
||||
|
||||
|
|
|
@ -429,10 +429,6 @@ $(document).ready( function() {
|
|||
$("a.validate_event").click (function () {
|
||||
$tr = $(this).parents ("tr");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
id = this.id.split ("-").pop ();
|
||||
var comment = $('#textarea_comment_'+id).val();
|
||||
var select_validate = $('#select_validate_'+id).val(); // 1 validate, 2 in process, 3 add comment
|
||||
|
|
|
@ -256,7 +256,8 @@ else {
|
|||
|
||||
if ($module['estado'] == 3){
|
||||
$option = array ("html_attr" => 'class="redb"');
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$option = array ();
|
||||
}
|
||||
$timestampCell = ui_print_timestamp ($module["utimestamp"], true, $option);
|
||||
|
|
|
@ -83,7 +83,8 @@ else {
|
|||
foreach ($reports as $report) {
|
||||
if($linkReport) {
|
||||
$reportstring = "<a href='?sec=greporting&sec2=godmode/reporting/reporting_builder&action=edit&id_report=" . $report['id_report'] . "' title='" . __("Edit") . "'>" . $report['name'] . "</a>";
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$reportstring = $report['name'];
|
||||
}
|
||||
$data = array(
|
||||
|
|
Loading…
Reference in New Issue