diff --git a/.gitattributes b/.gitattributes index 2af85879..845b79f7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,5 @@ * text=auto !eol +/.svnignore -text /COPYING -text /README.en -text /README.fr -text @@ -73,7 +74,9 @@ 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.jpg -text bureau/admin/alternc.png -text +bureau/admin/alternc3.png -text bureau/admin/bro_editor.php -text bureau/admin/bro_main.php -text bureau/admin/bro_pref.php -text @@ -91,6 +94,7 @@ 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/foot.php -text bureau/admin/ftp_add.php -text bureau/admin/ftp_del.php -text bureau/admin/ftp_doadd.php -text @@ -98,6 +102,8 @@ 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/hippo_bleue.gif -text +bureau/admin/hoster.png -text bureau/admin/hta_add.php -text bureau/admin/hta_adduser.php -text bureau/admin/hta_del.php -text @@ -142,10 +148,58 @@ 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/images/admin.png -text +bureau/admin/images/bgborder.gif -text +bureau/admin/images/blank.gif -text +bureau/admin/images/config.png -text +bureau/admin/images/delete.png -text +bureau/admin/images/dom.png -text +bureau/admin/images/edit.png -text +bureau/admin/images/exit.png -text +bureau/admin/images/folder.png -text +bureau/admin/images/folderhta.png -text +bureau/admin/images/ftp.png -text +bureau/admin/images/help.png -text +bureau/admin/images/home.png -text +bureau/admin/images/lang.png -text +bureau/admin/images/mail.png -text +bureau/admin/images/minus.png -text +bureau/admin/images/mysql.png -text +bureau/admin/images/new.png -text +bureau/admin/images/orig/admin.png -text +bureau/admin/images/orig/bgborder.gif -text +bureau/admin/images/orig/blank.gif -text +bureau/admin/images/orig/config.png -text +bureau/admin/images/orig/delete.png -text +bureau/admin/images/orig/dom.png -text +bureau/admin/images/orig/edit.png -text +bureau/admin/images/orig/exit.png -text +bureau/admin/images/orig/folder.png -text +bureau/admin/images/orig/folderhta.png -text +bureau/admin/images/orig/ftp.png -text +bureau/admin/images/orig/help.png -text +bureau/admin/images/orig/home.png -text +bureau/admin/images/orig/mail.png -text +bureau/admin/images/orig/mailman.png -text +bureau/admin/images/orig/minus.png -text +bureau/admin/images/orig/mysql.png -text +bureau/admin/images/orig/new.png -text +bureau/admin/images/orig/password.png -text +bureau/admin/images/orig/plus.png -text +bureau/admin/images/orig/quota.png -text +bureau/admin/images/orig/stat.png -text +bureau/admin/images/password.png -text +bureau/admin/images/plus.png -text +bureau/admin/images/quota.png -text +bureau/admin/images/stat.png -text bureau/admin/index.php -text bureau/admin/js/alternc.js -text +bureau/admin/js/prototype.js -text +bureau/admin/js/rico.js -text bureau/admin/js/wz_dragdrop.js -text bureau/admin/login.php -text +bureau/admin/logo.png -text +bureau/admin/logo2.png -text bureau/admin/mail_add.php -text bureau/admin/mail_del.php -text bureau/admin/mail_doadd.php -text @@ -175,8 +229,11 @@ bureau/admin/menu_sql.php -text bureau/admin/menu_sta2.php -text bureau/admin/menu_web.php -text bureau/admin/mxlist.php -text +bureau/admin/phpinfo.php -text +bureau/admin/powered2.jpg -text bureau/admin/quota_show.php -text bureau/admin/quota_show_all.php -text +bureau/admin/quotas_users.php -text bureau/admin/sql_add.php -text bureau/admin/sql_addmain.php -text bureau/admin/sql_admin.php -text @@ -204,8 +261,10 @@ bureau/admin/sta2_edit_raw.php -text bureau/admin/sta2_list.php -text bureau/admin/stats_members.php -text bureau/admin/styles/base.css -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 @@ -213,6 +272,7 @@ 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/functions2.php -text bureau/class/lang_env.php -text bureau/class/local.php -text bureau/class/m_admin.php -text @@ -245,6 +305,7 @@ bureau/locales/fr_FR/LC_MESSAGES/messages.po -text bureau/locales/manual.pot -text bureau/locales/messages.pot -text bureau/locales/pt_BR/LC_MESSAGES/messages.po -text +debian/.svnignore -text debian/NEWS -text debian/README.Debian -text debian/alternc-slave.config -text @@ -337,6 +398,7 @@ install/upgrades/README -text man/alternc-admintools.8 -text man/alternc-admintools.fr.8 -text man/alternc.install.8 -text +man/alternc.install.fr.8 -text man/get_account_by_domain.8 -text man/get_domains_by_account.8 -text man/top_ftp_users.8 -text @@ -346,10 +408,13 @@ man/top_http_users.fr.8 -text man/top_mysql_users.8 -text man/top_mysql_users.fr.8 -text po/alternc-admintools.pot -text +po/fr/LC_MESSAGES/.svnignore -text po/fr/LC_MESSAGES/alternc-admintools.po -text /quota_delete -text /quota_init -text src/Makefile -text +src/alternc-check -text +src/alternc-passwd -text src/alternc_reload -text src/basedir_prot.sh -text src/du.pl -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..ca46492a --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +/build-stamp +debian/.svnignore +debian/alternc +debian/alternc-slave +debian/alternc-slave.debhelper.log +debian/alternc-slave.postrm.debhelper +debian/alternc-slave.substvars +debian/alternc.debhelper.log +debian/alternc.postrm.debhelper +debian/alternc.substvars +debian/files +po/fr/LC_MESSAGES/alternc-admintools.mo diff --git a/.svnignore b/.svnignore new file mode 100644 index 00000000..cca789ea --- /dev/null +++ b/.svnignore @@ -0,0 +1 @@ +build-stamp \ No newline at end of file diff --git a/bureau/admin/adm_add.php b/bureau/admin/adm_add.php index 4d39145f..5852707e 100644 --- a/bureau/admin/adm_add.php +++ b/bureau/admin/adm_add.php @@ -30,19 +30,19 @@ ---------------------------------------------------------------------- */ require_once("../class/config.php"); +include_once("head.php"); if (!$admin->enabled) { __("This page is restricted to authorized staff"); exit(); } -if (!isset($canpass)) $canpass=1; - -include("head.php"); +$fields = array ( + "canpass" => array ("request", "integer", 1), +); +getFields($fields); ?> - -