noalyss  Version-6.7.2
 All Data Structures Namespaces Files Functions Variables Enumerations
action.inc.php
Go to the documentation of this file.
00001 <?php
00002 /*
00003  *   This file is part of NOALYSS.
00004  *
00005  *   NOALYSS is free software; you can redistribute it and/or modify
00006  *   it under the terms of the GNU General Public License as published by
00007  *   the Free Software Foundation; either version 2 of the License, or
00008  *   (at your option) any later version.
00009  *
00010  *   NOALYSS is distributed in the hope that it will be useful,
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *   GNU General Public License for more details.
00014  *
00015  *   You should have received a copy of the GNU General Public License
00016  *   along with NOALYSS; if not, write to the Free Software
00017  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 */
00019 // Copyright Author Dany De Bontridder danydb@aevalys.eu
00020 /*! \file
00021  * \brief Page who manage the different actions (meeting, letter)
00022  */
00023 if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
00024 require_once('class_ipopup.php');
00025 global $g_user;
00026 $retour=HtmlInput::button_anchor(_('Retour liste'),
00027         HtmlInput::request_to_string(array("closed_action","remind_date_end","remind_date","sag_ref","only_internal","state","ac","gDossier","qcode","ag_dest_query","action_query","tdoc","date_start","date_end","hsstate","searchtag")),
00028         "","","smallbutton");
00029 //-----------------------------------------------------
00030 // Follow_Up
00031 //-----------------------------------------------------
00032 require_once("class_icard.php");
00033 require_once("class_ispan.php");
00034 require_once("class_ifile.php");
00035 require_once("class_itext.php");
00036 require_once("class_follow_up.php");
00037 require_once('class_iaction.php');
00038 /*!\brief Show the list of action, this code should be common
00039  *        to several webpage. But for the moment we keep like that
00040  *        because it is used only by this file.
00041  *\param $cn database connection
00042  * \param $retour button for going back
00043  * \param $h_url calling url
00044  */
00045 
00046 // We need a sub action (3rd level)
00047 // show a list of already taken action
00048 // propose to add one
00049 // permit also a search
00050 // show detail
00051 $sub_action=(isset($_REQUEST['sa']))?$_REQUEST['sa']:"";
00052 /* if ag_id is set then we give it otherwise we have problem
00053  * with the generation of document
00054  */
00055 $ag_id=(isset($_REQUEST['ag_id']))?$_REQUEST['ag_id']:0;
00056 $ac=$_REQUEST['ac'];
00057 $base=HtmlInput::request_to_string(array('ac','gDossier'),"");
00058 
00059 require_once('action.common.inc.php');
00060 echo "</div>";
00061 
00062 ?>
 All Data Structures Namespaces Files Functions Variables Enumerations