[pLog-svn] r4909 - plog/branches/lifetype-1.2/templates/summary

oscar at devel.lifetype.net oscar at devel.lifetype.net
Fri Mar 2 07:54:05 EST 2007


Author: oscar
Date: 2007-03-02 07:54:05 -0500 (Fri, 02 Mar 2007)
New Revision: 4909

Modified:
   plog/branches/lifetype-1.2/templates/summary/registerstep2.template
Log:
removed some hardcoded stuff


Modified: plog/branches/lifetype-1.2/templates/summary/registerstep2.template
===================================================================
--- plog/branches/lifetype-1.2/templates/summary/registerstep2.template	2007-03-02 12:16:37 UTC (rev 4908)
+++ plog/branches/lifetype-1.2/templates/summary/registerstep2.template	2007-03-02 12:54:05 UTC (rev 4909)
@@ -29,9 +29,15 @@
      <div class="formHelp">{$locale->tr("register_blog_domain_help")}.</div>
      <input type="text" name="blogSubDomain" id="blogSubDomain" value="{$blogSubDomain}"  size="12" />
      <select name="blogMainDomain" id="blogMainDomain">
-            <option value="balearweb.net" selected >
-            .balearweb.net
+      {foreach from=$blogAvailableDomains item=domain}
+       <option value="{$domain}" {if $domain == $blogMainDomain}selected{/if}>
+            {if $domain == "?"}
+              {$locale->tr("subdomains_any_domain")}
+            {else}
+              .{$domain}
+            {/if}
        </option>
+      {/foreach}
      </select>
      {include file="summary/validate.template" field=blogSubDomain message=$locale->tr("error_invalid_subdomain")}
      {include file="summary/validate.template" field=blogMainDomain message=$locale->tr("error_invalid_domain")}
@@ -65,4 +71,4 @@
 
 </div>
 </div>
-{include file="summary/footer.template"}
\ No newline at end of file
+{include file="summary/footer.template"}



More information about the pLog-svn mailing list