0000577: Remplacer FICHE par PRINTCARD
This commit is contained in:
parent
e1e16dd360
commit
09ea4f71a2
5 changed files with 22 additions and 10 deletions
|
|
@ -35,11 +35,13 @@ $add_one=HtmlInput::button("add", "Ajout Menu","onclick=\"add_menu({dossier:$gDo
|
|||
?>
|
||||
<hr>
|
||||
<h1>Profil <?=$profile->p_name?></h1>
|
||||
<? if ($p_id > 0 ) : ?>
|
||||
<a href="javascript:void(0)" class="line" onclick="profile_show('profile_gen_div')"><?=_('Nom')?></a>
|
||||
<a href="javascript:void(0)" class="line" onclick="profile_show('profile_menu_div')"><?=_('Détail Menus')?></a>
|
||||
<a href="javascript:void(0)" class="line" onclick="profile_show('profile_print_div')"><?=_('Détail Impressions')?></a>
|
||||
<a href="javascript:void(0)" class="line" style="" onclick="profile_show('profile_gestion_div')"><?=_('Action Gestion')?> </a>
|
||||
<a href="javascript:void(0)" class="line" onclick="profile_show('profile_repo_div')"><?=_('Dépôts')?></a>
|
||||
<? endif; ?>
|
||||
|
||||
<?
|
||||
$id=HtmlInput::hidden('p_id',$profile->p_id);
|
||||
|
|
@ -50,7 +52,16 @@ $with_calc->set_check($profile->with_calc);
|
|||
|
||||
$with_direct_form=new ICheckBox("with_direct_form","t");
|
||||
$with_direct_form->set_check($profile->with_direct_form);
|
||||
echo '<div style="display:none" id="profile_gen_div">';
|
||||
|
||||
// If $p_id == -1 it is a new profile
|
||||
if ( $p_id > 0 )
|
||||
{
|
||||
echo '<div style="display:none" id="profile_gen_div">';
|
||||
}
|
||||
else
|
||||
{
|
||||
echo '<div id="profile_gen_div">';
|
||||
}
|
||||
echo '<form method="POST" onsubmit="return confirm (\'vous confirmez\')">';
|
||||
echo HtmlInput::hidden('tab','profile_gen_div');
|
||||
echo HtmlInput::hidden('p_id',$profile->p_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue