Migration SVN

This commit is contained in:
2016-02-21 14:28:40 +01:00
commit df45f10305
1455 changed files with 20440 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
{config_load file="lang" section='crons'}
<div id="result_datas" style="display:none">
<h1>{#cron_create_result#}</h1>
<p id="all_is_ok" style="display:none;" class="success">{#result_cron_create_ok#}</p>
<p id="err_req_url_missing" style="display:none;" class="error">{#error_cron_address_missing#}</p>
<p id="err_req_url" style="display:none;" class="error">{#error_cron_address_format#}</p>
<p id="err_req_frequency_missing" style="display:none;" class="error">{#error_cron_freq_missing#}</p>
<p id="err_req_frequency" style="display:none;" class="error">{#error_cron_freq_format#}</p>
<p id="err_first_start" style="display:none;" class="error">{#error_cron_first_start_format#}</p>
<p id="err_not_reacheable" style="display:none;" class="error">{#error_cron_url_unreacheable#}</p>
<p id="err_max_cronjobs_reached" style="display:none;" class="error">{#error_cron_max_reached#}</p>
<p id="err_freq_too_small" style="display:none;" class="error">{#error_cron_freq_too_small#}</p>
</div>
<div id="form_new_cron_container">
<h1>{#cron_create#}</h1>
<p>{#cron_create_intro#}</p>
<p>{#cron_create_helpmsg#}</p>
<form id="form_new_cron" name="form_new_cron" action="">
<table>
<tr>
<td>{#cron_task_url#} :</td>
<td colspan="2" ><input type="text" name="req_url" id="req_url" /></td>
</tr>
<tr>
<td>{#cron_task_activation#} :</td>
<td colspan="2">
<select name="active" id="active">
<option value="true" selected="selected">{#_yes#|capitalize}</option>
<option value="false">{#_no#|capitalize}</option>
</select>
</td>
</tr>
<tr>
<td id="form_freq" title="{#cron_frequency_title#} {$CRON_MIN_TIME/60} {#minutes#}">{#cron_task_frequency#} :</td>
<td><input type="text" name="req_frequency" id="req_frequency" /></td>
<td>
<select name="freq_unit" id="freq_unit">
<option value="0">{#minutes#}</option>
<option value="1">{#hours#}</option>
<option value="2">{#days#}</option>
<option value="3">{#weeks#}</option>
</select>
</td>
</tr>
<tr>
<td>{#cron_task_first_exec#} :</td>
<td><input type="text" name="first_start" id="first_start" value="0"/></td>
<td>
<select name="first_start_unit" id="first_start_unit">
<option value="0">{#minutes#}</option>
<option value="1">{#hours#}</option>
<option value="2">{#days#}</option>
<option value="3">{#weeks#}</option>
</select>
</td>
</tr>
<tr>
<td></td>
<td colspan="3"><input type="button" value="{#btn_new_cron#}" onclick="validateForm('form_new_cron',1);" /></td>
</tr>
</table>
</form>
</div>

View File

@@ -0,0 +1,48 @@
{config_load file="lang" section='crons'}
<h1>{#crons_list_title#}</h1>
<p>
{#cron_task_description#}
</p>
{if $pages_count!=0}
<table>
<thead>
<tr>
<th>{#cron_task_url#}</th>
<th>{#cron_task_lastexec#}</th>
<th>{#cron_task_frequency#}</th>
<th>{#cron_task_action#}</th>
</tr>
</thead>
<tbody id="tbl_cron">
</tbody>
</table>
<p class="pageslinks" id="tbl_cron_pg_links"></p>
{literal}
<script type="text/javascript">
$(document).ready(function () {
getPage('tbl_cron', 1, {/literal}{$pages_count}{literal}, 1); });
</script>
{/literal}
{else}
<p>{#crons_list_notask#}</p>
{/if}
{literal}
<script type="text/javascript">
$(".cron_tipsy").tipsy({gravity: 's'});
function goToCronUrl( url )
{
if (confirm("{/literal}{#cron_goto_confirm#}{literal}")) {
document.location.href=url;
}
}
</script>
{/literal}

View File

@@ -0,0 +1,31 @@
{config_load file="lang" section='hosting'}
<div id="hosting_summary">
<h1>{#title_hosting#}</h1>
<p>{#action_for_hosting#} : <br /><strong><a href="http://{$HOSTING_INFOS->base_name}.{#hosting_address#}">http://{$HOSTING_INFOS->base_name}.{#hosting_address#}</a></strong></p>
<table>
<tr>
<td><a href="{$HOST}hosting/databases.xhtml"><img src="{$HOST}image/big-icon/database.png" alt="" /><br />{#info_db#}</a></td>
<td><a href="{$HOST}hosting/domainnames.xhtml"><img src="{$HOST}image/big-icon/domain_name.png" alt="" /><br />{#info_virtualhost#}</a></td>
<td><a href="{$HOST}hosting/dns.xhtml"><img src="{$HOST}image/big-icon/dns.png" alt="" /><br />{#info_dns#}</a></td>
</tr>
<tr>
<td><a href="{$HOST}hosting/ftpaccounts.xhtml"><img src="{$HOST}image/big-icon/ftp.png" alt="" /><br />{#info_ftp#}</a></td>
<td><a href="{$HOST}hosting/emails.xhtml"><img src="{$HOST}image/big-icon/email.png" alt="" /><br />{#info_mail#}</a></td>
<td><a href="{$HOST}hosting/installer.xhtml"><img src="{$HOST}image/big-icon/installation.png" alt="" /><br />{#info_installer#}</a></td>
</tr>
<tr>
<td><a href="{$HOST}hosting/informations.xhtml"><img src="{$HOST}image/big-icon/information.png" alt="" /><br />{#info_information#}</a></td>
<td><a href="{$HOST}hosting/quotas.xhtml"><img src="{$HOST}image/big-icon/quota.png" alt="" /><br />{#info_quota#}</a></td>
<td><a href="{$HOST}hosting/crons.xhtml"><img src="{$HOST}image/big-icon/cron.png" alt="" /><br />{#info_cron#}</a></td>
</tr>
<tr>
<td><a href="{$HOST}hosting/changebasename.xhtml"><img src="{$HOST}image/big-icon/configuration.png" alt="" /><br />{#info_basename#}</a></td>
<td><a href="http://{#faq_address#}"><img src="{$HOST}image/big-icon/faq.png" alt="" /><br />{#info_faq#}</a></td>
<td><a href="{$HOST}hosting/accountdelete.xhtml"><img src="{$HOST}image/big-icon/stop.png" alt="" /><br />{#info_delete_hosting#}</a></td>
</tr>
</table>
</div>

View File

@@ -0,0 +1,111 @@
{config_load file="lang" section='informations'}
<div id="hosting_informations">
<h1>{#infos_briefing#}</h1>
<div id="offer_information">
<table>
<tr>
<td colspan="2">{#infos_customer#} : {if $USER_INFOS->company != 'NULL'}<strong>{$USER_INFOS->company}{else}<strong>{$USER_INFOS->first_name}</strong> <strong>{$USER_INFOS->last_name}</strong>{/if}</td>
</tr>
<tr>
<td colspan="2">{#infos_offer#} : <strong>{$HOSTING_INFOS->offer_name}</strong></td>
</tr>
<tr>
<td>{#infos_disk#} :</td>
<td>{if $HOSTING_INFOS->offer_space_limit == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_space_limit} Mo{/if}</td>
</tr>
<tr>
<td>{#infos_trafic#} :</td>
<td>{if $HOSTING_INFOS->offer_trafic_limit == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_trafic_limit} Mo{/if}</td>
</tr>
<tr>
<td>{#infos_database#} :</td>
<td>{if $HOSTING_INFOS->offer_databases_number == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_databases_number}{/if}</td>
</tr>
<tr>
<td>{#infos_dns#} :</td>
<td>{if $HOSTING_INFOS->offer_dns_domains_number == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_dns_domains_number}{/if}</td>
</tr>
<tr>
<td>{#infos_virtualhost#} :</td>
<td>{if $HOSTING_INFOS->offer_virtualhosts_number == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_virtualhosts_number}{/if}</td>
</tr>
<tr>
<td>{#infos_mail#} :</td>
<td>{if $HOSTING_INFOS->offer_email_accounts_number == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_email_accounts_number}{/if}</td>
</tr>
<tr>
<td>{#infos_mail_space#} :</td>
<td>{if $HOSTING_INFOS->offer_email_accounts_space == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_email_accounts_space} Mo{/if}</td>
</tr>
<tr>
<td>{#infos_mail_alias#} :</td>
<td>{if $HOSTING_INFOS->offer_email_alias_number == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_email_alias_number}{/if}</td>
</tr>
</table>
</div>
<h1>{#infos_address#}</h1>
<table>
<tr>
<td id="td_left"><img src="{$HOST}image/big-icon/computer_128.png" alt="" /></td>
<td id="td_right">
<table style="width:100%">
<tr>
<td class="title"><strong>Nom du compte :</strong></td>
<td><a href="http://{$HOSTING_INFOS->base_name}.{#hosting_address#}">{$HOSTING_INFOS->base_name}</a></td>
</tr>
<tr>
<td class="title">FTP :</td>
<td>ftp.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->data_port})</td>
</tr>
{if $HOSTING_INFOS->offer_service_mysql == 'true'}
<tr>
<td class="title">MySQL :</td>
<td>mysql.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->mysql_port})</td>
</tr>
{/if}
{if $HOSTING_INFOS->offer_service_smtp == 'true'}
<tr>
<td class="title">SMTP :</td>
<td>smtp.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->smtp_port})</td>
</tr>
{/if}
{if $HOSTING_INFOS->offer_service_smtps == 'true'}
<tr>
<td class="title">SMTPs :</td>
<td>smtps.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->smtps_port})</td>
</tr>
{/if}
{if $HOSTING_INFOS->offer_service_pop == 'true'}
<tr>
<td class="title">POP :</td>
<td>pop.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->pop_port})</td>
</tr>
{/if}
{if $HOSTING_INFOS->offer_service_pops == 'true'}
<tr>
<td class="title">POPs :</td>
<td>pops.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->pops_port})</td>
</tr>
{/if}
{if $HOSTING_INFOS->offer_service_imap == 'true'}
<tr>
<td class="title">IMAP :</td>
<td>imap.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->imap_port})</td>
</tr>
{/if}
{if $HOSTING_INFOS->offer_service_imaps == 'true'}
<tr>
<td class="title">IMAPs :</td>
<td>imaps.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->imaps_port})</td>
</tr>
{/if}
</table>
</td>
</tr>
</table>
</div>

View File

@@ -0,0 +1,164 @@
{config_load file="lang" section='vhosts'}
<div id="result_datas" style="display:none;">
<h1>Création d'un nouveau serveur virtuel</h1>
<p id="all_is_ok" style="display:none;" class="success">Le nouveau serveur virtuel a été ajouté avec succès.</p>
<p id="err_req_host_missing" style="display:none;" class="error">Vous n'avez pas spécifié l'adresse d'accès.</p>
<p id="err_req_host" style="display:none;" class="error">Le format de l'adresse d'accès n'est pas valide.</p>
<p id="err_host_exists" style="display:none;" class="error">Cette adresse d'accès est déjà enregistrée</p>
<p id="err_req_usrfldr_root_missing" style="display:none;" class="error">Vous n'avez pas spécifié le répertoire de base de ce serveur virtuel</p>
<p id="err_req_usrfldr_root" style="display:none;" class="error">Le format du répertoire de base est incorrect</p>
<p id="err_email" style="display:none;" class="error">L'adresse email de l'administrateur est invalide</p>
<p id="err_usrfldr_openbasedir" style="display:none;" class="error">Le format de l'Open BaseDir est incorrect</p>
<p id="err_sql_def_host" style="display:none;" class="error">Le format de l'hôte Mysql par défaut est incorrect</p>
<p id="err_sql_def_user" style="display:none;" class="error">Le format de l'utilisateur Mysql par défaut est incorrect</p>
<p id="err_sql_def_pwd" style="display:none;" class="error">Le format du mot de passe Mysql par défaut est incorrect</p>
<p id="err_tmp_usrfldr" style="display:none;" class="error">Le format du dossier temporaire est incorrect</p>
<p id="err_tmp_usrfldr_dontexists" style="display:none;" class="error">Le dossier temporaire n'existe pas</p>
<p id="err_sess_usrfldr" style="display:none;" class="error">Le format du dossier sessions est incorrect</p>
<p id="err_sess_usrfldr_dontexists" style="display:none;" class="error">Le dossier sessions n'existe pas</p>
<p id="err_vhosts_max_reached" style="display:none;" class="error">Le nombre maximal de serveurs virtuels pour cet hébergement a été atteind.</p>
</div>
<div id="form_new_vhost_container">
<h1>Ajouter un serveur virtuel</h1>
<p>Merci de remplir tous les champs du formulaire ci-dessous.</p>
<p>Vous pouvez obtenir des détails sur certains champs en passant votre souris sur le nom de ceux-ci.</p>
<form id="form_new_vhost" name="form_new_vhost" action="">
<table>
<tr>
<td id="form_host" title="Adresse avec laquelle vous désirez accéder à votre site (sans http://)">Adresse :</td>
<td><input type="text" name="req_host" value="" id="req_host" /></td>
</tr>
<tr>
<td id="form_root" title="Répertoire de base du serveur virtuel. Cette valeur doit obligatoirement commencer et se terminer par /">Racine :</td>
<td><input type="text" name="req_usrfldr_root" value="/public/" id="req_usrfldr_root" /></td>
</tr>
<tr>
<td>Activation :</td>
<td>
<select name="active" id="active">
<option value="true" selected="selected">{#_yes#|capitalize}</option>
<option value="false">{#_no#|capitalize}</option>
</select>
</td>
</tr>
<tr>
<td>Adresse email de l'administrateur :</td>
<td><input type="text" name="email" value="" id="email" /></td>
</tr>
<tr>
<td colspan="2" id="btn_adv_opt_s">
<input type="button" value="Afficher les options avancées" onclick="showAdvancedOptions();" />
</td>
</tr>
<tr>
<td colspan="2" id="btn_adv_opt_h" style="display:none">
<input type="button" value="Masquer les options avancées" onclick="hideAdvancedOptions();" />
</td>
</tr>
<tr id="adv_opt_1" style="display:none;">
<td id="form_openbasedir" title="Dossier jusqu'auquel php peut remonter. Cette valeur doit obligatoirement commencer et se terminer par /. Laissez ce champ vide pour qu'il soit identique au répertoire de base.">Open BaseDir :</td>
<td><input type="text" name="usrfldr_openbasedir" id="usrfldr_openbasedir" value="" /></td>
</tr>
<tr id="adv_opt_2" style="display:none;">
<td id="form_sql_def_host" title="Hôte par défaut en cas de champs vide pour la fonction mysql_connect()">Mysql.default_host :</td>
<td><input type="text" name="sql_def_host" id="sql_def_host" value="" /></td>
</tr>
<tr id="adv_opt_3" style="display:none;">
<td id="form_sql_def_user" title="Utilisateur par défaut en cas de champs vide pour la fonction mysql_connect()">Mysql.default_user :</td>
<td><input type="text" name="sql_def_user" id="sql_def_user" value="" /></td>
</tr>
<tr id="adv_opt_4" style="display:none;">
<td id="form_sql_def_pwd" title="Mot de passe par défaut en cas de champs vide pour la fonction mysql_connect()">Mysql.default_password :</td>
<td><input type="text" name="sql_def_pwd" id="sql_def_pwd" value="" /></td>
</tr>
<tr id="adv_opt_5" style="display:none;">
<td id="form_tmp_folder" title="Dossier contenant toutes les données temporaires du serveur virtuel">Dossier temp :</td>
<td><input type="text" name="tmp_usrfldr" id="tmp_usrfldr" value="" /></td>
</tr>
<tr id="adv_opt_6" style="display:none;">
<td id="form_sess_folder" title="Dossier contenant toutes les sessions du serveur virtuel">Dossier sessions :</td>
<td><input type="text" name="sess_usrfldr" id="sess_usrfldr" value="" /></td>
</tr>
<tr id="adv_opt_8" style="display:none;">
<td id="form_allowindexes" title="Autoriser ou non le listage des dossiers ne contenant pas de page web par défaut">Listage des dossiers :</td>
<td>
<select name="allowindexes" id="allowindexes">
<option value="true" selected="selected">{#_yes#|capitalize}</option>
<option value="false">{#_no#|capitalize}</option>
</select>
</td>
</tr>
<tr id="adv_opt_9" style="display:none;">
<td id="form_allow_url_fopen" title="Autoriser l'ouvrture de fichier distant via la fonction fopen()">Allow_url_fopen :</td>
<td>
<select name="allow_url_fopen" id="allow_url_fopen">
<option value="true">{#_yes#|capitalize}</option>
<option value="false" selected="selected">{#_no#|capitalize}</option>
</select>
</td>
</tr>
<tr id="adv_opt_10" style="display:none;">
<td id="form_allow_url_include" title="Autoriser l'inclusion de fichier distant via la fonction include (), etc..">Allow_url_include :</td>
<td>
<select name="allow_url_include" id="allow_url_include">
<option value="true">{#_yes#|capitalize}</option>
<option value="false" selected="selected">{#_no#|capitalize}</option>
</select>
</td>
</tr>
<tr id="adv_opt_11" style="display:none;">
<td id="form_display_errors" title="Voir les erreurs génerées par php">Display_errors :</td>
<td>
<select name="display_errors" id="display_errors">
<option value="true" selected="selected">{#_yes#|capitalize}</option>
<option value="false">{#_no#|capitalize}</option>
</select>
</td>
</tr>
<tr id="adv_opt_12" style="display:none;">
<td id="form_short_open_tag" title="Permettre l'utilisation de &lt; ?&nbsp;&nbsp;&nbsp;? &gt;">Short_open_tag :</td>
<td>
<select name="short_open_tag" id="short_open_tag">
<option value="true" selected="selected">{#_yes#|capitalize}</option>
<option value="false">{#_no#|capitalize}</option>
</select>
</td>
</tr>
<tr id="adv_opt_13" style="display:none;">
<td id="form_session_autostart" title="Demarrer les sessions en début de page sans utiliser session_start()">Session.auto_start :</td>
<td>
<select name="session_autostart" id="session_autostart">
<option value="true">{#_yes#|capitalize}</option>
<option value="false" selected="selected">{#_no#|capitalize}</option>
</select>
</td>
</tr>
<tr id="adv_opt_14" style="display:none;">
<td id="form_magic_quotes" title="Ajoute automatiquement des anti-slashs aux arrays $_POST, etc..">Magic_quotes_gpc :</td>
<td>
<select name="magic_quotes" id="magic_quotes">
<option value="true" selected="selected">{#_yes#|capitalize}</option>
<option value="false">{#_no#|capitalize}</option>
</select>
</td>
</tr>
<tr id="adv_opt_15" style="display:none;">
<td id="form_register_globals" title="Permet d'utiliser $_POST['var'] en $var">Register_globals :</td>
<td>
<select name="register_globals" id="register_globals">
<option value="true">{#_yes#|capitalize}</option>
<option value="false" selected="selected">{#_no#|capitalize}</option>
</select>
</td>
</tr>
<tr>
<td></td>
<td>
<input type="button" value="Valider et créer le serveur" onclick="validateForm('form_new_vhost',1);" />
</td>
</tr>
</table>
</form>
</div>

View File

@@ -0,0 +1,31 @@
{config_load file="lang" section='vhosts'}
<h1>{#vhosts_list_title#}</h1>
<p>{#vhost_description#}</p>
{if $pages_count!=0}
<table>
<thead>
<tr>
<th>Adresse</th>
<th>Racine</th>
<th>Email admin</th>
<th>Actif</th>
</tr>
</thead>
<tbody id="tbl_vhost">
</tbody>
</table>
<p class="pageslinks" id="tbl_vhost_pg_links"></p>
{literal}
<script type="text/javascript">
$(document).ready(function () {
getPage('tbl_vhost', 1, {/literal}{$pages_count}{literal}, 1); });
</script>
{/literal}
{else}
<p>Vous n'avez aucun serveur virtuel actuellement.</p>
{/if}