Qual: Move admin page into correct directory
This commit is contained in:
parent
a0c475e5f0
commit
03842392b7
@ -21,10 +21,10 @@
|
||||
* \file htdocs/includes/modules/barcode/admin/barcode.php
|
||||
* \ingroup barcode
|
||||
* \brief Page d'administration/configuration du module Code barre
|
||||
* \version $Id: barcode.php,v 1.6 2011/07/31 23:46:07 eldy Exp $
|
||||
* \version $Id: barcode.php,v 1.48 2011/08/16 10:11:02 eldy Exp $
|
||||
*/
|
||||
|
||||
require("../../../../main.inc.php");
|
||||
require("../main.inc.php");
|
||||
require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php");
|
||||
require_once(DOL_DOCUMENT_ROOT."/includes/barcode/html.formbarcode.class.php");
|
||||
|
||||
@ -297,5 +297,5 @@ print "<br>";
|
||||
|
||||
$db->close();
|
||||
|
||||
llxFooter('$Date: 2011/07/31 23:46:07 $ - $Revision: 1.6 $');
|
||||
llxFooter('$Date: 2011/08/16 10:11:02 $ - $Revision: 1.48 $');
|
||||
?>
|
||||
@ -15,13 +15,13 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* $Id: html.formbarcode.class.php,v 1.16 2011/07/31 23:29:11 eldy Exp $
|
||||
* $Id: html.formbarcode.class.php,v 1.17 2011/08/16 10:11:01 eldy Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/includes/barcode/html.formbarcode.class.php
|
||||
\brief Fichier de la classe des fonctions predefinie de composants html
|
||||
\version $Revision: 1.16 $
|
||||
\version $Revision: 1.17 $
|
||||
*/
|
||||
|
||||
|
||||
@ -82,7 +82,7 @@ class FormBarCode
|
||||
$disable = 'disabled="disabled"';
|
||||
}
|
||||
|
||||
$select_encoder = '<form action="'.DOL_URL_ROOT.'/includes/modules/barcode/admin/barcode.php" method="post" id="form'.$idForm.'">';
|
||||
$select_encoder = '<form action="'.DOL_URL_ROOT.'/admin/barcode.php" method="post" id="form'.$idForm.'">';
|
||||
$select_encoder.= '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||
$select_encoder.= '<input type="hidden" name="action" value="update">';
|
||||
$select_encoder.= '<input type="hidden" name="code_id" value="'.$code_id.'">';
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
/**
|
||||
* \defgroup barcode Module barcode
|
||||
* \brief Module pour gerer les codes barres
|
||||
* \version $Id: modBarcode.class.php,v 1.30 2011/08/14 17:17:20 eldy Exp $
|
||||
* \version $Id: modBarcode.class.php,v 1.31 2011/08/16 10:11:01 eldy Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -65,7 +65,7 @@ class modBarcode extends DolibarrModules
|
||||
$this->requiredby = array();
|
||||
|
||||
// Config pages
|
||||
$this->config_page_url = array("barcode.php@includes/modules/barcode");
|
||||
$this->config_page_url = array("barcode.php");
|
||||
|
||||
// Constants
|
||||
// Example: $this->const=array(0=>array('MYMODULE_MYNEWCONST1','chaine','myvalue','This is a constant to add',0),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user