Changeset 2891


Ignore:
Timestamp:
03/27/11 15:21:09 (2 years ago)
Author:
benjamin
Message:

terminologie pour les types de domaine : correction. Traduction ok pour les types par defaut ...

Location:
alternc/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk/bureau/admin/dom_edit.inc.php

    r2856 r2891  
    3636                        <input type="hidden" name="value_old" value="<?php ehe($value); ?>" /> 
    3737                        <input type="hidden" name="action" value="add" /> 
    38   <?php __("Create a subdomain:"); ?></td><td> 
     38  <?php 
     39   if ($isedit) { 
     40     __("Create a subdomain:");  
     41   } else { 
     42     __("Edit a subdomain:");  
     43   } 
     44?></td><td> 
    3945<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> 
    4046                </tr> 
  • alternc/trunk/bureau/admin/dom_edit.php

    r2863 r2891  
    9595 --> 
    9696<table class="tlist"> 
    97 <tr><th colspan="2"> </th><th><?php __("Subdomain"); ?></th><th><?php __("Type");?></th><th><?php __("Place"); ?></th><th><?php __("Status")?></th><th><?php __("Pending");?></tr> 
     97<tr><th colspan="2"> </th><th><?php __("Subdomain"); ?></th><th><?php __("Type");?></th><th><?php __("Status")?></th><th><?php __("Pending");?></tr> 
    9898<?php 
    9999$col=1; 
     
    111111    <?php } // end IF ==DELETE ?> 
    112112                <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> 
    113                 <td><?php __($r['sub'][$i]['type_desc']);?></td> 
    114                 <td><?php echo $r["sub"][$i]['type'] === 'LOCAL' ? '<a href="bro_main.php?R='.urlencode($r["sub"][$i]["dest"]).'">'.htmlspecialchars($r["sub"][$i]["dest"]).'</a>' : htmlspecialchars($r["sub"][$i]["dest"]); ?>&nbsp;</td> 
     113                <td><?php __($r['sub'][$i]['type_desc']); ?> 
     114 <?php  
     115 if ($r["sub"][$i]['type'] === 'VHOST') { 
     116  echo '<br /><a href="bro_main.php?R='.urlencode($r["sub"][$i]["dest"]).'">'.htmlspecialchars($r["sub"][$i]["dest"]).'</a>'; 
     117} else { 
     118  if ($r["sub"][$i]['type']) echo "<br />".htmlspecialchars($r["sub"][$i]["dest"]); 
     119} 
     120?></td> 
    115121                <td><?php  
    116122      if ( $r['sub'][$i]['web_action'] !='DELETE') {  
     
    152158<hr/> 
    153159<?php 
     160$isedit=false; 
    154161require_once('dom_edit.inc.php'); 
    155162sub_domains_edit($domain); 
  • alternc/trunk/bureau/admin/dom_subedit.php

    r2814 r2891  
    6262<br /> 
    6363<?php  
     64  $isedit=true; 
    6465require_once('dom_edit.inc.php'); 
    6566sub_domains_edit($domain,$sub,$type,$value); 
  • alternc/trunk/bureau/locales/fr_FR/LC_MESSAGES/manual.po

    r2843 r2891  
    808808msgstr "Mots de passe des dossiers protégés" 
    809809 
     810msgid "AlternC panel access" 
     811msgstr "Accès au bureau AlternC" 
     812 
     813msgid "Locally hosted" 
     814msgstr "Géré en local" 
     815 
     816msgid "URL redirection" 
     817msgstr "Redirection vers une url" 
     818 
     819msgid "IPv4 redirect" 
     820msgstr "Redirection vers une IPv4" 
     821 
     822msgid "Webmail access" 
     823msgstr "Accès au webmail" 
     824 
     825msgid "IPv6 redirect" 
     826msgstr "Redirection vers une IPv6" 
     827 
     828msgid "CNAME DNS entry" 
     829msgstr "Entrée DNS CNAME" 
     830 
     831msgid "TXT DNS entry" 
     832msgstr "Entrée DNS TXT" 
     833 
     834msgid "MX DNS entry" 
     835msgstr "Entrée DNS MX" 
     836 
  • alternc/trunk/bureau/locales/fr_FR/LC_MESSAGES/messages.po

    r2890 r2891  
    12531253msgstr "Création d'un sous-domaine : " 
    12541254 
     1255msgid "Edit a subdomain:" 
     1256msgstr "Modification d'un sous-domaine : " 
     1257 
    12551258#: ../admin/dom_edit.php:95 ../admin/dom_edit.php:126 
    12561259msgid "Add a subdomain" 
    12571260msgstr "Ajouter un sous-domaine" 
    1258  
    1259 #: ../admin/dom_edit.php:99 ../admin/dom_subedit.php:62 
    1260 #: ../admin/dom_subedit.php:67 
    1261 msgid "Locally managed" 
    1262 msgstr "Géré en local" 
    1263  
    1264 #: ../admin/dom_edit.php:110 ../admin/dom_subedit.php:73 
    1265 #: ../admin/dom_subedit.php:78 
    1266 msgid "URL redirection" 
    1267 msgstr "Redirection vers une url" 
    1268  
    1269 #: ../admin/dom_edit.php:116 ../admin/dom_subedit.php:78 
    1270 #: ../admin/dom_subedit.php:83 
    1271 msgid "IP redirection" 
    1272 msgstr "Redirection vers une ip" 
    1273  
    1274 #: ../admin/dom_edit.php:122 ../admin/dom_subedit.php:83 
    1275 #: ../class/m_dom.php:551 ../class/m_dom.php:594 ../class/m_dom.php:559 
    1276 #: ../class/m_dom.php:550 ../admin/dom_subedit.php:88 ../class/m_dom.php:574 
    1277 msgid "Webmail access" 
    1278 msgstr "Accès au webmail" 
    12791261 
    12801262#: ../admin/dom_edit.php:138 ../admin/dom_edit.php:141 
  • alternc/trunk/install/mysql.sql

    r2881 r2891  
    496496 
    497497INSERT IGNORE INTO `domaines_type` (name, description, target, entry, compatibility, only_dns, need_dns, advanced) values 
    498 ('vhost','Locally managed', 'DIRECTORY', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false), 
     498('vhost','Locally hosted', 'DIRECTORY', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false), 
    499499('url','URL redirection', 'URL', '%SUB% IN A @@PUBLIC_IP@@','txt', true, true, false), 
    500 ('ip','IP redirection', 'IP', '%SUB% IN A %TARGET%','url,ip,ipv6,txt', false, true, true), 
     500('ip','IPv4 redirect', 'IP', '%SUB% IN A %TARGET%','url,ip,ipv6,txt', false, true, false), 
    501501('webmail', 'Webmail access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false), 
    502 ('ipv6','IPv6 address', 'IPV6', '%SUB% IN AAAA %TARGET%','ip,ipv6,webmail,txt',true, true, true ), 
    503 ('cname', 'cname entry', 'DOMAIN', '%SUB% CNAME %TARGET%', 'txt',true, true, true ), 
    504 ('txt', 'txt entry', 'TXT', '%SUB% IN TXT "%TARGET%"','vhost,url,ip,webmail,ipv6,cname,txt,mx',true, true, true), 
    505 ('mx', 'mx entry', 'IP', '%SUB% IN MX 5 %TARGET%', 'vhost,url,ip,webmail,ipv6,cname,txt,mx',true, false, true), 
    506 ('panel', 'Panel redirection', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'vhost,url,ip,webmail,ipv6,cname,txt',true, false, false) 
     502('ipv6','IPv6 redirect', 'IPV6', '%SUB% IN AAAA %TARGET%','ip,ipv6,webmail,txt',true, true, true ), 
     503('cname', 'CNAME DNS entry', 'DOMAIN', '%SUB% CNAME %TARGET%', 'txt',true, true, true ), 
     504('txt', 'TXT DNS entry', 'TXT', '%SUB% IN TXT "%TARGET%"','vhost,url,ip,webmail,ipv6,cname,txt,mx',true, true, true), 
     505('mx', 'MX DNS entry', 'IP', '%SUB% IN MX 5 %TARGET%', 'vhost,url,ip,webmail,ipv6,cname,txt,mx',true, false, true), 
     506('panel', 'AlternC panel access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'vhost,url,ip,webmail,ipv6,cname,txt',true, false, true) 
    507507; 
    508  
    509  
  • alternc/trunk/install/upgrades/1.0.sql

    r2881 r2891  
    2121 
    2222INSERT IGNORE INTO `domaines_type` (name, description, target, entry, compatibility, only_dns, need_dns, advanced) values 
    23 ('vhost','Locally managed', 'DIRECTORY', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false), 
     23('vhost','Locally hosted', 'DIRECTORY', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false), 
    2424('url','URL redirection', 'URL', '%SUB% IN A @@PUBLIC_IP@@','txt', true, true, false), 
    25 ('ip','IP redirection', 'IP', '%SUB% IN A %TARGET%','url,ip,ipv6,txt', false, true, true), 
     25('ip','IPv4 redirect', 'IP', '%SUB% IN A %TARGET%','url,ip,ipv6,txt', false, true, false), 
    2626('webmail', 'Webmail access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false), 
    27 ('ipv6','IPv6 address', 'IPV6', '%SUB% IN AAAA %TARGET%','ip,ipv6,webmail,txt',true, true, true ), 
    28 ('cname', 'cname entry', 'DOMAIN', '%SUB% CNAME %TARGET%', 'txt',true, true, true ), 
    29 ('txt', 'txt entry', 'TXT', '%SUB% IN TXT "%TARGET%"','vhost,url,ip,webmail,ipv6,cname,txt,mx',true, true, true), 
    30 ('mx', 'mx entry', 'IP', '%SUB% IN MX 5 %TARGET%', 'vhost,url,ip,webmail,ipv6,cname,txt,mx',true, false, true), 
    31 ('panel', 'Panel redirection', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'vhost,url,ip,webmail,ipv6,cname,txt',true, false, false) 
     27('ipv6','IPv6 redirect', 'IPV6', '%SUB% IN AAAA %TARGET%','ip,ipv6,webmail,txt',true, true, true ), 
     28('cname', 'CNAME DNS entry', 'DOMAIN', '%SUB% CNAME %TARGET%', 'txt',true, true, true ), 
     29('txt', 'TXT DNS entry', 'TXT', '%SUB% IN TXT "%TARGET%"','vhost,url,ip,webmail,ipv6,cname,txt,mx',true, true, true), 
     30('mx', 'MX DNS entry', 'IP', '%SUB% IN MX 5 %TARGET%', 'vhost,url,ip,webmail,ipv6,cname,txt,mx',true, false, true), 
     31('panel', 'AlternC panel access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'vhost,url,ip,webmail,ipv6,cname,txt',true, false, true) 
    3232; 
    3333 
Note: See TracChangeset for help on using the changeset viewer.