?>
 
        <h1 class="legend"><?php 
    echo $a_tab['linked_action_div']['label'];
    ?>
</h1>
  <?php 
}
/**
 * show possible linked actions
 */
echo '<ul style="list-style-type:square;">';
for ($i = 0; $i < count($a_followup); $i++) {
    $remove = '';
    if ($access == 'W') {
        $remove = HtmlInput::button_action_remove_operation($a_followup[$i]['ago_id']);
    }
    if ($div == 'popup') {
        echo '<li id="op' . $a_followup[$i]['ago_id'] . '">' . HtmlInput::detail_action($a_followup[$i]['ag_id'], h($a_followup[$i]['ag_ref'] . " " . $a_followup[$i]['ag_title']), 0) . $remove . '</li>';
    } else {
        echo '<li id="op' . $a_followup[$i]['ago_id'] . '">' . HtmlInput::detail_action($a_followup[$i]['ag_id'], h($a_followup[$i]['ag_ref'] . " " . $a_followup[$i]['ag_title']), 1) . $remove . '</li>';
    }
}
echo '</ul>';
$related = new IRelated_Action('related');
$related->id = 'related' . $div;
if ($access == 'W') {
    echo $related->input();
}
echo '</div>';
?>
Beispiel #2
0
<?php 
}
?>
          
        </table>

</div>
<div style="clear: both"></div>
	<div style="float:left;width: 47%">
		<h4 style="display:inline;">Opérations concernées</h4>
		<ol>

		<?php 
for ($o = 0; $o < count($operation); $o++) {
    if ($p_view != 'READ') {
        $js = HtmlInput::button_action_remove_operation($operation[$o]['ago_id']);
        echo '<li id="op' . $operation[$o]['ago_id'] . '">' . $operation[$o]['str_date'] . " " . HtmlInput::detail_op($operation[$o]['jr_id'], $operation[$o]['jr_internal']) . " " . h($operation[$o]['jr_comment']) . " " . $js . '</li>';
    } else {
        echo '<li >' . $operation[$o]['str_date'] . " " . HtmlInput::detail_op($operation[$o]['jr_id'], $operation[$o]['jr_internal']) . " " . h($operation[$o]['jr_comment']) . " " . '</li>';
    }
}
?>
		</ol>
		<?php 
if ($p_view != 'READ') {
    echo '<span class="noprint">' . $iconcerned->input() . '</span>';
}
?>
	</div>

        <div style="float:left;width: 47%">