Changeset 2891
- Timestamp:
- 03/27/11 15:21:09 (2 years ago)
- Location:
- alternc/trunk
- Files:
-
- 7 edited
-
bureau/admin/dom_edit.inc.php (modified) (1 diff)
-
bureau/admin/dom_edit.php (modified) (3 diffs)
-
bureau/admin/dom_subedit.php (modified) (1 diff)
-
bureau/locales/fr_FR/LC_MESSAGES/manual.po (modified) (1 diff)
-
bureau/locales/fr_FR/LC_MESSAGES/messages.po (modified) (1 diff)
-
install/mysql.sql (modified) (1 diff)
-
install/upgrades/1.0.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/bureau/admin/dom_edit.inc.php
r2856 r2891 36 36 <input type="hidden" name="value_old" value="<?php ehe($value); ?>" /> 37 37 <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> 39 45 <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> 40 46 </tr> -
alternc/trunk/bureau/admin/dom_edit.php
r2863 r2891 95 95 --> 96 96 <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> 98 98 <?php 99 99 $col=1; … … 111 111 <?php } // end IF ==DELETE ?> 112 112 <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"]); ?> </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> 115 121 <td><?php 116 122 if ( $r['sub'][$i]['web_action'] !='DELETE') { … … 152 158 <hr/> 153 159 <?php 160 $isedit=false; 154 161 require_once('dom_edit.inc.php'); 155 162 sub_domains_edit($domain); -
alternc/trunk/bureau/admin/dom_subedit.php
r2814 r2891 62 62 <br /> 63 63 <?php 64 $isedit=true; 64 65 require_once('dom_edit.inc.php'); 65 66 sub_domains_edit($domain,$sub,$type,$value); -
alternc/trunk/bureau/locales/fr_FR/LC_MESSAGES/manual.po
r2843 r2891 808 808 msgstr "Mots de passe des dossiers protégés" 809 809 810 msgid "AlternC panel access" 811 msgstr "Accès au bureau AlternC" 812 813 msgid "Locally hosted" 814 msgstr "Géré en local" 815 816 msgid "URL redirection" 817 msgstr "Redirection vers une url" 818 819 msgid "IPv4 redirect" 820 msgstr "Redirection vers une IPv4" 821 822 msgid "Webmail access" 823 msgstr "Accès au webmail" 824 825 msgid "IPv6 redirect" 826 msgstr "Redirection vers une IPv6" 827 828 msgid "CNAME DNS entry" 829 msgstr "Entrée DNS CNAME" 830 831 msgid "TXT DNS entry" 832 msgstr "Entrée DNS TXT" 833 834 msgid "MX DNS entry" 835 msgstr "Entrée DNS MX" 836 -
alternc/trunk/bureau/locales/fr_FR/LC_MESSAGES/messages.po
r2890 r2891 1253 1253 msgstr "Création d'un sous-domaine : " 1254 1254 1255 msgid "Edit a subdomain:" 1256 msgstr "Modification d'un sous-domaine : " 1257 1255 1258 #: ../admin/dom_edit.php:95 ../admin/dom_edit.php:126 1256 1259 msgid "Add a subdomain" 1257 1260 msgstr "Ajouter un sous-domaine" 1258 1259 #: ../admin/dom_edit.php:99 ../admin/dom_subedit.php:621260 #: ../admin/dom_subedit.php:671261 msgid "Locally managed"1262 msgstr "Géré en local"1263 1264 #: ../admin/dom_edit.php:110 ../admin/dom_subedit.php:731265 #: ../admin/dom_subedit.php:781266 msgid "URL redirection"1267 msgstr "Redirection vers une url"1268 1269 #: ../admin/dom_edit.php:116 ../admin/dom_subedit.php:781270 #: ../admin/dom_subedit.php:831271 msgid "IP redirection"1272 msgstr "Redirection vers une ip"1273 1274 #: ../admin/dom_edit.php:122 ../admin/dom_subedit.php:831275 #: ../class/m_dom.php:551 ../class/m_dom.php:594 ../class/m_dom.php:5591276 #: ../class/m_dom.php:550 ../admin/dom_subedit.php:88 ../class/m_dom.php:5741277 msgid "Webmail access"1278 msgstr "Accès au webmail"1279 1261 1280 1262 #: ../admin/dom_edit.php:138 ../admin/dom_edit.php:141 -
alternc/trunk/install/mysql.sql
r2881 r2891 496 496 497 497 INSERT 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), 499 499 ('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), 501 501 ('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', ' cnameentry', 'DOMAIN', '%SUB% CNAME %TARGET%', 'txt',true, true, true ),504 ('txt', ' txtentry', 'TXT', '%SUB% IN TXT "%TARGET%"','vhost,url,ip,webmail,ipv6,cname,txt,mx',true, true, true),505 ('mx', ' mxentry', '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) 507 507 ; 508 509 -
alternc/trunk/install/upgrades/1.0.sql
r2881 r2891 21 21 22 22 INSERT 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), 24 24 ('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), 26 26 ('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', ' cnameentry', 'DOMAIN', '%SUB% CNAME %TARGET%', 'txt',true, true, true ),29 ('txt', ' txtentry', 'TXT', '%SUB% IN TXT "%TARGET%"','vhost,url,ip,webmail,ipv6,cname,txt,mx',true, true, true),30 ('mx', ' mxentry', '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) 32 32 ; 33 33
Note: See TracChangeset
for help on using the changeset viewer.
