. */ /** * @brief View a document * * @file view.php * @author Claire Figueras * @date $date$ * @version $Revision$ * @ingroup indexing_searching_mlb */ /** * $etapes array Contains 2 etaps : form and status (order matters) */ $etapes = array('form'); /** * $frm_width Width of the modal (empty) */ $frm_width=''; /** * $frm_height Height of the modal (empty) */ $frm_height = ''; /** * $mode_form Mode of the modal : fullscreen */ $mode_form = 'fullscreen'; /** * Returns the indexing form text * * @param $values Array Contains the res_id of the document to process * @param $path_manage_action String Path to the PHP file called in Ajax * @param $id_action String Action identifier * @param $table String Table * @param $module String Origin of the action * @param $coll_id String Collection identifier * @param $mode String Action mode 'mass' or 'page' * @return String The form content text **/ function get_form_txt($values, $path_manage_action, $id_action, $table, $module, $coll_id, $mode ) { $res_id = $values[0]; $frm_str = ''; $_SESSION['doc_id'] = $res_id; $frm_str .= '
'; $frm_str .= '
'; $frm_str .= '
'; $frm_str .= ' '; $frm_str .= '
'; $frm_str .= ''; return addslashes($frm_str); }