Il manquait des include('foot.php') dans certaines pages

Suppression d'un vieux fichiers plus utilisé
This commit is contained in:
Alan Garcia 2013-06-13 11:46:33 +00:00
parent a73f1c21f6
commit 0dc0ab2d43
6 changed files with 5 additions and 52 deletions

1
.gitattributes vendored
View File

@ -260,7 +260,6 @@ bureau/admin/js/prototype.js -text
bureau/admin/login.php -text
bureau/admin/logs_download.php -text
bureau/admin/logs_list.php -text
bureau/admin/mail_add.php -text
bureau/admin/mail_del.php -text
bureau/admin/mail_doadd.php -text
bureau/admin/mail_doedit.php -text

View File

@ -63,8 +63,6 @@ if($action == "add") {
}else{
include("head.php");
?>
</head>
<body>
<h3><?php printf(_("Deleting quota %s"),$type); ?> : </h3>
<form action="adm_dodefquotas.php" method="post">
@ -78,9 +76,8 @@ if($action == "add") {
<input type="button" class="inb" name="cancel" value="<?php __("No"); ?>" onclick="document.location='adm_defquotas.php';" />
</blockquote>
</form>
</body>
</html>
<?php
include("foot.php");
}
} else if($action == "modify") {
reset($_POST);

View File

@ -88,9 +88,8 @@ if($del_confirm == "y"){
<input type="button" class="inb" name="cancel" value="<?php __("No"); ?>" onclick="document.location='adm_list.php';" />
</blockquote>
</form>
</body>
</html>
<?php
include('foot.php');
}
?>

View File

@ -13,3 +13,4 @@ $dom->del_default_type($id);
include_once("adm_doms_def_type.php");
include_once("foot.php");

View File

@ -1,44 +0,0 @@
<?php
/**
mail_add.php, author: squidly
----------------------------------------------------------------------
AlternC - Web Hosting System
Copyright (C) 2002 by the AlternC Development Team.
http://alternc.org/
----------------------------------------------------------------------
Based on:
Valentin Lacambre's web hosting softwares: http://altern.org/
----------------------------------------------------------------------
LICENSE
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License (GPL)
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.
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Purpose of file: Create a new mail account
----------------------------------------------------------------------
*/
require_once("../class/config.php");
include_once("head.php");
$fields = array (
"domain_id" => array ("request", "integer", ""),
"mail_arg" => array ("request", "string", ""),
);
getFields($fields);
?>
<h3><?php printf(_("Add %s mail to the domain %s"),$mail_arg,$domain_id); ?> : </h3>
<?php
if ($error) {
echo "<p class=\"error\">$error</p>";
}

View File

@ -25,7 +25,8 @@
require_once("../class/config.php");
require_once("head.php");
$error="_("There is currently no webmail configured. If you need one, contact your server administrator");
$error=_("There is currently no webmail configured. If you need one, contact your server administrator");
include("index.php");
require_once("foot.php");