diff --git a/htdocs/boutique/client/fiche.php b/htdocs/boutique/client/fiche.php index f4b1b1e3e05..1ae325b7553 100644 --- a/htdocs/boutique/client/fiche.php +++ b/htdocs/boutique/client/fiche.php @@ -28,6 +28,7 @@ */ require("../../main.inc.php"); +require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php'); include_once(DOL_DOCUMENT_ROOT.'/boutique/client/class/boutiqueclient.class.php'); diff --git a/htdocs/boutique/client/index.php b/htdocs/boutique/client/index.php index 0755c51af96..361356103e9 100644 --- a/htdocs/boutique/client/index.php +++ b/htdocs/boutique/client/index.php @@ -27,10 +27,14 @@ */ require("../../main.inc.php"); +require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php'); $langs->load("companies"); +/* + * View + */ llxHeader(); diff --git a/htdocs/boutique/commande/ca.php b/htdocs/boutique/commande/ca.php index 081df45fdd7..4a6beabb205 100644 --- a/htdocs/boutique/commande/ca.php +++ b/htdocs/boutique/commande/ca.php @@ -17,7 +17,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ */ /** @@ -28,8 +27,12 @@ */ require("../../main.inc.php"); +require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php'); +/* + * View + */ llxHeader(); diff --git a/htdocs/boutique/commande/fiche.php b/htdocs/boutique/commande/fiche.php index 4624cfeb915..3eb4057db52 100644 --- a/htdocs/boutique/commande/fiche.php +++ b/htdocs/boutique/commande/fiche.php @@ -18,7 +18,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ */ /** @@ -29,6 +28,7 @@ */ require("../../main.inc.php"); +require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php'); include_once(DOL_DOCUMENT_ROOT.'/boutique/commande/class/boutiquecommande.class.php'); $langs->load("products"); diff --git a/htdocs/boutique/commande/index.php b/htdocs/boutique/commande/index.php index 6d0d3b873d6..0c32c816212 100644 --- a/htdocs/boutique/commande/index.php +++ b/htdocs/boutique/commande/index.php @@ -17,7 +17,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ */ /** @@ -28,6 +27,7 @@ */ require("../../main.inc.php"); +require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php'); diff --git a/htdocs/boutique/critiques/bestproduct.php b/htdocs/boutique/critiques/bestproduct.php index cbc99beacde..cfe96063fae 100644 --- a/htdocs/boutique/critiques/bestproduct.php +++ b/htdocs/boutique/critiques/bestproduct.php @@ -1,6 +1,6 @@ - * Copyright (C) 2003 �ric Seigne + * Copyright (C) 2003 Eric Seigne * Copyright (C) 2006 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify @@ -29,8 +29,12 @@ */ require("../../main.inc.php"); +require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php'); +/* + * View + */ llxHeader(); diff --git a/htdocs/boutique/critiques/fiche.php b/htdocs/boutique/critiques/fiche.php index 9d4d744e6a6..36332fa4c52 100644 --- a/htdocs/boutique/critiques/fiche.php +++ b/htdocs/boutique/critiques/fiche.php @@ -17,7 +17,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ */ /** @@ -28,6 +27,7 @@ */ require("../../main.inc.php"); +require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php'); $id=$_GET["id"]; diff --git a/htdocs/boutique/critiques/index.php b/htdocs/boutique/critiques/index.php index 926eed41886..35206626133 100644 --- a/htdocs/boutique/critiques/index.php +++ b/htdocs/boutique/critiques/index.php @@ -17,7 +17,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ */ /** @@ -28,8 +27,12 @@ */ require("../../main.inc.php"); +require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php'); +/* + * View + */ llxHeader(); diff --git a/htdocs/boutique/index.php b/htdocs/boutique/index.php index 250371b0722..aaf39f0a09a 100644 --- a/htdocs/boutique/index.php +++ b/htdocs/boutique/index.php @@ -25,6 +25,7 @@ */ require("../main.inc.php"); +require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php'); $langs->load("boutique"); $langs->load("orders"); diff --git a/htdocs/boutique/notification/fiche.php b/htdocs/boutique/notification/fiche.php index 990a7273bcd..071a08345a9 100644 --- a/htdocs/boutique/notification/fiche.php +++ b/htdocs/boutique/notification/fiche.php @@ -25,8 +25,12 @@ */ require("../../main.inc.php"); +require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php'); +/* + * View + */ llxHeader(); diff --git a/htdocs/boutique/notification/index.php b/htdocs/boutique/notification/index.php index f285f4ae880..3609b66cb03 100644 --- a/htdocs/boutique/notification/index.php +++ b/htdocs/boutique/notification/index.php @@ -18,7 +18,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ */ /** @@ -29,6 +28,7 @@ */ require("../../main.inc.php"); +require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php'); $langs->load("products"); diff --git a/htdocs/boutique/notification/produits.php b/htdocs/boutique/notification/produits.php index 62db80c228a..cca269783bc 100644 --- a/htdocs/boutique/notification/produits.php +++ b/htdocs/boutique/notification/produits.php @@ -18,7 +18,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ */ /** @@ -29,8 +28,12 @@ */ require("../../main.inc.php"); +require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php'); +/* + * View + */ llxHeader(); diff --git a/htdocs/boutique/produits/index.php b/htdocs/boutique/produits/index.php index 2cafd3a47c7..065083392df 100644 --- a/htdocs/boutique/produits/index.php +++ b/htdocs/boutique/produits/index.php @@ -27,6 +27,7 @@ */ require("../../main.inc.php"); +require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php'); $langs->load("companies"); diff --git a/htdocs/boutique/produits/osc-liste.php b/htdocs/boutique/produits/osc-liste.php index 4ad23059f2a..a7b98b9e782 100644 --- a/htdocs/boutique/produits/osc-liste.php +++ b/htdocs/boutique/produits/osc-liste.php @@ -27,13 +27,17 @@ */ require("../../main.inc.php"); +require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php'); +/* + * View + */ llxHeader(); if ($sortfield == "") { - $sortfield="lower(p.label),p.price"; + $sortfield="p.label,p.price"; } if ($sortorder == "") { $sortorder="ASC"; diff --git a/htdocs/boutique/promotion/index.php b/htdocs/boutique/promotion/index.php index b3a6ce78b89..14d93a945e1 100644 --- a/htdocs/boutique/promotion/index.php +++ b/htdocs/boutique/promotion/index.php @@ -25,6 +25,7 @@ */ require("../../main.inc.php"); +require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php'); llxHeader();