[cosm] many cosmetic comment fixes, + ensure license and copyright everywhere

This commit is contained in:
Benjamin Sonntag 2017-10-12 17:54:48 +02:00
parent 90c7fd21c8
commit 4fd853c6ae
45 changed files with 416 additions and 422 deletions

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_email.php,v 1.1 2005/09/05 10:55:48 arnodu59 Exp $
----------------------------------------------------------------------
AlternC - Web Hosting System
Copyright (C) 2005 by the AlternC Development Team.
http://alternc.org/
----------------------------------------------------------------------
Based on:
Valentin Lacambre's web hosting softwares: http://altern.org/
----------------------------------------------------------------------
LICENSE
@ -23,11 +15,15 @@ GNU General Public License for more details.
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Show a form to edit a member
----------------------------------------------------------------------
*/
require_once("../class/config.php");
/**
* About page
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
include("head.php");
@ -51,7 +47,7 @@ __("AlternC is an automatic hosting software suite. It features a PHP-based admi
</li>
<hr/>
<p class="center"><a href="http://www.alternc.com" target="_blank"><img src="images/logo2.png" border="0" alt="AlternC" /></a>
<p class="center"><a href="https://www.alternc.com" target="_blank"><img src="images/logo2.png" border="0" alt="AlternC" /></a>
<br />
<?php
__("You are currently using AlternC ");

View File

@ -1,4 +1,28 @@
<?php
/*
----------------------------------------------------------------------
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
----------------------------------------------------------------------
*/
/**
* Manages Whitelists in IP auth module
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
include_once("head.php");

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_login.php,v 1.4 2005/04/01 17:13:10 benjamin Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,15 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Connect a super-user to another account
----------------------------------------------------------------------
*/
/**
* Page used by Administrator to forbid an impersonate session
* to go back to Admin rights.
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
setcookie('oldid','',0,'/');

View File

@ -1,10 +1,6 @@
<?php
/*
----------------------------------------------------------------------
AlternC - Web Hosting System
Copyright (C) 2000-2012 by the AlternC Development Team.
https://alternc.org/
----------------------------------------------------------------------
LICENSE
This program is free software; you can redistribute it and/or
@ -19,9 +15,14 @@ GNU General Public License for more details.
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Purpose of file: Show a form to edit a member
----------------------------------------------------------------------
*/
/**
* Show the list of MySQL db servers that this AlternC instance can use
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
include("head.php");

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_tld.php,v 1.4 2004/11/29 17:27:04 anonymous Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,15 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Manage allowed TLD on the server
----------------------------------------------------------------------
*/
/**
* Page used by administrators to deactivate an account
* and redirect its domains
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
include_once("head.php");
@ -90,7 +87,7 @@ if (! ($confirmed ) ) {
}
}
# this string will contain an SQL request that will be printed at the end of the process and that can be used to reload the old domain configuration
// this string will contain an SQL request that will be printed at the end of the process and that can be used to reload the old domain configuration
$backup = "";
# 1. list the domains of the user

View File

@ -1,15 +1,5 @@
<?php
/*
$Id: adm_defquotas.php,v 1.4 2006/01/24 05:03:30 joe Exp $
----------------------------------------------------------------------
AlternC - Web Hosting System
Copyright (C) 2006 Le r<EFBFBD>seau Koumbit Inc.
http://koumbit.org/
Copyright (C) 2002 by the AlternC Development Team.
http://alternc.org/
----------------------------------------------------------------------
Based on:
Valentin Lacambre's web hosting softwares: http://altern.org/
----------------------------------------------------------------------
LICENSE
@ -25,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Manage the default quotas
----------------------------------------------------------------------
*/
/**
* Administrator page to manage default quotas for users
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_del.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $
----------------------------------------------------------------------
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
@ -23,8 +15,6 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file:
Purpose of file:
----------------------------------------------------------------------
*/
?>

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_dnsweberror.php,v 1.4 2004/11/29 17:27:04 anonymous Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Alan Garcia
Purpose of file: Report domains and websites having error in the DB
----------------------------------------------------------------------
*/
/**
* Report DNS and WEBSITES being in error mode in the DB
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,10 +1,5 @@
<?php
/*
adm_doadd.php
----------------------------------------------------------------------
AlternC - Web Hosting System
Copyright (C) 2002-2017 by the AlternC Development Team.
https://alternc.com/
----------------------------------------------------------------------
LICENSE
@ -20,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: validate and create a new member
----------------------------------------------------------------------
*/
/**
* Validate and create a new account
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,15 +1,5 @@
<?php
/*
$Id: adm_dodefquotas.php,v 1.3 2006/01/24 05:03:30 joe Exp $
----------------------------------------------------------------------
AlternC - Web Hosting System
Copyright (C) 2006 Le réseau Koumbit Inc.
http://koumbit.org/
Copyright (C) 2002 by the AlternC Development Team.
http://alternc.org/
----------------------------------------------------------------------
Based on:
Valentin Lacambre's web hosting softwares: http://altern.org/
----------------------------------------------------------------------
LICENSE
@ -25,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Manage the default quotas
----------------------------------------------------------------------
*/
/**
* Change the default quotas
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_dodel.php,v 1.2 2004/05/19 14:23:06 benjamin Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,15 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Delete a member
----------------------------------------------------------------------
*/
/**
* Delete one or more AlternC's accounts
* of course, confirm the deletion
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,15 +1,5 @@
<?php
/*
$Id: adm_doedit.php,v 1.6 2006/01/24 05:03:30 joe Exp $
----------------------------------------------------------------------
AlternC - Web Hosting System
Copyright (C) 2006 Le reseau Koumbit Inc.
http://koumbit.org/
Copyright (C) 2002 by the AlternC Development Team.
http://alternc.org/
----------------------------------------------------------------------
Based on:
Valentin Lacambre's web hosting softwares: http://altern.org/
----------------------------------------------------------------------
LICENSE
@ -25,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Edit a member's parameters
----------------------------------------------------------------------
*/
/**
* Edit an account settings (name, password, etc.)
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_domlock.php,v 1.1 2003/09/20 19:41:06 root Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,15 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Manage allowed TLD on the server
----------------------------------------------------------------------
*/
/**
* Lock a domain on an account, forbid any dangerous / low-level change on it
* including removing the domain from the user account
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_doms.php,v 1.1 2003/09/20 19:41:06 root Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Manage allowed TLD on the server
----------------------------------------------------------------------
*/
/**
* List domains on the server and their DNS / Vhost compatibility
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,4 +1,30 @@
<?php
/*
----------------------------------------------------------------------
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
----------------------------------------------------------------------
*/
/**
* Manages default domain types,
* they are the subdomains automatically installed on a domain when you host it.
* AlternC's modules such as squirrelmail or roundcube may create new ones, you'll see them here
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_tld.php,v 1.4 2004/11/29 17:27:04 anonymous Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Alan Garcia
Purpose of file: Manage domain types on the server
----------------------------------------------------------------------
*/
/**
* Manages domain types on the server
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,4 +1,28 @@
<?php
/*
----------------------------------------------------------------------
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
----------------------------------------------------------------------
*/
/**
* Change a domain type on the server
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {
$msg->raise("ERROR", "admin", _("This page is restricted to authorized staff"));

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_domstypeedit.php,v 1.6 2006/01/12 01:10:48 anarcat Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Alan Garcia
Purpose of file: Edit the domain types
----------------------------------------------------------------------
*/
/**
* Form to update a domain type on the server
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {
$msg->raise("ERROR", "admin", _("This page is restricted to authorized staff"));

View File

@ -1,4 +1,28 @@
<?php
/*
----------------------------------------------------------------------
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
----------------------------------------------------------------------
*/
/**
* Regenerate all subdomains DNS and VHOST informations of a specific domain type
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {
$msg->raise("ERROR", "admin", _("This page is restricted to authorized staff"));

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_donosu.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Transform an account from Normal to Administrator
----------------------------------------------------------------------
*/
/**
* Transform an administrator account to become a normal one
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,15 +1,5 @@
<?php
/*
$Id: adm_dorenew.php,v 1.6 2006/01/24 05:03:30 joe Exp $
----------------------------------------------------------------------
AlternC - Web Hosting System
Copyright (C) 2006 Le réseau Koumbit Inc.
http://koumbit.org/
Copyright (C) 2002 by the AlternC Development Team.
http://alternc.org/
----------------------------------------------------------------------
Based on:
Valentin Lacambre's web hosting softwares: http://altern.org/
----------------------------------------------------------------------
LICENSE
@ -25,9 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Purpose of file: Renew an account for the specified period
----------------------------------------------------------------------
*/
/**
* Renew an account's access for a specific period
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_dosu.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Transform an account from Normal to Administrator
----------------------------------------------------------------------
*/
/**
* Change an account to make it an administrator account
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,15 +1,5 @@
<?php
/*
$Id: adm_edit.php,v 1.13 2006/01/24 05:03:30 joe Exp $
----------------------------------------------------------------------
AlternC - Web Hosting System
Copyright (C) 2006 Le r<EFBFBD>seau Koumbit Inc.
http://koumbit.org/
Copyright (C) 2002 by the AlternC Development Team.
http://alternc.org/
----------------------------------------------------------------------
Based on:
Valentin Lacambre's web hosting softwares: http://altern.org/
----------------------------------------------------------------------
LICENSE
@ -25,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Show a form to edit a member
----------------------------------------------------------------------
*/
/**
* Show a form to edit an account
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
include_once("head.php");
@ -65,9 +59,6 @@ echo $msg->msg_html_all();
?>
<form method="post" action="adm_doedit.php" name="main" id="main" autocomplete="off">
<?php csrf_get(); ?>
<!-- honeypot fields -->
<input type="text" style="display: none" id="fakeUsername" name="fakeUsername" value="" />
<input type="password" style="display: none" id="fakePassword" name="fakePassword" value="" />
<table class="tedit">
<tr>
@ -150,7 +141,7 @@ echo $msg->msg_html_all();
</tr>
</table>
</form>
<?php } /* Renouvellement */ ?>
<?php } /* Renewal */ ?>
<p>
<?php

View File

@ -1,10 +1,6 @@
<?php
/*
----------------------------------------------------------------------
AlternC - Web Hosting System
Copyright (C) 2000-2012 by the AlternC Development Team.
https://alternc.org/
----------------------------------------------------------------------
LICENSE
This program is free software; you can redistribute it and/or
@ -19,9 +15,14 @@ GNU General Public License for more details.
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Purpose of file: Show a form to edit a member
----------------------------------------------------------------------
*/
/**
* Show a form to send a mail to another account's owner
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
include("head.php");

View File

@ -1,10 +1,5 @@
<?php
/*
mem_admin.php
----------------------------------------------------------------------
AlternC - Web Hosting System
Copyright (C) 2002-2017 by the AlternC Development Team.
https://alternc.com/
----------------------------------------------------------------------
LICENSE
@ -20,10 +15,15 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Show the member list
----------------------------------------------------------------------
*/
/**
* Show the list of all accounts on AlternC, or those created by a subadmin
* allow to impersonate, edit the account, change the quotas
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
include_once("head.php");

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_tld.php,v 1.4 2004/11/29 17:27:04 anonymous Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Alan Garcia
Purpose of file: Manage domain types on the server
----------------------------------------------------------------------
*/
/**
* Lock the panel, allowing no access to it, except by admins
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled || $cuid!=2000) {

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_login.php,v 1.4 2005/04/01 17:13:10 benjamin Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Connect a super-user to another account
----------------------------------------------------------------------
*/
/**
* Any ADMIN account can impersonate to any other account by using this page.
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
/*

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_mxacount.php,v 1.2 2006/02/17 18:57:02 olivier Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,16 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Manage list of allowed accounts for secondary mx
----------------------------------------------------------------------
*/
/**
* Manage the list of allowed accounts to operate as secondary MX
* those account are allowed to list the hosted domains
* to configure their postfix as a secondary MX
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -17,6 +17,12 @@
----------------------------------------------------------------------
*/
/**
* Administrator misc. settings
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,10 +1,5 @@
<?php
/*
adm_passpolicy.php
----------------------------------------------------------------------
AlternC - Web Hosting System
Copyright (C) 2002-2010 by the AlternC Development Team.
http://alternc.org/
----------------------------------------------------------------------
LICENSE
@ -20,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Manage the password policy for AlternC
----------------------------------------------------------------------
*/
/**
* Manages password policy for misc. services on AlternC (ftp, mail etc.)
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_quotadoedit.php,v 1.3 2004/10/24 20:09:21 anonymous Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Edit a member's quotas
----------------------------------------------------------------------
*/
/**
* Edit an account's quotas
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_quotaedit.php,v 1.4 2004/10/24 20:09:21 anonymous Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Show the form to edit the user's quota
----------------------------------------------------------------------
*/
/**
* Show the form used to update users' quotas
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
include_once("head.php");

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_slaveip.php,v 1.2 2004/06/02 13:03:13 anonymous Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,15 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Manage list of allowed ip for zone transfers
----------------------------------------------------------------------
*/
/**
* Manage the list of SLAVE DNS machines account and IPs
* used for the transfer of zones in Bind and the list of domains in domlist.php
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_tld.php,v 1.4 2004/11/29 17:27:04 anonymous Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,15 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Manage allowed TLD on the server
----------------------------------------------------------------------
*/
/**
* Manages Allowed TLD's to be installed as domain names on the server
* soon deprecated due to all those new TLDs
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_tldadd.php,v 1.3 2003/06/10 12:14:09 root Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,15 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Manage allowed TLD on the server
----------------------------------------------------------------------
*/
/**
* Manage allowed TLDs on the server
* soon deprecated
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_tlddoadd.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,15 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Manage allowed TLD on the server
----------------------------------------------------------------------
*/
/**
* Manages allowed TLDs on the server
* soon deprecated
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_tlddoedit.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Manage allowed TLD on the server
----------------------------------------------------------------------
*/
/**
* Manage allowed TLDs to be installed as domain on the server
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
$fields = array (
"tld" => array ("post", "string", ""),

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_tldedit.php,v 1.2 2003/06/10 12:14:09 root Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,15 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Manage allowed TLD on the server
----------------------------------------------------------------------
*/
/**
* Manage allow TLDs domains to be installed here
* soon deprecated
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_tld.php,v 1.4 2004/11/29 17:27:04 anonymous Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Alan Garcia
Purpose of file: Manage domain types on the server
----------------------------------------------------------------------
*/
/**
* Launch update-domaines.sh crontab through admin account and inotify
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: adm_variables.php,v 1.1 2005/01/19 06:09:36 anarcat Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Manage allowed TLD on the server
----------------------------------------------------------------------
*/
/**
* Manages global variables of AlternC
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
if (!$admin->enabled) {

View File

@ -1,4 +1,27 @@
<?php
/*
----------------------------------------------------------------------
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
----------------------------------------------------------------------
*/
/**
* Manage debug mode that admins can enable
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");

View File

@ -1,9 +1,5 @@
<?php
/*
----------------------------------------------------------------------
AlternC - Web Hosting System
Copyright (C) 2000-2012 by the AlternC Development Team.
https://alternc.org/
----------------------------------------------------------------------
LICENSE
@ -20,6 +16,13 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
*/
/**
* File downloader of AlternC file browser.
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
$fields = array (

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: bro_editor.php,v 1.5 2005/05/03 14:49:06 anarcat Exp $
----------------------------------------------------------------------
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
@ -23,11 +15,15 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Editor of the browser
----------------------------------------------------------------------
*/
require_once("../class/config.php");
/**
* File editor part of AlternC file manager / browser.
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
// We check it ourself : not fatal
define("NOCSRF",true);

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: bro_main.php,v 1.11 2004/09/06 18:14:36 anonymous Exp $
----------------------------------------------------------------------
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
@ -23,12 +15,19 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag, Remi
Purpose of file: Online file Browser of AlternC
TODO : Voir ??? + D<EFBFBD>placer / Copier
----------------------------------------------------------------------
*/
require_once("../class/config.php");
/**
* A file browser / manager for AlternC
* Warning: complex spaghetti-style code below.
* allow an account user to browse files, move, copy, upload, rename,
* and set permissions
* also, uncompress tarballs and zips, and import SQL files
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
include_once ("head.php");
$fields = array (

View File

@ -1,13 +1,5 @@
<?php
/*
$Id: bro_pref.php,v 1.2 2003/06/10 06:45:16 root Exp $
----------------------------------------------------------------------
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
@ -23,10 +15,14 @@
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Original Author of file: Benjamin Sonntag
Purpose of file: Configuration of the file browser
----------------------------------------------------------------------
*/
/**
* Form to set the preferences of the file browser of AlternC
*
* @copyright AlternC-Team 2000-2017 https://alternc.com/
*/
require_once("../class/config.php");
$fields = array (