Example #1
0
     $wDesc = new ITextArea();
     $wDesc->heigh = 5;
     echo _('Description') . ' : <br>';
     echo $wDesc->input('desc', $dos->get_parameter('desc'));
     echo '<br>';
     echo HtmlInput::submit('upd', _('Modifie'));
     echo '</form>';
     $content = ob_get_clean();
     $status = 'OK';
 } else {
     if ($op == 'folder_drop') {
         // ask to confirm the removal a folder
         $dos = new Dossier($dossier);
         ob_start();
         echo HtmlInput::title_box(_('Efface'), 'folder_admin_div');
         $dos->load();
         echo '<form action="admin_repo.php" method="post">';
         echo HtmlInput::hidden('action', 'dossier_mgt');
         echo HtmlInput::hidden('d', $dossier);
         echo HtmlInput::hidden('sa', 'remove');
         echo '<h2 class="error">' . _('Etes vous sûr et certain de vouloir effacer ') . $dos->dos_name . ' ???</h2>';
         $confirm = new ICheckBox();
         $confirm->name = "p_confirm";
         echo '<p>';
         echo _('Cochez la case si vous êtes sûr de vouloir effacer ce dossier');
         echo $confirm->input();
         echo '</p>';
         echo '<p style="text-align:center">';
         echo HtmlInput::submit('remove', _('Effacer'));
         echo '</p>';
         echo '</form>';