Change Tool_Uos by Single_Record
This commit is contained in:
parent
6e89040d17
commit
1dc92bd610
6 changed files with 8 additions and 8 deletions
|
|
@ -27,7 +27,7 @@
|
|||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/class_fiche_def.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/class_tool_uos.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/class_single_record.php';
|
||||
global $g_user;
|
||||
|
||||
$g_user->can_request(FICCAT,0);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
//see licence.txt
|
||||
|
||||
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/lib/class_tool_uos.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/class_single_record.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/class_tag.php';
|
||||
ob_start();
|
||||
$tag=new Tag($cn);
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ require_once NOALYSS_INCLUDE.'/user_menu.php';
|
|||
require_once NOALYSS_INCLUDE.'/class/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/class_sort_table.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/class_fiche_def.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/class_tool_uos.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/class_single_record.php';
|
||||
|
||||
$retour=HtmlInput::button_anchor("Retour à la liste", HtmlInput::get_to_string(array("gDossier","ac")));
|
||||
$action=HtmlInput::default_value_post('action', '');
|
||||
|
|
@ -117,7 +117,7 @@ if ( $action == 'save_line' )
|
|||
/*******************************************************************************************/
|
||||
if ( isset($_POST['add_modele']))
|
||||
{
|
||||
$single=new Tool_Uos("dup");
|
||||
$single=new Single_Record("dup");
|
||||
if ($single->get_count()==0)
|
||||
{
|
||||
$single->save();
|
||||
|
|
|
|||
|
|
@ -25,10 +25,10 @@ if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
|||
*
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE.'/class/class_tag.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/class_tool_uos.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/class_single_record.php';
|
||||
|
||||
$tag=new Tag($cn);
|
||||
$uos=new Tool_Uos('tag');
|
||||
$uos=new Single_Record('tag');
|
||||
if ( isset ($_POST['save_tag_sb']))
|
||||
{
|
||||
if ( ! isset ($_POST['remove']))
|
||||
|
|
|
|||
|
|
@ -802,7 +802,7 @@ $order
|
|||
}
|
||||
function input_new()
|
||||
{
|
||||
$single=new Tool_Uos("dup");
|
||||
$single=new Single_Record("dup");
|
||||
echo '<form method="post" style="display:inline">';
|
||||
echo $single->hidden();
|
||||
echo HtmlInput::hidden("p_action","fiche");
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
echo Dossier::hidden();
|
||||
echo HtmlInput::hidden('t_id',$data->t_id);
|
||||
echo HtmlInput::hidden('ac',$_REQUEST['ac']);
|
||||
$uos=new Tool_Uos('tag');
|
||||
$uos=new Single_Record('tag');
|
||||
echo $uos->hidden();
|
||||
$t_tag=new IText('t_tag',$data->t_tag);
|
||||
$t_description=new ITextarea('t_description',$data->t_description);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue