Example #1
0
         $smarty->assign("yearList", $yearList);
     }
     break;
 case 'confirm_delete':
     if ($_POST["recid"]) {
         echo "<!-- [recid]" . $_POST["recid"] . "[/recid] -->";
     } else {
         user_warning($BVS_LANG["confirmDelete"]);
     }
     break;
 case 'delete':
     $dataModel->deleteRecord($_GET["delete"]);
     if ($_GET["m"] == 'titleplus') {
         if ($_REQUEST["title"]) {
             $facicList = new facicOperations();
             $facicList->multipleDelete($_REQUEST["title"]);
         }
     }
     if ($_GET["m"] == 'facic') {
         /*
          * The implementation of this section is made when the user
          * does "save" for the records marked as D in the list of FACIC
          * getting unnecessary reload the list
          */
         if ($_REQUEST["recid"]) {
             /*
              * echo obligatory, used as a return of execution and
              * used in facic.list.tpl.php
              */
             echo "<!-- [request]";
             var_dump($_REQUEST);