tagging 1.0 (for good)
|
@ -475,6 +475,491 @@ src/slave_dns -text
|
|||
src/spoolsize.php -text
|
||||
src/sqlbackup.sh -text
|
||||
src/update_domains.sh -text
|
||||
stable-1.0/.svnignore -text
|
||||
stable-1.0/COPYING -text
|
||||
stable-1.0/README.en -text
|
||||
stable-1.0/README.fr -text
|
||||
stable-1.0/aide/bin/build.sh -text
|
||||
stable-1.0/aide/bin/frames.dsl -text
|
||||
stable-1.0/aide/brouteur.sgml -text
|
||||
stable-1.0/aide/domain.sgml -text
|
||||
stable-1.0/aide/ftp.sgml -text
|
||||
stable-1.0/aide/index.sgml -text
|
||||
stable-1.0/aide/sommaire.sgml -text
|
||||
stable-1.0/aide/stats.sgml -text
|
||||
stable-1.0/aide/test.sgml -text
|
||||
stable-1.0/bureau/admin/adm_add.php -text
|
||||
stable-1.0/bureau/admin/adm_cancel.php -text
|
||||
stable-1.0/bureau/admin/adm_deactivate.php -text
|
||||
stable-1.0/bureau/admin/adm_defquotas.php -text
|
||||
stable-1.0/bureau/admin/adm_del.php -text
|
||||
stable-1.0/bureau/admin/adm_dnsweberror.php -text
|
||||
stable-1.0/bureau/admin/adm_doadd.php -text
|
||||
stable-1.0/bureau/admin/adm_dodefquotas.php -text
|
||||
stable-1.0/bureau/admin/adm_dodel.php -text
|
||||
stable-1.0/bureau/admin/adm_doedit.php -text
|
||||
stable-1.0/bureau/admin/adm_domlock.php -text
|
||||
stable-1.0/bureau/admin/adm_doms.php -text
|
||||
stable-1.0/bureau/admin/adm_domstype.php -text
|
||||
stable-1.0/bureau/admin/adm_domstypedoedit.php -text
|
||||
stable-1.0/bureau/admin/adm_domstypeedit.php -text
|
||||
stable-1.0/bureau/admin/adm_domstyperegenerate.php -text
|
||||
stable-1.0/bureau/admin/adm_donosu.php -text
|
||||
stable-1.0/bureau/admin/adm_dorenew.php -text
|
||||
stable-1.0/bureau/admin/adm_dosu.php -text
|
||||
stable-1.0/bureau/admin/adm_edit.php -text
|
||||
stable-1.0/bureau/admin/adm_list.php -text
|
||||
stable-1.0/bureau/admin/adm_login.php -text
|
||||
stable-1.0/bureau/admin/adm_mxaccount.php -text
|
||||
stable-1.0/bureau/admin/adm_panel.php -text
|
||||
stable-1.0/bureau/admin/adm_passpolicy.php -text
|
||||
stable-1.0/bureau/admin/adm_quotadoedit.php -text
|
||||
stable-1.0/bureau/admin/adm_quotaedit.php -text
|
||||
stable-1.0/bureau/admin/adm_slaveaccount.php -text
|
||||
stable-1.0/bureau/admin/adm_slaveip.php -text
|
||||
stable-1.0/bureau/admin/adm_tld.php -text
|
||||
stable-1.0/bureau/admin/adm_tldadd.php -text
|
||||
stable-1.0/bureau/admin/adm_tlddoadd.php -text
|
||||
stable-1.0/bureau/admin/adm_tlddoedit.php -text
|
||||
stable-1.0/bureau/admin/adm_tldedit.php -text
|
||||
stable-1.0/bureau/admin/adm_variables.php -text
|
||||
stable-1.0/bureau/admin/aide/files/browser_set.png -text
|
||||
stable-1.0/bureau/admin/aide/files/ftp_add.png -text
|
||||
stable-1.0/bureau/admin/aide/files/ftp_list.png -text
|
||||
stable-1.0/bureau/admin/aide/files/readme -text
|
||||
stable-1.0/bureau/admin/aide/files/sta_add.png -text
|
||||
stable-1.0/bureau/admin/aide/files/sta_view1.png -text
|
||||
stable-1.0/bureau/admin/aide/files/sta_view2.png -text
|
||||
stable-1.0/bureau/admin/aide/help.php -text
|
||||
stable-1.0/bureau/admin/aide/help.png -text
|
||||
stable-1.0/bureau/admin/aide/html/book1.html -text
|
||||
stable-1.0/bureau/admin/aide/html/c126.html -text
|
||||
stable-1.0/bureau/admin/aide/html/c18.html -text
|
||||
stable-1.0/bureau/admin/aide/html/c26.html -text
|
||||
stable-1.0/bureau/admin/aide/html/c72.html -text
|
||||
stable-1.0/bureau/admin/aide/html/c84.html -text
|
||||
stable-1.0/bureau/admin/aide/html/docbook.css -text
|
||||
stable-1.0/bureau/admin/aide/html/files/browser_set.png -text
|
||||
stable-1.0/bureau/admin/aide/html/files/ftp_add.png -text
|
||||
stable-1.0/bureau/admin/aide/html/files/ftp_list.png -text
|
||||
stable-1.0/bureau/admin/aide/html/files/readme -text
|
||||
stable-1.0/bureau/admin/aide/html/files/sta_add.png -text
|
||||
stable-1.0/bureau/admin/aide/html/files/sta_view1.png -text
|
||||
stable-1.0/bureau/admin/aide/html/files/sta_view2.png -text
|
||||
stable-1.0/bureau/admin/aide/html/frameset.html -text
|
||||
stable-1.0/bureau/admin/aide/html/plus.gif -text
|
||||
stable-1.0/bureau/admin/aide/html/tiret.gif -text
|
||||
stable-1.0/bureau/admin/aide/html/toc.htm -text
|
||||
stable-1.0/bureau/admin/aide/html/x105.html -text
|
||||
stable-1.0/bureau/admin/aide/html/x23.html -text
|
||||
stable-1.0/bureau/admin/aide/html/x53.html -text
|
||||
stable-1.0/bureau/admin/aide/inline/docbook.css -text
|
||||
stable-1.0/bureau/admin/aide/inline/frameset.html -text
|
||||
stable-1.0/bureau/admin/aide/inline/plus.gif -text
|
||||
stable-1.0/bureau/admin/aide/inline/tiret.gif -text
|
||||
stable-1.0/bureau/admin/alternc.jpg -text
|
||||
stable-1.0/bureau/admin/alternc.png -text
|
||||
stable-1.0/bureau/admin/alternc3.png -text
|
||||
stable-1.0/bureau/admin/bro_editor.php -text
|
||||
stable-1.0/bureau/admin/bro_main.php -text
|
||||
stable-1.0/bureau/admin/bro_pref.php -text
|
||||
stable-1.0/bureau/admin/bro_tgzdown.php -text
|
||||
stable-1.0/bureau/admin/bro_view.php -text
|
||||
stable-1.0/bureau/admin/browseforfolder.php -text
|
||||
stable-1.0/bureau/admin/direct.php -text
|
||||
stable-1.0/bureau/admin/dom_add.php -text
|
||||
stable-1.0/bureau/admin/dom_doadd.php -text
|
||||
stable-1.0/bureau/admin/dom_dodel.php -text
|
||||
stable-1.0/bureau/admin/dom_edit.inc.php -text
|
||||
stable-1.0/bureau/admin/dom_edit.php -text
|
||||
stable-1.0/bureau/admin/dom_editdns.php -text
|
||||
stable-1.0/bureau/admin/dom_subdel.php -text
|
||||
stable-1.0/bureau/admin/dom_subdodel.php -text
|
||||
stable-1.0/bureau/admin/dom_subdoedit.php -text
|
||||
stable-1.0/bureau/admin/dom_subedit.php -text
|
||||
stable-1.0/bureau/admin/dom_substatus.php -text
|
||||
stable-1.0/bureau/admin/domlist.php -text
|
||||
stable-1.0/bureau/admin/foot.php -text
|
||||
stable-1.0/bureau/admin/ftp_add.php -text
|
||||
stable-1.0/bureau/admin/ftp_del.php -text
|
||||
stable-1.0/bureau/admin/ftp_doadd.php -text
|
||||
stable-1.0/bureau/admin/ftp_doedit.php -text
|
||||
stable-1.0/bureau/admin/ftp_edit.php -text
|
||||
stable-1.0/bureau/admin/ftp_list.php -text
|
||||
stable-1.0/bureau/admin/head.php -text
|
||||
stable-1.0/bureau/admin/hippo_bleue.gif -text
|
||||
stable-1.0/bureau/admin/hoster.png -text
|
||||
stable-1.0/bureau/admin/hta_add.php -text
|
||||
stable-1.0/bureau/admin/hta_adduser.php -text
|
||||
stable-1.0/bureau/admin/hta_del.php -text
|
||||
stable-1.0/bureau/admin/hta_doadd.php -text
|
||||
stable-1.0/bureau/admin/hta_doadduser.php -text
|
||||
stable-1.0/bureau/admin/hta_dodeluser.php -text
|
||||
stable-1.0/bureau/admin/hta_doedituser.php -text
|
||||
stable-1.0/bureau/admin/hta_edit.php -text
|
||||
stable-1.0/bureau/admin/hta_edituser.php -text
|
||||
stable-1.0/bureau/admin/hta_list.php -text
|
||||
stable-1.0/bureau/admin/icon/browse.png -text
|
||||
stable-1.0/bureau/admin/icon/delfile.png -text
|
||||
stable-1.0/bureau/admin/icon/doc.png -text
|
||||
stable-1.0/bureau/admin/icon/encrypted.png -text
|
||||
stable-1.0/bureau/admin/icon/exe.png -text
|
||||
stable-1.0/bureau/admin/icon/file.png -text
|
||||
stable-1.0/bureau/admin/icon/folder.png -text
|
||||
stable-1.0/bureau/admin/icon/htm.png -text
|
||||
stable-1.0/bureau/admin/icon/jpg.png -text
|
||||
stable-1.0/bureau/admin/icon/m3u.png -text
|
||||
stable-1.0/bureau/admin/icon/move.png -text
|
||||
stable-1.0/bureau/admin/icon/newfile.png -text
|
||||
stable-1.0/bureau/admin/icon/newfolder.png -text
|
||||
stable-1.0/bureau/admin/icon/newhtml.png -text
|
||||
stable-1.0/bureau/admin/icon/openfold.png -text
|
||||
stable-1.0/bureau/admin/icon/pdf.png -text
|
||||
stable-1.0/bureau/admin/icon/php.png -text
|
||||
stable-1.0/bureau/admin/icon/ppt.png -text
|
||||
stable-1.0/bureau/admin/icon/properties.png -text
|
||||
stable-1.0/bureau/admin/icon/protect.png -text
|
||||
stable-1.0/bureau/admin/icon/ra.png -text
|
||||
stable-1.0/bureau/admin/icon/selall.png -text
|
||||
stable-1.0/bureau/admin/icon/sort0.png -text
|
||||
stable-1.0/bureau/admin/icon/sort1.png -text
|
||||
stable-1.0/bureau/admin/icon/swf.png -text
|
||||
stable-1.0/bureau/admin/icon/sxc.png -text
|
||||
stable-1.0/bureau/admin/icon/sxd.png -text
|
||||
stable-1.0/bureau/admin/icon/sxi.png -text
|
||||
stable-1.0/bureau/admin/icon/sxw.png -text
|
||||
stable-1.0/bureau/admin/icon/txt.png -text
|
||||
stable-1.0/bureau/admin/icon/wav.png -text
|
||||
stable-1.0/bureau/admin/icon/winresize.gif -text
|
||||
stable-1.0/bureau/admin/icon/xls.png -text
|
||||
stable-1.0/bureau/admin/icon/zip.png -text
|
||||
stable-1.0/bureau/admin/images/admin.png -text
|
||||
stable-1.0/bureau/admin/images/bgborder.gif -text
|
||||
stable-1.0/bureau/admin/images/blank.gif -text
|
||||
stable-1.0/bureau/admin/images/config.png -text
|
||||
stable-1.0/bureau/admin/images/delete.png -text
|
||||
stable-1.0/bureau/admin/images/dom.png -text
|
||||
stable-1.0/bureau/admin/images/edit.png -text
|
||||
stable-1.0/bureau/admin/images/exit.png -text
|
||||
stable-1.0/bureau/admin/images/folder.png -text
|
||||
stable-1.0/bureau/admin/images/folderhta.png -text
|
||||
stable-1.0/bureau/admin/images/ftp.png -text
|
||||
stable-1.0/bureau/admin/images/help.png -text
|
||||
stable-1.0/bureau/admin/images/home.png -text
|
||||
stable-1.0/bureau/admin/images/lang.png -text
|
||||
stable-1.0/bureau/admin/images/mail.png -text
|
||||
stable-1.0/bureau/admin/images/minus.png -text
|
||||
stable-1.0/bureau/admin/images/mysql.png -text
|
||||
stable-1.0/bureau/admin/images/new.png -text
|
||||
stable-1.0/bureau/admin/images/orig/admin.png -text
|
||||
stable-1.0/bureau/admin/images/orig/bgborder.gif -text
|
||||
stable-1.0/bureau/admin/images/orig/blank.gif -text
|
||||
stable-1.0/bureau/admin/images/orig/config.png -text
|
||||
stable-1.0/bureau/admin/images/orig/delete.png -text
|
||||
stable-1.0/bureau/admin/images/orig/dom.png -text
|
||||
stable-1.0/bureau/admin/images/orig/edit.png -text
|
||||
stable-1.0/bureau/admin/images/orig/exit.png -text
|
||||
stable-1.0/bureau/admin/images/orig/folder.png -text
|
||||
stable-1.0/bureau/admin/images/orig/folderhta.png -text
|
||||
stable-1.0/bureau/admin/images/orig/ftp.png -text
|
||||
stable-1.0/bureau/admin/images/orig/help.png -text
|
||||
stable-1.0/bureau/admin/images/orig/home.png -text
|
||||
stable-1.0/bureau/admin/images/orig/mail.png -text
|
||||
stable-1.0/bureau/admin/images/orig/mailman.png -text
|
||||
stable-1.0/bureau/admin/images/orig/minus.png -text
|
||||
stable-1.0/bureau/admin/images/orig/mysql.png -text
|
||||
stable-1.0/bureau/admin/images/orig/new.png -text
|
||||
stable-1.0/bureau/admin/images/orig/password.png -text
|
||||
stable-1.0/bureau/admin/images/orig/plus.png -text
|
||||
stable-1.0/bureau/admin/images/orig/quota.png -text
|
||||
stable-1.0/bureau/admin/images/orig/stat.png -text
|
||||
stable-1.0/bureau/admin/images/password.png -text
|
||||
stable-1.0/bureau/admin/images/plus.png -text
|
||||
stable-1.0/bureau/admin/images/quota.png -text
|
||||
stable-1.0/bureau/admin/images/stat.png -text
|
||||
stable-1.0/bureau/admin/index.php -text
|
||||
stable-1.0/bureau/admin/js/alternc.js -text
|
||||
stable-1.0/bureau/admin/js/jquery.min.js -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/css/smoothness/images/ui-icons_222222_256x240.png -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/css/smoothness/images/ui-icons_2e83ff_256x240.png -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/css/smoothness/images/ui-icons_454545_256x240.png -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/css/smoothness/images/ui-icons_888888_256x240.png -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/css/smoothness/images/ui-icons_cd0a0a_256x240.png -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/css/smoothness/jquery-ui-1.8.10.custom.css -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/index.html -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/js/jquery-1.4.4.min.js -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/js/jquery-ui-1.8.10.custom.min.js -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/js/jquery.ui.datepicker-de.js -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/js/jquery.ui.datepicker-es.js -text
|
||||
stable-1.0/bureau/admin/js/jquery_ui/js/jquery.ui.datepicker-fr.js -text
|
||||
stable-1.0/bureau/admin/js/prototype.js -text
|
||||
stable-1.0/bureau/admin/login.php -text
|
||||
stable-1.0/bureau/admin/logo.png -text
|
||||
stable-1.0/bureau/admin/logo2.png -text
|
||||
stable-1.0/bureau/admin/mail_add.php -text
|
||||
stable-1.0/bureau/admin/mail_del.php -text
|
||||
stable-1.0/bureau/admin/mail_doadd.php -text
|
||||
stable-1.0/bureau/admin/mail_dodel.php -text
|
||||
stable-1.0/bureau/admin/mail_doedit.php -text
|
||||
stable-1.0/bureau/admin/mail_edit.php -text
|
||||
stable-1.0/bureau/admin/mail_list.php -text
|
||||
stable-1.0/bureau/admin/main.php -text
|
||||
stable-1.0/bureau/admin/mem_admin.php -text
|
||||
stable-1.0/bureau/admin/mem_chgmail.php -text
|
||||
stable-1.0/bureau/admin/mem_cm.php -text
|
||||
stable-1.0/bureau/admin/mem_cm2.php -text
|
||||
stable-1.0/bureau/admin/mem_logout.php -text
|
||||
stable-1.0/bureau/admin/mem_param.php -text
|
||||
stable-1.0/bureau/admin/mem_passwd.php -text
|
||||
stable-1.0/bureau/admin/menu.php -text
|
||||
stable-1.0/bureau/admin/menu_adm.php -text
|
||||
stable-1.0/bureau/admin/menu_aide.php -text
|
||||
stable-1.0/bureau/admin/menu_brouteur.php -text
|
||||
stable-1.0/bureau/admin/menu_dom.php -text
|
||||
stable-1.0/bureau/admin/menu_ftp.php -text
|
||||
stable-1.0/bureau/admin/menu_lang.php -text
|
||||
stable-1.0/bureau/admin/menu_mail.php -text
|
||||
stable-1.0/bureau/admin/menu_mem.php -text
|
||||
stable-1.0/bureau/admin/menu_quota.php -text
|
||||
stable-1.0/bureau/admin/menu_sql.php -text
|
||||
stable-1.0/bureau/admin/menu_sta2.php -text
|
||||
stable-1.0/bureau/admin/menu_web.php -text
|
||||
stable-1.0/bureau/admin/mxlist.php -text
|
||||
stable-1.0/bureau/admin/phpinfo.php -text
|
||||
stable-1.0/bureau/admin/powered2.jpg -text
|
||||
stable-1.0/bureau/admin/quota_show.php -text
|
||||
stable-1.0/bureau/admin/quotas_oneuser.php -text
|
||||
stable-1.0/bureau/admin/quotas_users.php -text
|
||||
stable-1.0/bureau/admin/sql_add.php -text
|
||||
stable-1.0/bureau/admin/sql_addmain.php -text
|
||||
stable-1.0/bureau/admin/sql_admin.php -text
|
||||
stable-1.0/bureau/admin/sql_bck.php -text
|
||||
stable-1.0/bureau/admin/sql_del.php -text
|
||||
stable-1.0/bureau/admin/sql_doadd.php -text
|
||||
stable-1.0/bureau/admin/sql_dobck.php -text
|
||||
stable-1.0/bureau/admin/sql_dorestore.php -text
|
||||
stable-1.0/bureau/admin/sql_getparam.php -text
|
||||
stable-1.0/bureau/admin/sql_list.php -text
|
||||
stable-1.0/bureau/admin/sql_pass.php -text
|
||||
stable-1.0/bureau/admin/sql_passchg.php -text
|
||||
stable-1.0/bureau/admin/sql_restore.php -text
|
||||
stable-1.0/bureau/admin/sql_users_add.php -text
|
||||
stable-1.0/bureau/admin/sql_users_del.php -text
|
||||
stable-1.0/bureau/admin/sql_users_doadd.php -text
|
||||
stable-1.0/bureau/admin/sql_users_dopassword.php -text
|
||||
stable-1.0/bureau/admin/sql_users_dorights.php -text
|
||||
stable-1.0/bureau/admin/sql_users_list.php -text
|
||||
stable-1.0/bureau/admin/sql_users_password.php -text
|
||||
stable-1.0/bureau/admin/sql_users_rights.php -text
|
||||
stable-1.0/bureau/admin/sta2_add_raw.php -text
|
||||
stable-1.0/bureau/admin/sta2_del_raw.php -text
|
||||
stable-1.0/bureau/admin/sta2_doadd_raw.php -text
|
||||
stable-1.0/bureau/admin/sta2_doedit_raw.php -text
|
||||
stable-1.0/bureau/admin/sta2_edit_raw.php -text
|
||||
stable-1.0/bureau/admin/sta2_list.php -text
|
||||
stable-1.0/bureau/admin/stats_members.php -text
|
||||
stable-1.0/bureau/admin/styles/style.css -text
|
||||
stable-1.0/bureau/admin/template.php -text
|
||||
stable-1.0/bureau/admin/trash_dateselect.php -text
|
||||
stable-1.0/bureau/admin/web_list.php -text
|
||||
stable-1.0/bureau/admin/webmail/.htaccess -text
|
||||
stable-1.0/bureau/admin/webmail/index.php -text
|
||||
stable-1.0/bureau/class/config.php -text
|
||||
stable-1.0/bureau/class/config_nochk.php -text
|
||||
stable-1.0/bureau/class/config_real.php -text
|
||||
stable-1.0/bureau/class/db_mysql.php -text
|
||||
stable-1.0/bureau/class/export_account.php -text
|
||||
stable-1.0/bureau/class/functions.php -text
|
||||
stable-1.0/bureau/class/hooks.php -text
|
||||
stable-1.0/bureau/class/lang_env.php -text
|
||||
stable-1.0/bureau/class/local.php -text
|
||||
stable-1.0/bureau/class/m_admin.php -text
|
||||
stable-1.0/bureau/class/m_bro.php -text
|
||||
stable-1.0/bureau/class/m_dom.php -text
|
||||
stable-1.0/bureau/class/m_err.php -text
|
||||
stable-1.0/bureau/class/m_ftp.php -text
|
||||
stable-1.0/bureau/class/m_hta.php -text
|
||||
stable-1.0/bureau/class/m_mail.php -text
|
||||
stable-1.0/bureau/class/m_mem.php -text
|
||||
stable-1.0/bureau/class/m_mysql.php -text
|
||||
stable-1.0/bureau/class/m_quota.php -text
|
||||
stable-1.0/bureau/class/m_sta2.php -text
|
||||
stable-1.0/bureau/class/m_trash.php -text
|
||||
stable-1.0/bureau/class/mime.php -text
|
||||
stable-1.0/bureau/class/reset_stats_conf.php -text
|
||||
stable-1.0/bureau/class/variables.php -text
|
||||
stable-1.0/bureau/index.php -text
|
||||
stable-1.0/bureau/locales/Makefile -text
|
||||
stable-1.0/bureau/locales/README -text
|
||||
stable-1.0/bureau/locales/de_DE/LC_MESSAGES/messages.po -text
|
||||
stable-1.0/bureau/locales/en_US/LC_MESSAGES/manual.po -text
|
||||
stable-1.0/bureau/locales/en_US/LC_MESSAGES/messages.po -text
|
||||
stable-1.0/bureau/locales/es_ES/LC_MESSAGES/manual.po -text
|
||||
stable-1.0/bureau/locales/es_ES/LC_MESSAGES/messages.po -text
|
||||
stable-1.0/bureau/locales/fr_FR/LC_MESSAGES/manual.po -text
|
||||
stable-1.0/bureau/locales/fr_FR/LC_MESSAGES/messages.po -text
|
||||
stable-1.0/bureau/locales/manual.pot -text
|
||||
stable-1.0/bureau/locales/messages.pot -text
|
||||
stable-1.0/bureau/locales/pt_BR/LC_MESSAGES/messages.po -text
|
||||
stable-1.0/debian/.svnignore -text
|
||||
stable-1.0/debian/NEWS -text
|
||||
stable-1.0/debian/README.Debian -text
|
||||
stable-1.0/debian/alternc-slave.config -text
|
||||
stable-1.0/debian/alternc-slave.dirs -text
|
||||
stable-1.0/debian/alternc-slave.install -text
|
||||
stable-1.0/debian/alternc-slave.links -text
|
||||
stable-1.0/debian/alternc-slave.lintian -text
|
||||
stable-1.0/debian/alternc-slave.logrotate -text
|
||||
stable-1.0/debian/alternc-slave.postinst -text
|
||||
stable-1.0/debian/alternc-slave.postrm -text
|
||||
stable-1.0/debian/alternc-slave.prerm -text
|
||||
stable-1.0/debian/alternc-slave.templates -text
|
||||
stable-1.0/debian/alternc.config -text
|
||||
stable-1.0/debian/alternc.cron.d -text
|
||||
stable-1.0/debian/alternc.dirs -text
|
||||
stable-1.0/debian/alternc.links -text
|
||||
stable-1.0/debian/alternc.lintian -text
|
||||
stable-1.0/debian/alternc.logrotate -text
|
||||
stable-1.0/debian/alternc.postinst -text
|
||||
stable-1.0/debian/alternc.postrm -text
|
||||
stable-1.0/debian/alternc.preinst -text
|
||||
stable-1.0/debian/alternc.prerm -text
|
||||
stable-1.0/debian/changelog -text
|
||||
stable-1.0/debian/compat -text
|
||||
stable-1.0/debian/control -text
|
||||
stable-1.0/debian/copyright -text
|
||||
stable-1.0/debian/docs -text
|
||||
stable-1.0/debian/po/POTFILES.in -text
|
||||
stable-1.0/debian/po/fr.po -text
|
||||
stable-1.0/debian/po/templates.pot -text
|
||||
stable-1.0/debian/rules -text
|
||||
stable-1.0/debian/templates -text
|
||||
stable-1.0/etc/alternc/alternc.ini -text
|
||||
stable-1.0/etc/alternc/apache2-ssl.conf -text
|
||||
stable-1.0/etc/alternc/apache2.conf -text
|
||||
stable-1.0/etc/alternc/functions_hosting/hosting_massvhost.sh -text
|
||||
stable-1.0/etc/alternc/menulist.txt -text
|
||||
stable-1.0/etc/alternc/phpmyadmin.inc.php -text
|
||||
stable-1.0/etc/alternc/postfix-slave.cf -text
|
||||
stable-1.0/etc/alternc/postfix.cf -text
|
||||
stable-1.0/etc/alternc/templates/alternc/bureau.conf -text
|
||||
stable-1.0/etc/alternc/templates/apache2/panel.conf -text
|
||||
stable-1.0/etc/alternc/templates/apache2/url.conf -text
|
||||
stable-1.0/etc/alternc/templates/apache2/vhost.conf -text
|
||||
stable-1.0/etc/alternc/templates/apache2/webmail.conf -text
|
||||
stable-1.0/etc/alternc/templates/bind/automatic.conf -text
|
||||
stable-1.0/etc/alternc/templates/bind/named.conf.options -text
|
||||
stable-1.0/etc/alternc/templates/bind/slaveip.conf -text
|
||||
stable-1.0/etc/alternc/templates/bind/templates/mx.template -text
|
||||
stable-1.0/etc/alternc/templates/bind/templates/named.template -text
|
||||
stable-1.0/etc/alternc/templates/bind/templates/slave.template -text
|
||||
stable-1.0/etc/alternc/templates/bind/templates/zone.template -text
|
||||
stable-1.0/etc/alternc/templates/courier/authdaemonrc -text
|
||||
stable-1.0/etc/alternc/templates/courier/authmysqlrc -text
|
||||
stable-1.0/etc/alternc/templates/default/saslauthd -text
|
||||
stable-1.0/etc/alternc/templates/dovecot/dovecot-sql.conf -text
|
||||
stable-1.0/etc/alternc/templates/dovecot/dovecot.conf -text
|
||||
stable-1.0/etc/alternc/templates/postfix/ca.der -text
|
||||
stable-1.0/etc/alternc/templates/postfix/myalias.cf -text
|
||||
stable-1.0/etc/alternc/templates/postfix/mydomain.cf -text
|
||||
stable-1.0/etc/alternc/templates/postfix/mygid.cf -text
|
||||
stable-1.0/etc/alternc/templates/postfix/myrelay.cf -text
|
||||
stable-1.0/etc/alternc/templates/postfix/myvirtual.cf -text
|
||||
stable-1.0/etc/alternc/templates/postfix/sasl/smtpd.conf -text
|
||||
stable-1.0/etc/alternc/templates/proftpd/modules.conf -text
|
||||
stable-1.0/etc/alternc/templates/proftpd/proftpd.conf -text
|
||||
stable-1.0/etc/alternc/templates/proftpd/welcome.msg -text
|
||||
stable-1.0/etc/alternc/templates/squirrelmail/apache.conf -text
|
||||
stable-1.0/install/alternc.install -text
|
||||
stable-1.0/install/body_checks -text
|
||||
stable-1.0/install/domaines.template -text
|
||||
stable-1.0/install/dopo.sh -text
|
||||
stable-1.0/install/header_checks -text
|
||||
stable-1.0/install/mysql.sh -text
|
||||
stable-1.0/install/mysql.sql -text
|
||||
stable-1.0/install/newone.php -text
|
||||
stable-1.0/install/reset_root.php -text
|
||||
stable-1.0/install/upgrade_check.sh -text
|
||||
stable-1.0/install/upgrades/0.9.1.sql -text
|
||||
stable-1.0/install/upgrades/0.9.10.sql -text
|
||||
stable-1.0/install/upgrades/0.9.1_migrationldap.php -text
|
||||
stable-1.0/install/upgrades/0.9.2.php -text
|
||||
stable-1.0/install/upgrades/0.9.2.sql -text
|
||||
stable-1.0/install/upgrades/0.9.3.1.sql -text
|
||||
stable-1.0/install/upgrades/0.9.3.sql -text
|
||||
stable-1.0/install/upgrades/0.9.4.sql -text
|
||||
stable-1.0/install/upgrades/0.9.5.sh -text
|
||||
stable-1.0/install/upgrades/0.9.5.sql -text
|
||||
stable-1.0/install/upgrades/0.9.6.sql -text
|
||||
stable-1.0/install/upgrades/0.9.7.sql -text
|
||||
stable-1.0/install/upgrades/0.9.9.sql -text
|
||||
stable-1.0/install/upgrades/1.0.sql -text
|
||||
stable-1.0/install/upgrades/README -text
|
||||
stable-1.0/man/alternc-admintools.8 -text
|
||||
stable-1.0/man/alternc-admintools.fr.8 -text
|
||||
stable-1.0/man/alternc.install.8 -text
|
||||
stable-1.0/man/alternc.install.fr.8 -text
|
||||
stable-1.0/man/get_account_by_domain.8 -text
|
||||
stable-1.0/man/get_domains_by_account.8 -text
|
||||
stable-1.0/man/top_ftp_users.8 -text
|
||||
stable-1.0/man/top_ftp_users.fr.8 -text
|
||||
stable-1.0/man/top_http_users.8 -text
|
||||
stable-1.0/man/top_http_users.fr.8 -text
|
||||
stable-1.0/man/top_mysql_users.8 -text
|
||||
stable-1.0/man/top_mysql_users.fr.8 -text
|
||||
stable-1.0/nightlybuild/HEADER.html -text
|
||||
stable-1.0/nightlybuild/README.html -text
|
||||
stable-1.0/nightlybuild/READMEFIRST -text
|
||||
stable-1.0/nightlybuild/build.sh -text
|
||||
stable-1.0/nightlybuild/nightly.key -text
|
||||
stable-1.0/po/alternc-admintools.pot -text
|
||||
stable-1.0/po/fr/LC_MESSAGES/.svnignore -text
|
||||
stable-1.0/po/fr/LC_MESSAGES/alternc-admintools.po -text
|
||||
stable-1.0/quota_delete -text
|
||||
stable-1.0/quota_init -text
|
||||
stable-1.0/src/Makefile -text
|
||||
stable-1.0/src/alternc-check -text
|
||||
stable-1.0/src/alternc-dboptimize -text
|
||||
stable-1.0/src/alternc-passwd -text
|
||||
stable-1.0/src/alternc_reload -text
|
||||
stable-1.0/src/du.pl -text
|
||||
stable-1.0/src/fixperms.sh -text
|
||||
stable-1.0/src/functions.sh -text
|
||||
stable-1.0/src/functions_dns.sh -text
|
||||
stable-1.0/src/functions_hosting.sh -text
|
||||
stable-1.0/src/mail_add -text
|
||||
stable-1.0/src/mail_del -text
|
||||
stable-1.0/src/mem_add -text
|
||||
stable-1.0/src/mem_del -text
|
||||
stable-1.0/src/quota_delete -text
|
||||
stable-1.0/src/quota_edit -text
|
||||
stable-1.0/src/quota_edit.sh -text
|
||||
stable-1.0/src/quota_get -text
|
||||
stable-1.0/src/quota_get.sh -text
|
||||
stable-1.0/src/quota_init -text
|
||||
stable-1.0/src/rawstat.daily -text
|
||||
stable-1.0/src/sendmail -text
|
||||
stable-1.0/src/slave_dns -text
|
||||
stable-1.0/src/spoolsize.php -text
|
||||
stable-1.0/src/sqlbackup.sh -text
|
||||
stable-1.0/src/update_domains.sh -text
|
||||
stable-1.0/tests/mechdump.pm -text
|
||||
stable-1.0/tests/test_demo.pl -text
|
||||
stable-1.0/tests/whois_test.php -text
|
||||
stable-1.0/tools/alternc_get_path -text
|
||||
stable-1.0/tools/get_account_by_domain -text
|
||||
stable-1.0/tools/get_domains_by_account -text
|
||||
stable-1.0/tools/top_ftp_users -text
|
||||
stable-1.0/tools/top_http_users -text
|
||||
stable-1.0/tools/top_mysql_users -text
|
||||
tests/mechdump.pm -text
|
||||
tests/test_demo.pl -text
|
||||
tests/whois_test.php -text
|
||||
|
|
|
@ -10,3 +10,15 @@ debian/alternc.postrm.debhelper
|
|||
debian/alternc.substvars
|
||||
debian/files
|
||||
po/fr/LC_MESSAGES/alternc-admintools.mo
|
||||
stable-1.0/build-stamp
|
||||
stable-1.0/debian/.svnignore
|
||||
stable-1.0/debian/alternc
|
||||
stable-1.0/debian/alternc-slave
|
||||
stable-1.0/debian/alternc-slave.debhelper.log
|
||||
stable-1.0/debian/alternc-slave.postrm.debhelper
|
||||
stable-1.0/debian/alternc-slave.substvars
|
||||
stable-1.0/debian/alternc.debhelper.log
|
||||
stable-1.0/debian/alternc.postrm.debhelper
|
||||
stable-1.0/debian/alternc.substvars
|
||||
stable-1.0/debian/files
|
||||
stable-1.0/po/fr/LC_MESSAGES/alternc-admintools.mo
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
build-stamp
|
|
@ -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.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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.
|
||||
|
||||
<signature of Ty Coon>, 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.
|
|
@ -0,0 +1,46 @@
|
|||
AlternC: Hosting software suite
|
||||
=================================================
|
||||
|
||||
Introduction
|
||||
------------
|
||||
|
||||
AlternC is a software suite helping system administrators in handling
|
||||
Web Services management. It should be easy to install, based only on
|
||||
OpenSource softwares. AlternC is GPL licensed.
|
||||
|
||||
This software consist of an automatic install and configuration system,
|
||||
a web control panel to manage hosted users and their web services such
|
||||
as domains, email accounts, ftp accounts, web statistics ...
|
||||
|
||||
Technically, AlternC is based on Debian GNU/Linux distribution, 'Sarge'
|
||||
version, and it depends on other softwares such as Apache, Postfix,
|
||||
Mailman ... It also contains an API documentation so that users can
|
||||
easily customize their web desktop.
|
||||
|
||||
This project native tongue is French. However, the packages are
|
||||
available at least in French and English. They may also be available in
|
||||
other languages (Some Spanish or German translation is in the pipe...)
|
||||
depending on YOUR help on this part of the project.
|
||||
Some part of the documentation are only available in french for now, but
|
||||
will certainly be translated in a near future.
|
||||
|
||||
AlternC was initially developped by system administrators at Lautre.Net,
|
||||
then other guys came and helped us, such as Globenet, Netaktiv,
|
||||
Neuronnexion or Koumbit.
|
||||
|
||||
Install
|
||||
------------
|
||||
|
||||
For now, AlternC can be installed as a Debian package. This package
|
||||
depends on other softs used by AlternC. Just add those lines to your
|
||||
/etc/apt/sources.list file :
|
||||
|
||||
deb http://debian.alternc.org debian/
|
||||
deb-src http://debian.alternc.org debian/
|
||||
|
||||
then apt-get install alternc
|
||||
|
||||
You may download and install additionnal plugins after installing AlternC.
|
||||
Let's go to the developper page for more information.
|
||||
|
||||
https://alternc.org/
|
|
@ -0,0 +1,53 @@
|
|||
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
|
||||
'Sarge', 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, Anglais, Espagnol.
|
||||
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, Neuronnexion ou Koumbit.
|
||||
|
||||
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/
|
||||
|
||||
lancez ensuite
|
||||
aptitude update
|
||||
aptitude install alternc
|
||||
|
||||
Note: vous pouvez aussi installer les modules additionnels d'AlternC par
|
||||
la suite. Pour plus d'information, rendez-vous sur le serveur de
|
||||
développement à l'adresse :
|
||||
|
||||
https://alternc.org/
|
||||
|
|
@ -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
|
||||
|
|
@ -0,0 +1,144 @@
|
|||
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
|
||||
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL>
|
||||
]>
|
||||
|
||||
<style-sheet>
|
||||
<style-specification use="docbook">
|
||||
<style-specification-body>
|
||||
|
||||
(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) '()))
|
||||
|
||||
)
|
||||
|
||||
|
||||
|
||||
</style-specification-body>
|
||||
</style-specification>
|
||||
|
||||
<external-specification id="docbook" document="docbook.dsl">
|
||||
|
||||
</style-sheet>
|
|
@ -0,0 +1,65 @@
|
|||
<chapter id="browser"><title>Le gestionnaire de fichiers</title>
|
||||
|
||||
<sect1 id="browser.1"><title>Introduction / Description</title>
|
||||
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
<para>
|
||||
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 <link id="ftp">la section FTP de l'Aide.</link>.
|
||||
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"
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Le gestionnaire de fichier permet de gérer l'ensemble de vos fichiers, à savoir :
|
||||
<itemizedlist>
|
||||
<listitem><para>Créer Supprimer et Renommer des fichiers</para></listitem>
|
||||
<listitem><para>Créer Supprimer et Renommer des dossiers / Sous-dossiers</para></listitem>
|
||||
<listitem><para>Editer les fichiers présents dans le compte (fichiers textes, html ...)</para></listitem>
|
||||
<listitem><para>Visualiser les fichiers du compte (html, images, document ...)</para></listitem>
|
||||
<listitem><para>Télécharger l'ensemble de votre compte dans un fichier compressé (plusieurs formats supportés)</para></listitem>
|
||||
<listitem><para>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.
|
||||
</para></listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
|
||||
</sect1>
|
||||
|
||||
<sect1 id="browser.2"><title>Paramètres du gestionnaire de fichiers</title>
|
||||
|
||||
<para>
|
||||
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.
|
||||
<graphic fileref="files/browser_set.png" format="png"></>
|
||||
Les éléments ci-dessous peuvent être réglés :
|
||||
<itemizedlist>
|
||||
<listitem><para>Type d'affichage du gestionnaire (1 colonne de fichiers, 2 colonnes, 3 colonnes)</para></listitem>
|
||||
<listitem><para>L'affichage ou pas des icones des fichiers</para></listitem>
|
||||
<listitem><para>L'affichage ou pas des types des fichiers (image jpeg, page html, ...)</para></listitem>
|
||||
<listitem><para>Le format de compression utilisé pour téléchargé tout le site au format compressé. (zip, tgz, tar.z, tar.bz2 supportés)</para></listitem>
|
||||
<listitem><para>La largeur et la hauteur de la fenêtre de l'éditeur de fichiers.</para></listitem>
|
||||
<listitem><para>Si vous préférer aller à l'éditeur de fichiers ou au gestionnaire après la création d'un nouveau fichier.</para></listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
</para>
|
||||
|
||||
</sect1>
|
||||
|
||||
</chapter>
|
|
@ -0,0 +1,69 @@
|
|||
<chapter id="domain"><title>Les Noms de Domaines</title>
|
||||
|
||||
<sect1 id="domain.1"><title>Introduction / Installation d'un nouveau domaine</title>
|
||||
|
||||
<para>
|
||||
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 : <literal>virtuel.org</literal>, <literal>masociete.com</literal> etc.
|
||||
</para>
|
||||
<para>
|
||||
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 :
|
||||
<orderedlist>
|
||||
<listitem><para>Acheter le nom de domaine voulu chez un registrar.</para>
|
||||
<example><title>Exemple de registrar</title>
|
||||
<para>On peut acheter par exemple un domaine en <literal>.fr</literal> auprès d'un partenaire de <ulink url="http://www.nic.fr">l'AFNIC</ulink>,
|
||||
ou un <literal>.com .org .net</literal> auprès de <ulink url="http://www.gandi.net">Gandi</ulink>
|
||||
</para></example>
|
||||
</listitem>
|
||||
<listitem><para>Lors de l'achat du nom de domaine, préciser le nom des serveurs DNS d'AlternC au registrar.</para>
|
||||
<example><title>Exemple de DNS</title>
|
||||
<para>Chaque hébergeur dispose d'au moins 2 serveurs DNS. Votre hébergeur vous donnera les noms et adresse Internet des siens.</para>
|
||||
<para>Exemple : ns1.alternc.net (80.67.172.5) et ns2.alternc.net (80.67.172.9)</para></example>
|
||||
</listitem>
|
||||
<listitem><para>Installer le domaine sur AlternC.</para>
|
||||
<para>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.
|
||||
</para>
|
||||
</listitem>
|
||||
</orderedlist>
|
||||
</para>
|
||||
|
||||
</sect1>
|
||||
|
||||
<sect1 id="domain.2"><title>Configuration d'un domaine / sous-domaine</title>
|
||||
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Par défaut, les sous-domaines suivants sont installés : (exemple pour <literal>virtuel.org</literal>)
|
||||
<itemizedlist>
|
||||
<listitem><para><literal>virtuel.org</literal> 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</para></listitem>
|
||||
<listitem><para><literal>www.virtuel.org</literal> 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.</para></listitem>
|
||||
<listitem><para><literal>mail.virtuel.org</literal> Ce sous-domaine particulier recoit le webmail
|
||||
de votre domaine. Vous pouvez donc accéder à votre mail par l'adresse <literal>http://mail.virtuel.org</literal>
|
||||
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".
|
||||
</para></listitem>
|
||||
<listitem><para><literal>admin.virtuel.org</literal> 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".
|
||||
</para></listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
|
||||
</sect1>
|
||||
|
||||
</chapter>
|
|
@ -0,0 +1,37 @@
|
|||
<chapter id="ftp"><title>Comptes FTP</title>
|
||||
|
||||
<sect1 id="ftp.1"><title>Introduction</title>
|
||||
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Par exemple, si vous disposez des dossiers suivants dans votre compte :
|
||||
<graphic fileref="files/ftp_list.png" format="png"></>
|
||||
Vous pouvez créer, par exemple, un compte ftp pour philippe, que vous hébergez sur
|
||||
<literal>http://virtuel.org/philippe/</literal>
|
||||
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.
|
||||
<graphic fileref="files/ftp_add.png" format="png"></>
|
||||
</para>
|
||||
<para>
|
||||
Philippe peut donc modifier les fichiers de son dossier en utilisant les paramètres suivants :
|
||||
<programlisting>
|
||||
Serveur ftp : "virtuel.org"
|
||||
Nom d'utilisateur : "virtuel.org_philippe"
|
||||
Mot de passe : "philpas"
|
||||
</programlisting>
|
||||
</para>
|
||||
|
||||
</sect1>
|
||||
|
||||
</chapter>
|
|
@ -0,0 +1,42 @@
|
|||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
|
||||
|
||||
<!ENTITY chap1 SYSTEM "sommaire.sgml">
|
||||
<!ENTITY hlpftp SYSTEM "ftp.sgml">
|
||||
<!ENTITY hlpdomain SYSTEM "domain.sgml">
|
||||
<!ENTITY hlpbrouteur SYSTEM "brouteur.sgml">
|
||||
<!ENTITY hlpstats SYSTEM "stats.sgml">
|
||||
|
||||
|
||||
]>
|
||||
<book lang="fr">
|
||||
<bookinfo>
|
||||
<title>AlternC, Documentation Utilisateur</title>
|
||||
|
||||
<authorgroup>
|
||||
<author>
|
||||
<firstname></firstname><surname>AlternC Development Team</surname>
|
||||
<affiliation><address><email>tech@alternc.org</email></address> </affiliation>
|
||||
</author>
|
||||
</authorgroup>
|
||||
|
||||
<date>2002-06-11</date>
|
||||
<releaseinfo>0.1</releaseinfo>
|
||||
|
||||
<abstract>
|
||||
<para>Bienvenue dans l'aide en ligne d'AlternC.</para>
|
||||
</abstract>
|
||||
|
||||
<keywordset>
|
||||
<keyword>AlternC</keyword>
|
||||
<keyword>Hébergement</keyword>
|
||||
</keywordset>
|
||||
</bookinfo>
|
||||
|
||||
&chap1;
|
||||
|
||||
&hlpdomain;
|
||||
&hlpftp;
|
||||
&hlpbrouteur;
|
||||
&hlpstats;
|
||||
|
||||
</book>
|
|
@ -0,0 +1,24 @@
|
|||
<chapter id="Sommaire"><title>Introduction</title>
|
||||
|
||||
<sect1 id="i1.1"><title>Introduction à AlternC</title>
|
||||
|
||||
<para>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. </para>
|
||||
|
||||
</sect1>
|
||||
|
||||
<sect1><title>Fonctionnement de l'aide en ligne</title>
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
|
||||
</sect1>
|
||||
|
||||
</chapter>
|
|
@ -0,0 +1,37 @@
|
|||
<chapter id="stats"><title>Les statistiques Web.</title>
|
||||
|
||||
<sect1 id="stats.1"><title>Introduction / Mode d'emploi</title>
|
||||
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
<para>
|
||||
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".
|
||||
<graphic fileref="files/sta_add.png" format="png"></>
|
||||
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.
|
||||
</para>
|
||||
|
||||
<caution>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.</caution>
|
||||
|
||||
<para>
|
||||
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:
|
||||
<graphic fileref="files/sta_view1.png" format="png"></>
|
||||
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.
|
||||
<graphic fileref="files/sta_view2.png" format="png"></>
|
||||
</para>
|
||||
|
||||
|
||||
</sect1>
|
||||
|
||||
</chapter>
|
|
@ -0,0 +1,16 @@
|
|||
<chapter id="Test"><title>Coucou</title>
|
||||
|
||||
<sect1><title>le Coucou premier</title>
|
||||
|
||||
<para>Juste histoire de tester les manipulations à effectuer pour créer un fichier d'aide </para>
|
||||
|
||||
</sect1>
|
||||
|
||||
<sect1><title>le coucou en second</title>
|
||||
<para>
|
||||
A voir donc
|
||||
</para>
|
||||
|
||||
</sect1>
|
||||
|
||||
</chapter>
|
|
@ -0,0 +1,131 @@
|
|||
<?php
|
||||
/*
|
||||
$Id: adm_add.php,v 1.9 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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Member managment
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
include_once("head.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
$fields = array (
|
||||
"canpass" => array ("request", "integer", 1),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
?>
|
||||
<h3><?php __("New AlternC account"); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
}
|
||||
?>
|
||||
<form method="post" action="adm_doadd.php" id="main" name="main">
|
||||
<table class="tedit">
|
||||
<tr><th><label for="login"><?php __("Username"); ?></label></th><td>
|
||||
<input type="text" class="int" name="login" id="login" value="<?php ehe($login); ?>" size="20" maxlength="16" />
|
||||
</td></tr>
|
||||
<tr>
|
||||
<th><label for="pass"><?php __("Initial password"); ?></label></th>
|
||||
<td><input type="password" id="pass" name="pass" class="int" value="<?php ehe($pass); ?>" size="20" maxlength="64" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="passconf"><?php __("Confirm password"); ?></label></th>
|
||||
<td><input type="password" id="passconf" name="passconf" class="int" value="<?php ehe($passconf); ?>" size="20" maxlength="64" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="canpass"><?php __("Can he change its password"); ?></label></th>
|
||||
<td>
|
||||
<input type="radio" class="inc" id="canpass0" name="canpass" value="0"<?php cbox($canpass==0); ?>><label for="canpass0"><?php __("No"); ?></label><br />
|
||||
<input type="radio" class="inc" id="canpass1" name="canpass" value="1"<?php cbox($canpass==1); ?>><label for="canpass1"><?php __("Yes"); ?></label><br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="notes"><?php __("Notes"); ?></label></th>
|
||||
<td><textarea name="notes" id="notes" class="int" cols="32" rows="5"><?php echo $notes; ?></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="nom"><?php echo _("Surname")."</label> / <label for=\"prenom\">"._("First Name"); ?></label></th>
|
||||
<td><input class="int" type="text" id="nom" name="nom" value="<?php ehe($nom); ?>" size="20" maxlength="128" /> / <input type="text" name="prenom" id="prenom" value="<?php ehe($prenom); ?>" class="int" size="20" maxlength="128" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="nmail"><?php __("Email address"); ?></label></th>
|
||||
<td><input type="text" name="nmail" id="nmail" class="int" value="<?php ehe($nmail); ?>" size="30" maxlength="128" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="type"><?php __("Account type"); ?></label></th>
|
||||
<td><select name="type" id="type" class="inl">
|
||||
<?php
|
||||
$db->query("SELECT distinct(type) FROM defquotas ORDER by type");
|
||||
while($db->next_record()) {
|
||||
$type = $db->f("type");
|
||||
echo "<option value=\"$type\"";
|
||||
if($type == 'default')
|
||||
echo " selected=\"selected\"";
|
||||
echo ">$type</option>";
|
||||
}
|
||||
?></select>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if (variable_get('hosting_tld') || $dom->enum_domains()) { ?>
|
||||
<tr>
|
||||
<th colspan="2">
|
||||
<input type="checkbox" name="create_dom" value="1" class="inc" id="create_dom" <?php cbox($create_dom==1); ?>/>
|
||||
<label for="create_dom"><?php printf(_("Install the domain"),""); ?></label>
|
||||
<span class="int" id="create_dom_list_pfx">login.</span><select name="create_dom_list" class="int" id="create_dom_list">
|
||||
<?php if (variable_get('hosting_tld')) { ?>
|
||||
<option value="<?php echo variable_get('hosting_tld'); ?>" selected="selected"><?php echo variable_get('hosting_tld'); ?></option>
|
||||
<?php }
|
||||
/* Enumeration des domaines : */
|
||||
$domain=$dom->enum_domains();
|
||||
reset($domain);
|
||||
while (list($key,$val)=each($domain)) { ?>
|
||||
<option value="<?php echo $val; ?>" > <?php echo $val?> </option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</th>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr class="trbtn"><td colspan="2">
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Create this AlternC account"); ?>" />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='adm_list.php'" />
|
||||
</td></tr>
|
||||
</table>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
document.forms['main'].login.focus();
|
||||
document.forms['main'].setAttribute('autocomplete', 'off');
|
||||
</script>
|
||||
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,35 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Connect a super-user to another account
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
setcookie('oldid','',0,'/');
|
||||
unset($_COOKIE['oldid']);
|
||||
require_once("main.php");
|
||||
|
|
@ -0,0 +1,143 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Manage allowed TLD on the server
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
include_once("head.php");
|
||||
|
||||
$uid = $_GET['uid'];
|
||||
if (!$uid) {
|
||||
__("Missing uid");
|
||||
include_once("foot.php");
|
||||
exit();
|
||||
}
|
||||
if (!$admin->enabled || !$admin->checkcreator($uid)) {
|
||||
__("This page is restricted to authorized staff");
|
||||
include_once("foot.php");
|
||||
exit();
|
||||
}
|
||||
|
||||
if (!$r=$admin->get($uid)) {
|
||||
__("User does not exist");
|
||||
include_once("foot.php");
|
||||
exit();
|
||||
}
|
||||
|
||||
if (! ($confirmed = ($_GET['submit'] == _("Confirm")) ) ) {
|
||||
print '<h2>' . _('WARNING: experimental feature, use at your own risk') . '</h2>';
|
||||
__("The following domains will be deactivated and redirected to the URL entered in the following box. A backup of the domain configuration will be displayed as a serie of SQL request that you can run to restore the current configuration if you want. Click confirm if you are sure you want to deactivate all this user's domains.");
|
||||
|
||||
?>
|
||||
<form action="<?=$PHP_SELF?>" method="GET">
|
||||
<input type="hidden" name="uid" value="<?=$uid?>" />
|
||||
<? __("Redirection URL:") ?> <input type="text" name="redirect" class="int" value="http://example.com/" />
|
||||
<input type="submit" name="submit" class="inb" value="<?=_("Confirm")?>" />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='adm_list.php'"/>
|
||||
</form><?php
|
||||
|
||||
print "<h3>" . _("Domains of user: ") . $r["login"] . "</h3>";
|
||||
} else {
|
||||
if (!$_GET['redirect']) {
|
||||
__("Missing redirect url.");
|
||||
include_once("foot.php");
|
||||
exit();
|
||||
} else {
|
||||
$redirect = $_GET['redirect'];
|
||||
}
|
||||
}
|
||||
|
||||
# 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
|
||||
# 1.1 list the domains
|
||||
global $cuid;
|
||||
$old_cuid = $cuid;
|
||||
$cuid = $uid;
|
||||
$domains = $dom->enum_domains();
|
||||
|
||||
if ($confirmed) {
|
||||
print "<pre>";
|
||||
printf(_("-- Redirecting all domains and subdomains of the user %s to %s\n"), $r['login'], $redirect);
|
||||
}
|
||||
|
||||
reset($domains);
|
||||
# 1.2 foreach domain, list the subdomains
|
||||
foreach ($domains as $key => $domain) {
|
||||
if (!$confirmed) print '<h4>' . $domain . '</h4><ul>';
|
||||
$dom->lock();
|
||||
if (!$r=$dom->get_domain_all($domain)) {
|
||||
$error=$err->errstr();
|
||||
}
|
||||
$dom->unlock();
|
||||
# 2. for each subdomain
|
||||
if (is_array($r['sub'])) {
|
||||
foreach ($r['sub'] as $k => $sub) {
|
||||
# shortcuts
|
||||
$type = $sub['type'];
|
||||
$dest = $sub['dest'];
|
||||
$sub = $sub['name'];
|
||||
# if it's a real website
|
||||
if ($type == $dom->type_local) {
|
||||
if (!$confirmed) {
|
||||
print "<li>";
|
||||
if ($sub) {
|
||||
print $sub . '.';
|
||||
}
|
||||
print "$domain -> $dest</li>";
|
||||
} else {
|
||||
|
||||
# 2.1 keep a copy of where it was, in an SQL request
|
||||
$backup .= "UPDATE `sub_domaines` SET `type`='$type', valeur='$dest',web_action='UPDATE' WHERE `domaine`='$domain' AND sub='$sub';\n";
|
||||
|
||||
# 2.2 change the subdomain to redirect to http://spam.koumbit.org/
|
||||
$dom->lock();
|
||||
if (!$dom->set_sub_domain($domain, $sub, $dom->type_url, "edit", $redirect)) {
|
||||
print "-- error in $sub.$domain: " . $err->errstr() . "\n";
|
||||
}
|
||||
$dom->unlock();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!$confirmed) print '</ul>';
|
||||
}
|
||||
|
||||
# 3. wrap up (?)
|
||||
if ($confirmed) {
|
||||
print "-- The following is a serie of SQL request you can run, as root, to revert the user's domains to their previous state.\n";
|
||||
print $backup;
|
||||
print "</pre>";
|
||||
}
|
||||
$cuid = $old_cuid;
|
||||
|
||||
include_once("foot.php");
|
||||
|
||||
?>
|
||||
|
|
@ -0,0 +1,112 @@
|
|||
<?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é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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Manage the default quotas
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
include_once ("head.php");
|
||||
|
||||
?>
|
||||
<h3><?php __("Change the default quotas"); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
}
|
||||
|
||||
?>
|
||||
<form method="post" action="adm_dodefquotas.php">
|
||||
<p>
|
||||
<input type="hidden" name="action" value="add" />
|
||||
<input type="text" name="type" class="int" />
|
||||
<input type="submit" class="inb" value="<?php __("Add account type"); ?>" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<form method="post" action="adm_dodefquotas.php">
|
||||
<p>
|
||||
<input type="hidden" name="action" value="delete" />
|
||||
<select name="type" id="type" class="inl">
|
||||
<?php
|
||||
$db->query("SELECT distinct(type) FROM defquotas WHERE TYPE != 'default' ORDER by type");
|
||||
while($db->next_record()) {
|
||||
$type = $db->f("type");
|
||||
echo "<option value=\"$type\">$type</option>";
|
||||
}
|
||||
?></select>
|
||||
<input type="submit" class="inb" value="<?php __("Delete account type"); ?>" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<p>
|
||||
<?php __("Here is the list of the quotas on the server for the new accounts. If you want to change them, enter new values"); ?>
|
||||
</p>
|
||||
|
||||
<form method="post" action="adm_dodefquotas.php">
|
||||
<div>
|
||||
<input type="hidden" name="action" value="modify" />
|
||||
<?php
|
||||
$col=1;
|
||||
$qarray=$quota->qlist();
|
||||
$qlist=$quota->getdefaults();
|
||||
reset($qlist);
|
||||
foreach($qlist as $type => $q) {
|
||||
?>
|
||||
<div>
|
||||
<h4><?php echo _("Accounts of type"). " \"$type\"" ?></h4>
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr><th><?php __("Quotas") ?></th><th><?php __("Default Value"); ?></th></tr>
|
||||
<?php
|
||||
foreach($q as $name => $value) {
|
||||
$key = $type . ":" . $name;
|
||||
$col=3-$col;
|
||||
?>
|
||||
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<td><label for="<?php echo $key; ?>"><?php echo $qarray[$name]; ?></label></td>
|
||||
<td><input type="text" class="int" size="16" maxlength="16" name="<?php echo $key; ?>" id="<?php echo $name; ?>" value="<?php ehe($value); ?>" /></td></tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<input type="submit" class="inb" value="<?php __("Edit the default quotas"); ?>" />
|
||||
</div>
|
||||
</form>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,30 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file:
|
||||
Purpose of file:
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
?>
|
|
@ -0,0 +1,109 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Alan Garcia
|
||||
Purpose of file: Report domains and websites having error in the DB
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
include_once("head.php");
|
||||
|
||||
?>
|
||||
<h3><?php __("Domains and Websites having errors"); ?></h3>
|
||||
<hr id="topbar" />
|
||||
<br />
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
}
|
||||
|
||||
?>
|
||||
<p>
|
||||
<h3><?php __("List of the websites having errors in the domain database."); ?></h3>
|
||||
</p>
|
||||
<table class="tlist">
|
||||
<tr>
|
||||
<th><?php __("Uid"); ?></th>
|
||||
<th><?php __("Account"); ?></th>
|
||||
<th><?php __("Domain name"); ?></th>
|
||||
<th><?php __("FQDN"); ?></th>
|
||||
<th><?php __("Value"); ?></th>
|
||||
<th><?php __("Description"); ?></th>
|
||||
<th><?php __("Web Result field"); ?></th>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
$pair=0;
|
||||
$db->query("select sd.compte, m.login, sd.domaine, if(length(sub)>0,concat_ws('.',sd.sub,sd.domaine),sd.domaine) as fqdn, sd.valeur, dt.description, sd.web_result from sub_domaines sd,membres m, domaines_type dt where sd.web_action='OK' and length(sd.web_result)<>0 and upper(dt.name)=upper(sd.type) order by sd.domaine, sd.sub, sd.valeur;");
|
||||
|
||||
while($db->next_record()) {
|
||||
++$pair;
|
||||
print_r($d);
|
||||
?>
|
||||
<tr class="lst<?php echo $pair%2+1 ?>">
|
||||
<td><?php echo $db->f('compte');?></td>
|
||||
<td><?php echo $db->f('login');?> </td>
|
||||
<td><?php echo $db->f('domaine');?> </td>
|
||||
<td><?php echo $db->f('fqdn');?></td>
|
||||
<td><?php echo $db->f('valeur');?></td>
|
||||
<td><?php echo $db->f('description');?></td>
|
||||
<td><?php echo $db->f('web_result');?></td>
|
||||
</tr>
|
||||
<?php } // end while ?>
|
||||
</table>
|
||||
<hr/>
|
||||
|
||||
<h3><?php __("List of the domain names having errors in the domain database."); ?></h3>
|
||||
<table class="tlist">
|
||||
<tr>
|
||||
<th><?php __("Uid"); ?></th>
|
||||
<th><?php __("Account"); ?></th>
|
||||
<th><?php __("Domain name"); ?></th>
|
||||
<th><?php __("DNS Result field"); ?></th>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
$pair=0;
|
||||
$db->query("select d.compte, m.login, d.domaine, d.dns_result from domaines d, membres m where d.dns_action='OK' and dns_result <> 0 and dns_result <> '' and m.uid = d.compte;");
|
||||
|
||||
while($db->next_record()) {
|
||||
++$pair;
|
||||
print_r($d);
|
||||
?>
|
||||
<tr class="lst<?php echo $pair%2+1 ?>">
|
||||
<td><?php echo $db->f('compte');?></td>
|
||||
<td><?php echo $db->f('login');?> </td>
|
||||
<td><?php echo $db->f('domaine');?> </td>
|
||||
<td><?php echo $db->f('dns_result');?></td>
|
||||
</tr>
|
||||
<?php } // end while ?>
|
||||
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,76 @@
|
|||
<?php
|
||||
/*
|
||||
$Id: adm_doadd.php,v 1.8 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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Create a new member
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit;
|
||||
}
|
||||
|
||||
if ($pass != $passconf) {
|
||||
$error = _("Passwords do not match");
|
||||
include("adm_add.php");
|
||||
exit();
|
||||
}
|
||||
if (!($u=$admin->add_mem($login, $pass, $nom, $prenom, $nmail, $canpass, $type, 0, $notes))) {
|
||||
$error=$err->errstr();
|
||||
include ("adm_add.php");
|
||||
exit;
|
||||
} else {
|
||||
|
||||
// Add here all what you want when an account is created !
|
||||
$mem->su($u);
|
||||
|
||||
/*
|
||||
* 1 = hébergement dns, en effet, les
|
||||
* domaines *.koumbit.net ne sont pas forcément sur le serveur
|
||||
*
|
||||
* 1 = noerase = empêche à l'utilisateur de modifier le dns ou de
|
||||
* supprimer le domaine
|
||||
*
|
||||
* 1 = force = ne tient pas compte du whois ou des droits de tld
|
||||
*/
|
||||
if (($create_dom == 1) && !is_null($create_dom_list)) {
|
||||
// make sure we don't have multiple dots there
|
||||
$dom->lock();
|
||||
$dom->add_domain($login.".".preg_replace("/^\.\.*/", "", $create_dom_list),1,1,1);
|
||||
$dom->unlock();
|
||||
}
|
||||
$ftp->add_ftp($login,"",$pass,"/");
|
||||
$mem->unsu();
|
||||
|
||||
$error=_("The new member has been successfully created");
|
||||
|
||||
include("adm_list.php");
|
||||
exit;
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,98 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Manage the default quotas
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
if($_POST["action"] == "add") {
|
||||
$type = $_POST['type'];
|
||||
|
||||
if($quota->addtype($type)) {
|
||||
$error=_("Account type"). " \"$type\" "._("added");
|
||||
} else {
|
||||
$error=_("Account type"). " \"$type\" "._("could not be added");
|
||||
}
|
||||
include("adm_defquotas.php");
|
||||
} else if($_POST["action"] == "delete") {
|
||||
if($_POST["del_confirm"] == "y"){
|
||||
if($_POST['type']) {
|
||||
if($quota->deltype($_POST['type'])) {
|
||||
$error=_("Account type"). " \"$type\" "._("deleted");
|
||||
} else {
|
||||
$error=_("Account type"). " \"$type\" "._("could not be deleted");
|
||||
}
|
||||
}
|
||||
include("adm_defquotas.php");
|
||||
}else{
|
||||
include("head.php");
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
<h3><?php printf(_("Deleting quota %s"),$_POST["type"]); ?> : </h3>
|
||||
|
||||
<form action="adm_dodefquotas.php" method="post">
|
||||
<input type="hidden" name="action" value="delete" />
|
||||
<input type="hidden" name="type" value="<?php echo $_POST["type"] ?>" />
|
||||
<input type="hidden" name="del_confirm" value="y" />
|
||||
<p class="error"><?php __("WARNING : Confirm the deletion of the quota"); ?></p>
|
||||
<p><?php echo $_POST["type"]; ?></p>
|
||||
<blockquote>
|
||||
<input type="submit" class="inb" name="confirm" value="<?php __("Yes"); ?>" />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("No"); ?>" onclick="document.location='adm_defquotas.php';" />
|
||||
</blockquote>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
}
|
||||
} else if($_POST["action"] == "modify") {
|
||||
reset($_POST);
|
||||
$c=array();
|
||||
foreach($_POST as $key => $val) {
|
||||
if($key == "action")
|
||||
continue;
|
||||
|
||||
list($type, $q) = explode(":", $key, 2);
|
||||
$c[$type][$q] = abs(floatval($val));
|
||||
}
|
||||
|
||||
if($quota->setdefaults($c)) {
|
||||
$error=_("Default quotas successfully changed");
|
||||
} else {
|
||||
$error=_("Default quotas could not be set.");
|
||||
}
|
||||
include("adm_panel.php");
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,89 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Delete a member
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
if($_POST["del_confirm"] == "y"){
|
||||
if (!is_array($d)) {
|
||||
$d[]=$d;
|
||||
}
|
||||
|
||||
reset($d);
|
||||
while (list($key,$val)=each($d)) {
|
||||
if (!$admin->checkcreator($val)) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
if (!($u=$admin->get($val)) || !$admin->del_mem($val)) {
|
||||
$error.=sprintf(_("Member '%s' does not exist"),$val)."<br />";
|
||||
} else {
|
||||
$error.=sprintf(_("Member %s successfully deleted"),$u["login"])."<br />";
|
||||
}
|
||||
}
|
||||
include("adm_list.php");
|
||||
exit();
|
||||
} else {
|
||||
if (!is_array($d) || count($d)==0) {
|
||||
$error=_("Please check the accounts you want to delete");
|
||||
require("adm_list.php");
|
||||
exit();
|
||||
}
|
||||
include("head.php");
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
<h3><?php printf(_("Deleting users")); ?> : </h3>
|
||||
<form action="adm_dodel.php" method="post">
|
||||
<input type="hidden" name="action" value="delete" />
|
||||
<input type="hidden" name="del_confirm" value="y" />
|
||||
<p class="error"><?php __("WARNING : Confirm the deletion of the users"); ?></p>
|
||||
<p>
|
||||
<?php
|
||||
foreach($d as $userid){
|
||||
$membre=$admin->get($userid);
|
||||
echo "<input type=\"hidden\" name=\"d[]\" value=\"$userid\" />".$membre['login']."<br/>";
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
<blockquote>
|
||||
<input type="submit" class="inb" name="confirm" value="<?php __("Yes"); ?>" />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("No"); ?>" onclick="document.location='adm_list.php';" />
|
||||
</blockquote>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,63 @@
|
|||
<?php
|
||||
/*
|
||||
$Id: adm_doedit.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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Edit a member's parameters
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
$subadmin=variable_get("subadmin_restriction");
|
||||
|
||||
if ($subadmin==0 && !$admin->checkcreator($uid)) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
if ($pass != $passconf) {
|
||||
$error = _("Passwords do not match");
|
||||
include("adm_edit.php");
|
||||
exit();
|
||||
}
|
||||
// When changing its own account, enabled forced to 1.
|
||||
if ($uid==$mem->user["uid"]) {
|
||||
$enabled=1;
|
||||
}
|
||||
|
||||
if (!$admin->update_mem($uid, $nmail, $nom, $prenom, $pass, $enabled, $canpass, $type, $duration, $notes)){
|
||||
$error=$err->errstr();
|
||||
include("adm_edit.php");
|
||||
} else {
|
||||
$error=_("The member has been successfully edited");
|
||||
include("adm_list.php");
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,49 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Manage allowed TLD on the server
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
$fields = array (
|
||||
"domain" => array ("request", "string", ""),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
if (!$admin->dom_lock($domain)) {
|
||||
$error=$err->errstr();
|
||||
}
|
||||
|
||||
include("adm_doms.php");
|
||||
exit;
|
||||
|
||||
?>
|
|
@ -0,0 +1,99 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Manage allowed TLD on the server
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
include_once ("head.php");
|
||||
|
||||
?>
|
||||
<h3><?php __("Manage installed domains"); ?></h3>
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
}
|
||||
|
||||
// List the domains. If the first parameter is true, also check their DNS & other IPs actual parameters.
|
||||
// If the second parameter is true, check the domains whatever the dis cache is.
|
||||
$forcecheck=($_REQUEST["force"]!="");
|
||||
$c=$admin->dom_list(true,$forcecheck);
|
||||
|
||||
?>
|
||||
<p>
|
||||
<?php __("Here is the list of the domains installed on this server. You can remove a domain if it does not exist or does not point to our server anymore. You can also set the 'Lock' flag on a domain so that the user will not be able to change any DNS parameter or delete this domain from his account."); ?>
|
||||
</p>
|
||||
<p>
|
||||
<?php __("The domain OK column are green when the domain exists in the worldwide registry and has a proper NS,MX and IP depending on its configuration. It is red if we have serious doubts about its NS, MX or IP configuration. Contact the user of this domain or a system administrator."); ?>
|
||||
</p>
|
||||
<p>
|
||||
<?php __("If you want to force the check of NS, MX, IP on domains, click the link"); ?> <a href="adm_doms.php?force=1"><?php __("Show domain list with refreshed checked NS, MX, IP information"); ?></a>
|
||||
</p>
|
||||
<form method="post" action="adm_dodom.php" name="main" id="main">
|
||||
<table class="tlist">
|
||||
<tr><th></th><th><?php __("Action"); ?></th><th><?php __("Domain"); ?></th><th><?php __("Creator"); ?></th><th><?php __("Connect as"); ?><th><?php __("OK?"); ?></th><th><?php __("Status"); ?></th></tr>
|
||||
<?php
|
||||
$col=1;
|
||||
for($i=0;$i<count($c);$i++) {
|
||||
$col=3-$col;
|
||||
?>
|
||||
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<td><?php if ($c[$i]["noerase"]) {
|
||||
echo "<img src=\"icon/encrypted.png\" width=\"16\" height=\"16\" alt=\""._("Locked Domain")."\" />";
|
||||
} ?></td>
|
||||
<td><div class="ina"><a href="adm_domlock.php?domain=<?php echo urlencode($c[$i][domaine]); ?>"><?php
|
||||
if ($c[$i]["noerase"]) __("Unlock"); else __("Lock"); ?></a></div></td>
|
||||
<td><a href="http://<?php echo $c[$i][domaine]; ?>" target="_blank"><?php echo $c[$i]["domaine"]; ?></a></td>
|
||||
<td><?php echo $c[$i]["login"]; ?></td>
|
||||
<td>
|
||||
<?php if($admin->checkcreator($c[$i]['uid'])) {
|
||||
?>
|
||||
<div class="ina"><a href="adm_login.php?id=<?php echo $c[$i]["uid"];?>"><?php __("Connect as"); ?></a></div>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td style="background: <?php
|
||||
if ($c[$i]["errno"]==0) {
|
||||
echo "green";
|
||||
} else {
|
||||
echo "red";
|
||||
}
|
||||
?>">
|
||||
</td>
|
||||
<td><?php echo nl2br($c[$i]["errstr"]); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</form>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,90 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Alan Garcia
|
||||
Purpose of file: Manage domain types on the server
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
include_once("head.php");
|
||||
|
||||
?>
|
||||
<h3><?php __("Manage domains type"); ?></h3>
|
||||
<hr id="topbar" />
|
||||
<p><?php __("If you don't know what this page is about, don't touch anything, and read AlternC documentation about domain types"); ?></p>
|
||||
|
||||
<br />
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
}
|
||||
|
||||
?>
|
||||
<p>
|
||||
<?php __("Here is the list of domain types."); ?>
|
||||
</p>
|
||||
<p><span class="ina"><a href="#" OnClick="alert('Todo. But if you want to play with that, you are advanced enough to do an insert in MySQL');" ><?php __("Create a domain type"); ?></a></span></p>
|
||||
<table class="tlist">
|
||||
<tr>
|
||||
<th colspan="2"> </th>
|
||||
<th><?php __("Name");?></th>
|
||||
<th><?php __("Description");?></th>
|
||||
<th><?php __("Target");?></th>
|
||||
<th><?php __("Entry");?></th>
|
||||
<th><?php __("Compatible with");?><br /><small><?php __("Enter comma-separated name of other types"); ?></small></th>
|
||||
<th><?php __("Enabled?");?></th>
|
||||
<th><?php __("Only DNS?");?></th>
|
||||
<th><?php __("Need to be DNS?");?></th>
|
||||
<th><?php __("Advanced?");?></th>
|
||||
<th/>
|
||||
</tr>
|
||||
<?php
|
||||
$pair=0;
|
||||
foreach($dom->domains_type_lst() as $d) {
|
||||
++$pair;
|
||||
?>
|
||||
<tr class="lst<?php echo $pair%2+1 ?>">
|
||||
<td><div class="ina"><a href="adm_domstypeedit.php?name=<?php echo urlencode($d['name']); ?>"><img style="padding-bottom: 5px" src="images/edit.png" alt="<?php __("Edit"); ?>" /><?php __("Edit"); ?></a></div></td>
|
||||
<td><div class="ina"><a href="adm_domstyperegenerate.php?name=<?php echo urlencode($d['name']);?>"><?php __("Regenerate");?></a></div></td>
|
||||
<td><?php echo $d['name'];?></td>
|
||||
<td><?php echo $d['description'];?></td>
|
||||
<td><?php echo $d['target'];?></td>
|
||||
<td><?php echo $d['entry'];?></td>
|
||||
<td><?php echo $d['compatibility'];?></td>
|
||||
<td><?php echo __($d['enable']);?></td>
|
||||
<td><?php echo $d['only_dns']?__("Yes"):__("No");?></td>
|
||||
<td><?php echo $d['need_dns']?__("Yes"):__("No");?></td>
|
||||
<td><?php echo $d['advanced']?__("Yes"):__("No");?></td>
|
||||
</tr>
|
||||
<?php } // end foreach
|
||||
?>
|
||||
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
require_once("../class/config.php");
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
if ( ! $dom->domains_type_update($name, $description, $target, $entry, $compatibility, $enable, $only_dns, $need_dns, $advanced) ) {
|
||||
die($err->errstr());
|
||||
} else {
|
||||
include("adm_domstype.php");
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
|
@ -0,0 +1,130 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Alan Garcia
|
||||
Purpose of file: Edit the domain types
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
include_once("head.php");
|
||||
|
||||
$fields = array (
|
||||
"name" => array ("request", "string", ""),
|
||||
"description" => array ("request", "string", ""),
|
||||
"target" => array ("request", "string", ""),
|
||||
"entry" => array ("request", "string", ""),
|
||||
"compatibility" => array ("request", "string", ""),
|
||||
"enable" => array ("request", "string", ""),
|
||||
"only_dns" => array ("request", "boolean", ""),
|
||||
"need_dns" => array ("request", "boolean", ""),
|
||||
"advanced" => array ("request", "boolean", ""),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
|
||||
if (! $d=$dom->domains_type_get($name)) {
|
||||
$error=$err->errstr();
|
||||
echo $error;
|
||||
} else {
|
||||
?>
|
||||
|
||||
<h3><?php __("Edit a domain type"); ?> </h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<?php
|
||||
if ($error_edit) {
|
||||
echo "<p class=\"error\">$error_edit</p>";
|
||||
$error_edit="";
|
||||
|
||||
} ?>
|
||||
|
||||
<form action="adm_domstypedoedit.php" method="post" name="main" id="main">
|
||||
<input type="hidden" name="name" value="<?php echo $d['name']; ?>" />
|
||||
<table class="tedit">
|
||||
<tr>
|
||||
<th><?php __("Name");?></th>
|
||||
<td><b><?php echo $d["name"]; ?></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php __("Description");?></th>
|
||||
<td><input name="description" type="text" size="30" value="<?php echo $d['description']; ?>" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php __("Target type");?></th>
|
||||
<td>
|
||||
<select name="target">
|
||||
<?php foreach ($dom->domains_type_target_values() as $k) { ?>
|
||||
<option value="<?php echo $k ?>" <?php echo ($d['target']==$k)?"selected":"";?> ><?php echo $k;?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php __("Entry");?></th>
|
||||
<td><input name="entry" type="text" size="30" value="<?php echo $d['entry']; ?>" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php __("Compatibility");?><br /><small><?php __("Enter comma-separated name of other types"); ?></small></th>
|
||||
<td><input name="compatibility" type="text" size="15" value="<?php echo $d['compatibility']; ?>" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php __("Enabled");?></th>
|
||||
<td>
|
||||
<select name="enable">
|
||||
<?php foreach ($dom->domains_type_enable_values() as $k) { ?>
|
||||
<option value="<?php echo $k ?>" <?php echo ($d['enable']==$k)?"selected":"";?> ><?php __($k);?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php __("Do only a DNS entry");?></th>
|
||||
<td><input name="only_dns" type="checkbox" value="1" <?php cbox($d['only_dns']); ?> /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php __("Domain must have our DNS");?></th>
|
||||
<td><input name="need_dns" type="checkbox" value="1" <?php cbox($d['need_dns']); ?> /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php __("Is it an advanced option?");?></th>
|
||||
<td><input name="advanced" type="checkbox" value="1" <?php cbox($d['advanced']); ?> /></td>
|
||||
</tr>
|
||||
<tr class="trbtn">
|
||||
<td colspan="2">
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Change this domain type"); ?>" />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='adm_domstype.php'"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
require_once("../class/config.php");
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
$fields = array (
|
||||
"name" => array ("request", "string", ""),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
|
||||
if (empty($name) || (! $dom->domains_type_regenerate($name)) ) {
|
||||
die($err->errstr());
|
||||
} else {
|
||||
$error="Regenerate pending";
|
||||
include("adm_domstype.php");
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Transform an account from Normal to Administrator
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
$fields = array (
|
||||
"uid" => array ("request", "integer", 0),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
if (!$admin->su2normal($uid)) {
|
||||
$error=$err->errstr();
|
||||
} else {
|
||||
$error=_("This account is now a normal account");
|
||||
}
|
||||
|
||||
include("adm_edit.php");
|
||||
|
||||
exit();
|
||||
|
||||
?>
|
|
@ -0,0 +1,49 @@
|
|||
<?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
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License (GPL)
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
To read the license please visit http://www.gnu.org/copyleft/gpl.html
|
||||
----------------------------------------------------------------------
|
||||
Purpose of file: Renew an account for the specified period
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
if (!$admin->checkcreator($uid)) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
if (!$admin->renew_mem($_REQUEST['uid'], $_REQUEST['periods'])){
|
||||
$error=$err->errstr();
|
||||
include("adm_edit.php");
|
||||
} else {
|
||||
$error=_("The member has been successfully renewed");
|
||||
include("adm_list.php");
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,52 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Transform an account from Normal to Administrator
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
$fields = array (
|
||||
"uid" => array ("request", "integer", 0),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
if (!$admin->normal2su($uid)) {
|
||||
$error=$err->errstr();
|
||||
} else {
|
||||
$error=_("This account is now an administrator account");
|
||||
}
|
||||
|
||||
include("adm_edit.php");
|
||||
|
||||
exit();
|
||||
|
||||
?>
|
|
@ -0,0 +1,183 @@
|
|||
<?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é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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Show a form to edit a member
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
include_once("head.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
$fields = array (
|
||||
"uid" => array ("request", "integer", 0),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
$subadmin=variable_get("subadmin_restriction");
|
||||
|
||||
if ($subadmin==0 && !$admin->checkcreator($uid)) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
if (!$r=$admin->get($uid)) {
|
||||
$error=$err->errstr();
|
||||
}
|
||||
|
||||
?>
|
||||
<h3><?php __("Member Edition"); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
}
|
||||
?>
|
||||
<form method="post" action="adm_doedit.php" name="main" id="main">
|
||||
<table class="tedit">
|
||||
<tr>
|
||||
<th><input type="hidden" name="uid" value="<?php echo $uid ?>" />
|
||||
<?php __("Username"); ?></th>
|
||||
<td><?php echo $r["login"]; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="enabled"><?php __("Account Enabled?"); ?></label></th>
|
||||
<td>
|
||||
<?php if ($r["uid"]==$mem->user["uid"]) { ?>
|
||||
<?php __("You cannot disable your own account."); ?>
|
||||
<?php } else { ?>
|
||||
<input type="radio" class="inc" id="enabled0" name="enabled" value="0"<?php cbox($r["enabled"]==0); ?>><label for="enabled0"><?php __("No"); ?></label><br />
|
||||
<input type="radio" class="inc" id="enabled1" name="enabled" value="1"<?php cbox($r["enabled"]==1); ?>><label for="enabled1"><?php __("Yes"); ?></label><br />
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><label for="pass"><?php __("Password"); ?></label></th>
|
||||
<td><input type="password" class="int" id="pass" name="pass" value="" size="20" maxlength="64" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="passconf"><?php __("Confirm password"); ?></label></th>
|
||||
<td><input type="password" class="int" id="passconf" name="passconf" value="" size="20" maxlength="64" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="canpass"><?php __("Can he change its password"); ?></label></th>
|
||||
<td>
|
||||
<input type="radio" class="inc" id="canpass0" name="canpass" value="0"<?php cbox($r["canpass"]==0); ?>><label for="canpass0"><?php __("No"); ?></label><br />
|
||||
<input type="radio" class="inc" id="canpass1" name="canpass" value="1"<?php cbox($r["canpass"]==1); ?>><label for="canpass1"><?php __("Yes"); ?></label><br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="notes"><?php __("Notes"); ?></label></th>
|
||||
<td><textarea name="notes" id="notes" class="int" cols="32" rows="5"><?php ehe($r['notes']); ?></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="nom"><?php echo _("Surname")."</label> / <label for=\"prenom\">"._("First Name"); ?></label></th>
|
||||
<td><input type="text" class="int" name="nom" id="nom" value="<?php ehe($r["nom"]); ?>" size="20" maxlength="128" /> / <input type="text" class="int" name="prenom" id="prenom" value="<?php ehe($r["prenom"]); ?>" size="20" maxlength="128" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="nmail"><?php __("Email address"); ?></label></th>
|
||||
<td><input type="text" class="int" name="nmail" id="nmail" value="<?php ehe($r["mail"]); ?>" size="30" maxlength="128" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="type"><?php __("Account type"); ?></label></th>
|
||||
<td><select name="type" id="type" class="inl">
|
||||
<?php
|
||||
$db->query("SELECT distinct(type) FROM defquotas ORDER by type");
|
||||
while($db->next_record()) {
|
||||
$type = $db->f("type");
|
||||
echo "<option value=\"$type\"";
|
||||
if($type == $r['type'])
|
||||
echo " selected";
|
||||
echo ">$type</option>";
|
||||
}
|
||||
?></select> <input type="checkbox" name="reset_quotas" id="reset_quotas" class="inc" /><label for="reset_quotas"><?php __("Reset quotas to default?") ?></label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="duration"><?php __("Period"); ?></label></th>
|
||||
<td><?php echo duration_list('duration', $r['duration']) ?></td>
|
||||
</tr>
|
||||
<tr class="trbtn"><td colspan="2">
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Edit this account"); ?>" />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='adm_list.php'" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<?php if($r['duration']) { ?>
|
||||
<p>
|
||||
<form method="post" action="adm_dorenew.php">
|
||||
<input type="hidden" name="uid" value="<?php echo $uid ?>" />
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<th><label for="periods"><?php __("Renew for") ?></label></th>
|
||||
<td><input name="periods" id="periods" type="text" size="2" value="1"/><?php echo ' ' . _('period(s)') ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center"><input type="submit" class="inb" name="submit" value="<?php __("Renew"); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</p>
|
||||
<?php } /* Renouvellement */ ?>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
if ($mem->user["uid"]==2000 && $r["uid"]!=2000) { // Only ADMIN (2000) can change the admin status of accounts
|
||||
if ($r["su"]) {
|
||||
?>
|
||||
<p><b><?php __("This account is a super-admin account"); ?></b></p>
|
||||
<?php if ($admin->onesu()) {
|
||||
__("There is only one administrator account, you cannot turn this account back to normal");
|
||||
} else {
|
||||
?>
|
||||
<p><span class="ina"><a href="adm_donosu.php?uid=<?php echo $r["uid"]; ?>"><?php __("Turn this account back to normal"); ?></a></span></p>
|
||||
<?php }
|
||||
} else { ?>
|
||||
<p><span class="ina"><a href="adm_dosu.php?uid=<?php echo $r["uid"]; ?>"><?php __("Make this account a super admin one"); ?></a></span></p>
|
||||
<?php } ?>
|
||||
</p>
|
||||
|
||||
<p><?php
|
||||
}
|
||||
if ($c=$admin->get($r["creator"])) {
|
||||
printf(_("Account created by %s"),$c["login"]);
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
<script type="text/javascript">
|
||||
document.forms['main'].pass.focus();
|
||||
document.forms['main'].setAttribute('autocomplete', 'off');
|
||||
</script>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,287 @@
|
|||
<?php
|
||||
/*
|
||||
$Id: adm_list.php,v 1.11 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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Show the member list
|
||||
TODO : Add a Next / Previous system in case of big lists...
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
include_once("head.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
$fields = array (
|
||||
"show" => array ("request", "string", ""),
|
||||
"creator" => array("request", "integer", 0),
|
||||
"short" => array("request", "integer", -1),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
|
||||
if ($short!=-1) {
|
||||
$mem->adminpref($short);
|
||||
$mem->user["admlist"]=$short;
|
||||
}
|
||||
|
||||
$subadmin=variable_get("subadmin_restriction");
|
||||
|
||||
if ($subadmin==0 && $show && $cuid != 2000)
|
||||
{
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
$r=$admin->get_list($show == 'all' ? 1 : 0, $creator);
|
||||
|
||||
?>
|
||||
<h3><?php __("AlternC account list"); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
}
|
||||
?>
|
||||
<p>
|
||||
<?php __("Here is the list of hosted AlternC accounts"); ?> (<?php printf(_("%s accounts"),count($r)); ?>)
|
||||
|
||||
|
||||
<?php if($_REQUEST['show'] != 'all') {
|
||||
echo '<p><span class="ina"><a href="adm_list.php?show=all">' . _('List all AlternC accounts') . '</a></span>';
|
||||
if ($subadmin!=0 || $cuid==2000) {
|
||||
$list_creators = $admin->get_creator_list();
|
||||
$infos_creators = array();
|
||||
|
||||
foreach ($list_creators as $key => $val) {
|
||||
$infos_creators[] = '<a href="adm_list.php?creator=' . $val['uid'] . '">' . $val['login'] . '</a>';
|
||||
}
|
||||
|
||||
if (count($infos_creators)) {
|
||||
echo ' ('._("Or only the accounts of:")." ". implode(', ', $infos_creators) . ')';
|
||||
}
|
||||
echo "</p>";
|
||||
}
|
||||
} else {
|
||||
echo '<p><span class="ina"><a href="adm_list.php">' . _('List only my accounts') . '</a></span></p>';
|
||||
} ?>
|
||||
<p><span class="ina"><a href="adm_add.php"><?php __("Create a new AlternC account"); ?></a></span></p>
|
||||
|
||||
<?php
|
||||
if (!is_array($r)) {
|
||||
echo "<p class=\"error\">"._("No account defined for now")."</p>";
|
||||
} else {
|
||||
?>
|
||||
|
||||
<form method="post" action="adm_dodel.php">
|
||||
<?php
|
||||
|
||||
// Depending on the admin's choice, let's show a short list or a long list.
|
||||
|
||||
if ($mem->user["admlist"]==0) { // Normal (large) mode
|
||||
?>
|
||||
<table class="tlist">
|
||||
<tr><td colspan="6">
|
||||
<?php if (count($r)>5) { ?>
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Delete checked accounts"); ?>" />
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td class="trbtn" colspan="4">
|
||||
<span class="inav"><a href="adm_list.php?short=1"><?php __("Minimal view"); ?></a></span>
|
||||
<span class="ina" style="cursor: text"><?php __("Complete view"); ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th><?php __("Account"); ?></th>
|
||||
<th><?php __("Manager"); ?></th>
|
||||
<th><?php __("Created by") ?></th>
|
||||
<th><?php __("Created on") ?></th>
|
||||
<th><?php __("Quotas") ?></th>
|
||||
<th><?php __("Last login"); ?></th>
|
||||
<th><?php __("Last ip"); ?></th>
|
||||
<th><?php __("Fails"); ?></th>
|
||||
<th><?php __('Expiry') ?></th>
|
||||
</tr>
|
||||
<?php
|
||||
reset($r);
|
||||
|
||||
$col=1;
|
||||
while (list($key,$val)=each($r))
|
||||
{
|
||||
$col=3-$col;
|
||||
?>
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
|
||||
<?php
|
||||
if ($val["su"]) { ?>
|
||||
<td> </td>
|
||||
<?php } else { ?>
|
||||
<td><input type="checkbox" class="inc" name="d[]" value="<?php echo $val["uid"]; ?>" /></td>
|
||||
<?php } ?>
|
||||
<td <?php if ($val["su"]) echo "style=\"color: red\""; ?>><b><?php echo $val["login"] ?></b></td>
|
||||
<td><a href="mailto:<?php echo $val["mail"]; ?>"><?php echo $val["nom"]." ".$val["prenom"] ?></a> </td>
|
||||
<td><?php echo $val["parentlogin"] ?></td>
|
||||
<td><?php echo format_date('%3$d-%2$d-%1$d',$val["created"]); ?></td>
|
||||
<td><?php echo $val["type"] ?></td>
|
||||
<td><?php echo $val["lastlogin"] ?></td>
|
||||
<td><?php echo $val["lastip"] ?></td>
|
||||
<td><?php echo $val["lastfail"] ?></td>
|
||||
<td><div class="<?php echo 'exp' . $admin->renew_get_status($val['uid']) ?>"><?php echo $admin->renew_get_expiry($val['uid']) ?></div></td>
|
||||
</tr>
|
||||
|
||||
<tr class="lst<?php echo $col; ?>" >
|
||||
<td></td><td></td>
|
||||
<td colspan="8" >
|
||||
<div id="admlistbtn">
|
||||
<span class="ina<?php if ($col==2) echo "v"; ?> lst<?php echo $col; ?>">
|
||||
<a href="adm_login.php?id=<?php echo $val["uid"];?>"><?php __("Connect as"); ?></a>
|
||||
</span>
|
||||
|
||||
<span class="ina<?php if ($col==2) echo "v"; ?> lst<?php echo $col; ?>" >
|
||||
<a href="adm_edit.php?uid=<?php echo $val["uid"] ?>"><?php __("Edit"); ?></a>
|
||||
</span>
|
||||
<span class="ina<?php if ($col==2) echo "v"; ?> lst<?php echo $col; ?>" >
|
||||
<a href="adm_quotaedit.php?uid=<?php echo $val["uid"] ?>"><?php __("Quotas"); ?></a>
|
||||
</span>
|
||||
<?php if (!$val["su"]) { ?>
|
||||
<span class="ina<?php if ($col==2) echo "v"; ?> lst<?php echo $col; ?>" >
|
||||
<a href="adm_deactivate.php?uid=<?php echo $val["uid"] ?>"><?php __("Disable"); ?></a>
|
||||
</span>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
} // NORMAL MODE
|
||||
|
||||
if ($mem->user["admlist"]==1) { // SHORT MODE
|
||||
?>
|
||||
|
||||
[ <?php __("C"); ?> ] <?php __("Connect as"); ?>
|
||||
[ <?php __("E"); ?> ] <?php __("Edit"); ?>
|
||||
[ <?php __("Q"); ?> ] <?php __("Quotas"); ?>
|
||||
|
||||
<table class="tlist">
|
||||
<tr><td colspan="4">
|
||||
<?php if (count($r)>50) { ?>
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Delete checked accounts"); ?>" />
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td class="trbtn" colspan="5">
|
||||
<span class="ina" style="cursor: text"><?php __("Minimal view"); ?></span>
|
||||
<span class="inav"><a href="adm_list.php?short=0"><?php __("Complete view"); ?></a></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2"> </th><th><?php __("Account"); ?></th>
|
||||
<th colspan="2"> </th><th><?php __("Account"); ?></th>
|
||||
<th colspan="2"> </th><th><?php __("Account"); ?></th>
|
||||
</tr>
|
||||
<?php
|
||||
reset($r);
|
||||
$col=1;
|
||||
|
||||
$rz=ceil(count($r)/3);
|
||||
|
||||
for($z=0;$z<$rz;$z++)
|
||||
{
|
||||
$col=3-$col;
|
||||
$val=$r[$z];
|
||||
?>
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<?php if ($val["su"]) { ?>
|
||||
<td> </td>
|
||||
<?php } else { ?>
|
||||
<td align="center"><input type="checkbox" class="inc" name="d[]" value="<?php echo $val["uid"]; ?>" /></td>
|
||||
<?php } ?>
|
||||
<td align="center">
|
||||
<a href="adm_login.php?id=<?php echo $val["uid"];?>" target="_parent">[ <?php __("C"); ?> ]</a>
|
||||
<a href="adm_edit.php?uid=<?php echo $val["uid"] ?>">[ <?php __("E"); ?> ]</a>
|
||||
<?php if($admin->checkcreator($val['uid'])) { ?>
|
||||
<a href="adm_quotaedit.php?uid=<?php echo $val["uid"] ?>">[ <?php __("Q"); ?> ]</a>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td style="padding-right: 2px; border-right: 1px solid black; <?php if ($val["su"]) echo "color: red"; ?>"><b><?php echo $val["login"] ?></b></td>
|
||||
<?php
|
||||
$val=$r[$z+$rz];
|
||||
if (is_array($val)) {
|
||||
?>
|
||||
<?php if ($val["su"]) { ?>
|
||||
<td> </td>
|
||||
<?php } else { ?>
|
||||
<td align="center"><input type="checkbox" class="inc" name="d[]" value="<?php echo $val["uid"]; ?>"></td>
|
||||
<?php } ?>
|
||||
<td align="center">
|
||||
<a href="adm_login.php?id=<?php echo $val["uid"];?>" target="_parent">[ <?php __("C"); ?> ]</a>
|
||||
<a href="adm_edit.php?uid=<?php echo $val["uid"] ?>">[ <?php __("E"); ?> ]</a>
|
||||
<?php if($admin->checkcreator($val['uid'])) { ?>
|
||||
<a href="adm_quotaedit.php?uid=<?php echo $val["uid"] ?>">[ <?php __("Q"); ?> ]</a>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td style="padding-right: 2px; border-right: 1px solid black; <?php if ($val["su"]) echo "color: red"; ?>"><b><?php echo $val["login"] ?></b></td>
|
||||
<?php
|
||||
|
||||
} else echo "<td style=\"padding-right: 2px; border-right: 1px solid;\" colspan=\"3\"></td></tr>";
|
||||
|
||||
$val=$r[$z+2*$rz];
|
||||
if (is_array($val)) {
|
||||
?>
|
||||
<?php if ($val["su"]) { ?>
|
||||
<td> </td>
|
||||
<?php } else { ?>
|
||||
<td align="center"><input type="checkbox" class="inc" name="d[]" value="<?php echo $val["uid"]; ?>"></td>
|
||||
<?php } ?>
|
||||
<td align="center">
|
||||
<a href="adm_login.php?id=<?php echo $val["uid"];?>" target="_parent">[ <?php __("C"); ?> ]</a>
|
||||
<a href="adm_edit.php?uid=<?php echo $val["uid"] ?>">[ <?php __("E"); ?> ]</a>
|
||||
<?php if($admin->checkcreator($val['uid'])) { ?>
|
||||
<a href="adm_quotaedit.php?uid=<?php echo $val["uid"] ?>">[ <?php __("Q"); ?> ]</a>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td style="padding-right: 2px; border-right: 1px solid black; <?php if ($val["su"]) echo "color: red"; ?>"><b><?php echo $val["login"] ?></b></td>
|
||||
</tr>
|
||||
<?php
|
||||
} else echo "<td style=\"padding-right: 2px; border-right: 1px solid;\" colspan=\"3\"></td></tr>";
|
||||
} // for loop
|
||||
} // Short Mode
|
||||
|
||||
|
||||
?>
|
||||
<tr><td colspan="10"><input type="submit" class="inb" name="submit" value="<?php __("Delete checked accounts"); ?>" /></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,122 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Connect a super-user to another account
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
/*
|
||||
We come into this page in two situations :
|
||||
* with a user id to go to (we check the current account is admin and is allowed to connect to this account)
|
||||
* with no parameter when the admin want to go back to his admin account.
|
||||
*/
|
||||
|
||||
|
||||
// * with no parameter when the admin want to go back to his admin account.
|
||||
if (!$_REQUEST["id"] && $_COOKIE["oldid"]) {
|
||||
// We check the cookie's value :
|
||||
list($newuid,$passcheck)=explode("/",$_COOKIE["oldid"]);
|
||||
$newuid=intval($newuid);
|
||||
if (!$newuid) {
|
||||
$error=_("Your authentication information are incorrect");
|
||||
include("index.php");
|
||||
exit();
|
||||
}
|
||||
$admin->enabled=true;
|
||||
$r=$admin->get($newuid);
|
||||
if ($passcheck!=md5($r["pass"])) {
|
||||
$error=_("Your authentication information are incorrect");
|
||||
include("index.php");
|
||||
exit();
|
||||
}
|
||||
|
||||
// Ok, so we remove the cookie :
|
||||
setcookie('oldid','',0,'/');
|
||||
unset($_COOKIE['oldid']);
|
||||
|
||||
// And we go back to the former administrator account :
|
||||
if (!$mem->setid($newuid)) {
|
||||
$error=$err->errstr();
|
||||
include("index.php");
|
||||
exit();
|
||||
}
|
||||
include_once("adm_list.php");
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
// * with a user id to go to (we check the current account is admin and is allowed to connect to this account)
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
$fields = array (
|
||||
"id" => array ("request", "integer", 0),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
// Depending on subadmin_restriction, a subadmin can (or cannot) connect to account he didn't create
|
||||
$subadmin=variable_get("subadmin_restriction");
|
||||
if ($subadmin==0 && !$admin->checkcreator($id)) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
if (!$r=$admin->get($id)) {
|
||||
$error=$err->errstr();
|
||||
} else {
|
||||
$oldid=$cuid."/".md5($mem->user["pass"]);
|
||||
setcookie('oldid',$oldid,0,'/');
|
||||
$_COOKIE['oldid']=$oldid;
|
||||
|
||||
if (!$mem->setid($id)) {
|
||||
$error=$err->errstr();
|
||||
include("index.php");
|
||||
exit();
|
||||
}
|
||||
// Now we are the other user :)
|
||||
include_once("main.php");
|
||||
exit();
|
||||
}
|
||||
|
||||
// If there were an error, let's show it :
|
||||
include_once("head.php");
|
||||
|
||||
?>
|
||||
<h3><?php __("Member login"); ?></h3>
|
||||
<?php
|
||||
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
include_once("foot.php");
|
||||
exit();
|
||||
}
|
||||
|
||||
include_once("foot.php");
|
||||
|
||||
?>
|
|
@ -0,0 +1,116 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Manage list of allowed accounts for secondary mx
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
$fields = array (
|
||||
"delaccount" => array ("request", "string", ""),
|
||||
|
||||
"newlogin" => array ("request", "string", ""),
|
||||
"newpass" => array ("request", "string", ""),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
if ($delaccount) {
|
||||
// Delete an account
|
||||
if ($mail->del_slave_account($delaccount)) {
|
||||
$error=_("The requested account has been deleted. It is now denied.");
|
||||
}
|
||||
}
|
||||
if ($newlogin) {
|
||||
// Add an account
|
||||
if ($mail->add_slave_account($newlogin,$newpass)) {
|
||||
$error=_("The requested account address has been created. It is now allowed.");
|
||||
unset($newlogin); unset($newpass);
|
||||
}
|
||||
}
|
||||
|
||||
include_once("head.php");
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
<h3><?php __("Manage allowed accounts for secondary mx"); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
}
|
||||
|
||||
$c=$mail->enum_slave_account();
|
||||
|
||||
if (is_array($c)) {
|
||||
|
||||
?>
|
||||
<p>
|
||||
<?php __("Here is the list of the allowed accounts for secondary mx management. You can configure the alternc-secondarymx package on your secondary mx server and give him the login/pass that will grant him access to your server's mx-hosted domain list. "); ?>
|
||||
</p>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr><th><?php __("Action"); ?></th><th><?php __("Login"); ?></th><th><?php __("Password"); ?></th></tr>
|
||||
<?php
|
||||
$col=1;
|
||||
for($i=0;$i<count($c);$i++) {
|
||||
$col=3-$col;
|
||||
?>
|
||||
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<td class="center"><div class="ina"><a href="adm_mxaccount.php?delaccount=<?php echo urlencode($c[$i]["login"]); ?>"><img src="images/delete.png" alt="<?php __("Delete"); ?>" /><?php __("Delete"); ?></a></div></td>
|
||||
<td><?php echo $c[$i]["login"]; ?></td>
|
||||
<td><?php echo $c[$i]["pass"]; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<?php } ?>
|
||||
<p><?php __("If you want to allow a new server to access your mx-hosted domain list, give him an account."); ?></p>
|
||||
<form method="post" action="adm_mxaccount.php" name="main" id="main">
|
||||
<table class="tedit">
|
||||
<tr><th><label for="newlogin"><?php __("Login"); ?></label></th><th><label for="newpass"><?php __("Password"); ?></label></th></tr>
|
||||
<tr>
|
||||
<td><input type="text" class="int" value="<?php ehe($newlogin); ?>" id="newlogin" name="newlogin" maxlength="64" size="32" /></td>
|
||||
<td><input type="password" class="int" value="<?php ehe($newpass); ?>" id="newpass" name="newpass" maxlength="64" size="32" /></td>
|
||||
</tr>
|
||||
<tr class="trbtn"><td colspan="2">
|
||||
<input type="submit" value="<?php __("Add this account to the allowed list"); ?>" class="inb" />
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
document.forms['main'].newlogin.focus();
|
||||
document.forms['main'].setAttribute('autocomplete', 'off');
|
||||
</script>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,90 @@
|
|||
<?php
|
||||
/*
|
||||
$Id: adm_panel.php,v 1.9 2005/08/01 18:25:52 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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Panneau de control de l'administrateur
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
include_once("head.php");
|
||||
|
||||
?>
|
||||
<h3><?php __("Admin Control Panel"); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
include_once("foot.php");
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
<ul id="adm_panel">
|
||||
<li class="lst1"><a href="adm_tld.php"><?php __("Manage allowed domains (TLD)"); ?></a></li>
|
||||
<li class="lst2"><a href="adm_passpolicy.php"><?php __("Password Policies"); ?></a></li>
|
||||
<li class="lst1"><a href="adm_doms.php"><?php __("Manage installed domains"); ?></a></li>
|
||||
<li class="lst2"><a href="adm_defquotas.php"><?php __("Change the default quotas"); ?></a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><?php __("Advanced features"); ?></h3>
|
||||
|
||||
<ul id="adm_panel_root">
|
||||
<li class="lst2"><a href="adm_slaveip.php"><?php __("Manage allowed ip for slave zone transfers"); ?></a></li>
|
||||
<li class="lst1"><a href="adm_slaveaccount.php"><?php __("Manage allowed accounts for slave zone transfers"); ?></a></li>
|
||||
<li class="lst2"><a href="adm_mxaccount.php"><?php __("Manage allowed accounts for secondary mx"); ?></a></li>
|
||||
<li class="lst1"><a href="adm_variables.php"><?php __("Configure AlternC variables"); ?></a></li>
|
||||
<li class="lst2"><a href="adm_domstype.php"><?php __("Manage domains type"); ?></a></li>
|
||||
<li class="lst1"><a href="adm_dnsweberror.php"><?php __("DNS and website having errors"); ?></a></li>
|
||||
<!-- <li class="lst2"><a href="stats_members.php"><?php __("Account creation statistics"); ?></a></li> -->
|
||||
</ul>
|
||||
|
||||
<?php
|
||||
|
||||
// here we include any "adminmenu_*" file content
|
||||
$d=opendir(".");
|
||||
if ($d) {
|
||||
$lst=2;
|
||||
while ($c=readdir($d)) {
|
||||
if (substr($c,0,10)=="adminmenu_") {
|
||||
echo "<li class=\"lst$lst\">";
|
||||
include($c);
|
||||
echo "</li>\n";
|
||||
$lst=3-$lst;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
closedir($d);
|
||||
?>
|
||||
</ul>
|
||||
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,167 @@
|
|||
<?php
|
||||
/*
|
||||
adm_passpolicy.php
|
||||
----------------------------------------------------------------------
|
||||
AlternC - Web Hosting System
|
||||
Copyright (C) 2002-2010 by the AlternC Development Team.
|
||||
http://alternc.org/
|
||||
----------------------------------------------------------------------
|
||||
LICENSE
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License (GPL)
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
To read the license please visit http://www.gnu.org/copyleft/gpl.html
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Manage the password policy for AlternC
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
$fields = array (
|
||||
"edit" => array ("request", "string", ""),
|
||||
|
||||
"minsize" => array ("request", "integer", "0"),
|
||||
"maxsize" => array ("request", "integer", "64"),
|
||||
"classcount" => array ("request", "integer", "0"),
|
||||
"allowlogin" => array ("request", "integer", "0"),
|
||||
);
|
||||
|
||||
getFields($fields);
|
||||
|
||||
|
||||
include_once("head.php");
|
||||
|
||||
?>
|
||||
<h3><?php __("Manage Password Policy"); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
}
|
||||
|
||||
$c=$admin->listPasswordPolicies();
|
||||
//echo "<pre>"; print_r($c); echo "</pre>";
|
||||
|
||||
if ($doedit) {
|
||||
if (!$c[$doedit]) {
|
||||
echo "<p class=\"error\">"._("Policy not found")."</p>";
|
||||
} else {
|
||||
// Change it ;)
|
||||
if ($admin->editPolicy($doedit,$minsize,$maxsize,$classcount,$allowlogin)) {
|
||||
echo "<p class=\"info\">"._("Policy changed")."</p>";
|
||||
unset($edit);
|
||||
$c=$admin->listPasswordPolicies();
|
||||
} else {
|
||||
echo "<p class=\"error\">"._("Cannot edit the policy, an error occurred")."</p>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($edit) {
|
||||
if (!$c[$edit]) {
|
||||
echo "<p class=\"error\">"._("Policy not found")."</p>";
|
||||
} else {
|
||||
?>
|
||||
|
||||
<p><?php __("Please choose which policy you want to apply to this password kind:"); ?></p>
|
||||
|
||||
<p><b><?php echo $c[$edit]["description"]; ?></b></p>
|
||||
|
||||
<form method="post" name="adm_passpolicy.php">
|
||||
<input type="hidden" name="doedit" value="<?php echo $edit; ?>"/>
|
||||
<table class="tlist">
|
||||
<tr>
|
||||
<th><?php __("Minimum Password Size:"); ?></th>
|
||||
<td><select class="inl" name="minsize" id="minsize"><?php for($i=0;$i<=64;$i++) {
|
||||
echo "<option";
|
||||
if ($c[$edit]["minsize"]==$i) echo " selected=\"selected\"";
|
||||
echo ">$i</option>";
|
||||
}
|
||||
?></td></tr>
|
||||
<tr><th><?php __("Maximum Password Size:"); ?></th>
|
||||
<td><select class="inl" name="maxsize" id="maxsize"><?php for($i=0;$i<=64;$i++) {
|
||||
echo "<option";
|
||||
if ($c[$edit]["maxsize"]==$i) echo " selected=\"selected\"";
|
||||
echo ">$i</option>";
|
||||
}
|
||||
?></td></tr>
|
||||
<tr> <th><?php __("In how many classes of characters must be the password (at least):"); ?></th>
|
||||
<td><select class="inl" name="classcount" id="classcount"><?php for($i=0;$i<=4;$i++) {
|
||||
echo "<option";
|
||||
if ($c[$edit]["classcount"]==$i) echo " selected=\"selected\"";
|
||||
echo ">$i</option>";
|
||||
}
|
||||
?></td></tr>
|
||||
<tr> <th><?php __("Do we allow the password to be like the login?"); ?></th>
|
||||
<td>
|
||||
<input type="radio" name="allowlogin" id="allowlogin0" value="0" <?php cbox(!$c[$edit]["allowlogin"]); ?> /> <?php __("No"); ?>
|
||||
<input type="radio" name="allowlogin" id="allowlogin1" value="1" <?php cbox($c[$edit]["allowlogin"]); ?> /> <?php __("Yes"); ?>
|
||||
</td></tr>
|
||||
</table>
|
||||
<p><input type="submit" class="inb" name="go" value="<?php __("Apply this password policy"); ?>" />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("Cancel and go back to the policy list"); ?>" onclick="document.location='adm_passpolicy.php'" /></p>
|
||||
</form>
|
||||
|
||||
<p><?php __("The classes of characters are : <br />1. Low-case letters (a-z)<br />2. Upper-case letters (A-Z)<br />3. Figures (0-9)<br />4. Ascii symbols (!\"#$%&'()*+,-./:;<=>?@[\\]^_`)<br />5. Non-Ascii symbols (accents...)"); ?></p>
|
||||
</p>
|
||||
|
||||
<?php
|
||||
require_once("foot.php");
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
||||
if (is_array($c)) {
|
||||
|
||||
?>
|
||||
<p>
|
||||
<?php __("Here is the list of the password policies for each place a password may be needed in AlternC's services. For each of those password kind, you can choose which policy will be applied to passwords. A policy is a minimum and maximum password size, and how many classes of characters must appear in the password. You can also forbid (or not) to use the login or part of it as a password."); ?>
|
||||
</p>
|
||||
|
||||
<table class="tlist">
|
||||
<tr><th rowspan="2"> </th><th rowspan="2"><?php __("Password Kind"); ?></th><th colspan="4"><?php __("Password Policy"); ?></th></tr>
|
||||
<tr>
|
||||
<th><?php __("Min Size"); ?></th>
|
||||
<th><?php __("Max Size"); ?></th>
|
||||
<th><?php __("Complexity"); ?></th>
|
||||
<th><?php __("Allow Password=Login?"); ?></th>
|
||||
</tr>
|
||||
<?php
|
||||
$col=1;
|
||||
foreach($c as $v) {
|
||||
$col=3-$col;
|
||||
?>
|
||||
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<td class="center">
|
||||
<div class="ina"><a href="adm_passpolicy.php?edit=<?php echo urlencode($v["name"]); ?>"><img src="images/edit.png" alt="<?php __("Edit"); ?>" /><?php __("Edit"); ?></a></div>
|
||||
</td>
|
||||
<td><?php echo $v["description"]; ?></td>
|
||||
<td class="center"><?php echo $v["minsize"]; ?></td>
|
||||
<td class="center"><?php echo $v["maxsize"]; ?></td>
|
||||
<td class="center"><?php echo $v["classcount"]; ?></td>
|
||||
<td class="center"><?php if ($v["allowlogin"]) __("Yes"); else __("No"); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,54 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Edit a member's quotas
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
if ($submit) {
|
||||
|
||||
$mem->su($uid);
|
||||
$qlist=$quota->qlist();
|
||||
reset($qlist);
|
||||
|
||||
while (list($key,$val)=each($qlist)) {
|
||||
$var="q_".$key;
|
||||
$quota->setquota($key,$_REQUEST[$var]);
|
||||
}
|
||||
$mem->unsu();
|
||||
$error=_("The quotas has been successfully edited");
|
||||
include("adm_list.php");
|
||||
exit;
|
||||
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,92 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Show the form to edit the user's quota
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
include_once("head.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
include_once("foot.php");
|
||||
exit();
|
||||
}
|
||||
|
||||
$fields = array (
|
||||
"uid" => array ("request", "integer", 0),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
if (!$us=$admin->get($uid)) {
|
||||
$error=$err->errstr();
|
||||
}
|
||||
|
||||
$mem->su($uid);
|
||||
if (!$r=$quota->getquota()) {
|
||||
$error=$err->errstr();
|
||||
}
|
||||
$mem->unsu();
|
||||
|
||||
?>
|
||||
<h3><?php __("Editing the quotas of a member"); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
include_once("foot.php");
|
||||
exit();
|
||||
}
|
||||
?>
|
||||
<form method="post" action="adm_quotadoedit.php">
|
||||
<table class="tedit">
|
||||
<tr><th><input type="hidden" name="uid" value="<?php echo $uid ?>" />
|
||||
<?php __("Username"); ?></th><td colspan="3"><code><big><?php echo $us["login"]; ?></big></code> </td></tr>
|
||||
<tr><th><?php __("Quota"); ?></th><th style="text-align: right"><?php __("Total"); ?></th><th><?php __("Used"); ?></th></tr>
|
||||
<?php
|
||||
$ql=$quota->qlist();
|
||||
reset($ql);
|
||||
while (list($key,$val)=each($ql)) {
|
||||
echo "<tr>";
|
||||
echo "<td>";
|
||||
if ($r[$key]["t"]==$r[$key]["u"] && $r[$key]["u"]) echo "<span style=\"color: red;\">";
|
||||
echo "<label for=\"q_$key\">" . _("quota_".$key) . "</label>";
|
||||
if ($r[$key]["t"]==$r[$key]["u"] && $r[$key]["u"]) echo "</span>";
|
||||
echo "</td>";
|
||||
echo "<td align=\"center\"><input type=\"text\" class=\"int\" style=\"text-align: right\" size=\"10\" maxlength=\"20\" value=\"".$r[$key]["t"]."\" name=\"q_".$key."\" id=\"q_".$key."\" /></td>";
|
||||
echo "<td align=\"right\"><code><label for=\"q_$key\">".$r[$key]["u"]."</label></code> </td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
?>
|
||||
<tr class="trbtn"><td colspan="3">
|
||||
<input class="inb" type="submit" name="submit" value="<?php __("Edit the quotas"); ?>" />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='adm_list.php'" />
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,114 @@
|
|||
<?php
|
||||
/*
|
||||
$Id: adm_slaveaccount.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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Manage list of allowed accounts for zone transfers
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
$fields = array (
|
||||
"delaccount" => array ("request", "string", ""),
|
||||
|
||||
"newlogin" => array ("request", "string", ""),
|
||||
"newpass" => array ("request", "string", ""),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
if ($delaccount) {
|
||||
// Delete an account
|
||||
if ($dom->del_slave_account($delaccount)) {
|
||||
$error=_("The requested account has been deleted. It is now denied.");
|
||||
}
|
||||
}
|
||||
if ($newlogin) {
|
||||
// Add an account
|
||||
if ($dom->add_slave_account($newlogin,$newpass)) {
|
||||
$error=_("The requested account address has been created. It is now allowed.");
|
||||
unset($newlogin); unset($newpass);
|
||||
}
|
||||
}
|
||||
|
||||
include_once ("head.php");
|
||||
|
||||
?>
|
||||
<h3><?php __("Manage allowed accounts for slave zone transfers"); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
}
|
||||
|
||||
$c=$dom->enum_slave_account();
|
||||
|
||||
if (is_array($c)) {
|
||||
|
||||
?>
|
||||
<p>
|
||||
<?php __("Here is the list of the allowed accounts for slave dns synchronization. You can configure the alternc-slavedns package on your slave server and give him the login/pass that will grant him access to your server's domain list. "); ?>
|
||||
</p>
|
||||
|
||||
<table class="tlist">
|
||||
<tr><th><?php __("Action"); ?></th><th><?php __("Login"); ?></th><th><?php __("Password"); ?></th></tr>
|
||||
<?php
|
||||
$col=1;
|
||||
for($i=0;$i<count($c);$i++) {
|
||||
$col=3-$col;
|
||||
?>
|
||||
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<td class="center"><div class="ina"><a href="adm_slaveaccount.php?delaccount=<?php echo urlencode($c[$i]["login"]); ?>"><img src="images/delete.png" alt="<?php __("Delete"); ?>" /><?php __("Delete"); ?></a></div></td>
|
||||
<td><?php ehe($c[$i]["login"]); ?></td>
|
||||
<td><?php ehe($c[$i]["pass"]); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<?php } ?>
|
||||
<p><?php __("If you want to allow a new server to access your domain list, give him an account."); ?></p>
|
||||
<form method="post" action="adm_slaveaccount.php" name="main" id="main">
|
||||
<table class="tedit">
|
||||
<tr><th><label for="newlogin"><?php __("Login"); ?></label></th><th><label for="newpass"><?php __("Password"); ?></label></th></tr>
|
||||
<tr>
|
||||
<td><input type="text" class="int" value="<?php ehe($newlogin); ?>" id="newlogin" name="newlogin" maxlength="64" size="32" /></td>
|
||||
<td><input type="password" class="int" value="<?php ehe($newpass); ?>" id="newpass" name="newpass" maxlength="64" size="32" /></td>
|
||||
</tr>
|
||||
<tr class="trbtn"><td colspan="2">
|
||||
<input type="submit" value="<?php __("Add this account to the allowed list"); ?>" class="inb" />
|
||||
</table>
|
||||
<script type="text/javascript">
|
||||
document.forms['main'].newlogin.focus();
|
||||
document.forms['main'].setAttribute('autocomplete', 'off');
|
||||
</script>
|
||||
|
||||
</form>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,112 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Manage list of allowed ip for zone transfers
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
$fields = array (
|
||||
"delip" => array ("request", "string", ""),
|
||||
|
||||
"newip" => array ("request", "string", ""),
|
||||
"newclass" => array ("request", "string", "32"),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
if ($delip) {
|
||||
// Delete an ip address/class
|
||||
if ($dom->del_slave_ip($delip)) {
|
||||
$error=_("The requested ip address has been deleted. It will be denied in one hour.");
|
||||
}
|
||||
}
|
||||
if ($newip) {
|
||||
// Add an ip address/class
|
||||
if ($dom->add_slave_ip($newip,$newclass)) {
|
||||
$error=_("The requested ip address has been added to the list. It will be allowed in one hour.");
|
||||
unset($newip); unset($newclass);
|
||||
}
|
||||
}
|
||||
|
||||
include_once("head.php");
|
||||
|
||||
?>
|
||||
<h3><?php __("Manage allowed ip for slave zone transfers"); ?></h3>
|
||||
<hr id="topbar" />
|
||||
<br />
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
}
|
||||
|
||||
$c=$dom->enum_slave_ip();
|
||||
|
||||
if (is_array($c)) {
|
||||
|
||||
?>
|
||||
<p>
|
||||
<?php __("Here is the list of the allowed ip or ip class for slave dns zone transfer requests (AXFR). You must add the ip address of all the slave DNS you have so that those slaves will be allowed to transfer the zone files. There is also some defaults ip from DNS checks made by some third-party technical offices such as afnic (for .fr domains)"); ?>
|
||||
</p>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr><th><?php __("Action"); ?></th><th><?php __("IP Address"); ?></th></tr>
|
||||
<?php
|
||||
$col=1;
|
||||
for($i=0;$i<count($c);$i++) {
|
||||
$col=3-$col;
|
||||
?>
|
||||
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<td class="center"><div class="ina"><a href="adm_slaveip.php?delip=<?php echo urlencode($c[$i][ip]); ?>"><img src="images/delete.png" alt="<?php __("Delete"); ?>" /><?php __("Delete"); ?></a></div></td>
|
||||
<td><?php echo $c[$i]["ip"]."/".$c[$i]["class"]; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<?php } ?>
|
||||
<p><?php __("If you want to allow an ip address or class to connect to your dns server, enter it here. Choose 32 as a prefix for single ip address."); ?></p>
|
||||
<form method="post" action="adm_slaveip.php" name="main" id="main">
|
||||
<table class="tedit">
|
||||
<tr><th><label for="newip"><?php __("IP Address"); ?></label></th><th><label for="newclass"><?php __("Prefix"); ?></label></th></tr>
|
||||
<tr>
|
||||
<td style="text-align: right"><input type="text" class="int" value="<?php ehe($newip); ?>" id="newip" name="newip" maxlength="15" size="20" style="text-align:right" /> / </td>
|
||||
<td><input type="text" class="int" value="<?php ehe($newclass); ?>" id="newclass" name="newclass" maxlength="2" size="3" /></td>
|
||||
</tr>
|
||||
<tr><td colspan="2">
|
||||
<input type="submit" value="<?php __("Add this ip to the slave list"); ?>" class="inb" />
|
||||
</table>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
document.forms['main'].newip.focus();
|
||||
</script>
|
||||
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,88 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Manage allowed TLD on the server
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
if (is_array($sel)) {
|
||||
$error="";
|
||||
for($i=0;$i<count($sel);$i++) {
|
||||
if (!$admin->deltld($sel[$i])) {
|
||||
$error.=_("Some TLD cannot be deleted...")." : ".$sel[$i]."<br />";
|
||||
}
|
||||
}
|
||||
if (!$error) $error=_("The requested TLD has been deleted");
|
||||
}
|
||||
|
||||
include_once("head.php");
|
||||
|
||||
?>
|
||||
<h3><?php __("Manage allowed domains (TLD)"); ?></h3>
|
||||
<hr id="topbar" />
|
||||
<br />
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
}
|
||||
|
||||
$c=$admin->listtld();
|
||||
|
||||
?>
|
||||
<p>
|
||||
<?php __("Here is the list of the TLD allowed on this server. Each TLD can be allowed or denied after some checks (whois, ns, domain exists...)"); ?>
|
||||
</p>
|
||||
<p><span class="ina"><a href="adm_tldadd.php"><?php __("Add a new TLD"); ?></a></span></p>
|
||||
<form method="post" action="adm_tld.php" name="main" id="main">
|
||||
<table class="tlist">
|
||||
<tr><th colspan="2"> </th><th><?php __("TLD"); ?></th><th><?php __("Allowed Mode"); ?></th></tr>
|
||||
<?php
|
||||
$col=1;
|
||||
for($i=0;$i<count($c);$i++) {
|
||||
$col=3-$col;
|
||||
?>
|
||||
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<td><input id="sel<?php echo $i; ?>" type="checkbox" name="sel[]" class="inc" value="<?php echo $c[$i]["tld"]; ?>" /></td>
|
||||
<td><div class="ina"><a href="adm_tldedit.php?tld=<?php echo urlencode($c[$i]["tld"]); ?>"><img style="padding-bottom: 5px" src="images/edit.png" alt="<?php __("Edit"); ?>" /><?php __("Edit"); ?></a></div></td>
|
||||
<td><label for="sel<?php echo $i; ?>"><?php echo $c[$i]["tld"]; ?></label></td>
|
||||
<td><?php __($admin->tldmode[$c[$i]["mode"]]); ?></td></tr>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<tr class="trbtn"><td colspan="3"><input type="submit" class="inb" value="<?php __("Delete the checked TLD"); ?>" /></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<p><span class="ina"><a href="adm_tldadd.php"><?php __("Add a new TLD"); ?></a></span></p>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,74 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Manage allowed TLD on the server
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
include_once ("head.php");
|
||||
|
||||
?>
|
||||
<h3><?php __("Manage allowed domains (TLD)"); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
<h3><?php __("Add a new TLD"); ?></h3>
|
||||
<p>
|
||||
<?php __("Enter the new TLD (without the first dot) and choose what check should be done."); ?><br />
|
||||
<small><?php __("Warning : only some final tld are known in the whois function of AlternC, please check m_dom.php accordingly."); ?></small>
|
||||
</p>
|
||||
|
||||
<form method="post" action="adm_tlddoadd.php" name="main" id="main">
|
||||
|
||||
<table class="tedit">
|
||||
<tr><th><label for="tld"><?php __("TLD"); ?></label></th><td><input type="text" id="tld" name="tld" class="int" value="<?php ehe($tld); ?>" size="20" maxlength="64" /></td></tr>
|
||||
<tr><th><label for="mode"><?php __("Allowed Mode"); ?></label></th><td><select name="mode" id="mode" class="inl">
|
||||
<?php $admin->selecttldmode($mode); ?>
|
||||
</select></td></tr>
|
||||
<tr class="trbtn"><td colspan="2">
|
||||
<input type="submit" class="inb" value="<?php __("Add a new TLD"); ?>" />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='adm_tld.php'"/>
|
||||
</td></tr>
|
||||
</table>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
document.forms['main'].tld.focus();
|
||||
</script>
|
||||
|
||||
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,46 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Manage allowed TLD on the server
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
if (!$admin->addtld($tld,$mode)) {
|
||||
$error=$err->errstr();
|
||||
include("adm_tldadd.php");
|
||||
exit();
|
||||
} else {
|
||||
$error=_("The TLD has been successfully added");
|
||||
include("adm_tld.php");
|
||||
exit();
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,46 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Manage allowed TLD on the server
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
if (!$admin->edittld($tld,$mode)) {
|
||||
$error=$err->errstr();
|
||||
include("adm_tldedit.php");
|
||||
exit();
|
||||
} else {
|
||||
$error=_("The TLD has been successfully edited");
|
||||
include("adm_tld.php");
|
||||
exit();
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,75 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Manage allowed TLD on the server
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
$fields = array (
|
||||
"tld" => array ("request", "string", ""),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
$mode=$admin->gettld($tld);
|
||||
if ($mode===false) {
|
||||
$error=$err->errstr();
|
||||
include("adm_tld.php");
|
||||
exit();
|
||||
}
|
||||
|
||||
include_once("head.php");
|
||||
|
||||
?>
|
||||
<h3><?php __("Manage allowed domains (TLD)"); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<?php
|
||||
if ($error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
}
|
||||
?>
|
||||
<h3><?php __("Edit a TLD"); ?></h3>
|
||||
|
||||
<form method="post" action="adm_tlddoedit.php">
|
||||
<table name="main" id="main" class="tedit">
|
||||
<tr><th><label for="tld"><?php __("TLD"); ?></label></th><td><code><?php echo $tld; ?></code><input type="hidden" name="tld" id="tld" value="<?php echo $tld; ?>" /></td></tr>
|
||||
<tr><th><label for="mode"><?php __("Allowed Mode"); ?></label></th><td><select name="mode" class="inl" id="mode">
|
||||
<?php $admin->selecttldmode($mode); ?>
|
||||
</select></td></tr>
|
||||
<tr class="trbtn"><td colspan="2">
|
||||
<input type="submit" class="inb" value="<?php __("Edit this TLD"); ?>" />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='adm_tld.php'"/>
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,76 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Manage allowed TLD on the server
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$admin->enabled) {
|
||||
__("This page is restricted to authorized staff");
|
||||
exit();
|
||||
}
|
||||
|
||||
$conf = variable_init();
|
||||
foreach ($conf as $name => $val) {
|
||||
if (isset($$name)) {
|
||||
variable_set($name, $$name);
|
||||
}
|
||||
}
|
||||
|
||||
include_once ("head.php");
|
||||
|
||||
?>
|
||||
<h3><?php __("Configure AlternC variables"); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
|
||||
<p>
|
||||
<?php __("Here are the internal AlternC variables that are currently being used."); ?>
|
||||
</p>
|
||||
|
||||
<form method="post" action="adm_variables.php">
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr><th><?php __("Names"); ?></th><th><?php __("Value"); ?></th><th><?php __("Comment"); ?></th></tr>
|
||||
<?php
|
||||
$col=1;
|
||||
$db->query("SELECT * FROM `variable` WHERE `comment` IS NOT NULL ORDER BY `name`");
|
||||
|
||||
while ($db->next_record()) {
|
||||
$vars = $db->Record;
|
||||
$col=3-$col;
|
||||
?>
|
||||
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<td><?php echo $vars['name']; ?></td>
|
||||
<td><input type="text" name="<?php ehe($vars['name']); ?>" value="<?php ehe($vars['value']); ?>" /></td>
|
||||
<td><?php echo $vars['comment']; ?></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
</table>
|
||||
<p><input type="submit" class="inb" value="<?php __("Save variables"); ?>" /></p>
|
||||
</form>
|
||||
<?php include_once("foot.php"); ?>
|
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 14 KiB |
|
@ -0,0 +1 @@
|
|||
Contient les fichiers utilisés par les pages sgml
|
After Width: | Height: | Size: 7.9 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 56 KiB |
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
/*
|
||||
$Id: help.php,v 1.3 2004/12/16 16:14:57 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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file:
|
||||
Purpose of file:
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../../class/config_nochk.php");
|
||||
|
||||
header("Location: ".$help_baseurl."go?version=".urlencode($L_VERSION)."&hid=".$_REQUEST["hid"]);
|
||||
|
||||
exit();
|
||||
|
After Width: | Height: | Size: 717 B |
|
@ -0,0 +1,228 @@
|
|||
<HTML
|
||||
><HEAD
|
||||
><TITLE
|
||||
>AlternC, Documentation Utilisateur</TITLE
|
||||
><META
|
||||
NAME="GENERATOR"
|
||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
||||
"><LINK
|
||||
REL="NEXT"
|
||||
TITLE="Introduction"
|
||||
HREF="c18.html"><META
|
||||
NAME="KEYWORD"
|
||||
CONTENT="AlternC"><META
|
||||
NAME="KEYWORD"
|
||||
CONTENT="Hébergement"><LINK
|
||||
REL="STYLESHEET"
|
||||
TYPE="text/css"
|
||||
HREF="docbook.css"></HEAD
|
||||
><BODY
|
||||
CLASS="BOOK"
|
||||
BGCOLOR="#FFFFFF"
|
||||
TEXT="#000000"
|
||||
LINK="#0000FF"
|
||||
VLINK="#840084"
|
||||
ALINK="#0000FF"
|
||||
><DIV
|
||||
CLASS="BOOK"
|
||||
><A
|
||||
NAME="AEN1"><DIV
|
||||
CLASS="TITLEPAGE"
|
||||
><H1
|
||||
CLASS="TITLE"
|
||||
><A
|
||||
NAME="AEN2">AlternC, Documentation Utilisateur</H1
|
||||
><H3
|
||||
CLASS="AUTHOR"
|
||||
><A
|
||||
NAME="AEN5"> AlternC Development Team</H3
|
||||
><DIV
|
||||
CLASS="AFFILIATION"
|
||||
><DIV
|
||||
CLASS="ADDRESS"
|
||||
><P
|
||||
CLASS="ADDRESS"
|
||||
>tech@alternc.org</P
|
||||
></DIV
|
||||
></DIV
|
||||
><DIV
|
||||
><DIV
|
||||
CLASS="ABSTRACT"
|
||||
><A
|
||||
NAME="AEN13"><P
|
||||
></P
|
||||
><P
|
||||
>Bienvenue dans l'aide en ligne d'AlternC.</P
|
||||
><P
|
||||
></P
|
||||
></DIV
|
||||
></DIV
|
||||
><HR></DIV
|
||||
><DIV
|
||||
CLASS="TOC"
|
||||
><DL
|
||||
><DT
|
||||
><B
|
||||
>Table des matières</B
|
||||
></DT
|
||||
><DT
|
||||
>1. <A
|
||||
HREF="c18.html"
|
||||
>Introduction</A
|
||||
></DT
|
||||
><DD
|
||||
><DL
|
||||
><DT
|
||||
><A
|
||||
HREF="c18.html#I1.1"
|
||||
>Introduction à AlternC</A
|
||||
></DT
|
||||
><DT
|
||||
><A
|
||||
HREF="x23.html"
|
||||
>Fonctionnement de l'aide en ligne</A
|
||||
></DT
|
||||
></DL
|
||||
></DD
|
||||
><DT
|
||||
>2. <A
|
||||
HREF="c26.html"
|
||||
>Les Noms de Domaines</A
|
||||
></DT
|
||||
><DD
|
||||
><DL
|
||||
><DT
|
||||
><A
|
||||
HREF="c26.html#DOMAIN.1"
|
||||
>Introduction / Installation d'un nouveau domaine</A
|
||||
></DT
|
||||
><DT
|
||||
><A
|
||||
HREF="x53.html"
|
||||
>Configuration d'un domaine / sous-domaine</A
|
||||
></DT
|
||||
></DL
|
||||
></DD
|
||||
><DT
|
||||
>3. <A
|
||||
HREF="c72.html"
|
||||
>Comptes FTP</A
|
||||
></DT
|
||||
><DD
|
||||
><DL
|
||||
><DT
|
||||
><A
|
||||
HREF="c72.html#FTP.1"
|
||||
>Introduction</A
|
||||
></DT
|
||||
></DL
|
||||
></DD
|
||||
><DT
|
||||
>4. <A
|
||||
HREF="c84.html"
|
||||
>Le gestionnaire de fichiers</A
|
||||
></DT
|
||||
><DD
|
||||
><DL
|
||||
><DT
|
||||
><A
|
||||
HREF="c84.html#BROWSER.1"
|
||||
>Introduction / Description</A
|
||||
></DT
|
||||
><DT
|
||||
><A
|
||||
HREF="x105.html"
|
||||
>Paramètres du gestionnaire de fichiers</A
|
||||
></DT
|
||||
></DL
|
||||
></DD
|
||||
><DT
|
||||
>5. <A
|
||||
HREF="c126.html"
|
||||
>Les statistiques Web.</A
|
||||
></DT
|
||||
><DD
|
||||
><DL
|
||||
><DT
|
||||
><A
|
||||
HREF="c126.html#STATS.1"
|
||||
>Introduction / Mode d'emploi</A
|
||||
></DT
|
||||
></DL
|
||||
></DD
|
||||
></DL
|
||||
></DIV
|
||||
><DIV
|
||||
CLASS="LOT"
|
||||
><DL
|
||||
CLASS="LOT"
|
||||
><DT
|
||||
><B
|
||||
>Liste des exemples</B
|
||||
></DT
|
||||
><DT
|
||||
>2-1. <A
|
||||
HREF="c26.html#AEN37"
|
||||
>Exemple de registrar</A
|
||||
></DT
|
||||
><DT
|
||||
>2-2. <A
|
||||
HREF="c26.html#AEN46"
|
||||
>Exemple de DNS</A
|
||||
></DT
|
||||
></DL
|
||||
></DIV
|
||||
></DIV
|
||||
><DIV
|
||||
CLASS="NAVFOOTER"
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"><TABLE
|
||||
SUMMARY="Footer navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="c18.html"
|
||||
ACCESSKEY="N"
|
||||
>Suivant</A
|
||||
></TD
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
>Introduction</TD
|
||||
></TR
|
||||
></TABLE
|
||||
></DIV
|
||||
></BODY
|
||||
></HTML
|
||||
>
|
|
@ -0,0 +1,186 @@
|
|||
<HTML
|
||||
><HEAD
|
||||
><TITLE
|
||||
>Les statistiques Web.</TITLE
|
||||
><META
|
||||
NAME="GENERATOR"
|
||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
||||
"><LINK
|
||||
REL="HOME"
|
||||
TITLE="AlternC, Documentation Utilisateur"
|
||||
HREF="book1.html"><LINK
|
||||
REL="PREVIOUS"
|
||||
TITLE="Paramètres du gestionnaire de fichiers"
|
||||
HREF="x105.html"><LINK
|
||||
REL="STYLESHEET"
|
||||
TYPE="text/css"
|
||||
HREF="docbook.css"></HEAD
|
||||
><BODY
|
||||
CLASS="CHAPTER"
|
||||
BGCOLOR="#FFFFFF"
|
||||
TEXT="#000000"
|
||||
LINK="#0000FF"
|
||||
VLINK="#840084"
|
||||
ALINK="#0000FF"
|
||||
><DIV
|
||||
CLASS="NAVHEADER"
|
||||
><TABLE
|
||||
SUMMARY="Header navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TH
|
||||
COLSPAN="3"
|
||||
ALIGN="center"
|
||||
>AlternC, Documentation Utilisateur</TH
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="left"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="x105.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="80%"
|
||||
ALIGN="center"
|
||||
VALIGN="bottom"
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="right"
|
||||
VALIGN="bottom"
|
||||
> </TD
|
||||
></TR
|
||||
></TABLE
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"></DIV
|
||||
><DIV
|
||||
CLASS="CHAPTER"
|
||||
><H1
|
||||
><A
|
||||
NAME="STATS">Chapitre 5. Les statistiques Web.</H1
|
||||
><DIV
|
||||
CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="STATS.1">Introduction / Mode d'emploi</H1
|
||||
><P
|
||||
>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.</P
|
||||
><P
|
||||
>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".
|
||||
<P
|
||||
><IMG
|
||||
SRC="files/sta_add.png"></P
|
||||
>
|
||||
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.</P
|
||||
><DIV
|
||||
CLASS="CAUTION"
|
||||
><P
|
||||
></P
|
||||
><TABLE
|
||||
CLASS="CAUTION"
|
||||
BORDER="1"
|
||||
WIDTH="100%"
|
||||
><TR
|
||||
><TD
|
||||
ALIGN="CENTER"
|
||||
><B
|
||||
>Attention</B
|
||||
></TD
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
ALIGN="LEFT"
|
||||
>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.</TD
|
||||
></TR
|
||||
></TABLE
|
||||
></DIV
|
||||
><P
|
||||
>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:
|
||||
<P
|
||||
><IMG
|
||||
SRC="files/sta_view1.png"></P
|
||||
>
|
||||
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.
|
||||
<P
|
||||
><IMG
|
||||
SRC="files/sta_view2.png"></P
|
||||
></P
|
||||
></DIV
|
||||
></DIV
|
||||
><DIV
|
||||
CLASS="NAVFOOTER"
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"><TABLE
|
||||
SUMMARY="Footer navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="x105.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="book1.html"
|
||||
ACCESSKEY="H"
|
||||
>Sommaire</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
>Paramètres du gestionnaire de fichiers</TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
></TR
|
||||
></TABLE
|
||||
></DIV
|
||||
></BODY
|
||||
></HTML
|
||||
>
|
|
@ -0,0 +1,171 @@
|
|||
<HTML
|
||||
><HEAD
|
||||
><TITLE
|
||||
>Introduction</TITLE
|
||||
><META
|
||||
NAME="GENERATOR"
|
||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
||||
"><LINK
|
||||
REL="HOME"
|
||||
TITLE="AlternC, Documentation Utilisateur"
|
||||
HREF="book1.html"><LINK
|
||||
REL="PREVIOUS"
|
||||
TITLE="AlternC, Documentation Utilisateur"
|
||||
HREF="book1.html"><LINK
|
||||
REL="NEXT"
|
||||
TITLE="Fonctionnement de l'aide en ligne"
|
||||
HREF="x23.html"><LINK
|
||||
REL="STYLESHEET"
|
||||
TYPE="text/css"
|
||||
HREF="docbook.css"></HEAD
|
||||
><BODY
|
||||
CLASS="CHAPTER"
|
||||
BGCOLOR="#FFFFFF"
|
||||
TEXT="#000000"
|
||||
LINK="#0000FF"
|
||||
VLINK="#840084"
|
||||
ALINK="#0000FF"
|
||||
><DIV
|
||||
CLASS="NAVHEADER"
|
||||
><TABLE
|
||||
SUMMARY="Header navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TH
|
||||
COLSPAN="3"
|
||||
ALIGN="center"
|
||||
>AlternC, Documentation Utilisateur</TH
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="left"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="book1.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="80%"
|
||||
ALIGN="center"
|
||||
VALIGN="bottom"
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="right"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="x23.html"
|
||||
ACCESSKEY="N"
|
||||
>Suivant</A
|
||||
></TD
|
||||
></TR
|
||||
></TABLE
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"></DIV
|
||||
><DIV
|
||||
CLASS="CHAPTER"
|
||||
><H1
|
||||
><A
|
||||
NAME="SOMMAIRE">Chapitre 1. Introduction</H1
|
||||
><DIV
|
||||
CLASS="TOC"
|
||||
><DL
|
||||
><DT
|
||||
><B
|
||||
>Table des matières</B
|
||||
></DT
|
||||
><DT
|
||||
><A
|
||||
HREF="c18.html#I1.1"
|
||||
>Introduction à AlternC</A
|
||||
></DT
|
||||
><DT
|
||||
><A
|
||||
HREF="x23.html"
|
||||
>Fonctionnement de l'aide en ligne</A
|
||||
></DT
|
||||
></DL
|
||||
></DIV
|
||||
><DIV
|
||||
CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="I1.1">Introduction à AlternC</H1
|
||||
><P
|
||||
>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. </P
|
||||
></DIV
|
||||
></DIV
|
||||
><DIV
|
||||
CLASS="NAVFOOTER"
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"><TABLE
|
||||
SUMMARY="Footer navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="book1.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="book1.html"
|
||||
ACCESSKEY="H"
|
||||
>Sommaire</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="x23.html"
|
||||
ACCESSKEY="N"
|
||||
>Suivant</A
|
||||
></TD
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
>AlternC, Documentation Utilisateur</TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
>Fonctionnement de l'aide en ligne</TD
|
||||
></TR
|
||||
></TABLE
|
||||
></DIV
|
||||
></BODY
|
||||
></HTML
|
||||
>
|
|
@ -0,0 +1,234 @@
|
|||
<HTML
|
||||
><HEAD
|
||||
><TITLE
|
||||
>Les Noms de Domaines</TITLE
|
||||
><META
|
||||
NAME="GENERATOR"
|
||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
||||
"><LINK
|
||||
REL="HOME"
|
||||
TITLE="AlternC, Documentation Utilisateur"
|
||||
HREF="book1.html"><LINK
|
||||
REL="PREVIOUS"
|
||||
TITLE="Fonctionnement de l'aide en ligne"
|
||||
HREF="x23.html"><LINK
|
||||
REL="NEXT"
|
||||
TITLE="Configuration d'un domaine / sous-domaine"
|
||||
HREF="x53.html"><LINK
|
||||
REL="STYLESHEET"
|
||||
TYPE="text/css"
|
||||
HREF="docbook.css"></HEAD
|
||||
><BODY
|
||||
CLASS="CHAPTER"
|
||||
BGCOLOR="#FFFFFF"
|
||||
TEXT="#000000"
|
||||
LINK="#0000FF"
|
||||
VLINK="#840084"
|
||||
ALINK="#0000FF"
|
||||
><DIV
|
||||
CLASS="NAVHEADER"
|
||||
><TABLE
|
||||
SUMMARY="Header navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TH
|
||||
COLSPAN="3"
|
||||
ALIGN="center"
|
||||
>AlternC, Documentation Utilisateur</TH
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="left"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="x23.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="80%"
|
||||
ALIGN="center"
|
||||
VALIGN="bottom"
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="right"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="x53.html"
|
||||
ACCESSKEY="N"
|
||||
>Suivant</A
|
||||
></TD
|
||||
></TR
|
||||
></TABLE
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"></DIV
|
||||
><DIV
|
||||
CLASS="CHAPTER"
|
||||
><H1
|
||||
><A
|
||||
NAME="DOMAIN">Chapitre 2. Les Noms de Domaines</H1
|
||||
><DIV
|
||||
CLASS="TOC"
|
||||
><DL
|
||||
><DT
|
||||
><B
|
||||
>Table des matières</B
|
||||
></DT
|
||||
><DT
|
||||
><A
|
||||
HREF="c26.html#DOMAIN.1"
|
||||
>Introduction / Installation d'un nouveau domaine</A
|
||||
></DT
|
||||
><DT
|
||||
><A
|
||||
HREF="x53.html"
|
||||
>Configuration d'un domaine / sous-domaine</A
|
||||
></DT
|
||||
></DL
|
||||
></DIV
|
||||
><DIV
|
||||
CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="DOMAIN.1">Introduction / Installation d'un nouveau domaine</H1
|
||||
><P
|
||||
>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 : <TT
|
||||
CLASS="LITERAL"
|
||||
>virtuel.org</TT
|
||||
>, <TT
|
||||
CLASS="LITERAL"
|
||||
>masociete.com</TT
|
||||
> etc.</P
|
||||
><P
|
||||
>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 :
|
||||
<P
|
||||
></P
|
||||
><OL
|
||||
TYPE="1"
|
||||
><LI
|
||||
><P
|
||||
>Acheter le nom de domaine voulu chez un registrar.</P
|
||||
><DIV
|
||||
CLASS="EXAMPLE"
|
||||
><A
|
||||
NAME="AEN37"><P
|
||||
><B
|
||||
>Exemple 2-1. Exemple de registrar</B
|
||||
></P
|
||||
><P
|
||||
>On peut acheter par exemple un domaine en <TT
|
||||
CLASS="LITERAL"
|
||||
>.fr</TT
|
||||
> auprès d'un partenaire de <A
|
||||
HREF="http://www.nic.fr"
|
||||
TARGET="_top"
|
||||
>l'AFNIC</A
|
||||
>,
|
||||
ou un <TT
|
||||
CLASS="LITERAL"
|
||||
>.com .org .net</TT
|
||||
> auprès de <A
|
||||
HREF="http://www.gandi.net"
|
||||
TARGET="_top"
|
||||
>Gandi</A
|
||||
>
|
||||
</P
|
||||
></DIV
|
||||
></LI
|
||||
><LI
|
||||
><P
|
||||
>Lors de l'achat du nom de domaine, préciser le nom des serveurs DNS d'AlternC au registrar.</P
|
||||
><DIV
|
||||
CLASS="EXAMPLE"
|
||||
><A
|
||||
NAME="AEN46"><P
|
||||
><B
|
||||
>Exemple 2-2. Exemple de DNS</B
|
||||
></P
|
||||
><P
|
||||
>Chaque hébergeur dispose d'au moins 2 serveurs DNS. Votre hébergeur vous donnera les noms et adresse Internet des siens.</P
|
||||
><P
|
||||
>Exemple : ns1.alternc.net (80.67.172.5) et ns2.alternc.net (80.67.172.9)</P
|
||||
></DIV
|
||||
></LI
|
||||
><LI
|
||||
><P
|
||||
>Installer le domaine sur AlternC.</P
|
||||
><P
|
||||
>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.
|
||||
</P
|
||||
></LI
|
||||
></OL
|
||||
></P
|
||||
></DIV
|
||||
></DIV
|
||||
><DIV
|
||||
CLASS="NAVFOOTER"
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"><TABLE
|
||||
SUMMARY="Footer navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="x23.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="book1.html"
|
||||
ACCESSKEY="H"
|
||||
>Sommaire</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="x53.html"
|
||||
ACCESSKEY="N"
|
||||
>Suivant</A
|
||||
></TD
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
>Fonctionnement de l'aide en ligne</TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
>Configuration d'un domaine / sous-domaine</TD
|
||||
></TR
|
||||
></TABLE
|
||||
></DIV
|
||||
></BODY
|
||||
></HTML
|
||||
>
|
|
@ -0,0 +1,177 @@
|
|||
<HTML
|
||||
><HEAD
|
||||
><TITLE
|
||||
>Comptes FTP</TITLE
|
||||
><META
|
||||
NAME="GENERATOR"
|
||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
||||
"><LINK
|
||||
REL="HOME"
|
||||
TITLE="AlternC, Documentation Utilisateur"
|
||||
HREF="book1.html"><LINK
|
||||
REL="PREVIOUS"
|
||||
TITLE="Configuration d'un domaine / sous-domaine"
|
||||
HREF="x53.html"><LINK
|
||||
REL="NEXT"
|
||||
TITLE="Le gestionnaire de fichiers"
|
||||
HREF="c84.html"><LINK
|
||||
REL="STYLESHEET"
|
||||
TYPE="text/css"
|
||||
HREF="docbook.css"></HEAD
|
||||
><BODY
|
||||
CLASS="CHAPTER"
|
||||
BGCOLOR="#FFFFFF"
|
||||
TEXT="#000000"
|
||||
LINK="#0000FF"
|
||||
VLINK="#840084"
|
||||
ALINK="#0000FF"
|
||||
><DIV
|
||||
CLASS="NAVHEADER"
|
||||
><TABLE
|
||||
SUMMARY="Header navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TH
|
||||
COLSPAN="3"
|
||||
ALIGN="center"
|
||||
>AlternC, Documentation Utilisateur</TH
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="left"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="x53.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="80%"
|
||||
ALIGN="center"
|
||||
VALIGN="bottom"
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="right"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="c84.html"
|
||||
ACCESSKEY="N"
|
||||
>Suivant</A
|
||||
></TD
|
||||
></TR
|
||||
></TABLE
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"></DIV
|
||||
><DIV
|
||||
CLASS="CHAPTER"
|
||||
><H1
|
||||
><A
|
||||
NAME="FTP">Chapitre 3. Comptes FTP</H1
|
||||
><DIV
|
||||
CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="FTP.1">Introduction</H1
|
||||
><P
|
||||
>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.</P
|
||||
><P
|
||||
>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.</P
|
||||
><P
|
||||
>Par exemple, si vous disposez des dossiers suivants dans votre compte :
|
||||
<P
|
||||
><IMG
|
||||
SRC="files/ftp_list.png"></P
|
||||
>
|
||||
Vous pouvez créer, par exemple, un compte ftp pour philippe, que vous hébergez sur
|
||||
<TT
|
||||
CLASS="LITERAL"
|
||||
>http://virtuel.org/philippe/</TT
|
||||
>
|
||||
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.
|
||||
<P
|
||||
><IMG
|
||||
SRC="files/ftp_add.png"></P
|
||||
></P
|
||||
><P
|
||||
>Philippe peut donc modifier les fichiers de son dossier en utilisant les paramètres suivants :
|
||||
<PRE
|
||||
CLASS="PROGRAMLISTING"
|
||||
>Serveur ftp : "virtuel.org"
|
||||
Nom d'utilisateur : "virtuel.org_philippe"
|
||||
Mot de passe : "philpas"</PRE
|
||||
></P
|
||||
></DIV
|
||||
></DIV
|
||||
><DIV
|
||||
CLASS="NAVFOOTER"
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"><TABLE
|
||||
SUMMARY="Footer navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="x53.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="book1.html"
|
||||
ACCESSKEY="H"
|
||||
>Sommaire</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="c84.html"
|
||||
ACCESSKEY="N"
|
||||
>Suivant</A
|
||||
></TD
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
>Configuration d'un domaine / sous-domaine</TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
>Le gestionnaire de fichiers</TD
|
||||
></TR
|
||||
></TABLE
|
||||
></DIV
|
||||
></BODY
|
||||
></HTML
|
||||
>
|
|
@ -0,0 +1,206 @@
|
|||
<HTML
|
||||
><HEAD
|
||||
><TITLE
|
||||
>Le gestionnaire de fichiers</TITLE
|
||||
><META
|
||||
NAME="GENERATOR"
|
||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
||||
"><LINK
|
||||
REL="HOME"
|
||||
TITLE="AlternC, Documentation Utilisateur"
|
||||
HREF="book1.html"><LINK
|
||||
REL="PREVIOUS"
|
||||
TITLE="Comptes FTP"
|
||||
HREF="c72.html"><LINK
|
||||
REL="NEXT"
|
||||
TITLE="Paramètres du gestionnaire de fichiers"
|
||||
HREF="x105.html"><LINK
|
||||
REL="STYLESHEET"
|
||||
TYPE="text/css"
|
||||
HREF="docbook.css"></HEAD
|
||||
><BODY
|
||||
CLASS="CHAPTER"
|
||||
BGCOLOR="#FFFFFF"
|
||||
TEXT="#000000"
|
||||
LINK="#0000FF"
|
||||
VLINK="#840084"
|
||||
ALINK="#0000FF"
|
||||
><DIV
|
||||
CLASS="NAVHEADER"
|
||||
><TABLE
|
||||
SUMMARY="Header navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TH
|
||||
COLSPAN="3"
|
||||
ALIGN="center"
|
||||
>AlternC, Documentation Utilisateur</TH
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="left"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="c72.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="80%"
|
||||
ALIGN="center"
|
||||
VALIGN="bottom"
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="right"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="x105.html"
|
||||
ACCESSKEY="N"
|
||||
>Suivant</A
|
||||
></TD
|
||||
></TR
|
||||
></TABLE
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"></DIV
|
||||
><DIV
|
||||
CLASS="CHAPTER"
|
||||
><H1
|
||||
><A
|
||||
NAME="BROWSER">Chapitre 4. Le gestionnaire de fichiers</H1
|
||||
><DIV
|
||||
CLASS="TOC"
|
||||
><DL
|
||||
><DT
|
||||
><B
|
||||
>Table des matières</B
|
||||
></DT
|
||||
><DT
|
||||
><A
|
||||
HREF="c84.html#BROWSER.1"
|
||||
>Introduction / Description</A
|
||||
></DT
|
||||
><DT
|
||||
><A
|
||||
HREF="x105.html"
|
||||
>Paramètres du gestionnaire de fichiers</A
|
||||
></DT
|
||||
></DL
|
||||
></DIV
|
||||
><DIV
|
||||
CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="BROWSER.1">Introduction / Description</H1
|
||||
><P
|
||||
>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.</P
|
||||
><P
|
||||
>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"</P
|
||||
><P
|
||||
>Le gestionnaire de fichier permet de gérer l'ensemble de vos fichiers, à savoir :
|
||||
<P
|
||||
></P
|
||||
><UL
|
||||
><LI
|
||||
><P
|
||||
>Créer Supprimer et Renommer des fichiers</P
|
||||
></LI
|
||||
><LI
|
||||
><P
|
||||
>Créer Supprimer et Renommer des dossiers / Sous-dossiers</P
|
||||
></LI
|
||||
><LI
|
||||
><P
|
||||
>Editer les fichiers présents dans le compte (fichiers textes, html ...)</P
|
||||
></LI
|
||||
><LI
|
||||
><P
|
||||
>Visualiser les fichiers du compte (html, images, document ...)</P
|
||||
></LI
|
||||
><LI
|
||||
><P
|
||||
>Télécharger l'ensemble de votre compte dans un fichier compressé (plusieurs formats supportés)</P
|
||||
></LI
|
||||
><LI
|
||||
><P
|
||||
>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.
|
||||
</P
|
||||
></LI
|
||||
></UL
|
||||
></P
|
||||
></DIV
|
||||
></DIV
|
||||
><DIV
|
||||
CLASS="NAVFOOTER"
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"><TABLE
|
||||
SUMMARY="Footer navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="c72.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="book1.html"
|
||||
ACCESSKEY="H"
|
||||
>Sommaire</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="x105.html"
|
||||
ACCESSKEY="N"
|
||||
>Suivant</A
|
||||
></TD
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
>Comptes FTP</TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
>Paramètres du gestionnaire de fichiers</TD
|
||||
></TR
|
||||
></TABLE
|
||||
></DIV
|
||||
></BODY
|
||||
></HTML
|
||||
>
|
|
@ -0,0 +1,42 @@
|
|||
|
||||
BODY {
|
||||
font-size: 12px;
|
||||
font-family: Verdana, Helvetica, Sans-Serif;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* Titres de chapitres : */
|
||||
H1 {
|
||||
font-size: 18px;
|
||||
font-family: Bookman Old Style, Times, Serif;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* En-tete haut cache */
|
||||
.navheader {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
/* En-tete bas : petite police */
|
||||
.navfooter td, .navfooter {
|
||||
font-size: 10px;
|
||||
font-family: Verdana, Helvetica, Sans-Serif;
|
||||
}
|
||||
|
||||
/* Police standard pour le code */
|
||||
.literal, .programlisting, .screen {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* Listes a puce pour la table des matieres : */
|
||||
.toc {
|
||||
list-style-image: url(tiret.gif);
|
||||
padding-left: 4px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
.toc2 {
|
||||
list-style-image: url(plus.gif);
|
||||
padding-left: 4px;
|
||||
margin-left: 2px;
|
||||
}
|
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 14 KiB |
|
@ -0,0 +1 @@
|
|||
Contient les fichiers utilisés par les pages sgml
|
After Width: | Height: | Size: 7.9 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 56 KiB |
|
@ -0,0 +1,14 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Documentation développeur d'AlternC</title>
|
||||
</head>
|
||||
<frameset COLS="30%,*">
|
||||
<frame SRC="toc.htm" NAME="left">
|
||||
<frame SRC="book1.html" NAME="right">
|
||||
<noframes>
|
||||
<body>
|
||||
Your browser does not support frames.
|
||||
</body>
|
||||
</noframes>
|
||||
</frameset>
|
||||
</html>
|
After Width: | Height: | Size: 91 B |
After Width: | Height: | Size: 90 B |
|
@ -0,0 +1,144 @@
|
|||
<HTML
|
||||
><HEAD
|
||||
><TITLE
|
||||
>DocBook TOC</TITLE
|
||||
><META
|
||||
NAME="GENERATOR"
|
||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
||||
"><LINK
|
||||
REL="HOME"
|
||||
TITLE="AlternC, Documentation Utilisateur"
|
||||
HREF="book1.html"><LINK
|
||||
REL="STYLESHEET"
|
||||
TYPE="text/css"
|
||||
HREF="docbook.css"></HEAD
|
||||
><BODY
|
||||
><NOBR
|
||||
><A
|
||||
HREF="book1.html"
|
||||
TARGET="right"
|
||||
>AlternC, Documentation Utilisateur</A
|
||||
><BR><UL
|
||||
CLASS="TOC"
|
||||
><LI><NOBR
|
||||
><A
|
||||
HREF="c18.html"
|
||||
TARGET="right"
|
||||
>Introduction</A
|
||||
></NOBR
|
||||
><UL
|
||||
CLASS="TOC2"
|
||||
><LI><NOBR
|
||||
><A
|
||||
HREF="c18.html#I1.1"
|
||||
TARGET="right"
|
||||
>Introduction à AlternC</A
|
||||
></NOBR
|
||||
><UL
|
||||
CLASS="TOC2"
|
||||
></UL
|
||||
><LI><NOBR
|
||||
><A
|
||||
HREF="x23.html"
|
||||
TARGET="right"
|
||||
>Fonctionnement de l'aide en ligne</A
|
||||
></NOBR
|
||||
><UL
|
||||
CLASS="TOC2"
|
||||
></UL
|
||||
></UL
|
||||
><LI><NOBR
|
||||
><A
|
||||
HREF="c26.html"
|
||||
TARGET="right"
|
||||
>Les Noms de Domaines</A
|
||||
></NOBR
|
||||
><UL
|
||||
CLASS="TOC2"
|
||||
><LI><NOBR
|
||||
><A
|
||||
HREF="c26.html#DOMAIN.1"
|
||||
TARGET="right"
|
||||
>Introduction / Installation d'un nouveau domaine</A
|
||||
></NOBR
|
||||
><UL
|
||||
CLASS="TOC2"
|
||||
></UL
|
||||
><LI><NOBR
|
||||
><A
|
||||
HREF="x53.html"
|
||||
TARGET="right"
|
||||
>Configuration d'un domaine / sous-domaine</A
|
||||
></NOBR
|
||||
><UL
|
||||
CLASS="TOC2"
|
||||
></UL
|
||||
></UL
|
||||
><LI><NOBR
|
||||
><A
|
||||
HREF="c72.html"
|
||||
TARGET="right"
|
||||
>Comptes FTP</A
|
||||
></NOBR
|
||||
><UL
|
||||
CLASS="TOC2"
|
||||
><LI><NOBR
|
||||
><A
|
||||
HREF="c72.html#FTP.1"
|
||||
TARGET="right"
|
||||
>Introduction</A
|
||||
></NOBR
|
||||
><UL
|
||||
CLASS="TOC2"
|
||||
></UL
|
||||
></UL
|
||||
><LI><NOBR
|
||||
><A
|
||||
HREF="c84.html"
|
||||
TARGET="right"
|
||||
>Le gestionnaire de fichiers</A
|
||||
></NOBR
|
||||
><UL
|
||||
CLASS="TOC2"
|
||||
><LI><NOBR
|
||||
><A
|
||||
HREF="c84.html#BROWSER.1"
|
||||
TARGET="right"
|
||||
>Introduction / Description</A
|
||||
></NOBR
|
||||
><UL
|
||||
CLASS="TOC2"
|
||||
></UL
|
||||
><LI><NOBR
|
||||
><A
|
||||
HREF="x105.html"
|
||||
TARGET="right"
|
||||
>Paramètres du gestionnaire de fichiers</A
|
||||
></NOBR
|
||||
><UL
|
||||
CLASS="TOC2"
|
||||
></UL
|
||||
></UL
|
||||
><LI><NOBR
|
||||
><A
|
||||
HREF="c126.html"
|
||||
TARGET="right"
|
||||
>Les statistiques Web.</A
|
||||
></NOBR
|
||||
><UL
|
||||
CLASS="TOC2"
|
||||
><LI><NOBR
|
||||
><A
|
||||
HREF="c126.html#STATS.1"
|
||||
TARGET="right"
|
||||
>Introduction / Mode d'emploi</A
|
||||
></NOBR
|
||||
><UL
|
||||
CLASS="TOC2"
|
||||
></UL
|
||||
></UL
|
||||
></UL
|
||||
></NOBR
|
||||
></BODY
|
||||
></HTML
|
||||
>
|
|
@ -0,0 +1,190 @@
|
|||
<HTML
|
||||
><HEAD
|
||||
><TITLE
|
||||
>Paramètres du gestionnaire de fichiers</TITLE
|
||||
><META
|
||||
NAME="GENERATOR"
|
||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
||||
"><LINK
|
||||
REL="HOME"
|
||||
TITLE="AlternC, Documentation Utilisateur"
|
||||
HREF="book1.html"><LINK
|
||||
REL="UP"
|
||||
TITLE="Le gestionnaire de fichiers"
|
||||
HREF="c84.html"><LINK
|
||||
REL="PREVIOUS"
|
||||
TITLE="Le gestionnaire de fichiers"
|
||||
HREF="c84.html"><LINK
|
||||
REL="NEXT"
|
||||
TITLE="Les statistiques Web."
|
||||
HREF="c126.html"><LINK
|
||||
REL="STYLESHEET"
|
||||
TYPE="text/css"
|
||||
HREF="docbook.css"></HEAD
|
||||
><BODY
|
||||
CLASS="SECT1"
|
||||
BGCOLOR="#FFFFFF"
|
||||
TEXT="#000000"
|
||||
LINK="#0000FF"
|
||||
VLINK="#840084"
|
||||
ALINK="#0000FF"
|
||||
><DIV
|
||||
CLASS="NAVHEADER"
|
||||
><TABLE
|
||||
SUMMARY="Header navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TH
|
||||
COLSPAN="3"
|
||||
ALIGN="center"
|
||||
>AlternC, Documentation Utilisateur</TH
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="left"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="c84.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="80%"
|
||||
ALIGN="center"
|
||||
VALIGN="bottom"
|
||||
>Chapitre 4. Le gestionnaire de fichiers</TD
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="right"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="c126.html"
|
||||
ACCESSKEY="N"
|
||||
>Suivant</A
|
||||
></TD
|
||||
></TR
|
||||
></TABLE
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"></DIV
|
||||
><DIV
|
||||
CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="BROWSER.2">Paramètres du gestionnaire de fichiers</H1
|
||||
><P
|
||||
>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.
|
||||
<P
|
||||
><IMG
|
||||
SRC="files/browser_set.png"></P
|
||||
>
|
||||
Les éléments ci-dessous peuvent être réglés :
|
||||
<P
|
||||
></P
|
||||
><UL
|
||||
><LI
|
||||
><P
|
||||
>Type d'affichage du gestionnaire (1 colonne de fichiers, 2 colonnes, 3 colonnes)</P
|
||||
></LI
|
||||
><LI
|
||||
><P
|
||||
>L'affichage ou pas des icones des fichiers</P
|
||||
></LI
|
||||
><LI
|
||||
><P
|
||||
>L'affichage ou pas des types des fichiers (image jpeg, page html, ...)</P
|
||||
></LI
|
||||
><LI
|
||||
><P
|
||||
>Le format de compression utilisé pour téléchargé tout le site au format compressé. (zip, tgz, tar.z, tar.bz2 supportés)</P
|
||||
></LI
|
||||
><LI
|
||||
><P
|
||||
>La largeur et la hauteur de la fenêtre de l'éditeur de fichiers.</P
|
||||
></LI
|
||||
><LI
|
||||
><P
|
||||
>Si vous préférer aller à l'éditeur de fichiers ou au gestionnaire après la création d'un nouveau fichier.</P
|
||||
></LI
|
||||
></UL
|
||||
></P
|
||||
><P
|
||||
></P
|
||||
><P
|
||||
></P
|
||||
><P
|
||||
></P
|
||||
><P
|
||||
></P
|
||||
></DIV
|
||||
><DIV
|
||||
CLASS="NAVFOOTER"
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"><TABLE
|
||||
SUMMARY="Footer navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="c84.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="book1.html"
|
||||
ACCESSKEY="H"
|
||||
>Sommaire</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="c126.html"
|
||||
ACCESSKEY="N"
|
||||
>Suivant</A
|
||||
></TD
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
>Le gestionnaire de fichiers</TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="c84.html"
|
||||
ACCESSKEY="U"
|
||||
>Niveau supérieur</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
>Les statistiques Web.</TD
|
||||
></TR
|
||||
></TABLE
|
||||
></DIV
|
||||
></BODY
|
||||
></HTML
|
||||
>
|
|
@ -0,0 +1,149 @@
|
|||
<HTML
|
||||
><HEAD
|
||||
><TITLE
|
||||
>Fonctionnement de l'aide en ligne</TITLE
|
||||
><META
|
||||
NAME="GENERATOR"
|
||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
||||
"><LINK
|
||||
REL="HOME"
|
||||
TITLE="AlternC, Documentation Utilisateur"
|
||||
HREF="book1.html"><LINK
|
||||
REL="UP"
|
||||
TITLE="Introduction"
|
||||
HREF="c18.html"><LINK
|
||||
REL="PREVIOUS"
|
||||
TITLE="Introduction"
|
||||
HREF="c18.html"><LINK
|
||||
REL="NEXT"
|
||||
TITLE="Les Noms de Domaines"
|
||||
HREF="c26.html"><LINK
|
||||
REL="STYLESHEET"
|
||||
TYPE="text/css"
|
||||
HREF="docbook.css"></HEAD
|
||||
><BODY
|
||||
CLASS="SECT1"
|
||||
BGCOLOR="#FFFFFF"
|
||||
TEXT="#000000"
|
||||
LINK="#0000FF"
|
||||
VLINK="#840084"
|
||||
ALINK="#0000FF"
|
||||
><DIV
|
||||
CLASS="NAVHEADER"
|
||||
><TABLE
|
||||
SUMMARY="Header navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TH
|
||||
COLSPAN="3"
|
||||
ALIGN="center"
|
||||
>AlternC, Documentation Utilisateur</TH
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="left"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="c18.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="80%"
|
||||
ALIGN="center"
|
||||
VALIGN="bottom"
|
||||
>Chapitre 1. Introduction</TD
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="right"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="c26.html"
|
||||
ACCESSKEY="N"
|
||||
>Suivant</A
|
||||
></TD
|
||||
></TR
|
||||
></TABLE
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"></DIV
|
||||
><DIV
|
||||
CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="AEN23">Fonctionnement de l'aide en ligne</H1
|
||||
><P
|
||||
>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.</P
|
||||
></DIV
|
||||
><DIV
|
||||
CLASS="NAVFOOTER"
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"><TABLE
|
||||
SUMMARY="Footer navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="c18.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="book1.html"
|
||||
ACCESSKEY="H"
|
||||
>Sommaire</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="c26.html"
|
||||
ACCESSKEY="N"
|
||||
>Suivant</A
|
||||
></TD
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
>Introduction</TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="c18.html"
|
||||
ACCESSKEY="U"
|
||||
>Niveau supérieur</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
>Les Noms de Domaines</TD
|
||||
></TR
|
||||
></TABLE
|
||||
></DIV
|
||||
></BODY
|
||||
></HTML
|
||||
>
|
|
@ -0,0 +1,206 @@
|
|||
<HTML
|
||||
><HEAD
|
||||
><TITLE
|
||||
>Configuration d'un domaine / sous-domaine</TITLE
|
||||
><META
|
||||
NAME="GENERATOR"
|
||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
||||
"><LINK
|
||||
REL="HOME"
|
||||
TITLE="AlternC, Documentation Utilisateur"
|
||||
HREF="book1.html"><LINK
|
||||
REL="UP"
|
||||
TITLE="Les Noms de Domaines"
|
||||
HREF="c26.html"><LINK
|
||||
REL="PREVIOUS"
|
||||
TITLE="Les Noms de Domaines"
|
||||
HREF="c26.html"><LINK
|
||||
REL="NEXT"
|
||||
TITLE="Comptes FTP"
|
||||
HREF="c72.html"><LINK
|
||||
REL="STYLESHEET"
|
||||
TYPE="text/css"
|
||||
HREF="docbook.css"></HEAD
|
||||
><BODY
|
||||
CLASS="SECT1"
|
||||
BGCOLOR="#FFFFFF"
|
||||
TEXT="#000000"
|
||||
LINK="#0000FF"
|
||||
VLINK="#840084"
|
||||
ALINK="#0000FF"
|
||||
><DIV
|
||||
CLASS="NAVHEADER"
|
||||
><TABLE
|
||||
SUMMARY="Header navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TH
|
||||
COLSPAN="3"
|
||||
ALIGN="center"
|
||||
>AlternC, Documentation Utilisateur</TH
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="left"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="c26.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="80%"
|
||||
ALIGN="center"
|
||||
VALIGN="bottom"
|
||||
>Chapitre 2. Les Noms de Domaines</TD
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="right"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="c72.html"
|
||||
ACCESSKEY="N"
|
||||
>Suivant</A
|
||||
></TD
|
||||
></TR
|
||||
></TABLE
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"></DIV
|
||||
><DIV
|
||||
CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="DOMAIN.2">Configuration d'un domaine / sous-domaine</H1
|
||||
><P
|
||||
>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.</P
|
||||
><P
|
||||
>Par défaut, les sous-domaines suivants sont installés : (exemple pour <TT
|
||||
CLASS="LITERAL"
|
||||
>virtuel.org</TT
|
||||
>)
|
||||
<P
|
||||
></P
|
||||
><UL
|
||||
><LI
|
||||
><P
|
||||
><TT
|
||||
CLASS="LITERAL"
|
||||
>virtuel.org</TT
|
||||
> 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</P
|
||||
></LI
|
||||
><LI
|
||||
><P
|
||||
><TT
|
||||
CLASS="LITERAL"
|
||||
>www.virtuel.org</TT
|
||||
> 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.</P
|
||||
></LI
|
||||
><LI
|
||||
><P
|
||||
><TT
|
||||
CLASS="LITERAL"
|
||||
>mail.virtuel.org</TT
|
||||
> Ce sous-domaine particulier recoit le webmail
|
||||
de votre domaine. Vous pouvez donc accéder à votre mail par l'adresse <TT
|
||||
CLASS="LITERAL"
|
||||
>http://mail.virtuel.org</TT
|
||||
>
|
||||
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".
|
||||
</P
|
||||
></LI
|
||||
><LI
|
||||
><P
|
||||
><TT
|
||||
CLASS="LITERAL"
|
||||
>admin.virtuel.org</TT
|
||||
> 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".
|
||||
</P
|
||||
></LI
|
||||
></UL
|
||||
></P
|
||||
></DIV
|
||||
><DIV
|
||||
CLASS="NAVFOOTER"
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"><TABLE
|
||||
SUMMARY="Footer navigation table"
|
||||
WIDTH="100%"
|
||||
BORDER="0"
|
||||
CELLPADDING="0"
|
||||
CELLSPACING="0"
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="c26.html"
|
||||
ACCESSKEY="P"
|
||||
>Précédent</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="book1.html"
|
||||
ACCESSKEY="H"
|
||||
>Sommaire</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="c72.html"
|
||||
ACCESSKEY="N"
|
||||
>Suivant</A
|
||||
></TD
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
>Les Noms de Domaines</TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="c26.html"
|
||||
ACCESSKEY="U"
|
||||
>Niveau supérieur</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
>Comptes FTP</TD
|
||||
></TR
|
||||
></TABLE
|
||||
></DIV
|
||||
></BODY
|
||||
></HTML
|
||||
>
|
|
@ -0,0 +1,42 @@
|
|||
|
||||
BODY {
|
||||
font-size: 12px;
|
||||
font-family: Verdana, Helvetica, Sans-Serif;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* Titres de chapitres : */
|
||||
H1 {
|
||||
font-size: 18px;
|
||||
font-family: Bookman Old Style, Times, Serif;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* En-tete haut cache */
|
||||
.navheader {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
/* En-tete bas : petite police */
|
||||
.navfooter td, .navfooter {
|
||||
font-size: 10px;
|
||||
font-family: Verdana, Helvetica, Sans-Serif;
|
||||
}
|
||||
|
||||
/* Police standard pour le code */
|
||||
.literal, .programlisting, .screen {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* Listes a puce pour la table des matieres : */
|
||||
.toc {
|
||||
list-style-image: url(tiret.gif);
|
||||
padding-left: 4px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
.toc2 {
|
||||
list-style-image: url(plus.gif);
|
||||
padding-left: 4px;
|
||||
margin-left: 2px;
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Documentation développeur d'AlternC</title>
|
||||
</head>
|
||||
<frameset COLS="30%,*">
|
||||
<frame SRC="toc.htm" NAME="left">
|
||||
<frame SRC="book1.html" NAME="right">
|
||||
<noframes>
|
||||
<body>
|
||||
Your browser does not support frames.
|
||||
</body>
|
||||
</noframes>
|
||||
</frameset>
|
||||
</html>
|
After Width: | Height: | Size: 91 B |
After Width: | Height: | Size: 90 B |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 3.1 KiB |
|
@ -0,0 +1,82 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Editor of the browser
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
$editfile=ssla($editfile);
|
||||
$texte=ssla($texte);
|
||||
|
||||
$R=$bro->convertabsolute($R,1);
|
||||
$p=$bro->GetPrefs();
|
||||
|
||||
if ($cancel) {
|
||||
include("bro_main.php");
|
||||
exit();
|
||||
}
|
||||
if ($saveret) {
|
||||
if ($bro->Save($editfile,$R,$texte)) {
|
||||
$error=sprintf(_("Your file %s has been saved"),$editfile)." (".format_date('%3$d-%2$d-%1$d %4$d:%5$d',date("Y-m-d H:i:s")).")";
|
||||
} else {
|
||||
$error=$err->errstr();
|
||||
}
|
||||
include("bro_main.php");
|
||||
exit();
|
||||
}
|
||||
if ($save) {
|
||||
if ($bro->Save($editfile,$R,$texte)) {
|
||||
$error=sprintf(_("Your file %s has been saved"),$editfile)." (".format_date('%3$d-%2$d-%1$d %4$d:%5$d',date("Y-m-d H:i:s")).")";
|
||||
} else {
|
||||
$error=$err->errstr();
|
||||
}
|
||||
}
|
||||
|
||||
include_once("head.php");
|
||||
|
||||
?>
|
||||
<p>
|
||||
<?php if ($error) echo "<p class=\"error\">$error</p>"; ?>
|
||||
<?php echo _("File editing")." <code>$R/<b>$editfile</b></code><br />"; ?>
|
||||
</p>
|
||||
<form action="bro_editor.php" method="post"><br />
|
||||
<div id="resizer" style="left: 0px; top: 0px; z-index: 54; width: <?php echo $p["editsizex"]*8; ?>px; height: <?php echo $p["editsizey"]*8; ?>px; cursor: auto;"><textarea class="int" style="font-family: <?php echo $p["editor_font"]; ?>; font-size: <?php echo $p["editor_size"]; ?>; width: 90%; height: 90%;" name="texte"><?php
|
||||
$failed=false;
|
||||
if (!$bro->content($R,$editfile)) {
|
||||
$failed=true;
|
||||
}
|
||||
?></textarea>
|
||||
<?php if ($failed) echo "<p class=\"error\">".$err->errstr()."</p>"; ?>
|
||||
<input type="hidden" name="editfile" value="<?php echo str_replace("\"",""",$editfile); ?>" />
|
||||
<input type="hidden" name="R" value="<?php echo str_replace("\"",""",$R); ?>" />
|
||||
|
||||
<input type="submit" class="inb" value="<?php __("Save"); ?>" name="save" />
|
||||
<input type="submit" class="inb" value="<?php __("Save & Quit"); ?>" name="saveret" />
|
||||
<input type="submit" class="inb" value="<?php __("Quit"); ?>" name="cancel" />
|
||||
<br />
|
||||
</form>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,590 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag, Remi
|
||||
Purpose of file: Online file Browser of AlternC
|
||||
TODO : Voir ??? + Déplacer / Copier
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
include_once ("head.php");
|
||||
|
||||
$fields = array (
|
||||
"R" => array ("request", "string", ""),
|
||||
"formu" => array ("request", "integer", ""),
|
||||
"actextract" => array ("request", "string", ""),
|
||||
"fileextract" => array ("request", "string", ""),
|
||||
"actdel" => array ("request", "string", ""),
|
||||
"actcopy" => array ("request", "string", ""),
|
||||
"actmove" => array ("request", "string", ""),
|
||||
"actmoveto" => array ("request", "string", ""),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
|
||||
$p=$bro->GetPrefs();
|
||||
if (! isset($R)) $R='';
|
||||
if (!$R && $p["golastdir"]) {
|
||||
$R=$p["lastdir"];
|
||||
}
|
||||
$R=$bro->convertabsolute($R,1);
|
||||
// on fait ?
|
||||
if (isset($formu) && $formu) {
|
||||
switch ($formu) {
|
||||
case 1: // Créer le répertoire $R.$nomfich
|
||||
if (!$bro->CreateDir($R,$nomfich)) {
|
||||
$error = $err->errstr();
|
||||
}
|
||||
$p=$bro->GetPrefs();
|
||||
break;
|
||||
case 6: // Créer le fichier $R.$nomfich
|
||||
if (!$bro->CreateFile($R,$nomfich)) {
|
||||
$error = $err->errstr();
|
||||
}
|
||||
$p=$bro->GetPrefs();
|
||||
if ($p["createfile"]==1) {
|
||||
$editfile=$nomfich;
|
||||
include("bro_editor.php");
|
||||
exit();
|
||||
}
|
||||
break;
|
||||
case 2: // act vaut Supprimer Copier ou Renommer.
|
||||
if ($actdel) {
|
||||
if ($del_confirm != "") {
|
||||
if (!$bro->DeleteFile($d,$R)) {
|
||||
$error = $err->errstr();
|
||||
}
|
||||
} elseif (!$cancel && is_array($d)) {
|
||||
include_once("head.php");
|
||||
?>
|
||||
<h3><?php printf(_("Deleting files and/or directories")); ?> : </h3>
|
||||
<form action="bro_main.php" method="post" name="main" id="main">
|
||||
<input type="hidden" name="formu" value="2" />
|
||||
<input type="hidden" name="actdel" value="1" />
|
||||
<input type="hidden" name="R" value="<?php echo $R?>" />
|
||||
<p class="error"><?php __("WARNING: Confirm the deletion of this files"); ?></p>
|
||||
<?php foreach($_REQUEST["d"] as $editfile){ ?>
|
||||
<p><?php echo stripslashes($editfile); ?></p>
|
||||
<input type="hidden" name="d[]" value="<?php echo htmlentities(stripslashes($editfile)); ?>" />
|
||||
<?php } ?>
|
||||
<blockquote>
|
||||
<input type="submit" class="inb" name="del_confirm" value="<?php __("Yes"); ?>" />
|
||||
<input type="submit" class="inb" name="cancel" value="<?php __("No"); ?>" />
|
||||
</blockquote>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
exit();
|
||||
}
|
||||
}
|
||||
if ($actcopy) {
|
||||
if (!$bro->CopyFile($d,$R,$actmoveto)) {
|
||||
$error = $err->errstr();
|
||||
}
|
||||
}
|
||||
if ($actmove) {
|
||||
if (!$bro->MoveFile($d,$R,$actmoveto)) {
|
||||
$error = $err->errstr();
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 4: // Renommage Effectif...
|
||||
if (!$bro->RenameFile($R,$o,$d)) { // Rename $R (directory) $o (old) $d (new) names
|
||||
$error = $err->errstr();
|
||||
}
|
||||
break;
|
||||
case 3: // Upload de fichier...
|
||||
if (!$bro->UploadFile($R)) {
|
||||
$error = $err->errstr();
|
||||
}
|
||||
break;
|
||||
case 7: // Changement de permissions [ML]
|
||||
if (!$bro->ChangePermissions($R, $d, $perm)) {
|
||||
$error = $err->errstr();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($actextract) && $actextract) {
|
||||
print _("extracting...")."<br />\n"; flush();
|
||||
if ($bro->ExtractFile($R. '/' . $fileextract, $R)) {
|
||||
echo "<p class=\"error\">";
|
||||
print $err->errstr();
|
||||
print _("failed")."<br />\n";
|
||||
echo "</p>";
|
||||
} else {
|
||||
print _("done")."<br />\n";
|
||||
}
|
||||
}
|
||||
|
||||
/* Creation de la liste des fichiers courants */
|
||||
$c=$bro->filelist($R, isset($_REQUEST['showdirsize'])?$_REQUEST['showdirsize']:null );
|
||||
if ($c===false) $error=$err->errstr();
|
||||
|
||||
?>
|
||||
<h3><?php __("File browser"); ?></h3>
|
||||
<table border="0" width="100%" cellspacing="0">
|
||||
<tr><td>
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
<p class="breadcrumb">
|
||||
<?php __("Path"); ?> / <a href="bro_main.php?R=/"><?php echo $mem->user["login"]; ?></a> / <?php echo $bro->PathList($R,"bro_main.php") ?>
|
||||
</p>
|
||||
|
||||
<?php if (isset($error) && $error) echo "<p class=\"error\">$error</p>"; ?>
|
||||
|
||||
<table><tr>
|
||||
<td class="formcell">
|
||||
|
||||
<form action="bro_main.php" enctype="multipart/form-data" method="post">
|
||||
<input type="hidden" name="R" value="<?php echo $R; ?>" />
|
||||
<input type="hidden" name="formu" value="3" />
|
||||
|
||||
<?php __("Send one file:"); ?><br />
|
||||
<input class="int" name="userfile" type="file" />
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
|
||||
<br />
|
||||
<input type="submit" id="sendthisfile" class="ina" value="<?php __("Send this file"); ?>" />
|
||||
|
||||
</form>
|
||||
|
||||
</td>
|
||||
<td style="width: 20px"> </td>
|
||||
<td class="formcell">
|
||||
|
||||
<?php __("New file or folder:"); ?><br />
|
||||
<form action="bro_main.php" method="post" name="nn" id="nn">
|
||||
<input type="hidden" name="R" value="<?php echo $R; ?>" />
|
||||
<table><tr>
|
||||
<td><input type="text" class="int" name="nomfich" id="nomfich" size="22" maxlength="255" /></td>
|
||||
<td><input type="submit" class="ina" value="<?php __("Create"); ?>" /></td>
|
||||
</tr><tr><td>
|
||||
<input type="radio" class="inc" id="nfile" onclick="document.nn.nomfich.focus();" name="formu" value="6" <?php if (!$p["crff"]) echo "checked=\"checked\""; ?> /><label for="nfile"> <?php __("File"); ?></label>
|
||||
<input type="radio" class="inc" id="nfold" onclick="document.nn.nomfich.focus();" name="formu" value="1" <?php if ($p["crff"]) echo "checked=\"checked\""; ?> /><label for="nfold"> <?php __("Folder"); ?></label>
|
||||
</td><td></td></tr></table>
|
||||
</form>
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
</td></tr>
|
||||
<tr><td valign="top">
|
||||
|
||||
<?php
|
||||
/* Renommer / Copier / Déplacer les fichiers : */
|
||||
if (isset($formu) && $formu==2 && $actrename && count($d)) {
|
||||
echo "<table cellpadding=\"6\">\n";
|
||||
echo "<form action=\"bro_main.php\" method=\"post\">\n";
|
||||
echo "<input type=\"hidden\" name=\"R\" value=\"$R\" />\n";
|
||||
echo "<input type=\"hidden\" name=\"formu\" value=\"4\" />\n";
|
||||
echo "<tr><th colspan=\"2\">"._("Rename")."</th></tr>";
|
||||
for ($i=0;$i<count($d);$i++) {
|
||||
$d[$i]=ssla($d[$i]);
|
||||
echo "<tr><td><input type=\"hidden\" name=\"o[$i]\" value=\"".$d[$i]."\" />".$d[$i]."</td>";
|
||||
echo "<td><input type=\"text\" class=\"int\" name=\"d[$i]\" value=\"".$d[$i]."\" /></td></tr>";
|
||||
}
|
||||
echo "<tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" class=\"inb\" name=\"submit\" value=\""._("Rename")."\" /></td></tr>";
|
||||
echo "</table></form>\n";
|
||||
echo "<hr />\n";
|
||||
}
|
||||
|
||||
/* [ML] Changer les permissions : */
|
||||
if (isset($formu) && $formu==2 && $_REQUEST['actperms'] && count($d)) {
|
||||
echo "<form action=\"bro_main.php\" method=\"post\">\n";
|
||||
echo "<input type=\"hidden\" name=\"R\" value=\"$R\" />\n";
|
||||
echo "<input type=\"hidden\" name=\"formu\" value=\"7\" />\n";
|
||||
echo "<p>"._("Permissions")."</p>";
|
||||
|
||||
$tmp_absdir = $bro->convertabsolute($R,0);
|
||||
|
||||
echo "<table border=\"1\" cellpadding=\"4\" cellspacing=\"0\">";
|
||||
echo "<tr>";
|
||||
echo "<th>" . _("File") . "</th><th>"._("Permissions")."</th>";
|
||||
echo "</tr>";
|
||||
|
||||
for ($i=0;$i<count($d);$i++) {
|
||||
$d[$i]=ssla($d[$i]);
|
||||
$stats = stat($tmp_absdir . '/' . $d[$i]);
|
||||
$modes = $stats[2];
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>".$d[$i]."</td>";
|
||||
|
||||
// Owner
|
||||
echo "<td>";
|
||||
echo "<input type=\"hidden\" name=\"d[$i]\" value=\"".$d[$i]."\" />";
|
||||
echo "<label for=\"permw$i\">"._("write")."</label> <input type=\"checkbox\" id=\"permw$i\" name=\"perm[$i][w]\" value=\"1\" ". (($modes & 0000200) ? 'checked="checked"' : '') ." />";
|
||||
echo "</td>";
|
||||
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
echo "</table>";
|
||||
|
||||
echo "<p><input type=\"submit\" class=\"inb\" name=\"submit\" value=\""._("Change permissions")."\" /></p>";
|
||||
echo "</form>\n";
|
||||
echo "<hr />\n";
|
||||
}
|
||||
|
||||
/* We draw the file list and button bar only if there is files here ! */
|
||||
if (count($c)) {
|
||||
|
||||
?>
|
||||
<form action="bro_main.php" method="post" name="main" id="main">
|
||||
<input type="hidden" name="R" value="<?php echo $R; ?>" />
|
||||
<input type="hidden" name="formu" value="2" />
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
<table width="100%" style="border: 0px">
|
||||
<tr><td class="lst2" style="padding: 4px 4px 8px 4px">
|
||||
|
||||
<input type="submit" class="ina" name="actdel" value="<?php __("Delete"); ?>" />
|
||||
<input type="submit" class="ina" name="actrename" value="<?php __("Rename"); ?>" />
|
||||
<input type="submit" class="ina" name="actperms" value="<?php __("Permissions"); ?>" />
|
||||
|
|
||||
<input type="submit" class="ina" name="actcopy" value="<?php __("Copy"); ?>" />
|
||||
<input type="submit" class="ina" name="actmove" value="<?php __("Move"); ?>" />
|
||||
<?php __("To"); ?>
|
||||
<input type="text" class="int" name="actmoveto" value="" />
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
document.write("<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.actmoveto');\" value=\" Choisir un répertoire \" class=\"bff\" />");
|
||||
// -->
|
||||
</script>
|
||||
|
||||
</td></tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<?php
|
||||
switch ($p["listmode"]) {
|
||||
case 0:
|
||||
/* AFFICHE 1 COLONNE DETAILLEE */
|
||||
reset($c);
|
||||
echo "<table width=\"100%\" style=\"border: 0px\" cellpadding=\"2\" cellspacing=\"0\">";
|
||||
?>
|
||||
<tr><th>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
document.write("<input type=\"checkbox\" id=\"checkall\" value=\"1\" class=\"inb\" onclick=\"CheckAll();\" />");
|
||||
// -->
|
||||
</script>
|
||||
</th>
|
||||
<?php if ($p["showicons"]) { ?>
|
||||
<th></th>
|
||||
<?php } ?>
|
||||
<th><?php __("Filename"); ?></th>
|
||||
<th><?php __("Size"); ?></th>
|
||||
<th><?php __("Last modification"); ?></th>
|
||||
<?php if ($p["showtype"]) { ?>
|
||||
<th><?php __("File Type"); ?></th>
|
||||
<?php } ?>
|
||||
<th></th>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
$col=1;
|
||||
for($i=0;$i<count($c);$i++) {
|
||||
$col=3-$col;
|
||||
echo "<tr class=\"lst$col\">\n";
|
||||
if ($c[$i]["type"]) {
|
||||
echo " <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\" /></td>";
|
||||
if ($p["showicons"]) {
|
||||
echo "<td width=\"28\"><img src=\"icon/".$bro->icon($c[$i]["name"])."\" width=\"16\" height=\"16\" alt=\"\" /></td>";
|
||||
}
|
||||
echo "<td><a href=\"";
|
||||
echo "bro_editor.php?editfile=".urlencode($c[$i]["name"])."&R=".urlencode($R);
|
||||
echo "\">".htmlentities($c[$i]["name"])."</a></td>\n";
|
||||
echo " <td>".format_size($c[$i]["size"])."</td>";
|
||||
echo "<td>".format_date('%3$d-%2$d-%1$d %4$d:%5$d',date("Y-m-d H:i:s",$c[$i]["date"]))."<br /></td>";
|
||||
if ($p["showtype"]) {
|
||||
echo "<td>"._($bro->mime($c[$i]["name"]))."</td>";
|
||||
}
|
||||
$vu=$bro->viewurl($R,$c[$i]["name"]);
|
||||
if ($vu) {
|
||||
echo "<td><a href=\"$vu\">"._("View")."</a>";
|
||||
} else {
|
||||
echo "<td> ";
|
||||
}
|
||||
$e = $bro->is_extractable($R,$c[$i]["name"]);
|
||||
if ($e) {
|
||||
echo " <a href=\"bro_main.php?actextract=1&fileextract=".urlencode($c[$i]["name"])."&R=".urlencode($R)."\">";
|
||||
echo _("Extract");
|
||||
echo "</a>";
|
||||
}
|
||||
|
||||
echo "</td>\n";
|
||||
} else { // DOSSIER :
|
||||
echo " <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".htmlentities($c[$i]["name"])."\" /></td>";
|
||||
if ($p["showicons"]) {
|
||||
echo "<td width=\"28\"><img src=\"icon/folder.png\" width=\"16\" height=\"16\" alt=\"\" /></td>";
|
||||
}
|
||||
echo "<td><b><a href=\"";
|
||||
echo "bro_main.php?R=".urlencode($R."/".$c[$i]["name"]);
|
||||
echo "\">".htmlentities($c[$i]["name"])."/</a></b></td>\n";
|
||||
echo " <td>".format_size($c[$i]["size"])."</td>";
|
||||
echo "<td>".format_date('%3$d-%2$d-%1$d %4$d:%5$d',date("Y-m-d h:i:s",$c[$i]["date"]))."<br /></td>";
|
||||
if ($p["showtype"]) {
|
||||
echo "<td>"._("Folder")."</td>";
|
||||
}
|
||||
echo "<td> ";
|
||||
echo "</td>\n";
|
||||
}
|
||||
|
||||
echo "</tr>\n";
|
||||
}
|
||||
echo "</table>";
|
||||
break;
|
||||
case 1:
|
||||
/* AFFICHE 2 COLONNES COURTES */
|
||||
reset($c);
|
||||
echo "<table width=\"100%\" border=0 cellpadding=0 cellspacing=0>";
|
||||
echo "<tr><td valign=\"top\" width=\"50%\">";
|
||||
echo "<table width=\"100%\" border=0 cellpadding=0 cellspacing=0>";
|
||||
$col=1;
|
||||
for($i=0;$i<round(count($c)/2);$i++) {
|
||||
$col=3-$col;
|
||||
echo "<tr class=\"lst$col\">\n";
|
||||
if ($c[$i]["type"]) {
|
||||
echo " <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\" /></td><td><a href=\"";
|
||||
echo "bro_editor.php?editfile=".urlencode($c[$i]["name"])."&R=".urlencode($R);
|
||||
echo "\">".htmlentities($c[$i]["name"])."</a></td>\n";
|
||||
echo " <td>".format_size($c[$i]["size"])."</td><td>";
|
||||
$vu=$bro->viewurl($R,$c[$i]["name"]);
|
||||
if ($vu) {
|
||||
echo "<td><a href=\"$vu\">"._("V")."</a>";
|
||||
} else {
|
||||
echo "<td> ";
|
||||
}
|
||||
echo "</td>\n";
|
||||
} else {
|
||||
echo " <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><b><a href=\"";
|
||||
echo "bro_main.php?R=".urlencode($R."/".$c[$i]["name"]);
|
||||
echo "\">".htmlentities($c[$i]["name"])."/</a></b></td>\n";
|
||||
echo " <td>".format_size($c[$i]["size"])."</td><td>";
|
||||
echo " ";
|
||||
echo "</td>\n";
|
||||
}
|
||||
|
||||
echo "</tr>\n";
|
||||
}
|
||||
echo "</table>";
|
||||
echo "</td><td valign=\"top\" width=\"50%\">";
|
||||
echo "<table width=\"100%\" border=0 cellpadding=0 cellspacing=0>";
|
||||
$col=1;
|
||||
for($i=round(count($c)/2);$i<count($c);$i++) {
|
||||
$col=3-$col;
|
||||
echo "<tr class=\"lst$col\">\n";
|
||||
if ($c[$i]["type"]) {
|
||||
echo " <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><a href=\"";
|
||||
echo "bro_editor.php?editfile=".urlencode($c[$i]["name"])."&R=".urlencode($R);
|
||||
echo "\">".htmlentities($c[$i]["name"])."</a></td>\n";
|
||||
echo " <td>".format_size($c[$i]["size"])."</td><td>";
|
||||
$vu=$bro->viewurl($R,$c[$i]["name"]);
|
||||
if ($vu) {
|
||||
echo "<td><a href=\"$vu\">"._("V")."</a>";
|
||||
} else {
|
||||
echo "<td> ";
|
||||
}
|
||||
echo "</td>\n";
|
||||
} else {
|
||||
echo " <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><b><a href=\"";
|
||||
echo "bro_main.php?R=".urlencode($R."/".$c[$i]["name"]);
|
||||
echo "\">".htmlentities($c[$i]["name"])."/</a></b></td>\n";
|
||||
echo " <td>".format_size($c[$i]["size"])."</td><td>";
|
||||
echo " ";
|
||||
echo "</td>\n";
|
||||
}
|
||||
|
||||
echo "</tr>\n";
|
||||
}
|
||||
echo "</table>";
|
||||
echo "</td></tr>";
|
||||
echo "</table>";
|
||||
break;
|
||||
case 2:
|
||||
/* AFFICHE 3 COLONNES COURTES */
|
||||
reset($c);
|
||||
echo "<table width=\"100%\" border=0 cellpadding=0 cellspacing=0>";
|
||||
echo "<tr><td valign=\"top\" width=\"33%\">";
|
||||
echo "<table width=\"100%\" border=0 cellpadding=0 cellspacing=0>";
|
||||
$col=1;
|
||||
for($i=0;$i<round(count($c)/3);$i++) {
|
||||
$col=3-$col;
|
||||
echo "<tr class=\"lst$col\">\n";
|
||||
if ($c[$i]["type"]) {
|
||||
echo " <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><a href=\"";
|
||||
echo "bro_editor.php?editfile=".urlencode($c[$i]["name"])."&R=".urlencode($R);
|
||||
echo "\">".htmlentities($c[$i]["name"])."</a></td>\n";
|
||||
echo " <td>".format_size($c[$i]["size"])."</td><td>";
|
||||
$vu=$bro->viewurl($R,$c[$i]["name"]);
|
||||
if ($vu) {
|
||||
echo "<td><a href=\"$vu\">"._("V")."</a>";
|
||||
} else {
|
||||
echo "<td> ";
|
||||
}
|
||||
echo "</td>\n";
|
||||
} else {
|
||||
echo " <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><b><a href=\"";
|
||||
echo "bro_main.php?R=".urlencode($R."/".$c[$i]["name"]);
|
||||
echo "\">".htmlentities($c[$i]["name"])."/</a></b></td>\n";
|
||||
echo " <td>".format_size($c[$i]["size"])."</td><td>";
|
||||
echo " ";
|
||||
echo "</td>\n";
|
||||
}
|
||||
|
||||
echo "</tr>\n";
|
||||
}
|
||||
echo "</table>";
|
||||
echo "</td><td valign=\"top\" width=\"33%\">";
|
||||
echo "<table width=\"100%\" border=0 cellpadding=0 cellspacing=0>";
|
||||
$col=1;
|
||||
for($i=round(count($c)/3);$i<round(2*count($c)/3);$i++) {
|
||||
$col=3-$col;
|
||||
echo "<tr class=\"lst$col\">\n";
|
||||
if ($c[$i]["type"]) {
|
||||
echo " <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><a href=\"";
|
||||
echo "bro_editor.php?editfile=".urlencode($c[$i]["name"])."&R=".urlencode($R);
|
||||
echo "\">".htmlentities($c[$i]["name"])."</a></td>\n";
|
||||
echo " <td>".format_size($c[$i]["size"])."</td><td>";
|
||||
$vu=$bro->viewurl($R,$c[$i]["name"]);
|
||||
if ($vu) {
|
||||
echo "<td><a href=\"$vu\">"._("V")."</a>";
|
||||
} else {
|
||||
echo "<td> ";
|
||||
}
|
||||
|
||||
echo "</td>\n";
|
||||
} else {
|
||||
echo " <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><b><a href=\"";
|
||||
echo "bro_main.php?R=".urlencode($R."/".$c[$i]["name"]);
|
||||
echo "\">".htmlentities($c[$i]["name"])."/</a></b></td>\n";
|
||||
echo " <td>".format_size($c[$i]["size"])."</td><td>";
|
||||
echo " ";
|
||||
echo "</td>\n";
|
||||
}
|
||||
|
||||
echo "</tr>\n";
|
||||
}
|
||||
echo "</table>";
|
||||
echo "</td><td valign=\"top\" width=\"33%\">";
|
||||
echo "<table width=\"100%\" border=0 cellpadding=0 cellspacing=0>";
|
||||
$col=1;
|
||||
for($i=round(2*count($c)/3);$i<count($c);$i++) {
|
||||
$col=3-$col;
|
||||
echo "<tr class=\"lst$col\">\n";
|
||||
if ($c[$i]["type"]) {
|
||||
echo " <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><a href=\"";
|
||||
echo "bro_editor.php?editfile=".urlencode($c[$i]["name"])."&R=".urlencode($R);
|
||||
echo "\">".htmlentities($c[$i]["name"])."</a></td>\n";
|
||||
echo " <td>".format_size($c[$i]["size"])."</td><td>";
|
||||
$vu=$bro->viewurl($R,$c[$i]["name"]);
|
||||
if ($vu) {
|
||||
echo "<td><a href=\"$vu\">"._("View")."</a>";
|
||||
} else {
|
||||
echo "<td> ";
|
||||
}
|
||||
echo "</td>\n";
|
||||
} else {
|
||||
echo " <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><b><a href=\"";
|
||||
echo "bro_main.php?R=".urlencode($R."/".$c[$i]["name"]);
|
||||
echo "\">".htmlentities($c[$i]["name"])."/</a></b></td>\n";
|
||||
echo " <td>".format_size($c[$i]["size"])."</td><td>";
|
||||
echo " ";
|
||||
echo "</td>\n";
|
||||
}
|
||||
|
||||
echo "</tr>\n";
|
||||
}
|
||||
echo "</table>";
|
||||
echo "</td></tr>";
|
||||
echo "</table>";
|
||||
break;
|
||||
}
|
||||
?>
|
||||
</form>
|
||||
<?php
|
||||
} // is there any files here ?
|
||||
else {
|
||||
echo "<p class=\"error\">"._("No files in this folder")."</p>";
|
||||
}
|
||||
?>
|
||||
|
||||
</td></tr>
|
||||
<tr><td colspan="2" style="">
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>
|
||||
<span class="ina"><a href="bro_main.php?R=<?php echo $R; ?>&showdirsize=1"><?php __("Show size of directories"); ?></a></span> <?php __("(slow)"); ?>
|
||||
</p><p> </p><p>
|
||||
<span class="ina"><?php
|
||||
if ($hta->is_protected($R)) {
|
||||
echo "<a href=\"hta_edit.php?dir=".(($R)?$R:"/")."\">"._("Edit this folder's protection")."</a>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"hta_add.php?value=".(($R)?$R:"/")."\">"._("Protect this folder")."</a>";
|
||||
}
|
||||
?></span> <?php __("with a login and a password"); ?>
|
||||
</p><p>
|
||||
<span class="ina">
|
||||
<a href="bro_tgzdown.php?dir=<?php echo $R; ?>"><?php __("Download this folder"); ?></a>
|
||||
</span>
|
||||
<?php printf(_("as a %s file"),$bro->l_tgz[$p["downfmt"]]); ?>
|
||||
</span>
|
||||
</p>
|
||||
<?php
|
||||
|
||||
if ($id=$ftp->is_ftp($R)) {
|
||||
?>
|
||||
<span class="ina">
|
||||
<a href="ftp_edit.php?id=<?php ehe($id); ?>"><?php __("Edit the ftp account"); ?></a>
|
||||
</span> <?php __("that exists in this folder"); ?>
|
||||
<?php
|
||||
}
|
||||
else {
|
||||
?>
|
||||
<span class="ina">
|
||||
<a href="ftp_add.php?dir=<?php ehe($R); ?>"><?php __("Create an ftp account in this folder"); ?></a>
|
||||
</span>
|
||||
<?php
|
||||
}
|
||||
|
||||
?>
|
||||
<p> </p>
|
||||
<p>
|
||||
<span class="ina">
|
||||
<a href="bro_pref.php"><?php __("Configure the file editor"); ?></a>
|
||||
</span>
|
||||
</p>
|
||||
</td></tr></table>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,140 @@
|
|||
<?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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Configuration of the file browser
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if ($submit) {
|
||||
$bro->SetPrefs($editsizex, $editsizey, $listmode, $showicons, $downfmt, $createfile, $showtype, $editor_font, $editor_size, $golastdir);
|
||||
$error=_("Your preferences have been updated.");
|
||||
include("bro_main.php");
|
||||
exit;
|
||||
}
|
||||
$p=$bro->GetPrefs();
|
||||
|
||||
include_once("head.php");
|
||||
|
||||
?>
|
||||
<?php if ($error) echo "<font color=\"red\">$error</font><br />"; ?>
|
||||
<h3><?php __("File browser preferences"); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<form action="bro_pref.php" method="post">
|
||||
|
||||
|
||||
<table cellpadding="6" border="1" cellspacing="0">
|
||||
<tr><td><?php __("Horizontal window size"); ?></td><td><select class="inl" name="editsizex">
|
||||
<?php
|
||||
for($i=50;$i<=200;$i+=10) {
|
||||
echo "<option";
|
||||
if ($p["editsizex"]==$i) echo " selected";
|
||||
echo ">$i";
|
||||
}
|
||||
?></select></td></tr>
|
||||
<tr><td><?php __("Vertical window size"); ?></td><td><select class="inl" name="editsizey">
|
||||
<?php
|
||||
for($i=4;$i<=80;$i+=2) {
|
||||
echo "<option";
|
||||
if ($p["editsizey"]==$i) echo " selected";
|
||||
echo ">$i";
|
||||
}
|
||||
?></select></td></tr>
|
||||
<tr><td><?php __("File editor font name"); ?></td><td><select class="inl" name="editor_font">
|
||||
<?php
|
||||
for($i=0;$i<count($bro->l_editor_font);$i++) {
|
||||
echo "<option";
|
||||
if ($p["editor_font"]==$bro->l_editor_font[$i]) echo " selected";
|
||||
echo ">"._($bro->l_editor_font[$i]);
|
||||
}
|
||||
?></select></td></tr>
|
||||
<tr><td><?php __("File editor font size"); ?></td><td><select class="inl" name="editor_size">
|
||||
<?php
|
||||
for($i=0;$i<count($bro->l_editor_size);$i++) {
|
||||
echo "<option";
|
||||
if ($p["editor_size"]==$bro->l_editor_size[$i]) echo " selected";
|
||||
echo ">"._($bro->l_editor_size[$i]);
|
||||
}
|
||||
?></select></td></tr>
|
||||
<tr><td><?php __("File list view"); ?></td><td><select class="inl" name="listmode">
|
||||
<?php
|
||||
for($i=0;$i<count($bro->l_mode);$i++) {
|
||||
echo "<option";
|
||||
if ($p["listmode"]==$i) echo " selected";
|
||||
echo " value=\"$i\">"._($bro->l_mode[$i])."</option>";
|
||||
}
|
||||
?></select></td></tr>
|
||||
<tr><td><?php __("Downloading file format"); ?></td><td><select class="inl" name="downfmt">
|
||||
<?php
|
||||
for($i=0;$i<count($bro->l_tgz);$i++) {
|
||||
echo "<option";
|
||||
if ($p["downfmt"]==$i) echo " selected";
|
||||
echo " value=\"$i\">"._($bro->l_tgz[$i])."</option>";
|
||||
}
|
||||
?></select></td></tr>
|
||||
<tr><td><?php __("What to do after creating a file"); ?></td><td><select class="inl" name="createfile">
|
||||
<?php
|
||||
for($i=0;$i<count($bro->l_createfile);$i++) {
|
||||
echo "<option";
|
||||
if ($p["createfile"]==$i) echo " selected";
|
||||
echo " value=\"$i\">"._($bro->l_createfile[$i])."</option>";
|
||||
}
|
||||
?></select></td></tr>
|
||||
<tr><td><?php __("Show icons?"); ?></td><td><select class="inl" name="showicons">
|
||||
<?php
|
||||
for($i=0;$i<count($bro->l_icons);$i++) {
|
||||
echo "<option";
|
||||
if ($p["showicons"]==$i) echo " selected";
|
||||
echo " value=\"$i\">"._($bro->l_icons[$i])."</option>";
|
||||
}
|
||||
?></select></td></tr>
|
||||
<tr><td><?php __("Show file types?"); ?></td><td><select class="inl" name="showtype">
|
||||
<?php
|
||||
for($i=0;$i<count($bro->l_icons);$i++) {
|
||||
echo "<option";
|
||||
if ($p["showtype"]==$i) echo " selected";
|
||||
echo " value=\"$i\">"._($bro->l_icons[$i])."</option>";
|
||||
}
|
||||
?></select></td></tr>
|
||||
<tr><td><?php __("Remember last visited directory?"); ?></td><td><select class="inl" name="golastdir">
|
||||
<?php
|
||||
for($i=0;$i<count($bro->l_icons);$i++) {
|
||||
echo "<option";
|
||||
if ($p["golastdir"]==$i) echo " selected";
|
||||
echo " value=\"$i\">"._($bro->l_icons[$i])."</option>";
|
||||
}
|
||||
?></select></td></tr>
|
||||
|
||||
<tr class="trbtn"><td colspan="2">
|
||||
<input type="submit" name="submit" class="inb" value="<?php __("Change my settings"); ?>" />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='bro_main.php'"/>
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
/*
|
||||
$Id: bro_tgzdown.php,v 1.2 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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Sonntag Benjamin
|
||||
Purpose of file: Return the current folder in a compressed file
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
$p=$bro->GetPrefs();
|
||||
switch ($p["downfmt"]) {
|
||||
case 0:
|
||||
$bro->DownloadTGZ($dir);
|
||||
break;
|
||||
case 1:
|
||||
$bro->DownloadTBZ($dir);
|
||||
break;
|
||||
case 2:
|
||||
$bro->DownloadZIP($dir);
|
||||
break;
|
||||
case 3:
|
||||
$bro->DownloadZ($dir);
|
||||
break;
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
/*
|
||||
$Id: bro_view.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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Show a file passed in the URL Name...
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
$bro->content_send(dirname($PATH_INFO),basename($PATH_INFO));
|
||||
|
||||
?>
|
||||
|
|
@ -0,0 +1,168 @@
|
|||
<?php
|
||||
/*
|
||||
Navigateur de dossiers en php. (BrowseForFolder in win32 api :)
|
||||
Version 1.0
|
||||
Notes :
|
||||
Benjamin Sonntag 23/12/2001 Version initiale: n'utilise qu'un seul uid : 1...
|
||||
Fichier :
|
||||
browseforfolder.php3 : Dialogue de navigation BrowseForFolder
|
||||
$caller = composant form appelant (de la forme forms['main'].component )
|
||||
|
||||
function browseforfolder(caller) {
|
||||
eval("file=document."+caller+".value");
|
||||
w=window.open("browseforfolder.php?caller="+caller+"&file="+file,"browseforfolder","width=300,height=400,scrollbars,left=100,top=100");
|
||||
}
|
||||
|
||||
requires : ife($test,$iftrue,$iffalse) function :
|
||||
|
||||
function ife($test,$true,$false="") {
|
||||
if ($test)
|
||||
return $true;
|
||||
else
|
||||
return $false;
|
||||
}
|
||||
|
||||
BrowseForFolder($curdir); Retourne le tableau avec la liste des dossiers à afficher dans
|
||||
la fonction browseforfolder sachant que le dossier actuel et curdir
|
||||
retourne un tableau de tableau de la forme :
|
||||
dir => "directory" Nom du dossier
|
||||
level => 0-n Niveau du dossier (0=racine 1,2 ...)
|
||||
put => "/sub/sub/directory" Contenu de la variable post à ajouter pour la balise A si ="" c'est le dossier courant.
|
||||
Si probleme, positionne $errbrowsefold
|
||||
Sinon, retourne le tableau et $maxlevel contient le nombre maximum de sous-dossiers.
|
||||
*/
|
||||
include("../class/config.php");
|
||||
|
||||
function _subbrowse($curdir,$pos,$level) {
|
||||
global $maxlevel,$root,$brlist;
|
||||
if ($level>$maxlevel)
|
||||
$maxlevel=$level;
|
||||
$rot=substr($curdir,0,$pos);
|
||||
$next=@strpos($curdir,"/",$pos+1);
|
||||
$nextstr=substr($curdir,$pos+1,$next-$pos-1);
|
||||
$c=opendir($root.$rot);
|
||||
$i=0; $tmp = array();
|
||||
while ($r=readdir($c)) {
|
||||
if (is_dir($root.$rot."/".$r) && $r!="." && $r!="..") { $tmp[$i++]=$r; }
|
||||
}
|
||||
sort($tmp);
|
||||
foreach ($tmp as $r) {
|
||||
/* Ajout */
|
||||
$brlist[]=array("dir"=>$r,"level"=>$level,"put"=> ife($curdir==$rot."/".$r."/","",$rot."/".$r));
|
||||
if ($r==$nextstr) {
|
||||
_subbrowse($curdir,$next,$level+1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function browseforfolder($curdir) {
|
||||
global $maxlevel,$root,$brlist;
|
||||
$maxlevel=0;
|
||||
$pat=explode("/",$curdir);
|
||||
$brlist=array(array("dir"=>"/","level"=>0,"put"=> ife($curdir=="/","","/") ));
|
||||
_subbrowse($curdir,0,1);
|
||||
return $brlist;
|
||||
}
|
||||
|
||||
$root="/var/alternc/html/".substr($mem->user["login"],0,1)."/".$mem->user["login"]."/";
|
||||
// pour utiliser 'la ou est browseforfolder', mettre dirname($HTTP_SERVER_VARS["PATH_TRANSLATED"]);
|
||||
|
||||
if (substr($file,0,1)!="/") $file="/".$file;
|
||||
if (substr($file,-1)!="/") $file.="/";
|
||||
if (!$file) $file="/";
|
||||
|
||||
$errbrowsefold=0; /* Erreur lors de la création d'un dossier */
|
||||
$brlist=array(); /* Liste des dossiers ... */
|
||||
$maxlevel=0;
|
||||
|
||||
|
||||
if ($select) {
|
||||
/* Go ahead, let's send the javascript ...*/
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
|
||||
<head>
|
||||
<title>Browser for folder</title>
|
||||
<link rel="stylesheet" href="styles/style.css" type="text/css" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
|
||||
<?php
|
||||
echo "<head><script type=\"text/javascript\">\n";
|
||||
echo "window.opener.document.".$caller.".value='".addslashes($file)."';\n";
|
||||
echo "window.opener.window.focus();\n";
|
||||
echo "window.close();\n";
|
||||
echo "</script>\n";
|
||||
echo "</head><body></body></html>";
|
||||
exit();
|
||||
}
|
||||
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
|
||||
<head>
|
||||
<title>Recherche d'un dossier</title>
|
||||
<link rel="stylesheet" href="styles/style.css" type="text/css" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
<script type="text/javascript">
|
||||
/* Fonction appellée lors du lancement d'un popup Fichier : */
|
||||
function popupfile() {
|
||||
window.focus();
|
||||
if (document.forms["main"].file)
|
||||
document.forms["main"].file.focus();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="popupfile();">
|
||||
<h3><?php __("Searching for a folder"); ?></h3>
|
||||
<?php
|
||||
|
||||
$ar=browseforfolder($file);
|
||||
if ($errbrowsefold) {
|
||||
/* Si le dossier spécifié n'existe pas ou est un fichier : */
|
||||
echo _("Error, cannot find this folder")."<br />";
|
||||
/* Retour : */
|
||||
echo "<a href=\"browseforfolder.php?caller=".urlencode($caller)."&curdir=".$root."\">"._("Back to the root folder")."</a><br />";
|
||||
} else {
|
||||
/* Sinon, tout va bien, on affiche le tableau */
|
||||
reset($ar);
|
||||
?>
|
||||
<form method="post" id="main" name="main" action="browseforfolder.php">
|
||||
<p>
|
||||
<input type="hidden" name="caller" value="<?php echo $caller; ?>" />
|
||||
<input type="hidden" name="lastcurdir" value="<?php echo $curdir; ?>" />
|
||||
|
||||
<input type="text" class="int" name="file" size="20" value="<?php ehe($file); ?>" /><br />
|
||||
|
||||
<input type="submit" name="select" value="<?php __("Select"); ?>" class="inb" />
|
||||
<input type="button" name="cancel" value="<?php __("Cancel"); ?>" class="inb" onclick="window.close();" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<table style="border: 0" cellspacing="2" cellpadding="0">
|
||||
|
||||
<?php
|
||||
while (list($key,$val)=each($ar)) {
|
||||
echo "<tr>\n";
|
||||
for ($i=0;$i<$val["level"];$i++)
|
||||
echo "<td width=\"16\"></td>";
|
||||
if ($val["put"]!="") {
|
||||
?>
|
||||
<td width="16"><img src="icon/folder.png" width="16" height="16" alt="" /></td>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<td width="16"><img src="icon/openfold.png" width="16" height="16" alt="" /></td>
|
||||
<?php
|
||||
}
|
||||
echo "<td colspan=\"".($maxlevel-$val["level"]+1)."\">";
|
||||
if ($val["put"]!="") {
|
||||
echo "<a href=\"browseforfolder.php?caller=".urlencode($caller)."&file=".urlencode($val["put"])."\">".$val["dir"]."</a>";
|
||||
} else {
|
||||
echo "<b>".$val["dir"]."</b>";
|
||||
}
|
||||
echo "</td>\n</tr>\n";
|
||||
}
|
||||
} // OK ?
|
||||
?>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,54 @@
|
|||
<?php
|
||||
/*
|
||||
$Id: direct.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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Redirect the user (show the main frameset) after a
|
||||
form submit
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
if (!$mem->checkid()) {
|
||||
$error=$err->errstr();
|
||||
include("index.php");
|
||||
exit();
|
||||
}
|
||||
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Administration de <?php echo $host ?></title>
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<frameset cols="225px,*">
|
||||
<frame src="menu.php" name="left">
|
||||
<frame src="<?php echo $page ?>" name="right">
|
||||
<noframes>
|
||||
Votre navigateur doit supporter les cadres.<br />
|
||||
Your browser must support frames
|
||||
</noframes>
|
||||
</frameset>
|
||||
</html>
|
|
@ -0,0 +1,107 @@
|
|||
<?php
|
||||
/*
|
||||
$Id: dom_add.php,v 1.5 2003/06/10 13:16:11 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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Add a new domain
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
|
||||
include_once("head.php");
|
||||
|
||||
$fields = array (
|
||||
"newdomain" => array ("request", "string", ""),
|
||||
"yndns" => array ("request", "integer", 0),
|
||||
"newisslave" => array ("request", "integer", 0),
|
||||
"slavedom" => array ("request", "string", ""),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
if (!isset($dns)) $dns="1";
|
||||
|
||||
?>
|
||||
<h3><?php __("Domain hosting"); ?></h3>
|
||||
<hr />
|
||||
<?php
|
||||
if (!$quota->cancreate("dom")) { ?>
|
||||
<p class="error"><?php echo _("You cannot add any new domain, your quota is over.")." "._("Contact your administrator for more information."); ?></p>
|
||||
<?php
|
||||
exit();
|
||||
}
|
||||
if ($error) echo "<p class=\"error\">$error</p>";
|
||||
?>
|
||||
<form method="post" action="dom_doadd.php" id="main">
|
||||
<p>
|
||||
<label for="newdomain"><b><?php __("Domain name"); ?> :</b></label> <span class="int" id="newdomwww">www.</span><input type="text" class="int" id="newdomain" name="newdomain" value="<?php ehe($newdomain); ?>" size="32" maxlength="255" />
|
||||
</p>
|
||||
<p>
|
||||
<input type="checkbox" name="dns" class="inc" value="1" id="yndns"<?php cbox($dns=="1"); ?>/> <label for="yndns"><?php __("host my dns here"); ?></label>
|
||||
</p>
|
||||
<?php
|
||||
$q = $quota->getquota("dom");
|
||||
if ($q["u"]>0) {
|
||||
?>
|
||||
<p>
|
||||
<?php __("Do you want to point this domain to another domain already installed in your account?"); ?>
|
||||
<br />
|
||||
<input type="radio" id="newisslave0" name="newisslave" value="0"<?php cbox($newisslave==0); ?>/><label for="newisslave0"><?php __("No: This domain will have its own folder."); ?></label>
|
||||
<br />
|
||||
<input type="radio" id="newisslave1" name="newisslave" value="1"<?php cbox($newisslave==1); ?>/><label for="newisslave1"><?php __("Yes, redirect this new domain to this one:"); ?> </label> <select name="slavedom" id="slavedom" class="inl">
|
||||
<option value=""><?php __("-- Choose a domain --"); ?></option>
|
||||
<?php
|
||||
$dl=$dom->get_domain_list($cuid);
|
||||
$ddl=array();
|
||||
foreach($dl as $d) {
|
||||
$ddl[$d]=$d;
|
||||
}
|
||||
eoption($ddl,"slavedom");
|
||||
?></select>
|
||||
<br />
|
||||
</p>
|
||||
<?php } ?>
|
||||
|
||||
<p>
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Add this domain"); ?>" />
|
||||
</p>
|
||||
|
||||
<p class="error">
|
||||
<small>
|
||||
<?php __("If you don't want to host in our server the DNS of your domain, don't check the box 'host my dns here'. If you don't know what it mean, leave it checked."); ?></small></p>
|
||||
<?php $mem->show_help("add_domain"); ?>
|
||||
</form>
|
||||
<?php
|
||||
if (is_array($dom->dns)) {
|
||||
echo "<br />"._("Whois result on the domain")." : <pre>";
|
||||
reset($dom->dns);
|
||||
while (list($key,$val)=each($dom->dns)) {
|
||||
echo "nameserver: $val\n";
|
||||
}
|
||||
echo "</pre>";
|
||||
}
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
document.forms['main'].newdomain.focus();
|
||||
</script>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,69 @@
|
|||
<?php
|
||||
/*
|
||||
$Id: dom_doadd.php,v 1.3 2003/06/10 11:18:27 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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Add a new domain to a member's account
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
include_once("head.php");
|
||||
|
||||
$fields = array (
|
||||
"newdomain" => array ("post", "string", ""),
|
||||
"dns" => array ("post", "string", ""),
|
||||
"newisslave" => array ("post", "integer" ,0),
|
||||
"slavedom" => array ("post", "string" ,0),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
$dom->lock();
|
||||
|
||||
if (!$dom->add_domain($newdomain,$dns,0,0,$newisslave,$slavedom)) {
|
||||
$error=$err->errstr();
|
||||
include("dom_add.php");
|
||||
exit();
|
||||
}
|
||||
|
||||
$dom->unlock();
|
||||
|
||||
?>
|
||||
<h3><?php __("Add a domain"); ?></h3>
|
||||
<p>
|
||||
<?php printf(_("Your new domain %s has been successfully installed"),$newdomain); ?><br /><br />
|
||||
<span class="inb"><a href="main.php" target="_top"><?php __("Click here to continue"); ?></a></span><br />
|
||||
<?php $mem->show_help("add_domain"); ?>
|
||||
<br />
|
||||
<?php
|
||||
if (is_array($dom->dns)) {
|
||||
echo "<br />"._("Whois result on the domain")." : <pre>";
|
||||
reset($dom->dns);
|
||||
while (list($key,$val)=each($dom->dns)) {
|
||||
echo "nameserver: $val\n";
|
||||
}
|
||||
echo "</pre>";
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,88 @@
|
|||
<?php
|
||||
/*
|
||||
$Id: dom_dodel.php,v 1.3 2003/06/10 11:18:27 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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Delete a domain, confirm the deletion
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
include_once("head.php");
|
||||
|
||||
$fields = array (
|
||||
"domain" => array ("request", "string", ""),
|
||||
"del_confirm" => array ("post", "string", ""),
|
||||
"del_cancel" => array ("request", "string", ""),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
$dom->lock();
|
||||
if ($del_confirm=="y")
|
||||
if (!$dom->del_domain($domain)) {
|
||||
$error=$err->errstr();
|
||||
include("dom_edit.php");
|
||||
$dom->unlock();
|
||||
exit();
|
||||
}
|
||||
|
||||
$dom->unlock();
|
||||
|
||||
if (! empty($del_cancel)) {
|
||||
$dom->del_domain_cancel($domain);
|
||||
// The link to this function is disable : the del_domain_cancel function need some modification
|
||||
__("Deletion have been successfully cancelled");?><br/>
|
||||
<p>
|
||||
<span class="ina"><a href="main.php" target="_parent"><?php __("Click here to continue"); ?></a></span>
|
||||
</p>
|
||||
<?php
|
||||
exit();
|
||||
}
|
||||
if ($del_confirm!="y") {
|
||||
|
||||
?>
|
||||
<h3><?php printf(_("Confirm the deletion of domain %s"),$domain); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<p class="error"><?php __("WARNING"); ?><br /><?php printf(_("Confirm the deletion of domain %s"),$domain); ?><br />
|
||||
|
||||
<?php __("This will delete the related sub-domains too."); ?></p>
|
||||
<form method="post" action="dom_dodel.php" id="main">
|
||||
<p>
|
||||
<input type="hidden" name="del_confirm" value="y" />
|
||||
<input type="hidden" name="domain" value="<?php echo $domain ?>" />
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Yes"); ?>" /> - <input type="button" class="inb" name="non" value="<?php __("No"); ?>" onclick="history.back()" />
|
||||
</form>
|
||||
<?php include_once("foot.php");
|
||||
exit();
|
||||
}
|
||||
?>
|
||||
<h3><?php printf(_("Domain %s deleted"),$domain); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<p>
|
||||
<?php printf(_("The domain %s has been successfully deleted."),$domain); ?><br /><br />
|
||||
<span class="ina"><a href="main.php" target="_parent"><?php __("Click here to continue"); ?></a></span>
|
||||
<?php $mem->show_help("del_domain"); ?>
|
||||
</p>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,145 @@
|
|||
<?php
|
||||
require_once("../class/config.php");
|
||||
include_once("head.php");
|
||||
|
||||
|
||||
# Function to create/edit subdomain
|
||||
# Take the values of the subdomain in arguments
|
||||
|
||||
function sub_domains_edit($domain, $sub=false,$type=false,$value=false) {
|
||||
global $admin, $oldid, $isedit;
|
||||
|
||||
$dom=new m_dom();
|
||||
$dom->lock();
|
||||
if (!$r=$dom->get_domain_all($domain)) {
|
||||
$error=$err->errstr();
|
||||
}
|
||||
/*
|
||||
if (! empty($sub)) {
|
||||
if (!$sd=$dom->get_sub_domain_all($domain,$sub,$type,$value)) {
|
||||
$error=$err->errstr();
|
||||
}
|
||||
}
|
||||
*/
|
||||
$sd=$dom->get_sub_domain_all($domain,$sub,$type,$value);
|
||||
|
||||
$dom->unlock();
|
||||
?>
|
||||
|
||||
<form action="dom_subdoedit.php" method="post" name="main" id="main">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="domain" value="<?php ehe($domain); ?>" />
|
||||
<input type="hidden" name="sub_old" value="<?php ehe($sub); ?>" />
|
||||
<input type="hidden" name="type_old" value="<?php ehe($type); ?>" />
|
||||
<input type="hidden" name="value_old" value="<?php ehe($value); ?>" />
|
||||
<input type="hidden" name="action" value="add" />
|
||||
<?php
|
||||
if ($isedit) {
|
||||
__("Edit a subdomain:");
|
||||
} else {
|
||||
__("Create a subdomain:");
|
||||
}
|
||||
?></td><td>
|
||||
<input type="text" class="int" name="sub" style="text-align:right" value="<?php ehe($sub); ?>" size="22" id="sub" /><span class="int" id="newsubname">.<?php echo $domain; ?></span></td>
|
||||
</tr>
|
||||
<?php
|
||||
$first_advanced=true;
|
||||
foreach($dom->domains_type_lst() as $dt) {
|
||||
// If this type is disabled AND it's not the type in use here, continue
|
||||
if ( $dt['enable'] == 'NONE' && strtoupper($type)!=strtoupper($dt['name'])) continue ;
|
||||
// If this type is only for ADMIN and i'm not an admin, continue (oldid is to check if we are an admin who take user identity)
|
||||
if (( $dt['enable'] == 'ADMIN') && (! $admin->enabled and ! intval($oldid))) continue;
|
||||
|
||||
if ( (! $r['dns'] ) and ($dt['need_dns']) ) continue;
|
||||
$targval=(strtoupper($type)==strtoupper($dt['name']))?$sd['dest']:'';
|
||||
|
||||
if ($dt['advanced']) {
|
||||
$lst_advanced[]=$dt['name'];
|
||||
if ($first_advanced) {
|
||||
$first_advanced=false;
|
||||
echo "<tr><td colspan=\"2\" class=\"advdom\"></td></tr>";
|
||||
echo "<tr id='domtype_show' onClick=\"domtype_advanced_show();\"><td colspan=2><a href=\"javascript:domtype_advanced_show();\"><b>+ "; __("Show advanced options"); echo "</b></a></td></tr>";
|
||||
echo "<tr id='domtype_hide' onClick=\"domtype_advanced_hide();\" style='display:none'><td colspan=2><a href=\"javascript:domtype_advanced_hide();\"><b>- "; __("Hide advanced options"); echo "</b></a></td></tr>";
|
||||
echo "<tr><td colspan=\"2\" class=\"advdom\"></td></tr>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
<tr id="tr_<?php echo $dt['name']; ?>">
|
||||
<td>
|
||||
<input type="radio" id="r_<?php echo $dt['name']?>" class="inc" name="type" value="<?php echo $dt['name']; ?>" <?php cbox(strtoupper($type)==strtoupper($dt['name'])); ?> />
|
||||
<label for="r_<?php echo $dt['name']?>"><?php __($dt['description']); ?></label>
|
||||
</td>
|
||||
<td>
|
||||
<?php
|
||||
|
||||
switch ($dt['target']) {
|
||||
case "NONE":
|
||||
default:
|
||||
break;
|
||||
case "DIRECTORY": ?>
|
||||
<input type="text" class="int" name="t_<?php echo $dt['name']?>" id="t_<?php echo $dt['name']?>" value="<?php ehe($targval); ?>" size="28" />
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
document.write(" <input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.t_<?php echo $dt['name'];?>');\" value=\" <?php __("Choose a folder..."); ?> \" class=\"bff\">");
|
||||
// -->
|
||||
</script><?php
|
||||
break;
|
||||
case "URL": ?>
|
||||
<input type="text" class="int" name="t_<?php echo $dt['name']?>" id="t_<?php echo $dt['name']?>" value="<?php ehe($targval); ?>" size="50" />
|
||||
<small><?php __("(enter an URL here)"); ?></small><?php
|
||||
break;;
|
||||
case 'IP':?>
|
||||
<input type="text" class="int" name="t_<?php echo $dt['name']?>" id="t_<?php echo $dt['name']?>" value="<?php ehe($targval); ?>" size="16" />
|
||||
<small><?php __("(enter an IPv4 address, for example 192.168.1.2)"); ?></small><?php
|
||||
break;
|
||||
case 'IPV6':?>
|
||||
<input type="text" class="int" name="t_<?php echo $dt['name']?>" id="t_<?php echo $dt['name']?>" value="<?php ehe($targval); ?>" size="32" />
|
||||
<small><?php __("(enter an IPv6 address, for example 2001:0910::0)"); ?></small><?php
|
||||
break;
|
||||
case 'TXT':?>
|
||||
<input type="text" class="int" name="t_<?php echo $dt['name']?>" id="t_<?php echo $dt['name']?>" value="<?php ehe($targval);?>" size="32" />
|
||||
<small><?php __("(enter a TXT informations for this domain)"); ?></small></td><?php
|
||||
break;
|
||||
case 'DOMAIN':?>
|
||||
<input type="text" class="int" name="t_<?php echo $dt['name']?>" id="t_<?php echo $dt['name']?>" value="<?php ehe($targval);?>" size="32" />
|
||||
<small><?php __("(enter a domain name or subdomain)"); ?></small><?php
|
||||
break;
|
||||
} // switch ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } // foreach ?>
|
||||
|
||||
<tr class="trbtn">
|
||||
<td colspan="2"><input type="submit" class="inb" name="add" value="<?php
|
||||
if ($isedit) {
|
||||
__("Edit this subdomain");
|
||||
} else {
|
||||
__("Add this subdomain");
|
||||
}
|
||||
?>" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
function domtype_advanced_hide() {
|
||||
<?php foreach ($lst_advanced as $adv) echo "$(\"#tr_$adv\").hide();\n"?>
|
||||
$("#domtype_show").show();
|
||||
$("#domtype_hide").hide();
|
||||
}
|
||||
function domtype_advanced_show() {
|
||||
<?php foreach ($lst_advanced as $adv) echo "$(\"#tr_$adv\").show();\n"?>
|
||||
$("#domtype_show").hide();
|
||||
$("#domtype_hide").show();
|
||||
}
|
||||
|
||||
domtype_advanced_hide();
|
||||
|
||||
</script>
|
||||
|
||||
<?php
|
||||
} // sub_domains_edit
|
||||
?>
|
||||
|
|
@ -0,0 +1,229 @@
|
|||
<?php
|
||||
/*
|
||||
$Id: dom_edit.php,v 1.8 2006/02/17 18:20:08 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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Edit a domain parameters
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
include_once("head.php");
|
||||
|
||||
$fields = array (
|
||||
"domain" => array ("request", "string", ""),
|
||||
"sub" => array ("request", "string", ""),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
$dom->lock();
|
||||
if (!$r=$dom->get_domain_all($domain)) {
|
||||
$error=$err->errstr();
|
||||
}
|
||||
$dom->unlock();
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
function dnson() {
|
||||
// Active les composants DNS :
|
||||
if (document.forms["fdns"].mx.disabled!=null)
|
||||
document.forms["fdns"].mx.disabled=false;
|
||||
if (document.forms["fdns"].emailon.disabled!=null)
|
||||
document.forms["fdns"].emailon.disabled=true;
|
||||
if (document.forms["fdns"].emailoff.disabled!=null)
|
||||
document.forms["fdns"].emailoff.disabled=true;
|
||||
}
|
||||
function dnsoff() {
|
||||
// Active les composants DNS :
|
||||
if (document.forms["fdns"].mx.disabled!=null)
|
||||
document.forms["fdns"].mx.disabled=true;
|
||||
if (document.forms["fdns"].emailon.disabled!=null)
|
||||
document.forms["fdns"].emailon.disabled=false;
|
||||
if (document.forms["fdns"].emailoff.disabled!=null)
|
||||
document.forms["fdns"].emailoff.disabled=false;
|
||||
}
|
||||
</script>
|
||||
<h3><?php printf(_("Editing subdomains of %s"),$domain); ?></h3>
|
||||
<?php
|
||||
if (isset($error) && $error) {
|
||||
echo "<p class=\"error\">$error</p>";
|
||||
}
|
||||
?>
|
||||
<hr id="topbar"/>
|
||||
<?php
|
||||
|
||||
if ($r['dns_action']=='UPDATE') {?>
|
||||
<p class="error"><?php __("This domain have some DNS change pending. Please wait."); ?></p>
|
||||
<?php
|
||||
} elseif ($r['dns_action']=='DELETE') {?>
|
||||
<p class="error"><?php __("You requested deletion of this domain.");?></p>
|
||||
<?php
|
||||
/*
|
||||
// Link hidden as long as the del_domain_cancel function is not complete
|
||||
<a href="dom_dodel.php?domain=<?php echo urlencode($domain);?>&del_cancel=true"><?php __("Clic here to cancel deletion");?></a>
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
include_once("foot.php");
|
||||
die();
|
||||
}
|
||||
|
||||
?>
|
||||
<br />
|
||||
<!-- *****************************************
|
||||
gestion des sous-domaines
|
||||
-->
|
||||
<table class="tlist">
|
||||
<tr><th colspan="2"> </th><th><?php __("Subdomain"); ?></th><th><?php __("Type");?></th><th><?php __("Status")?></th></tr>
|
||||
<?php
|
||||
$col=1;
|
||||
$dt=$dom->domains_type_lst();
|
||||
for($i=0;$i<$r["nsub"];$i++) {
|
||||
$col=3-$col;
|
||||
|
||||
?>
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<?php if ( $r['sub'][$i]['web_action'] =='DELETE') { echo "<td colspan=2 />"; } else { ?>
|
||||
<td class="center">
|
||||
<?php if (!(!$isinvited && $dt[strtolower($r["sub"][$i]["type"])]["enable"] != "ALL" )) { ?>
|
||||
<div class="ina"><a href="dom_subedit.php?domain=<?php echo urlencode($r["name"]) ?>&sub=<?php echo urlencode($r["sub"][$i]["name"]) ?>&type=<?php echo urlencode($r["sub"][$i]["type"]) ?>&value=<?php echo urlencode($r["sub"][$i]['dest'])?>"><img src="images/edit.png" alt="<?php __("Edit"); ?>" /><?php __("Edit"); ?></a></div>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</td><td class="center">
|
||||
<?php if (!(!$isinvited && $dt[strtolower($r["sub"][$i]["type"])]["enable"] != "ALL" )) { ?>
|
||||
<div class="ina"><a href="dom_subdel.php?domain=<?php echo urlencode($r["name"]) ?>&sub=<?php echo urlencode($r["sub"][$i]["name"]) ?>&type=<?php echo urlencode($r["sub"][$i]["type"]) ?>&value=<?php echo urlencode($r["sub"][$i]['dest'])?>"><img src="images/delete.png" alt="<?php __("Delete"); ?>" /><?php __("Delete"); ?></a></div>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<?php } // end IF ==DELETE ?>
|
||||
<td><a href="http://<?php ecif($r["sub"][$i]["name"],$r["sub"][$i]["name"]."."); echo $r["name"] ?>" target="_blank"><?php ecif($r["sub"][$i]["name"],$r["sub"][$i]["name"]."."); echo $r["name"] ?></a></td>
|
||||
<td><?php __($r['sub'][$i]['type_desc']); ?>
|
||||
<?php
|
||||
if ($r["sub"][$i]['type'] === 'VHOST') {
|
||||
echo '<br /><a href="bro_main.php?R='.urlencode($r["sub"][$i]["dest"]).'">'.htmlspecialchars($r["sub"][$i]["dest"]).'</a>';
|
||||
} else {
|
||||
if ($r["sub"][$i]['type']) echo "<br />".htmlspecialchars($r["sub"][$i]["dest"]);
|
||||
}
|
||||
?></td>
|
||||
<td><?php
|
||||
if (!(!$isinvited && $dt[strtolower($r["sub"][$i]["type"])]["enable"] != "ALL" )) {
|
||||
if ( $r['sub'][$i]['web_action'] !='DELETE') {
|
||||
switch ($r['sub'][$i]['enable']) {
|
||||
case 'ENABLED':
|
||||
__("Enabled");
|
||||
echo "<br/><a href='dom_substatus.php?domain=".urlencode($r["name"])."&sub=".urlencode($r["sub"][$i]["name"])."&type=".urlencode($r["sub"][$i]["type"])."&value=".urlencode($r["sub"][$i]['dest'])."&status=disable'>";__("Disable");echo "</a>";
|
||||
break;
|
||||
case 'ENABLE':
|
||||
__("Activation pending");
|
||||
break;
|
||||
case 'DISABLED':
|
||||
__("Disabled");
|
||||
echo "<br/><a href='dom_substatus.php?domain=".urlencode($r["name"])."&sub=".urlencode($r["sub"][$i]["name"])."&type=".urlencode($r["sub"][$i]["type"])."&value=".urlencode($r["sub"][$i]['dest'])."&status=enable'>";__("Enable");echo "</a>";
|
||||
break;
|
||||
case 'DISABLE':
|
||||
__("Desactivation pending");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}?></td>
|
||||
<td><?php
|
||||
switch ($r['sub'][$i]['web_action']) {
|
||||
case 'UPDATE':
|
||||
__("Update pending");
|
||||
break;
|
||||
case 'DELETE':
|
||||
__("Deletion pending");
|
||||
break;
|
||||
case 'OK':
|
||||
default:
|
||||
break;
|
||||
}?></td>
|
||||
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
<br />
|
||||
<hr/>
|
||||
<?php
|
||||
$isedit=false;
|
||||
require_once('dom_edit.inc.php');
|
||||
sub_domains_edit($domain);
|
||||
?>
|
||||
<br />
|
||||
<?php $mem->show_help("edit_domain"); ?>
|
||||
<p> </p>
|
||||
<!-- *****************************************
|
||||
modification des parametres dns
|
||||
-->
|
||||
<?php
|
||||
if (!$r['noerase']) {
|
||||
?>
|
||||
|
||||
<hr />
|
||||
<h3><?php __("DNS & Email parameters"); ?></h3>
|
||||
<form action="dom_editdns.php?domain=<?php echo urlencode($r["name"]) ?>" method="post" id="fdns" name="fdns">
|
||||
|
||||
<table class="tlist">
|
||||
<tr>
|
||||
<td><?php __("Manage the DNS on the server ?"); ?></td>
|
||||
<td>
|
||||
<input type="radio" id="yesdns" class="inc" name="dns" value="1"<?php cbox($r["dns"]); ?> /> <label for="yesdns"><?php __("Yes"); ?></label>
|
||||
</td><td><input type="radio" id="nodns" class="inc" name="dns" value="0"<?php cbox(!$r["dns"]); ?> /> <label for="nodns"><?php __("No"); ?></label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="tlist">
|
||||
<tr>
|
||||
<td>
|
||||
<?php __("Manage the Emails Addresses of this domain on the server?"); ?>
|
||||
</td>
|
||||
<td>
|
||||
<input type="radio" id="yesemail" class="inc" name="email" value="1"<?php cbox($r["mail"]); ?> /> <label for="yesemail"><?php __("Yes"); ?></label>
|
||||
</td><td><input type="radio" id="noemail" class="inc" name="email" value="0"<?php cbox(!$r["mail"]); ?> /> <label for="noemail"><?php __("No"); ?></label>
|
||||
</td>
|
||||
</table>
|
||||
<div style="padding-left: 30px; padding-bottom: 20px" class="error"> <?php __("Warning: If you set this to 'no', all your email accounts and aliases on this domain will be immediately deleted."); ?></div>
|
||||
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Submit the changes"); ?>" />
|
||||
</form>
|
||||
|
||||
<p> </p>
|
||||
<hr />
|
||||
<h3><?php __("Domain removal"); ?></h3>
|
||||
|
||||
<br />
|
||||
<?php printf(_("help_domain_del %s"),$domain); ?><br />
|
||||
<form action="dom_dodel.php?domain=<?php echo urlencode($domain) ?>" method="post">
|
||||
<p>
|
||||
<input type="submit" class="inb" name="detruire" value="<?php printf(_("Delete %s from this server"),$domain); ?>" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<br />
|
||||
<hr />
|
||||
<?php } // noerase ?>
|
||||
<script type="text/javascript">
|
||||
document.forms['main'].sub.focus();
|
||||
</script>
|
||||
<?php include_once("foot.php"); ?>
|
|
@ -0,0 +1,63 @@
|
|||
<?php
|
||||
/*
|
||||
$Id: dom_editdns.php,v 1.3 2003/06/10 11:18:27 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
|
||||
|
||||
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
|
||||
----------------------------------------------------------------------
|
||||
Original Author of file: Benjamin Sonntag
|
||||
Purpose of file: Edit the dns parameters of a domain
|
||||
----------------------------------------------------------------------
|
||||
*/
|
||||
require_once("../class/config.php");
|
||||
include_once("head.php");
|
||||
|
||||
$fields = array (
|
||||
"domain" => array ("request", "string", ""),
|
||||
"dns" => array ("request", "integer", 1),
|
||||
"email" => array ("request", "integer", 1),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
$dom->lock();
|
||||
|
||||
if (!$dom->edit_domain($domain,$dns,$email)) {
|
||||
$error=$err->errstr();
|
||||
include("dom_edit.php");
|
||||
$dom->unlock();
|
||||
exit();
|
||||
}
|
||||
$dom->unlock();
|
||||
|
||||
?>
|
||||
<h3><?php printf(_("Editing domain %s"),$domain); ?></h3>
|
||||
<hr id="topbar"/>
|
||||
<br />
|
||||
<p>
|
||||
<?php
|
||||
printf(_("The domain %s has been changed."),$domain);
|
||||
$t = time();
|
||||
// XXX: we assume the cron job is at every 5 minutes
|
||||
print strtr(_("The modifications will take effect at %time. Server time is %now."), array('%now' => date('H:i:s', $t), '%time' => date('H:i:s', ($t-($t%300)+300))));
|
||||
?><br /><br />
|
||||
<span class="ina"><a href="login.php" target="_top"><?php __("Click here to continue"); ?></a></span>
|
||||
</p>
|
||||
<?php include_once("foot.php"); ?>
|