mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
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
18e859b96a
commit
aa49283379
@ -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>
|
2012-02-28 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* godmode/alerts/configure_alert_action.php,
|
* godmode/alerts/configure_alert_action.php,
|
||||||
|
@ -73,7 +73,8 @@ function printFormFilterAlert($id_group, $filter, $free_search, $url, $filter_st
|
|||||||
|
|
||||||
if($return) {
|
if($return) {
|
||||||
return $data;
|
return $data;
|
||||||
}else{
|
}
|
||||||
|
else {
|
||||||
echo $data;
|
echo $data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,8 @@ $fields = db_get_all_fields_in_table('tagent_custom_fields');
|
|||||||
if($fields === false) {
|
if($fields === false) {
|
||||||
$fields = array();
|
$fields = array();
|
||||||
echo "<div class='nf'>". __("No fields defined"). "</div>";
|
echo "<div class='nf'>". __("No fields defined"). "</div>";
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
$table->width = '98%';
|
$table->width = '98%';
|
||||||
$table->head = array ();
|
$table->head = array ();
|
||||||
$table->head[0] = __('Field');
|
$table->head[0] = __('Field');
|
||||||
@ -59,7 +60,8 @@ if($fields === false) {
|
|||||||
|
|
||||||
if($field['display_on_front']) {
|
if($field['display_on_front']) {
|
||||||
$data[1] = html_print_image('images/tick.png', true);
|
$data[1] = html_print_image('images/tick.png', true);
|
||||||
}else {
|
}
|
||||||
|
else {
|
||||||
$data[1] = html_print_image('images/delete.png', true);
|
$data[1] = html_print_image('images/delete.png', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -429,10 +429,6 @@ $(document).ready( function() {
|
|||||||
$("a.validate_event").click (function () {
|
$("a.validate_event").click (function () {
|
||||||
$tr = $(this).parents ("tr");
|
$tr = $(this).parents ("tr");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
id = this.id.split ("-").pop ();
|
id = this.id.split ("-").pop ();
|
||||||
var comment = $('#textarea_comment_'+id).val();
|
var comment = $('#textarea_comment_'+id).val();
|
||||||
var select_validate = $('#select_validate_'+id).val(); // 1 validate, 2 in process, 3 add comment
|
var select_validate = $('#select_validate_'+id).val(); // 1 validate, 2 in process, 3 add comment
|
||||||
|
@ -256,7 +256,8 @@ else {
|
|||||||
|
|
||||||
if ($module['estado'] == 3){
|
if ($module['estado'] == 3){
|
||||||
$option = array ("html_attr" => 'class="redb"');
|
$option = array ("html_attr" => 'class="redb"');
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
$option = array ();
|
$option = array ();
|
||||||
}
|
}
|
||||||
$timestampCell = ui_print_timestamp ($module["utimestamp"], true, $option);
|
$timestampCell = ui_print_timestamp ($module["utimestamp"], true, $option);
|
||||||
|
@ -83,7 +83,8 @@ else {
|
|||||||
foreach ($reports as $report) {
|
foreach ($reports as $report) {
|
||||||
if($linkReport) {
|
if($linkReport) {
|
||||||
$reportstring = "<a href='?sec=greporting&sec2=godmode/reporting/reporting_builder&action=edit&id_report=" . $report['id_report'] . "' title='" . __("Edit") . "'>" . $report['name'] . "</a>";
|
$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'];
|
$reportstring = $report['name'];
|
||||||
}
|
}
|
||||||
$data = array(
|
$data = array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user