commit 6ca8255f49f9a524fda6bc3fc252e241b1c8b9c6
Author: Pierre Gilles Mialon
Date: Wed Apr 26 12:28:53 2006 +0000
AlternC Plugin are now part of AlternC svn repository\n Migration Phase 2
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..c27f2adb
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,438 @@
+* text=auto !eol
+/BUILD -text
+/COPYING -text
+/HACKING -text
+/README -text
+/TODO -text
+aide/bin/build.sh -text
+aide/bin/frames.dsl -text
+aide/brouteur.sgml -text
+aide/domain.sgml -text
+aide/ftp.sgml -text
+aide/index.sgml -text
+aide/sommaire.sgml -text
+aide/stats.sgml -text
+aide/test.sgml -text
+bureau/admin/adm_add.php -text
+bureau/admin/adm_defquotas.php -text
+bureau/admin/adm_del.php -text
+bureau/admin/adm_doadd.php -text
+bureau/admin/adm_dodefquotas.php -text
+bureau/admin/adm_dodel.php -text
+bureau/admin/adm_doedit.php -text
+bureau/admin/adm_domlock.php -text
+bureau/admin/adm_doms.php -text
+bureau/admin/adm_donosu.php -text
+bureau/admin/adm_dorenew.php -text
+bureau/admin/adm_dosu.php -text
+bureau/admin/adm_edit.php -text
+bureau/admin/adm_list.php -text
+bureau/admin/adm_login.php -text
+bureau/admin/adm_panel.php -text
+bureau/admin/adm_quotadoedit.php -text
+bureau/admin/adm_quotaedit.php -text
+bureau/admin/adm_slaveaccount.php -text
+bureau/admin/adm_slaveip.php -text
+bureau/admin/adm_tld.php -text
+bureau/admin/adm_tldadd.php -text
+bureau/admin/adm_tlddoadd.php -text
+bureau/admin/adm_tlddoedit.php -text
+bureau/admin/adm_tldedit.php -text
+bureau/admin/adm_variables.php -text
+bureau/admin/aide/files/browser_set.png -text
+bureau/admin/aide/files/ftp_add.png -text
+bureau/admin/aide/files/ftp_list.png -text
+bureau/admin/aide/files/readme -text
+bureau/admin/aide/files/sta_add.png -text
+bureau/admin/aide/files/sta_view1.png -text
+bureau/admin/aide/files/sta_view2.png -text
+bureau/admin/aide/help.php -text
+bureau/admin/aide/help.png -text
+bureau/admin/aide/html/book1.html -text
+bureau/admin/aide/html/c126.html -text
+bureau/admin/aide/html/c18.html -text
+bureau/admin/aide/html/c26.html -text
+bureau/admin/aide/html/c72.html -text
+bureau/admin/aide/html/c84.html -text
+bureau/admin/aide/html/docbook.css -text
+bureau/admin/aide/html/files/browser_set.png -text
+bureau/admin/aide/html/files/ftp_add.png -text
+bureau/admin/aide/html/files/ftp_list.png -text
+bureau/admin/aide/html/files/readme -text
+bureau/admin/aide/html/files/sta_add.png -text
+bureau/admin/aide/html/files/sta_view1.png -text
+bureau/admin/aide/html/files/sta_view2.png -text
+bureau/admin/aide/html/frameset.html -text
+bureau/admin/aide/html/plus.gif -text
+bureau/admin/aide/html/tiret.gif -text
+bureau/admin/aide/html/toc.htm -text
+bureau/admin/aide/html/x105.html -text
+bureau/admin/aide/html/x23.html -text
+bureau/admin/aide/html/x53.html -text
+bureau/admin/aide/inline/docbook.css -text
+bureau/admin/aide/inline/frameset.html -text
+bureau/admin/aide/inline/plus.gif -text
+bureau/admin/aide/inline/tiret.gif -text
+bureau/admin/alternc.png -text
+bureau/admin/bro_editor.php -text
+bureau/admin/bro_main.php -text
+bureau/admin/bro_pref.php -text
+bureau/admin/bro_tgzdown.php -text
+bureau/admin/bro_view.php -text
+bureau/admin/browseforfolder.php -text
+bureau/admin/direct.php -text
+bureau/admin/dom_add.php -text
+bureau/admin/dom_doadd.php -text
+bureau/admin/dom_dodel.php -text
+bureau/admin/dom_edit.php -text
+bureau/admin/dom_editdns.php -text
+bureau/admin/dom_subdel.php -text
+bureau/admin/dom_subdodel.php -text
+bureau/admin/dom_subdoedit.php -text
+bureau/admin/dom_subedit.php -text
+bureau/admin/domlist.php -text
+bureau/admin/ftp_add.php -text
+bureau/admin/ftp_del.php -text
+bureau/admin/ftp_doadd.php -text
+bureau/admin/ftp_doedit.php -text
+bureau/admin/ftp_edit.php -text
+bureau/admin/ftp_list.php -text
+bureau/admin/head.php -text
+bureau/admin/hta_add.php -text
+bureau/admin/hta_adduser.php -text
+bureau/admin/hta_del.php -text
+bureau/admin/hta_doadd.php -text
+bureau/admin/hta_doadduser.php -text
+bureau/admin/hta_dodeluser.php -text
+bureau/admin/hta_doedituser.php -text
+bureau/admin/hta_edit.php -text
+bureau/admin/hta_edituser.php -text
+bureau/admin/hta_list.php -text
+bureau/admin/icon/browse.png -text
+bureau/admin/icon/delfile.png -text
+bureau/admin/icon/doc.png -text
+bureau/admin/icon/encrypted.png -text
+bureau/admin/icon/exe.png -text
+bureau/admin/icon/file.png -text
+bureau/admin/icon/folder.png -text
+bureau/admin/icon/htm.png -text
+bureau/admin/icon/jpg.png -text
+bureau/admin/icon/m3u.png -text
+bureau/admin/icon/move.png -text
+bureau/admin/icon/newfile.png -text
+bureau/admin/icon/newfolder.png -text
+bureau/admin/icon/newhtml.png -text
+bureau/admin/icon/openfold.png -text
+bureau/admin/icon/pdf.png -text
+bureau/admin/icon/php.png -text
+bureau/admin/icon/ppt.png -text
+bureau/admin/icon/properties.png -text
+bureau/admin/icon/protect.png -text
+bureau/admin/icon/ra.png -text
+bureau/admin/icon/selall.png -text
+bureau/admin/icon/sort0.png -text
+bureau/admin/icon/sort1.png -text
+bureau/admin/icon/swf.png -text
+bureau/admin/icon/sxc.png -text
+bureau/admin/icon/sxd.png -text
+bureau/admin/icon/sxi.png -text
+bureau/admin/icon/sxw.png -text
+bureau/admin/icon/txt.png -text
+bureau/admin/icon/wav.png -text
+bureau/admin/icon/winresize.gif -text
+bureau/admin/icon/xls.png -text
+bureau/admin/icon/zip.png -text
+bureau/admin/index.php -text
+bureau/admin/js/alternc.js -text
+bureau/admin/js/wz_dragdrop.js -text
+bureau/admin/login.php -text
+bureau/admin/lst_addown.php -text
+bureau/admin/lst_addsub.php -text
+bureau/admin/lst_addsub1.php -text
+bureau/admin/lst_affallsub.php -text
+bureau/admin/lst_affsub.php -text
+bureau/admin/lst_delown.php -text
+bureau/admin/lst_delsub.php -text
+bureau/admin/lst_doedit.php -text
+bureau/admin/lst_doeditsub.php -text
+bureau/admin/lst_doedittxt.php -text
+bureau/admin/lst_downsub.php -text
+bureau/admin/lst_owner.php -text
+bureau/admin/lst_subscribers.php -text
+bureau/admin/mail_add.php -text
+bureau/admin/mail_doadd.php -text
+bureau/admin/mail_dodel.php -text
+bureau/admin/mail_doedit.php -text
+bureau/admin/mail_edit.php -text
+bureau/admin/mail_list.php -text
+bureau/admin/main.php -text
+bureau/admin/mem_admin.php -text
+bureau/admin/mem_chgmail.php -text
+bureau/admin/mem_cm.php -text
+bureau/admin/mem_cm2.php -text
+bureau/admin/mem_logout.php -text
+bureau/admin/mem_param.php -text
+bureau/admin/mem_passwd.php -text
+bureau/admin/menu.php -text
+bureau/admin/menu_adm.php -text
+bureau/admin/menu_aide.php -text
+bureau/admin/menu_brouteur.php -text
+bureau/admin/menu_dom.php -text
+bureau/admin/menu_ftp.php -text
+bureau/admin/menu_mail.php -text
+bureau/admin/menu_mem.php -text
+bureau/admin/menu_quota.php -text
+bureau/admin/menu_sql.php -text
+bureau/admin/menu_sta2.php -text
+bureau/admin/menu_web.php -text
+bureau/admin/quota_show.php -text
+bureau/admin/quota_show_all.php -text
+bureau/admin/sql_add.php -text
+bureau/admin/sql_addmain.php -text
+bureau/admin/sql_admin.php -text
+bureau/admin/sql_bck.php -text
+bureau/admin/sql_del.php -text
+bureau/admin/sql_doadd.php -text
+bureau/admin/sql_dobck.php -text
+bureau/admin/sql_dorestore.php -text
+bureau/admin/sql_getparam.php -text
+bureau/admin/sql_list.php -text
+bureau/admin/sql_pass.php -text
+bureau/admin/sql_passchg.php -text
+bureau/admin/sql_restore.php -text
+bureau/admin/sta2_add_raw.php -text
+bureau/admin/sta2_del_raw.php -text
+bureau/admin/sta2_doadd_raw.php -text
+bureau/admin/sta2_doedit_raw.php -text
+bureau/admin/sta2_edit_raw.php -text
+bureau/admin/sta2_list.php -text
+bureau/admin/styles/style.css -text
+bureau/admin/template.php -text
+bureau/admin/web_list.php -text
+bureau/admin/webmail/.htaccess -text
+bureau/admin/webmail/index.php -text
+bureau/class/config.php -text
+bureau/class/config_nochk.php -text
+bureau/class/config_real.php -text
+bureau/class/db_mysql.php -text
+bureau/class/export_account.php -text
+bureau/class/functions.php -text
+bureau/class/lang_env.php -text
+bureau/class/local.php -text
+bureau/class/m_admin.php -text
+bureau/class/m_bro.php -text
+bureau/class/m_dom.php -text
+bureau/class/m_err.php -text
+bureau/class/m_ftp.php -text
+bureau/class/m_hta.php -text
+bureau/class/m_mail.php -text
+bureau/class/m_mem.php -text
+bureau/class/m_mysql.php -text
+bureau/class/m_quota.php -text
+bureau/class/m_sta2.php -text
+bureau/class/mime.php -text
+bureau/class/reset_stats_conf.php -text
+bureau/class/variables.php -text
+bureau/head.php -text
+bureau/index.php -text
+bureau/locales/README -text
+bureau/locales/admin.po -text
+bureau/locales/admin_manual.po -text
+bureau/locales/bro.po -text
+bureau/locales/bromime.po -text
+bureau/locales/de_DE/LC_MESSAGES/alternc.po -text
+bureau/locales/dom.po -text
+bureau/locales/dom_manual.po -text
+bureau/locales/en_US/LC_MESSAGES/admin.po -text
+bureau/locales/en_US/LC_MESSAGES/bro.po -text
+bureau/locales/en_US/LC_MESSAGES/dom.po -text
+bureau/locales/en_US/LC_MESSAGES/err.po -text
+bureau/locales/en_US/LC_MESSAGES/ftp.po -text
+bureau/locales/en_US/LC_MESSAGES/head.txt -text
+bureau/locales/en_US/LC_MESSAGES/hta.po -text
+bureau/locales/en_US/LC_MESSAGES/mail.po -text
+bureau/locales/en_US/LC_MESSAGES/main.po -text
+bureau/locales/en_US/LC_MESSAGES/mem.po -text
+bureau/locales/en_US/LC_MESSAGES/mysql.po -text
+bureau/locales/en_US/LC_MESSAGES/sta2.po -text
+bureau/locales/es_ES/LC_MESSAGES/admin.po -text
+bureau/locales/es_ES/LC_MESSAGES/bro.po -text
+bureau/locales/es_ES/LC_MESSAGES/dom.po -text
+bureau/locales/es_ES/LC_MESSAGES/err.po -text
+bureau/locales/es_ES/LC_MESSAGES/ftp.po -text
+bureau/locales/es_ES/LC_MESSAGES/head.txt -text
+bureau/locales/es_ES/LC_MESSAGES/hta.po -text
+bureau/locales/es_ES/LC_MESSAGES/mail.po -text
+bureau/locales/es_ES/LC_MESSAGES/main.po -text
+bureau/locales/es_ES/LC_MESSAGES/mem.po -text
+bureau/locales/es_ES/LC_MESSAGES/mysql.po -text
+bureau/locales/es_ES/LC_MESSAGES/sta2.po -text
+bureau/locales/es_VE/LC_MESSAGES/alternc.po -text
+bureau/locales/es_VE/LC_MESSAGES/alternc_message.po -text
+bureau/locales/fr_FR/LC_MESSAGES/admin.po -text
+bureau/locales/fr_FR/LC_MESSAGES/admin_manual.po -text
+bureau/locales/fr_FR/LC_MESSAGES/alternc -text
+bureau/locales/fr_FR/LC_MESSAGES/bro.po -text
+bureau/locales/fr_FR/LC_MESSAGES/bro_manual.po -text
+bureau/locales/fr_FR/LC_MESSAGES/bromime.po -text
+bureau/locales/fr_FR/LC_MESSAGES/dom.po -text
+bureau/locales/fr_FR/LC_MESSAGES/dom_manual.po -text
+bureau/locales/fr_FR/LC_MESSAGES/ftp.po -text
+bureau/locales/fr_FR/LC_MESSAGES/ftp_manual.po -text
+bureau/locales/fr_FR/LC_MESSAGES/head.txt -text
+bureau/locales/fr_FR/LC_MESSAGES/hta.po -text
+bureau/locales/fr_FR/LC_MESSAGES/hta_manual.po -text
+bureau/locales/fr_FR/LC_MESSAGES/mail.po -text
+bureau/locales/fr_FR/LC_MESSAGES/mail_manual.po -text
+bureau/locales/fr_FR/LC_MESSAGES/main.po -text
+bureau/locales/fr_FR/LC_MESSAGES/main_manual.po -text
+bureau/locales/fr_FR/LC_MESSAGES/sql.po -text
+bureau/locales/fr_FR/LC_MESSAGES/sql_manual.po -text
+bureau/locales/fr_FR/LC_MESSAGES/sta2.po -text
+bureau/locales/fr_FR/LC_MESSAGES/sta2_manual.po -text
+bureau/locales/ftp.po -text
+bureau/locales/ftp_manual.po -text
+bureau/locales/hta.po -text
+bureau/locales/hta_manual.po -text
+bureau/locales/mail.po -text
+bureau/locales/mail_manual.po -text
+bureau/locales/main.po -text
+bureau/locales/main_manual.po -text
+bureau/locales/sql.po -text
+bureau/locales/sql_manual.po -text
+bureau/locales/sta2.po -text
+bureau/locales/sta2_manual.po -text
+bureau/locales/updatelang.sh -text
+bureau/style.css -text
+debian/.cvsignore -text
+debian/README.Debian -text
+debian/alternc.cron.d -text
+debian/alternc.links -text
+debian/alternc.logrotate -text
+debian/changelog -text
+debian/compat -text
+debian/config -text
+debian/control -text
+debian/copyright -text
+debian/dirs -text
+debian/docs -text
+debian/lintian-override -text
+debian/po/POTFILES.in -text
+debian/po/fr.po -text
+debian/po/templates.pot -text
+debian/postinst -text
+debian/postrm -text
+debian/preinst -text
+debian/prerm -text
+debian/rules -text
+debian/templates -text
+etc/alternc/apache-ssl.conf -text
+etc/alternc/apache.conf -text
+etc/alternc/menulist.txt -text
+etc/alternc/phpmyadmin.inc.php -text
+etc/alternc/templates/apache-ssl/httpd.conf -text
+etc/alternc/templates/apache/httpd.conf -text
+etc/alternc/templates/bind/automatic.conf -text
+etc/alternc/templates/bind/named.conf -text
+etc/alternc/templates/bind/slaveip.conf -text
+etc/alternc/templates/bind/templates/mx.template -text
+etc/alternc/templates/bind/templates/named.template -text
+etc/alternc/templates/bind/templates/slave.template -text
+etc/alternc/templates/bind/templates/zone.template -text
+etc/alternc/templates/courier/authdaemonrc -text
+etc/alternc/templates/courier/authmysqlrc -text
+etc/alternc/templates/default/saslauthd -text
+etc/alternc/templates/php4/apache/php.ini -text
+etc/alternc/templates/php4/cgi/php.ini -text
+etc/alternc/templates/postfix/ca.der -text
+etc/alternc/templates/postfix/main.cf -text
+etc/alternc/templates/postfix/myalias.cf -text
+etc/alternc/templates/postfix/mydomain.cf -text
+etc/alternc/templates/postfix/mygid.cf -text
+etc/alternc/templates/postfix/myvirtual.cf -text
+etc/alternc/templates/postfix/sasl/smtpd.conf -text
+etc/alternc/templates/proftpd.conf -text
+etc/alternc/templates/squirrelmail/apache.conf -text
+etc/alternc/templates/welcome.msg -text
+flags/de_DE.png -text
+flags/en_UK.png -text
+flags/en_US.png -text
+flags/es_ES.png -text
+flags/es_VE.png -text
+flags/fr_CA.png -text
+flags/fr_FR.png -text
+install/alternc.install -text
+install/body_checks -text
+install/domaines.template -text
+install/dopo.sh -text
+install/header_checks -text
+install/initrep.sh -text
+install/local.php -text
+install/mysql.sh -text
+install/mysql.sql -text
+install/newone.php -text
+install/reset_root.php -text
+install/upgrade_check.sh -text
+install/upgrades/0.9.1.sh -text
+install/upgrades/0.9.1.sql -text
+install/upgrades/0.9.1_migrationldap.php -text
+install/upgrades/0.9.2.php -text
+install/upgrades/0.9.2.sql -text
+install/upgrades/0.9.3.1.sql -text
+install/upgrades/0.9.3.sql -text
+install/upgrades/0.9.4.sql -text
+install/upgrades/0.9.5.sh -text
+install/upgrades/0.9.5.sql -text
+install/upgrades/README -text
+man/alternc-admintools.8 -text
+man/alternc-admintools.fr.8 -text
+man/alternc.install.8 -text
+man/get_account_by_domain.8 -text
+man/get_domains_by_account.8 -text
+man/top_ftp_users.8 -text
+man/top_ftp_users.fr.8 -text
+man/top_http_users.8 -text
+man/top_http_users.fr.8 -text
+man/top_mysql_users.8 -text
+man/top_mysql_users.fr.8 -text
+modules/admin -text
+modules/bro -text
+modules/dom -text
+modules/ftp -text
+modules/hta -text
+modules/mail -text
+modules/main -text
+modules/sql -text
+modules/sta2 -text
+po/alternc-admintools.fr.po -text
+po/fr/LC_MESSAGES/alternc-admintools.mo -text
+po/make_po -text
+/quota_delete -text
+/quota_init -text
+/searchmissing.pot.sh -text
+src/.cvsignore -text
+src/Makefile -text
+src/basedir_prot.sh -text
+src/db_create.c -text
+src/du.pl -text
+src/mail_add.c -text
+src/mail_del.c -text
+src/mem_add.c -text
+src/mem_del.c -text
+src/quota_delete -text
+src/quota_edit.c -text
+src/quota_edit.sh -text
+src/quota_get.c -text
+src/quota_get.sh -text
+src/quota_init -text
+src/rawstat.daily -text
+src/sendmail -text
+src/slave_dns -text
+src/sqlbackup.sh -text
+src/update_domains.sh -text
+tools/get_account_by_domain -text
+tools/get_domains_by_account -text
+tools/top_ftp_users -text
+tools/top_http_users -text
+tools/top_mysql_users -text
+/updatepot.sh -text
diff --git a/BUILD b/BUILD
new file mode 100644
index 00000000..3b8d2b87
--- /dev/null
+++ b/BUILD
@@ -0,0 +1,23 @@
+Build instructions
+==================
+
+1- get the source
+
+# cvs co alternc
+
+2- get the dependencies
+
+You probably need at least dpkg-dev, dehelper and optionally fakeroot, to
+build the package as non-root.
+
+3- build the package
+
+Should be as simple as calling dpkg-buildpackage now. The package will
+be in ../alternc__.deb
+
+You can verify the validity of the package using:
+
+lintian -i ../*.deb
+
+Warning: this will print out a lot of messages, since the package is
+really not clean right now.
diff --git a/COPYING b/COPYING
new file mode 100644
index 00000000..d60c31a9
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,340 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ 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
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ , 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/HACKING b/HACKING
new file mode 100644
index 00000000..381c9ebf
--- /dev/null
+++ b/HACKING
@@ -0,0 +1,117 @@
+Modularisation d'AlternC
+========================
+
+- Chaque classe a un nom en lettres (pas trop long).
+- Chaque classe fournit :
+ * Un fichier m_.php contenant la déclaration de la classe php
+ * Une classe qui s'appelle "m_"
+ * La variable globale instanciant la classe est $, elle est créée automatiquement par config_real.php
+ * Un fichier .pot dans locales/.po (et eventuellement _manual.po pour les entrees non détectées par gettext
+ * Les messages d'erreur sont du type "err__" ou est un entier positif. 0 pour "OK"
+ * Une classe PEUT présenter un fichier "menu_.php" dans admin/
+
+- Une classe peut présenter les fonctions particulières suivantes :
+ * alternc_add_domain($domain) qui est appellée quand un domaine est créé sur le compte membre courant
+ * alternc_del_domain($domain) qui est appellée quand un domaine est supprimé sur le compte membre courant
+ * alternc_add_member($uid) quand un membre est créé
+ * alternc_del_member($uid) quand un membre est détruit
+ * alternc_quota_check($uid) pour recalculer le quota utilisé par un membre
+ * alternc_quota_names() qui retourne une chaine ou un tableau avec le(s) noms des quota(s) gérés par cette classe.
+ si elle ne les contient pas, ces fonctions ne seront pas appellées...
+
+
+AlternC est fourni en standard avec les classes :
+- domain (installation domaines / dns / mx)
+- ftp (maintenance des comptes ftp)
+- mail (maintenance des emails pop/alias)
+- quota (gestion globale des quotas de service et de disques)
+- bro (navigateur dans le système de fichier)
+- admin (panneau administrateur)
+- mem (connexion et préférences membre)
+- mysql (maintenance de bdd mysql)
+- err (gestion des erreurs)
+- sta2 (demande de sortie de logs bruts apache)
+- hta (protection de dossiers web par htaccess/htpasswd)
+
+Les modules additionnels dispo :
+- alternc-webinstaller (cette classe particulière permet l'intégration facile d'outils (dmanager, spip, forum, chat ...) )
+- alternc-mailman (gestion de listes sous mailman)
+- alternc-sympa (gestion de listes sous sympa)
+- alternc-webalizer (gestion de stats webalizer)
+- procmail_builder (plugin spécial pour squirrelmail)
+
+Donc, pour s'installer, une classe a besoin de :
+- Créer les éventuelles structures de données nécessaires (mysql)
+- Copier le fichier m_ dans bureau/class/
+- Copier l'eventuel fichier menu_.php
+- Copier les éventuels autres fichiers dans bureau/admin, bureau/locales/* ...
+
+Quotas
+------
+
+Le système de quota est simple : la classe peut appeler
+ $quota->inc dec ...
+pour le membre donné, sur le nom de quota utilisé par celle-ci,
+(utiliser est conseillé ;)
+
+Quand un nouveau membre est créé, la valeur par défaut choisi par
+l'admin lui est associé, et cette valeur vaut 0 par défaut.
+
+Autres
+------
+
+Il est conseillé que chaque classe non standard fournisse un dossier
+dans /bureau/admin/ dans lequel elle stocke les pages web
+correspondantes, ceci afin de ne pas alourdir le dossier bureau/admin...
+
+Ajout à l'API :
+- La variable globale "$classes" contient un tableau avec le nom des
+ classes disponibles (nom court sans m_ =>mail, quota, err...)
+
+Hooks ou "events" AlternC
+=========================
+
+Liste des fonctions "events" appellées lorsqu'un évènement particulier a lieu
+sur un compte, tel que l'ajout d'un domaine, la suppression d'un domaine etc.
+
+- Ces fonctions commencent TOUJOURS par "alternc_"
+- SEULES ces fonctions ont le droit d'utiliser le prefixe alternc_ dans les
+classes
+- Les fonctions ne peuvent apparaitre que dans les classes d'AlternC, ayant
+pour nom m_
+- Chaque fonction est prototypée ci-dessous et son évènement est expliqué en
+détail
+
+
+
+alternc_del_domain($dom)
+ fonction appellée lorsqu'un domaine est effacé d'un compte AlternC.
+ $dom est le nom de domaine concerné.
+
+alternc_add_domain($dom)
+ fonction appellée lorsqu'un domaine est installé sur un compte AlternC.
+ $dom est le nom de domaine concerné.
+
+alternc_quota_check($id)
+ fonction appellée afin de recalculer le quota d'un membre pour le service correspondant.
+ $id est le numéro unique du membre concerné.
+
+alternc_add_member($id)
+ fonction appellée lorsqu'un compte membre est créé sur le serveur AlternC.
+ $id est le numéro unique du membre concerné, qui a déjà été créé dans les tables principales.
+
+alternc_del_member($id)
+ fonction appellée lorsqu'un compte membre est supprimé sur le serveur AlternC.
+ $id est le numéro unique du membre concerné, qui sera détruit après l'appel.
+
+alternc_add_mx_domain($dom)
+ fonction appellée lorsqu'un domaine déjà hébergé mais n'ayant pas le mx pointant vers nous voit son mx
+ pointer vers nous. Pour les classes sensible au mail, cela équivaut bien souvent à add_domain
+
+alternc_del_mx_domain($dom)
+ fonction appellée lorsqu'un domaine déjà hébergé et ayant son mx pointant vers nous voit son mx
+ nous quitter. Pour les classes sensible au mail, cela équivaut bien souvent à del_domain
+
+alternc_description()
+ retourne la chaine ou la liste de chaine de description du module, traduit par gettext.
+ permet de savoir à quoi sert un module ou les éléments d'un module.
diff --git a/README b/README
new file mode 100644
index 00000000..38749b14
--- /dev/null
+++ b/README
@@ -0,0 +1,42 @@
+AlternC: Architecture pour serveurs d'hébergement
+=================================================
+
+Introduction
+------------
+
+AlternC est un ensemble de logiciels d'hébergement facile à utiliser,
+facile à installer, basé uniquement sur des logiciels OpenSource,
+AlternC étant sous licence GPL.
+
+Ce logiciel contient un système d'installation et de configuration
+automatique, ainsi qu'un panneau de contrôle accessible par le web, pour
+la gestion des utilisateurs et des services web (domaines, mails,
+comptes ftp, statistiques ...)
+
+Techniquement, AlternC se base sur la distribution Debian GNU/Linux
+'Woody', et utilise d'autres logiciels tels Apache, Postfix, Mailman ...
+Il contient aussi une documentation d'API, permettant une
+personnalisation facile et rapide du bureau, le 'panneau de contrôle
+web' d'AlternC.
+
+La langue natale de ce projet est le Français. Cependant, le paquet
+debian contient le bureau en Français ET en Anglais. Une version
+Espagnole et Allemande est en cours de préparation. Les traductions dans
+d'autres langues auront lieu si vous nous y aidez. La documentation
+n'est actuellement disponible qu'en Français, mais une traduction
+multilingue devrait arriver un jour ...
+
+AlternC est développé par les administrateurs système de l'Autre Net,
+les membres de l'Autre Net, ainsi que d'autres structures / développeurs
+parmis lesquels Globenet.
+
+Installation
+------------
+
+Pour l'instant, AlternC doit être installé en package Debian. Ceci prend
+soin d'installer AlternC lui-même est toutes ses dépendances. Pour
+télécharger les packages Debian d'alternc, veuillez insérer les linges
+suivantes dans votre fichier /etc/apt/sources.list
+
+ deb http://debian.alternc.org debian/
+ deb-src http://debian.alternc.org debian/
diff --git a/TODO b/TODO
new file mode 100644
index 00000000..25b6e802
--- /dev/null
+++ b/TODO
@@ -0,0 +1,2 @@
+See http://dev.alternc.org/trac/alternc/roadmap to get up to date information
+about what's left to do for AlternC.
diff --git a/aide/bin/build.sh b/aide/bin/build.sh
new file mode 100755
index 00000000..5e9730e4
--- /dev/null
+++ b/aide/bin/build.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# $Id: build.sh,v 1.1.1.1 2003/03/26 17:41:29 root Exp $
+
+cd /data/bureau/admin/aide/
+# BUILD HTML
+rm -rf html
+mkdir html
+docbook2html --dsl /data/bureau/admin/aide/bin/frames.dsl -o html index.sgml
+rsync files/ html/files/ -a
+rsync inline/ html/ -a
+cd ..
+
+# Construction du fichier langue :
+# fr_FR :
+cd /data/bureau/admin/locale/fr_FR/LC_MESSAGES
+msgfmt -o alternc.mo alternc.po
+cd /data/bureau/admin/locale/en_US/LC_MESSAGES
+msgfmt -o alternc.mo alternc.po
+
diff --git a/aide/bin/frames.dsl b/aide/bin/frames.dsl
new file mode 100644
index 00000000..34de737f
--- /dev/null
+++ b/aide/bin/frames.dsl
@@ -0,0 +1,144 @@
+
+]>
+
+
+
+
+
+(define %stylesheet-version%
+ "DocBook HTML Frames Stylesheet version 2.0")
+
+
+(define %stylesheet% "docbook.css");
+
+
+
+(root
+ (make sequence
+ (process-children)
+ (with-mode manifest
+ (process-children))
+ (make-dhtml-toc)))
+
+
+
+(define (make-dhtml-toc)
+ (make entity
+ system-id: "toc.htm"
+ (make element gi: "HTML"
+ (make element gi: "HEAD"
+ (make element gi: "TITLE" (literal "DocBook TOC"))
+ ($standard-html-header$))
+ (make element gi: "BODY"
+ (with-mode dhtmltoc
+ (process-children))
+ )))
+ )
+
+
+
+
+
+
+
+(define (dhtml-toc-entry nd gilist)
+ (let*
+
+ (
+ (subdivnodes (node-list-filter-by-gi (children nd) gilist))
+ (subdivs (and (> (node-list-length subdivnodes) 0) (not (node-list=? nd (sgml-root-element))) ) )
+
+ )
+
+
+ (if (node-list=? nd (sgml-root-element))
+ ; SEQUENCE 1 : ROOT element
+ (make sequence
+ (make element gi: "NOBR"
+ (make element gi: "A"
+ attributes: (list (list "HREF" (href-to (current-node)))
+ (list "TARGET" "right")
+ )
+ (element-title-sosofo (current-node))
+ )
+ (make empty-element gi: "BR")
+ (make element gi: "UL"
+ attributes: (list (list "CLASS" "TOC"))
+ (process-children))
+ )
+ )
+ ; SEQUENCE 2 : Children elements
+ (make sequence
+ (make empty-element gi: "LI")
+ (make element gi: "NOBR"
+ (make element gi: "A"
+ attributes: (list (list "HREF" (href-to (current-node)))
+ (list "TARGET" "right")
+ )
+ (element-title-sosofo (current-node))
+ ))
+ ; DIV ENFANT :
+ (make element gi: "UL"
+ attributes: (list (list "CLASS" "TOC2"))
+ (process-children))
+
+ ) ; sequence
+ ) ; if node-list ...
+
+ ))
+
+
+
+
+
+
+
+
+
+
+(mode dhtmltoc
+ (default (empty-sosofo))
+
+ (element set (dhtml-toc-entry (current-node)
+ (list (normalize "book"))))
+
+ (element book (dhtml-toc-entry (current-node)
+ (list (normalize "part")
+ (normalize "preface")
+ (normalize "chapter")
+ (normalize "appendix")
+ (normalize "reference"))))
+
+ (element preface (dhtml-toc-entry (current-node)
+ (list (normalize "sect1"))))
+
+ (element part (dhtml-toc-entry (current-node)
+ (list (normalize "preface")
+ (normalize "chapter")
+ (normalize "appendix")
+ (normalize "reference"))))
+
+ (element chapter (dhtml-toc-entry (current-node)
+ (list (normalize "sect1"))))
+
+ (element appendix (dhtml-toc-entry (current-node)
+ (list (normalize "sect1"))))
+
+ (element sect1 (dhtml-toc-entry (current-node) '()))
+
+ (element reference (dhtml-toc-entry (current-node)
+ (list (normalize "refentry"))))
+
+ (element refentry (dhtml-toc-entry (current-node) '()))
+
+ )
+
+
+
+
+
+
+
+
+
diff --git a/aide/brouteur.sgml b/aide/brouteur.sgml
new file mode 100644
index 00000000..ecccc5e7
--- /dev/null
+++ b/aide/brouteur.sgml
@@ -0,0 +1,65 @@
+Le gestionnaire de fichiers
+
+Introduction / Description
+
+
+Sur AlternC, vous disposez d'un espace disque personnel sur lequel vous pouvez installer vos
+domaines, sous-domaines, comptes ftp, statistiques web etc. Cet espace est en fait un dossier
+sur le serveur, dans lequel vous pouvez stocker des fichiers, mais aussi des sous-dossiers,
+afin d'organiser au mieux votre espace disponible.
+
+
+Afin de pouvoir modifier facilement vos fichiers, vous pouvez utiliser le FTP, en créant un
+compte sur votre bureau virtuel. Plus d'info sur le FTP dans la section FTP de l'Aide..
+Vous pouvez aussi utiliser le gestionnaire de fichier pour gérer vos fichiers directement depuis le
+bureau virtuel. Pour cela, dans le menu principal, cliquez sur "Gestionnaire de fichiers"
+
+
+
+Le gestionnaire de fichier permet de gérer l'ensemble de vos fichiers, à savoir :
+
+ Créer Supprimer et Renommer des fichiers
+ Créer Supprimer et Renommer des dossiers / Sous-dossiers
+ Editer les fichiers présents dans le compte (fichiers textes, html ...)
+ Visualiser les fichiers du compte (html, images, document ...)
+ Télécharger l'ensemble de votre compte dans un fichier compressé (plusieurs formats supportés)
+ Accéder aux autres fonctions du bureau, tels la création de comptes FTP ou la protection de
+ dossier par nom d'utilisateur et mot de passe.
+
+
+
+
+
+
+Paramètres du gestionnaire de fichiers
+
+
+Vous pouvez régler les préférences du gestionnaire de fichier en cliquant sur "Régler mes préférences"
+en bas du gestionnaire.
+>
+Les éléments ci-dessous peuvent être réglés :
+
+Type d'affichage du gestionnaire (1 colonne de fichiers, 2 colonnes, 3 colonnes)
+L'affichage ou pas des icones des fichiers
+L'affichage ou pas des types des fichiers (image jpeg, page html, ...)
+Le format de compression utilisé pour téléchargé tout le site au format compressé. (zip, tgz, tar.z, tar.bz2 supportés)
+La largeur et la hauteur de la fenêtre de l'éditeur de fichiers.
+Si vous préférer aller à l'éditeur de fichiers ou au gestionnaire après la création d'un nouveau fichier.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/aide/domain.sgml b/aide/domain.sgml
new file mode 100644
index 00000000..39d0eb93
--- /dev/null
+++ b/aide/domain.sgml
@@ -0,0 +1,69 @@
+Les Noms de Domaines
+
+Introduction / Installation d'un nouveau domaine
+
+
+AlternC propose de l'hébergement de noms de domaine personnels sur votre compte.
+Un nom de domaine est toujours de la forme quelquechose.tld. Exemple : virtuel.org, masociete.com etc.
+
+
+Un nom de domaine, pour être hébergé chez un hébergeur de site, doit être proprement installé. Pour cela, il faut procéder par étape :
+
+ Acheter le nom de domaine voulu chez un registrar.
+ Exemple de registrar
+ On peut acheter par exemple un domaine en .fr auprès d'un partenaire de l'AFNIC,
+ ou un .com .org .net auprès de Gandi
+
+
+ Lors de l'achat du nom de domaine, préciser le nom des serveurs DNS d'AlternC au registrar.
+ Exemple de DNS
+ Chaque hébergeur dispose d'au moins 2 serveurs DNS. Votre hébergeur vous donnera les noms et adresse Internet des siens.
+ Exemple : ns1.alternc.net (80.67.172.5) et ns2.alternc.net (80.67.172.9)
+
+ Installer le domaine sur AlternC.
+ Une fois acheté et ses DNS corrects, le domaine peut être installé sur
+ AlternC. Pour cela, cliquez sur le lien "Ajouter un domaine" dans le bureau virtuel.
+
+
+
+
+
+
+
+Configuration d'un domaine / sous-domaine
+
+
+Lorsque vous avez installé un domaine sur AlternC, vous pouvez choisir dans quel dossier
+de votre espace disque vous souhaitez connecter ce domaine, ou tout sous-domaine associé.
+Pour cela, Cliquez sur le domaine dans le menu de gauche. Cela affiche l'ensemble des
+sous-domaines installé. Vous pouvez ensuite modifier l'emplacement de ces sous-domaines,
+ou en créer de nouveaux.
+
+
+
+Par défaut, les sous-domaines suivants sont installés : (exemple pour virtuel.org)
+
+ virtuel.org Ce sous-domaine est en fait le domaine
+ lui-même. Vous pouvez choisir comment vous voulez rediriger le domaine lui-même.
+ Le plus simple est de le rediriger vers l'URL http://www.virtuel.org ou vers
+ le même dossier que www.virtuel.org
+ www.virtuel.org Ce sosu-domaine correspond à l'adresse
+ qu'utiliseront la plupart des internautes, l'adresse www de votre site web. Vous pouvez donc
+ l'héberger sur un dossier local. Par défaut, c'est la racine (nommé /) de votre espace
+ disque qui recoit ce domaine.
+ mail.virtuel.org Ce sous-domaine particulier recoit le webmail
+ de votre domaine. Vous pouvez donc accéder à votre mail par l'adresse http://mail.virtuel.org
+ Si vous souhaitez connecter le webmail sur un autre nom, détruisez ce sous-domaine et recréez-en un
+ en lui affectant le type "webmail".
+
+ admin.virtuel.org Ce sous-domaine particulier recoit l'interface
+ du bureau virtuel. Ainsi, vous pouvez administrer votre domaine directement depuis le domaine lui-même.
+ Si vous souhaitez connecter le bureau d'administration sur un autre nom, détruisez ce sous-domaine et recréez-en un
+ en lui affectant le type "bureau virtuel".
+
+
+
+
+
+
+
diff --git a/aide/ftp.sgml b/aide/ftp.sgml
new file mode 100644
index 00000000..33d67887
--- /dev/null
+++ b/aide/ftp.sgml
@@ -0,0 +1,37 @@
+Comptes FTP
+
+ Introduction
+
+
+Le FTP est un moyen pratique de pouvoir échanger des fichiers entre un serveur et une
+machine connectée à Internet. Pour cela, il faut disposer d'un compte FTP sur le serveur,
+constitué d'un nom d'utilisateur et d'un mot de passe.
+
+
+
+Sur AlternC, vous pouvez créer des comptes FTP, en précisant le nom d'utilisateur, le mot de passe,
+et le dossier dans lequel sera connecté ce compte FTP. Ainsi, chaque compte pourra accéder à son dossier
+et ses sous-dossiers, en lecture et en écriture.
+
+
+
+Par exemple, si vous disposez des dossiers suivants dans votre compte :
+>
+Vous pouvez créer, par exemple, un compte ftp pour philippe, que vous hébergez sur
+http://virtuel.org/philippe/
+Pour cela, il suffit de cliquer sur "Comptes FTP" puis "Créer un compte FTP" et enfin,
+entrez les paramètres de connexion, à savoir, un nom d'utilisateur, un mot de passe, et un répertoire.
+>
+
+
+Philippe peut donc modifier les fichiers de son dossier en utilisant les paramètres suivants :
+
+Serveur ftp : "virtuel.org"
+Nom d'utilisateur : "virtuel.org_philippe"
+Mot de passe : "philpas"
+
+
+
+
+
+
diff --git a/aide/index.sgml b/aide/index.sgml
new file mode 100644
index 00000000..ee821a15
--- /dev/null
+++ b/aide/index.sgml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+]>
+
+
+AlternC, Documentation Utilisateur
+
+
+
+ AlternC Development Team
+ tech@alternc.org
+
+
+
+2002-06-11
+0.1
+
+
+Bienvenue dans l'aide en ligne d'AlternC.
+
+
+
+AlternC
+Hébergement
+
+
+
+&chap1;
+
+&hlpdomain;
+&hlpftp;
+&hlpbrouteur;
+&hlpstats;
+
+
diff --git a/aide/sommaire.sgml b/aide/sommaire.sgml
new file mode 100644
index 00000000..ab446e5a
--- /dev/null
+++ b/aide/sommaire.sgml
@@ -0,0 +1,24 @@
+Introduction
+
+ Introduction à AlternC
+
+AlternC est un logiciel de gestion d'hébergeur de sites Internet, d'emails, de
+noms de domaines et de tout service web disponible pour le public. Ce
+logiciel utilise des programmes comme apache pour serveur web ou postfix
+pour le courrier électronique. Il fournit une suite logicielle écrite en php4
+qui permet de gérer intégralement un serveur depuis une interface web,
+et permet d'allouer à chaque utilisateur un certain nombre de ressources
+sur le serveur.
+
+
+
+Fonctionnement de l'aide en ligne
+
+Cette aide en ligne est accessible par le lien "aide en ligne" du bureau virtuel.
+vous pouvez aussi cliquer sur les "?" situés dans le bureau virtuel pour avoir
+une aide contextuelle sur la page en cours.
+
+
+
+
+
diff --git a/aide/stats.sgml b/aide/stats.sgml
new file mode 100644
index 00000000..5a8bc3f9
--- /dev/null
+++ b/aide/stats.sgml
@@ -0,0 +1,37 @@
+Les statistiques Web.
+
+Introduction / Mode d'emploi
+
+
+Sur AlternC, vous pouvez héberger des domaines / sous-domaines, sur lesquels vous hébergez un ou
+plusieurs sites web. Maintenant que votre site est en marche, vous souhaitez savoir qui va voir votre
+site, d'où ils viennent, quelles pages sont les plus vues etc. Pour cela, vous pouvez utiliser l'outil
+de génération de statistiques web.
+
+
+Ce menu vous permet de demander la génération quotidienne de pages html dans un dossier de votre espace disque.
+Pour créer un jeu de statistiques associé à votre site web, cliquez sur "Statistiques web" puis sur
+"Créer un jeu de statistiques".
+>
+Ensuite, choisissez dans la liste le nom de domaine dont vous souhaitez obtenir des statistiques,
+Choisissez la langue dans laquelle vous souhaitez que ces statistiques soit générées.
+Enfin, Entrez le nom du dossier dans lequel vous voulez voir apparaitre les pages HTML de statistiques.
+
+
+Notez qu'il faut attendre le lendemain pour voir apparaitre comme par magie les premiers
+fichiers de statistique dans le dossier désigné. En effet, ceux-ci sont générés tous les matins.
+
+
+Dès le lendemain, vous pourrez aller sur la page web du dossier contenant vos statistiques pour y retrouver
+les pages générées:
+>
+Une page index, contenant un résumé des visites par mois, ainsi qu'un graphique le représentant,
+ainsi qu'une page par mois, détaillant les visites, les mots-clés utilisés sur les moteurs de recherche,
+les liens vers le site etc.
+>
+
+
+
+
+
+
diff --git a/aide/test.sgml b/aide/test.sgml
new file mode 100644
index 00000000..46ee8c3d
--- /dev/null
+++ b/aide/test.sgml
@@ -0,0 +1,16 @@
+Coucou
+
+ le Coucou premier
+
+Juste histoire de tester les manipulations à effectuer pour créer un fichier d'aide
+
+
+
+le coucou en second
+
+A voir donc
+
+
+
+
+
diff --git a/bureau/admin/adm_add.php b/bureau/admin/adm_add.php
new file mode 100644
index 00000000..9e836ab5
--- /dev/null
+++ b/bureau/admin/adm_add.php
@@ -0,0 +1,112 @@
+enabled) {
+ __("This page is restricted to authorized staff");
+ exit();
+}
+
+if (!isset($canpass)) $canpass=1;
+
+include("head.php");
+
+?>
+
+
+
+$error