Pb avec les redir web installé par default

Eclaircissement sur comment doit être noté une redir web
This commit is contained in:
Alan Garcia 2012-10-17 12:15:34 +00:00
parent 70b74ee19f
commit 1be16853e7
3 changed files with 11 additions and 11 deletions

View File

@ -87,7 +87,7 @@ $dom->unlock();
</script><?php </script><?php
break; break;
case "URL": ?> 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" /> <input type="text" class="int" name="t_<?php echo $dt['name']?>" id="t_<?php echo $dt['name']?>" value="<?php ehe( (empty($targval)?'http://':$targval) ); ?>" size="50" />
<small><?php __("(enter an URL here)"); ?></small><?php <small><?php __("(enter an URL here)"); ?></small><?php
break;; break;;
case 'IP':?> case 'IP':?>

View File

@ -692,9 +692,9 @@ CREATE TABLE IF NOT EXISTS `default_subdomains` (
INSERT INTO `default_subdomains` (`sub`, `domain_type`, `domain_type_parameter`, `concerned`) VALUES INSERT INTO `default_subdomains` (`sub`, `domain_type`, `domain_type_parameter`, `concerned`) VALUES
('www', 'VHOST', '%%DOMAINDIR%%', 'MAIN'), ('www', 'VHOST', '%%DOMAINDIR%%', 'MAIN'),
('mail', 'WEBMAIL', '', 'MAIN'), ('mail', 'WEBMAIL', '', 'MAIN'),
('', 'URL', 'www.%%DOMAIN%%', 'MAIN'), ('', 'URL', 'http://www.%%DOMAIN%%', 'MAIN'),
('www', 'URL', 'www.%%TARGETDOM%%', 'SLAVE'), ('www', 'URL', 'http://www.%%TARGETDOM%%', 'SLAVE'),
('mail', 'URL', 'mail.%%TARGETDOM%%', 'SLAVE'), ('mail', 'URL', 'http://mail.%%TARGETDOM%%', 'SLAVE'),
('', 'URL', '%%TARGETDOM%%', 'SLAVE'); ('', 'URL', 'http://%%TARGETDOM%%', 'SLAVE');

View File

@ -212,12 +212,12 @@ CREATE TABLE IF NOT EXISTS `default_subdomains` (
) COMMENT='Contains the defaults subdomains created on domains creation'; ) COMMENT='Contains the defaults subdomains created on domains creation';
INSERT INTO `default_subdomains` (`sub`, `domain_type`, `domain_type_parameter`, `concerned`) VALUES INSERT INTO `default_subdomains` (`sub`, `domain_type`, `domain_type_parameter`, `concerned`) VALUES
('www', 'VHOST', '%%DOMAINDIR%%', 'MAIN'), ('www', 'VHOST', '%%DOMAINDIR%%', 'MAIN'),
('mail', 'WEBMAIL', '', 'MAIN'), ('mail', 'WEBMAIL', '', 'MAIN'),
('', 'URL', 'www.%%DOMAIN%%', 'MAIN'), ('', 'URL', 'http://www.%%DOMAIN%%', 'MAIN'),
('www', 'URL', 'www.%%TARGETDOM%%', 'SLAVE'), ('www', 'URL', 'http://www.%%TARGETDOM%%', 'SLAVE'),
('mail', 'URL', 'mail.%%TARGETDOM%%', 'SLAVE'), ('mail', 'URL', 'http://mail.%%TARGETDOM%%', 'SLAVE'),
('', 'URL', '%%TARGETDOM%%', 'SLAVE'); ('', 'URL', 'http://%%TARGETDOM%%', 'SLAVE');
-- ------------------------------------------------- -- -------------------------------------------------