From d814d404d35fb5a273c5f569aafaa00824f90e55 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 9 Feb 2011 09:43:18 +0000 Subject: [PATCH] custom dir must be created dynamically during install to avoid being erased if it already exists. --- htdocs/.cvsignore | 1 + htdocs/custom/includes/index.php | 0 .../includes/modules/commande/index.php | 0 .../custom/includes/modules/facture/index.php | 0 htdocs/custom/includes/modules/index.php | 0 .../custom/includes/modules/propale/index.php | 0 htdocs/custom/includes/triggers/index.php | 0 htdocs/custom/index.php | 0 htdocs/domain/index.php | 89 ------------------- 9 files changed, 1 insertion(+), 89 deletions(-) delete mode 100644 htdocs/custom/includes/index.php delete mode 100644 htdocs/custom/includes/modules/commande/index.php delete mode 100644 htdocs/custom/includes/modules/facture/index.php delete mode 100644 htdocs/custom/includes/modules/index.php delete mode 100644 htdocs/custom/includes/modules/propale/index.php delete mode 100644 htdocs/custom/includes/triggers/index.php delete mode 100644 htdocs/custom/index.php delete mode 100644 htdocs/domain/index.php diff --git a/htdocs/.cvsignore b/htdocs/.cvsignore index 3a801ef4229..3ae525b6634 100644 --- a/htdocs/.cvsignore +++ b/htdocs/.cvsignore @@ -6,4 +6,5 @@ dolibarr_mail demo_pwc phpsane test.php +custom custom2 diff --git a/htdocs/custom/includes/index.php b/htdocs/custom/includes/index.php deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/htdocs/custom/includes/modules/commande/index.php b/htdocs/custom/includes/modules/commande/index.php deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/htdocs/custom/includes/modules/facture/index.php b/htdocs/custom/includes/modules/facture/index.php deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/htdocs/custom/includes/modules/index.php b/htdocs/custom/includes/modules/index.php deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/htdocs/custom/includes/modules/propale/index.php b/htdocs/custom/includes/modules/propale/index.php deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/htdocs/custom/includes/triggers/index.php b/htdocs/custom/includes/triggers/index.php deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/htdocs/custom/index.php b/htdocs/custom/index.php deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/htdocs/domain/index.php b/htdocs/domain/index.php deleted file mode 100644 index 0fb95dc9992..00000000000 --- a/htdocs/domain/index.php +++ /dev/null @@ -1,89 +0,0 @@ - - * Copyright (C) 2007 Laurent Destailleur - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ - */ - -require("../main.inc.php"); - - -/* - * Affichage - */ - -llxHeader(); - - -$sql = "SELECT label "; -$sql .= " FROM ".MAIN_DB_PREFIX."domain ORDER BY label ASC"; - -$result = $db->query($sql); -if ($result) -{ - $num = $db->num_rows($result); - - print_barre_liste($langs->trans("DomainNames"), $page, "liste.php","",$sortfield,$sortorder,"",$num); - - print "
"; - print ''; - print ""; - print ""; - print ""; - print ''; - print ''; - print ""; - print "\n"; - - - $var=True; - $num = $db->num_rows($result); - $i = 0; $total = 0; - - $sep = 0; - - while ($i < $num) { - $objp = $db->fetch_object($result); - $total = $total + $objp->amount; - $time = time(); - - $var=!$var; - - print ""; - - print ""; - - print ''; - - print ""; - - - $i++; - } - $db->free(); - - print "
Date'.$langs->trans("Description").''.$langs->trans("Amount").'R�duction
$objp->labelwww.'.$objp->label.'
"; - -} else { - dol_print_error($db); -} - - -$db->close(); - -llxFooter('$Date$ - $Revision$'); -?>