Doxygen
This commit is contained in:
parent
dc7a0c031d
commit
6fbf223f97
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* Copyright (c) 2002-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
|
||||
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
/**
|
||||
* \class Form
|
||||
* \brief Classe permettant la generation de composants html
|
||||
* \brief Class to manage generation of HTML components
|
||||
* \remarks Only common components must be here.
|
||||
*/
|
||||
class Form
|
||||
@ -51,24 +51,24 @@ class Form
|
||||
|
||||
|
||||
/**
|
||||
* \brief Constructor
|
||||
* \param DB Database handler
|
||||
* Constructor
|
||||
* @param $DB Database handler
|
||||
*/
|
||||
function Form($DB)
|
||||
{
|
||||
$this->db = $DB;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Output key field for an editable field
|
||||
* \param text Text of label
|
||||
* \param htmlname Name of select field
|
||||
* \param preselected Preselected value for parameter
|
||||
* \param paramkey Key of parameter (unique if there is several parameter to show)
|
||||
* \param perm Permission to allow button to edit parameter
|
||||
* \param typeofdata Type of data (string by default, email, ...)
|
||||
* Output key field for an editable field
|
||||
* @param text Text of label
|
||||
* @param htmlname Name of select field
|
||||
* @param preselected Preselected value for parameter
|
||||
* @param paramkey Key of parameter (unique if there is several parameter to show)
|
||||
* @param paramvalue Value of parameter
|
||||
* @param perm Permission to allow button to edit parameter
|
||||
* @param typeofdata Type of data (string by default, email, ...)
|
||||
* @return string HTML edit field
|
||||
*/
|
||||
function editfieldkey($text,$htmlname,$preselected,$paramkey,$paramvalue,$perm,$typeofdata='string')
|
||||
{
|
||||
@ -90,6 +90,7 @@ class Form
|
||||
* \param paramkey Key of parameter (unique if there is several parameter to show)
|
||||
* \param perm Permission to allow button to edit parameter
|
||||
* \param typeofdata Type of data (string by default, email, ...)
|
||||
* \return string HTML edit field
|
||||
*/
|
||||
function editfieldval($text,$htmlname,$preselected,$paramkey,$paramvalue,$perm,$typeofdata='string')
|
||||
{
|
||||
@ -1768,7 +1769,7 @@ class Form
|
||||
$pageno=($useajax == 2?$page.'&confirm=no':'');
|
||||
// Note: Title is not used by dialogConfirm function
|
||||
print '<script type="text/javascript">window.onload = function(){ dialogConfirm(\''.$title.'\',\''.$pageyes.'\',\''.$pageno.'\',\''.dol_escape_js('<b>'.$title.'</b><br>'.$more.$question).'\',\''.$langs->trans("Yes").'\',\''.$langs->trans("No").'\',\'validate\'); }</script>';
|
||||
// print '<script id="eee" type="text/javascript">dialogConfirm(\'aaa\',\'bbb\',\'ccc\',\'eee\',\'yyy\',\'zzz\',\'validate\')</script>';
|
||||
// print '<script id="eee" type="text/javascript">dialogConfirm(\'aaa\',\'bbb\',\'ccc\',\'eee\',\'yyy\',\'zzz\',\'validate\')</script>';
|
||||
|
||||
print "\n";
|
||||
$ret='ajax';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user