noalyss Version-9
ledger_detail_top.php
Go to the documentation of this file.
1<?php
2//This file is part of NOALYSS and is under GPL
3//see licence.txt
4?><div class="bxbutton">
5<?php
6 if ($div != "popup") {
7 $callback=$_SERVER['PHP_SELF'];
8 // create the url for the ajax (for zoom feature)
9 $str=http_build_query(array(
10 'gDossier'=>Dossier::id(),
11 'jr_id'=>$obj->det->jr_id,
12 'act'=>'de',
13 'div'=>$div,
14 'op'=>'ledger',
15 'ajax'=>$callback));
16 $msg_close=_('Fermer');
17 $msg_pop=_('Ouvrir dans une fenêtre séparée');
18
19 $js="a=window.open('popup.php?{$str}','','titlebar=no,location=no,statusbar=no,menubar=no,toolbar=no,fullscreen=yes,scrollbars=yes,resizable=yes,status=no'); a.focus();removeDiv('{$div}')";
23 }
24?>
25</div>
26<div>
27 <?php echo h2($oLedger->get_name(),'class="title"'); ?>
28</div>
29<?php echo _("Opération ID")."=".hb($obj->det->jr_internal); ?>
30<div id="<?php echo $div.'info'?>" class="divinfo"></div>
h2($p_string, $p_class="", $raw="")
Definition: ac_common.php:68
hb($p_string)
Definition: ac_common.php:53
$div
static id()
return the 'gDossier' value after a check
static close($p_div)
Return a html string with an anchor which close the inside popup.
static draggable($p_div)
Display a icon for fix or move a div.
static zoom($p_div, $p_javascript)
Display a icon for zooming.
$str
Definition: fiche.inc.php:91