[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/templates/wizard/ -> step4.template (source)

   1  {include file="wizard/header.template" title="Blog Configuration" step=6 mode=install}
   2  <form name="newBlog" action="wizard.php" method="post">
   3  <fieldset class="inputField">
   4  <legend>Blog Creation</legend>
   5  {if $viewIsError}
   6      <div class="wizardError">
   7       <img src="imgs/admin/icon_error-16.png" alt="Error" class="wizardInfoIcon" />
   8       <p style="color:red;margin-left:20px;">{$viewErrorMessage}</p>
   9      </div> 
  10  {else}
  11   <div class="wizardInfo">
  12    <img src="imgs/admin/icon_info-16.png" alt="Info" class="wizardInfoIcon" /> 
  13    <p class="wizardInfoText"> 
  14     Your user has been successfully registered! Now a blog should be created.
  15    </p>
  16   </div>
  17  {/if}   
  18    <div class="field">
  19     <label for="blogName">Blog name</label>
  20     <span class="required">*</span>
  21     <div class="fieldHelp">Short but descriptive name for the new blog</div>
  22     <input type="text" style="width:100%" name="blogName" id="blogName" value="{$blogName}"/>
  23     {include file="wizard/validate.template" field=blogName message="Blog name is missing or incorrect"}
  24    </div>
  25    <div class="field">
  26     <label for="blogLocale">Language</label>
  27     <span class="required">*</span>
  28     <div class="fieldHelp">Select the default language that will be used throughout your site</div>
  29     <select name="blogLocale" id="blogLocale">
  30      {foreach from=$siteLocales item=locale}
  31        <option value="{$locale->getLocaleCode()}" {if $defaultLocale==$locale->getLocaleCode()}selected="selected"{/if}>{$locale->getDescription()}</option>
  32      {/foreach}
  33     </select>
  34    </div>
  35    <div class="field">
  36     <label for="blogTemplate">Template</label>
  37     <span class="required">*</span>
  38     <div class="fieldHelp">Default template that will be used throughout your site</div>
  39      {foreach from=$siteTemplates item=template}
  40       <img height="210" width="280" src="{$template->getScreenshotUrl()}" alt="{$template->getName()}" /><br/>
  41       <input type="radio" class="radio" id="blogTemplate" name="blogTemplate" value="{$template->getName()}" {if $blogTemplate==$template->getName()}checked="checked"{/if} /> {$template->getName()}<br/>
  42      {/foreach}
  43      {include file="wizard/validate.template" field=blogTemplate message="Please select a template for the blog"}
  44    </div>
  45   </fieldset>
  46   <div class="buttons">  
  47     <input type="button" value="&laquo; Previous" name="back" onClick="javascript:history.go(-1);" />
  48     <input type="reset" value="Reset" name="Reset" /> 
  49     <input type="submit" value="Next &raquo;" name="Next &raquo;"/>
  50     <input type="hidden" name="nextStep" value="Step5"/>
  51     <input type="hidden" name="ownerid" value="{$ownerid}"/>
  52    </div>
  53  </form>
  54  {include file="wizard/footer.template"}


Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics