From 0f03969b8a859136e3ad953f257fd82c9b460c88 Mon Sep 17 00:00:00 2001 From: Nahuel Angelinetti Date: Tue, 8 Sep 2009 05:29:38 +0000 Subject: [PATCH] Merging blue desktop to trunk. --- .gitattributes | 65 + .gitignore | 12 + .svnignore | 1 + bureau/admin/adm_add.php | 32 +- bureau/admin/adm_deactivate.php | 20 +- bureau/admin/adm_defquotas.php | 61 +- bureau/admin/adm_doadd.php | 14 +- bureau/admin/adm_domlock.php | 6 + bureau/admin/adm_doms.php | 21 +- bureau/admin/adm_donosu.php | 5 + bureau/admin/adm_dosu.php | 5 + bureau/admin/adm_edit.php | 32 +- bureau/admin/adm_list.php | 37 +- bureau/admin/adm_login.php | 64 +- bureau/admin/adm_mxaccount.php | 15 +- bureau/admin/adm_panel.php | 29 +- bureau/admin/adm_quotadoedit.php | 7 +- bureau/admin/adm_quotaedit.php | 22 +- bureau/admin/adm_slaveaccount.php | 20 +- bureau/admin/adm_slaveip.php | 19 +- bureau/admin/adm_tld.php | 13 +- bureau/admin/adm_tldadd.php | 9 +- bureau/admin/adm_tldedit.php | 14 +- bureau/admin/adm_variables.php | 12 +- bureau/admin/aide/help.php | 27 +- bureau/admin/alternc.jpg | Bin 0 -> 2399 bytes bureau/admin/alternc3.png | Bin 0 -> 3125 bytes bureau/admin/bro_editor.php | 23 +- bureau/admin/bro_main.php | 72 +- bureau/admin/bro_pref.php | 24 +- bureau/admin/browseforfolder.php | 6 +- bureau/admin/direct.php | 3 +- bureau/admin/dom_add.php | 26 +- bureau/admin/dom_doadd.php | 15 +- bureau/admin/dom_dodel.php | 21 +- bureau/admin/dom_edit.php | 37 +- bureau/admin/dom_editdns.php | 18 +- bureau/admin/dom_subdel.php | 16 +- bureau/admin/dom_subdodel.php | 20 +- bureau/admin/dom_subdoedit.php | 6 +- bureau/admin/dom_subedit.php | 26 +- bureau/admin/domlist.php | 4 +- bureau/admin/foot.php | 7 + bureau/admin/ftp_add.php | 22 +- bureau/admin/ftp_doedit.php | 10 +- bureau/admin/ftp_edit.php | 24 +- bureau/admin/ftp_list.php | 55 +- bureau/admin/head.php | 14 +- bureau/admin/hippo_bleue.gif | Bin 0 -> 43 bytes bureau/admin/hoster.png | Bin 0 -> 6047 bytes bureau/admin/hta_add.php | 21 +- bureau/admin/hta_adduser.php | 44 +- bureau/admin/hta_doedituser.php | 16 +- bureau/admin/hta_edit.php | 23 +- bureau/admin/hta_edituser.php | 15 +- bureau/admin/hta_list.php | 16 +- bureau/admin/images/admin.png | Bin 0 -> 734 bytes bureau/admin/images/bgborder.gif | Bin 0 -> 54 bytes bureau/admin/images/blank.gif | Bin 0 -> 49 bytes bureau/admin/images/config.png | Bin 0 -> 646 bytes bureau/admin/images/delete.png | Bin 0 -> 825 bytes bureau/admin/images/dom.png | Bin 0 -> 831 bytes bureau/admin/images/edit.png | Bin 0 -> 741 bytes bureau/admin/images/exit.png | Bin 0 -> 776 bytes bureau/admin/images/folder.png | Bin 0 -> 739 bytes bureau/admin/images/folderhta.png | Bin 0 -> 753 bytes bureau/admin/images/ftp.png | Bin 0 -> 753 bytes bureau/admin/images/help.png | Bin 0 -> 801 bytes bureau/admin/images/home.png | Bin 0 -> 715 bytes bureau/admin/images/lang.png | Bin 0 -> 852 bytes bureau/admin/images/mail.png | Bin 0 -> 743 bytes bureau/admin/images/minus.png | Bin 0 -> 98 bytes bureau/admin/images/mysql.png | Bin 0 -> 564 bytes bureau/admin/images/new.png | Bin 0 -> 390 bytes bureau/admin/images/orig/admin.png | Bin 0 -> 703 bytes bureau/admin/images/orig/bgborder.gif | Bin 0 -> 54 bytes bureau/admin/images/orig/blank.gif | Bin 0 -> 49 bytes bureau/admin/images/orig/config.png | Bin 0 -> 753 bytes bureau/admin/images/orig/delete.png | Bin 0 -> 892 bytes bureau/admin/images/orig/dom.png | Bin 0 -> 925 bytes bureau/admin/images/orig/edit.png | Bin 0 -> 946 bytes bureau/admin/images/orig/exit.png | Bin 0 -> 882 bytes bureau/admin/images/orig/folder.png | Bin 0 -> 1080 bytes bureau/admin/images/orig/folderhta.png | Bin 0 -> 1080 bytes bureau/admin/images/orig/ftp.png | Bin 0 -> 837 bytes bureau/admin/images/orig/help.png | Bin 0 -> 997 bytes bureau/admin/images/orig/home.png | Bin 0 -> 713 bytes bureau/admin/images/orig/mail.png | Bin 0 -> 1001 bytes bureau/admin/images/orig/mailman.png | Bin 0 -> 902 bytes bureau/admin/images/orig/minus.png | Bin 0 -> 98 bytes bureau/admin/images/orig/mysql.png | Bin 0 -> 683 bytes bureau/admin/images/orig/new.png | Bin 0 -> 483 bytes bureau/admin/images/orig/password.png | Bin 0 -> 693 bytes bureau/admin/images/orig/plus.png | Bin 0 -> 185 bytes bureau/admin/images/orig/quota.png | Bin 0 -> 728 bytes bureau/admin/images/orig/stat.png | Bin 0 -> 624 bytes bureau/admin/images/password.png | Bin 0 -> 612 bytes bureau/admin/images/plus.png | Bin 0 -> 185 bytes bureau/admin/images/quota.png | Bin 0 -> 556 bytes bureau/admin/images/stat.png | Bin 0 -> 499 bytes bureau/admin/index.php | 110 +- bureau/admin/js/alternc.js | 87 +- bureau/admin/js/prototype.js | 1781 +++++++++++ bureau/admin/js/rico.js | 2818 ++++++++++++++++++ bureau/admin/login.php | 15 +- bureau/admin/logo.png | Bin 0 -> 9529 bytes bureau/admin/logo2.png | Bin 0 -> 5310 bytes bureau/admin/mail_add.php | 24 +- bureau/admin/mail_del.php | 35 +- bureau/admin/mail_doadd.php | 3 +- bureau/admin/mail_dodel.php | 22 +- bureau/admin/mail_edit.php | 29 +- bureau/admin/mail_list.php | 38 +- bureau/admin/main.php | 184 +- bureau/admin/mem_admin.php | 16 +- bureau/admin/mem_chgmail.php | 16 +- bureau/admin/mem_cm.php | 10 +- bureau/admin/mem_cm2.php | 15 +- bureau/admin/mem_logout.php | 9 +- bureau/admin/mem_param.php | 79 +- bureau/admin/mem_passwd.php | 11 +- bureau/admin/menu.php | 24 +- bureau/admin/menu_adm.php | 20 +- bureau/admin/menu_aide.php | 21 +- bureau/admin/menu_brouteur.php | 5 +- bureau/admin/menu_dom.php | 41 +- bureau/admin/menu_ftp.php | 22 +- bureau/admin/menu_lang.php | 16 +- bureau/admin/menu_mail.php | 37 +- bureau/admin/menu_mem.php | 9 +- bureau/admin/menu_quota.php | 18 +- bureau/admin/menu_sql.php | 21 +- bureau/admin/menu_sta2.php | 15 +- bureau/admin/menu_web.php | 4 +- bureau/admin/phpinfo.php | 5 + bureau/admin/powered2.jpg | Bin 0 -> 2076 bytes bureau/admin/quota_show.php | 22 +- bureau/admin/quota_show_all.php | 18 +- bureau/admin/quotas_users.php | 528 ++++ bureau/admin/sql_add.php | 14 +- bureau/admin/sql_admin.php | 19 +- bureau/admin/sql_bck.php | 16 +- bureau/admin/sql_del.php | 7 +- bureau/admin/sql_dorestore.php | 8 +- bureau/admin/sql_getparam.php | 28 +- bureau/admin/sql_list.php | 23 +- bureau/admin/sql_passchg.php | 8 +- bureau/admin/sql_restore.php | 40 +- bureau/admin/sql_users_add.php | 16 +- bureau/admin/sql_users_del.php | 8 +- bureau/admin/sql_users_list.php | 52 +- bureau/admin/sql_users_rights.php | 43 +- bureau/admin/sta2_add_raw.php | 11 +- bureau/admin/sta2_edit_raw.php | 12 +- bureau/admin/sta2_list.php | 15 +- bureau/admin/styles/style.css | 291 ++ bureau/admin/webmail/.htaccess | 0 bureau/admin/webmail/index.php | 3 +- bureau/class/config.php | 2 + bureau/class/functions.php | 1 + bureau/class/functions2.php | 69 + bureau/class/m_admin.php | 5 +- bureau/class/m_bro.php | 42 +- bureau/class/m_dom.php | 1 - bureau/class/m_mail.php | 140 +- bureau/class/m_mem.php | 4 +- bureau/class/m_mysql.php | 8 +- bureau/class/m_quota.php | 73 +- bureau/locales/README | 11 +- bureau/locales/de_DE/LC_MESSAGES/messages.po | 742 +++-- bureau/locales/en_US/LC_MESSAGES/messages.po | 809 +++-- bureau/locales/es_ES/LC_MESSAGES/messages.po | 760 +++-- bureau/locales/es_VE/LC_MESSAGES/messages.po | 756 +++-- bureau/locales/fr_FR/LC_MESSAGES/manual.po | 102 +- bureau/locales/fr_FR/LC_MESSAGES/messages.po | 818 +++-- bureau/locales/messages.pot | 740 +++-- bureau/locales/pt_BR/LC_MESSAGES/messages.po | 759 +++-- debian/.svnignore | 10 + debian/changelog | 9 +- etc/alternc/menulist.txt | 4 +- install/upgrades/0.9.3.sql | 17 +- install/upgrades/0.9.4.sql | 4 +- install/upgrades/0.9.5.sql | 10 +- install/upgrades/0.9.6.sql | 2 +- man/alternc.install.8 | 10 + man/alternc.install.fr.8 | 21 + po/fr/LC_MESSAGES/.svnignore | 1 + src/alternc-check | 212 ++ src/alternc-passwd | 55 + 189 files changed, 11060 insertions(+), 3025 deletions(-) create mode 100644 .gitignore create mode 100644 .svnignore create mode 100644 bureau/admin/alternc.jpg create mode 100644 bureau/admin/alternc3.png create mode 100644 bureau/admin/foot.php create mode 100644 bureau/admin/hippo_bleue.gif create mode 100644 bureau/admin/hoster.png create mode 100755 bureau/admin/images/admin.png create mode 100755 bureau/admin/images/bgborder.gif create mode 100755 bureau/admin/images/blank.gif create mode 100755 bureau/admin/images/config.png create mode 100755 bureau/admin/images/delete.png create mode 100755 bureau/admin/images/dom.png create mode 100755 bureau/admin/images/edit.png create mode 100755 bureau/admin/images/exit.png create mode 100755 bureau/admin/images/folder.png create mode 100755 bureau/admin/images/folderhta.png create mode 100755 bureau/admin/images/ftp.png create mode 100755 bureau/admin/images/help.png create mode 100755 bureau/admin/images/home.png create mode 100644 bureau/admin/images/lang.png create mode 100755 bureau/admin/images/mail.png create mode 100755 bureau/admin/images/minus.png create mode 100755 bureau/admin/images/mysql.png create mode 100755 bureau/admin/images/new.png create mode 100755 bureau/admin/images/orig/admin.png create mode 100755 bureau/admin/images/orig/bgborder.gif create mode 100755 bureau/admin/images/orig/blank.gif create mode 100755 bureau/admin/images/orig/config.png create mode 100755 bureau/admin/images/orig/delete.png create mode 100755 bureau/admin/images/orig/dom.png create mode 100755 bureau/admin/images/orig/edit.png create mode 100755 bureau/admin/images/orig/exit.png create mode 100755 bureau/admin/images/orig/folder.png create mode 100755 bureau/admin/images/orig/folderhta.png create mode 100755 bureau/admin/images/orig/ftp.png create mode 100755 bureau/admin/images/orig/help.png create mode 100755 bureau/admin/images/orig/home.png create mode 100755 bureau/admin/images/orig/mail.png create mode 100755 bureau/admin/images/orig/mailman.png create mode 100755 bureau/admin/images/orig/minus.png create mode 100755 bureau/admin/images/orig/mysql.png create mode 100755 bureau/admin/images/orig/new.png create mode 100755 bureau/admin/images/orig/password.png create mode 100755 bureau/admin/images/orig/plus.png create mode 100755 bureau/admin/images/orig/quota.png create mode 100755 bureau/admin/images/orig/stat.png create mode 100755 bureau/admin/images/password.png create mode 100755 bureau/admin/images/plus.png create mode 100755 bureau/admin/images/quota.png create mode 100755 bureau/admin/images/stat.png create mode 100644 bureau/admin/js/prototype.js create mode 100644 bureau/admin/js/rico.js create mode 100644 bureau/admin/logo.png create mode 100644 bureau/admin/logo2.png create mode 100644 bureau/admin/phpinfo.php create mode 100644 bureau/admin/powered2.jpg create mode 100644 bureau/admin/quotas_users.php create mode 100644 bureau/admin/styles/style.css create mode 100644 bureau/admin/webmail/.htaccess create mode 100644 bureau/class/functions2.php create mode 100644 debian/.svnignore create mode 100644 man/alternc.install.fr.8 create mode 100644 po/fr/LC_MESSAGES/.svnignore create mode 100755 src/alternc-check create mode 100755 src/alternc-passwd 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); ?> - -

+ + -