noalyss Version-9
status_operation_event-display_event.php
Go to the documentation of this file.
1<?php
2/*
3 * This file is part of NOALYSS.
4 *
5 * NOALYSS is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * NOALYSS is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with NOALYSS; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18*/
19// Copyright Author Dany De Bontridder danydb@aevalys.eu 14/04/23
20/*!
21 * \file
22 * \brief Display event
23 */
24 ?>
25
26 <?php
27 echo HtmlInput::title_box($p_title, $this->dialog_box_id,"close","","y")
28 ?>
29 <ol>
30 <?php if (count($p_array)> 0) :
31
32 for($i=0;$i<count($p_array);$i++):
33 ?>
34 <li>
35 <span>
36 <?php echo smaller_date($p_array[$i]['ag_timestamp_fmt']) , " ",
37 hb($p_array[$i]['ag_hour']);
38 ?>
39 </span>
40 <?php echo HtmlInput::detail_action($p_array[$i]['ag_id'],h($p_array[$i]['ag_ref']))?>
41 <span style="font-weight: bolder ">
42 <?php echo h($p_array[$i]['vw_name'])?>
43 </span>
44 <span>
45 <?php echo h(mb_substr($p_array[$i]['ag_title'],0,50,'UTF-8'))?>
46 </span>
47 <span style="font-style: italic">
48 <?php echo $p_array[$i]['dt_value']?>
49 </span>
50 </li>
51 <?php endfor;?>
52 </ol>
53 <?php else : ?>
54 <h2 class='notice'><?php echo _("Aucune action en retard")?></h2>
55 <?php endif; ?>
56 <ul class="aligned-block">
57 <li>
58 <?=\HtmlInput::button_action(_("RafraƮchir"),sprintf("event_display_detail('%s','%s')",Dossier::id(),$p_what),uniqid(),"smallbutton")?>
59 </li>
60 <li>
61 <?php echo HtmlInput::button_close($this->dialog_box_id);?>
62 </li>
63 </ul>
64
65</div>
66
h2($p_string, $p_class="", $raw="")
Definition: ac_common.php:68
smaller_date($p_date)
shrink the date, make a date shorter for the printing
Definition: ac_common.php:837
hb($p_string)
Definition: ac_common.php:53
span($p_string, $p_extra='')
Definition: ac_common.php:43
if(!headers_sent()) else
h( $row[ 'oa_description'])
$opd_description style
static id()
return the 'gDossier' value after a check
static detail_action($ag_id, $p_mesg, $p_modify=1)
return an anchor to view the detail of an action
static button_close($div_name, $class='smallbutton')
close button for the HTML popup
static button_action($action, $javascript, $id=NULL, $p_class="button", $p_symbole="")
button Html with javascript
static title_box($p_name, $p_div, $p_mod="close", $p_js="", $p_draggable="n", $p_enlarge='n')
Title for boxes, you can customize the symbol thanks symbol with the mode "custom".
endfor