2012-10-25 10:15:26 +00:00
|
|
|
<?php if ( $this->error ) {?>
|
|
|
|
<p><?=$this->error?></p>
|
|
|
|
<?php } else {?>
|
|
|
|
<?php if( $this->mode=='edit' || $this->mode=='delete' ) {?>
|
|
|
|
<p>Lien modifié.</p>
|
|
|
|
<?php } else {?>
|
|
|
|
<p>Lien crée (id=<?=$this->id?>).</p>
|
|
|
|
<?php }?>
|
|
|
|
<p>Quitter la boite de dialogue puis rafraichir la page.</p>
|
|
|
|
<?php }?>
|
|
|
|
<script>
|
|
|
|
$('#dialogcmd').dialog({ buttons: [ {
|
|
|
|
text: "Quitter",
|
|
|
|
click: function() { $(this).dialog("close"); }
|
|
|
|
} ] });
|
|
|
|
</script>
|