Definition Lists
authorLuzifr <szekely@woltlab.com>
Mon, 8 Aug 2011 18:07:41 +0000 (20:07 +0200)
committerLuzifr <szekely@woltlab.com>
Mon, 8 Aug 2011 18:07:41 +0000 (20:07 +0200)
wcfsetup/install/files/acp/templates/packageUpdateAuth.tpl
wcfsetup/install/files/acp/templates/packageUpdateSearchResult.tpl
wcfsetup/install/files/acp/templates/userAdd.tpl
wcfsetup/install/files/acp/templates/userEmailAddressExport.tpl
wcfsetup/install/files/acp/templates/userMail.tpl
wcfsetup/install/files/acp/templates/userSearch.tpl

index e114cfcbce112f210f46bc5203bec8e96a4745b8..905f672fdcff2474574958936e06829e35d9ba9c 100644 (file)
@@ -38,7 +38,7 @@
                        <fieldset>
                                <legend>{lang}wcf.acp.packageUpdate.auth.input{/lang}</legend>
                                
-                               <dl id="loginUsernameDiv" class="formElement{if $errorField == 'loginPassword'} formError{/if}">
+                               <dl id="loginUsernameDiv"{if $errorField == 'loginPassword'} class="formError"{/if}>
                                        <dt><label for="loginUsername">{lang}wcf.acp.packageUpdate.auth.loginUsername{/lang}</label></dt>
                                        <dd>
                                                <input type="text" id="loginUsername" name="loginUsername" value="{$loginUsername}" class="long" />
index dfda54aafb9e2e0607b85b15c47b9e13df5ff38f..d90cc2aac23965728d3add67ad52216bd0e039bd 100644 (file)
                                </h3>
 
                                <div class="messageBody">
-                                       <div class="formElement">
-                                               <div class="formFieldLabel">
-                                                       <label for="packageVersion-{$package.package}">{lang}wcf.acp.package.list.version{/lang}</label>
-                                               </div>
-                                               <div class="formField">
+                                       <dl>
+                                               <dt><label for="packageVersion-{$package.package}">{lang}wcf.acp.package.list.version{/lang}</label>
+                                               </dt>
+                                               <dd>
                                                        <select id="packageVersion-{$package.package}">
                                                                {foreach from=$package.packageVersions item=$packageVersion}
                                                                        <option value="{$packageVersion}"{if $packageVersion == $package.packageVersion} selected="selected"{/if}>{$packageVersion}</option>
@@ -56,8 +55,8 @@
                                                                });
                                                                //]]>
                                                        </script>
-                                               </div>
-                                       </div>
+                                               </dd>
+                                       </dl>
                                        
                                        {if $package.author != ''}
                                                <div class="formElement">
index 93fd0898611092aadf35d5fd70415edb35f4c65f..0b947ecbdf430a0dc75e1032882b37ab355a0ebb 100644 (file)
                        </dl>
                        
                        {if $availableGroups|count}
-                               <div class="formGroup">
-                                       <div class="formGroupLabel">
+                               <dl>
+                                       <dt>
                                                <label>{lang}wcf.acp.user.groups{/lang}</label>
-                                       </div>
-                                       <div class="formGroupField">
+                                       </dt>
+                                       <dd>
                                                <fieldset>
                                                        <legend>{lang}wcf.acp.user.groups{/lang}</legend>
                                                        
-                                                       <div class="formField">
-                                                               {htmlCheckboxes options=$availableGroups name=groupIDs selected=$groupIDs}
-                                                       </div>
+                                                       <dl>
+                                                               <dd>
+                                                                       {htmlCheckboxes options=$availableGroups name=groupIDs selected=$groupIDs}
+                                                               </dd>
+                                                       </dl>
                                                </fieldset>
-                                       </div>
-                               </div>
+                                       </dd>
+                               </dl>
                        {/if}
                        
                        {if $action == 'add' || $__wcf->session->getPermission('admin.user.canEditMailAddress')}
                                <fieldset>
                                        <legend>{lang}wcf.user.email{/lang}</legend>
+                                       
                                        <dl{if $errorType.email|isset} class="formError"{/if}>
                                                <dt><label for="email">{lang}wcf.user.email{/lang}</label></dt>
                                                <dd>    
                                                                                </dl>
                                                                                        
                                                                                {if $availableContentLanguages|count > 1}
-                                                                                       <div class="formGroup">
-                                                                                               <div class="formGroupLabel">
+                                                                                       <dl>
+                                                                                               <dt>
                                                                                                        {lang}wcf.user.visibleLanguages{/lang}
-                                                                                               </div>
-                                                                                               <div class="formGroupField">
+                                                                                               </dt>
+                                                                                               <dd>
                                                                                                        <fieldset>
                                                                                                                <legend>{lang}wcf.user.visibleLanguages{/lang}</legend>
-                                                                                                               <div class="formField">
-                                                                                                                       <ul class="formOptions">
-                                                                                                                       {foreach from=$availableContentLanguages key=availableLanguageID item=availableLanguage}
-                                                                                                                               <li><label><input type="checkbox" name="visibleLanguages[]" value="{@$availableLanguageID}"{if $availableLanguageID|in_array:$visibleLanguages} checked="checked"{/if} /> {@$availableLanguage}</label></li>
-                                                                                                                       {/foreach}
-                                                                                                                       </ul>
-                                                                                                               </div>
+                                                                                                               <dl>
+                                                                                                                       <dd>
+                                                                                                                               {foreach from=$availableContentLanguages key=availableLanguageID item=availableLanguage}
+                                                                                                                                       <label><input type="checkbox" name="visibleLanguages[]" value="{@$availableLanguageID}"{if $availableLanguageID|in_array:$visibleLanguages} checked="checked"{/if} /> {@$availableLanguage}</label>
+                                                                                                                               {/foreach}
+                                                                                                                       </dd>
+                                                                                                               </dl>
                                                                                                        </fieldset>
-                                                                                               </div>
-                                                                                       </div>
+                                                                                               </dd>
+                                                                                       </dl>
                                                                                {/if}
                                                                        {/if}
                                                                        
index 9fd3f98279fe319e2fefa694c9ffb95c9a3cb1fa..0f98825e71d1acf402de1bab03cb40f7e8488102 100644 (file)
                        <fieldset>
                                <legend>{lang}wcf.acp.user.exportEmailAddress.format{/lang}</legend>
                                
-                               <div>
-                                       <div class="formGroup">
-                                               <div class="formGroupLabel">
-                                                       <label>{lang}wcf.acp.user.exportEmailAddress.fileType{/lang}</label>
-                                               </div>
-                                               <div class="formGroupField">
-                                                       <fieldset>
-                                                               <legend>{lang}wcf.acp.user.exportEmailAddress.fileType{/lang}</legend>
-                                                               
-                                                               <div class="formField">
-                                                                       <ul class="formOptionsLong">
-                                                                               <li><label><input type="radio" onclick="if (IS_SAFARI) setFileType('csv')" onfocus="setFileType('csv')" name="fileType" value="csv" {if $fileType == 'csv'}checked="checked" {/if}/> {lang}wcf.acp.user.exportEmailAddress.fileType.csv{/lang}</label></li>
-                                                                               <li><label><input type="radio" onclick="if (IS_SAFARI) setFileType('xml')" onfocus="setFileType('xml')" name="fileType" value="xml" {if $fileType == 'xml'}checked="checked" {/if}/> {lang}wcf.acp.user.exportEmailAddress.fileType.xml{/lang}</label></li>
-                                                                       </ul>
-                                                               </div>
-                                                       </fieldset>
-                                               </div>
-                                       </div>
+                               <dl>
+                                       <dt>
+                                               <label>{lang}wcf.acp.user.exportEmailAddress.fileType{/lang}</label>
+                                       </dt>
+                                       <dd>
+                                               <fieldset>
+                                                       <legend>{lang}wcf.acp.user.exportEmailAddress.fileType{/lang}</legend>
+                                                       
+                                                       <dl>
+                                                               <dd>
+                                                                       <li><label><input type="radio" onclick="if (IS_SAFARI) setFileType('csv')" onfocus="setFileType('csv')" name="fileType" value="csv" {if $fileType == 'csv'}checked="checked" {/if}/> {lang}wcf.acp.user.exportEmailAddress.fileType.csv{/lang}</label></li>
+                                                                       <li><label><input type="radio" onclick="if (IS_SAFARI) setFileType('xml')" onfocus="setFileType('xml')" name="fileType" value="xml" {if $fileType == 'xml'}checked="checked" {/if}/> {lang}wcf.acp.user.exportEmailAddress.fileType.xml{/lang}</label></li>
+                                                               </dd>
+                                                       </dl>
+                                               </fieldset>
+                                       </dd>
+                               </dl>
+                       
+                               <dl id="separatorDiv">
+                                       <dt><label for="separator">{lang}wcf.acp.user.exportEmailAddress.separator{/lang}</label></dt>
+                                       <dd>
+                                               <textarea id="separator" name="separator" rows="2" cols="40">{$separator}</textarea>
+                                       </dd>
+                               </dl>
                                
-                                       <div id="separatorDiv" class="formElement">
-                                               <div class="formFieldLabel">
-                                                       <label for="separator">{lang}wcf.acp.user.exportEmailAddress.separator{/lang}</label>
-                                               </div>
-                                               <div class="formField">
-                                                       <textarea id="separator" name="separator" rows="2" cols="40">{$separator}</textarea>
-                                               </div>
-                                       </div>
-                                       
-                                       <div id="textSeparatorDiv" class="formElement">
-                                               <div class="formFieldLabel">
-                                                       <label for="textSeparator">{lang}wcf.acp.user.exportEmailAddress.textSeparator{/lang}</label>
-                                               </div>
-                                               <div class="formField">
-                                                       <input type="text" id="textSeparator" name="textSeparator" value="{$textSeparator}" class="inputText" />
-                                               </div>
-                                       </div>
-                               </div>
+                               <dl id="textSeparatorDiv">
+                                       <dt><label for="textSeparator">{lang}wcf.acp.user.exportEmailAddress.textSeparator{/lang}</label></dt>
+                                       <dd class="formField">
+                                               <input type="text" id="textSeparator" name="textSeparator" value="{$textSeparator}" class="medium" />
+                                       </dd>
+                               </dl>
                        </fieldset>
        
                </div>
index f95c6072451dbfe1605601964f361e3ed6be495c..36c201b99e32695026c7007b01f2ccb0b3d7b5ac 100644 (file)
                                <fieldset>
                                        <legend>{lang}wcf.acp.user.sendMail.groups{/lang}</legend>
                                        
-                                       <div class="formGroup{if $errorField == 'groupIDs'} formError{/if}">
-                                               <div class="formGroupLabel">
+                                       <dl{if $errorField == 'groupIDs'} class="formError"{/if}>
+                                               <dt>
                                                        <label>{lang}wcf.acp.user.groups{/lang}</label>
-                                               </div>
-                                               <div class="formGroupField">
+                                               </dt>
+                                               <dd>
                                                        <fieldset>
                                                                <legend>{lang}wcf.acp.user.groups{/lang}</legend>
                                                                
-                                                               <div class="formField">
-                                                                       {htmlCheckboxes options=$groups name=groupIDs selected=$groupIDs}
-                                                               </div>
+                                                               <dl>
+                                                                       <dd>
+                                                                               {htmlCheckboxes options=$groups name=groupIDs selected=$groupIDs}
+                                                                       </dd>
+                                                               </dl>
                                                        </fieldset>
                                                        {if $errorField == 'groupIDs'}
-                                                               <p class="innerError">
+                                                               <small class="innerError">
                                                                        {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if}
-                                                               </p>
+                                                               </small>
                                                        {/if}
-                                               </div>
-                                       </div>
+                                               </dd>
+                                       </dl>
                                </fieldset>     
                        {/if}
                        <fieldset>
index 616f922f903069ed558d1f6f4e44ae66b7c2dbd0..ae1b2c2919bea4609b18ff9bce52ec7d29fb5c98 100644 (file)
                                                        <legend>{lang}wcf.acp.user.search.display.columns{/lang}</legend>
                                                
                                                        {if $optionTree|count}
-                                                               <div class="formGroup">
-                                                                       <div class="formGroupLabel">
+                                                               <dl>
+                                                                       <dt>
                                                                                <label>{lang}wcf.acp.user.search.display.columns.profile{/lang}</label>
-                                                                       </div>
-                                                                       <div class="formGroupField">
+                                                                       </dt>
+                                                                       <dd>
                                                                                <fieldset>
                                                                                        <legend>{lang}wcf.acp.user.search.display.columns.profile{/lang}</legend>
-                                                                               
-                                                                                       <div class="formField">
-                                                                                               {foreach from=$optionTree item=option}
-                                                                                                       <label><input type="checkbox" name="columns[]" value="{$option->optionName}" {if $option->optionName|in_array:$columns}checked="checked" {/if}/> {lang}wcf.user.option.{$option->optionName}{/lang}</label>
-                                                                                               {/foreach}
-                                                                                       </div>
+                                                                                       
+                                                                                       <dl>
+                                                                                               <dd>
+                                                                                                       {foreach from=$optionTree item=option}
+                                                                                                               <label><input type="checkbox" name="columns[]" value="{$option->optionName}" {if $option->optionName|in_array:$columns}checked="checked" {/if}/> {lang}wcf.user.option.{$option->optionName}{/lang}</label>
+                                                                                                       {/foreach}
+                                                                                               <dd>
+                                                                                       </dl>
                                                                                </fieldset>
-                                                                       </div>
-                                                               </div>
+                                                                       </dd>
+                                                               </dl>
                                                        {/if}
                                                
                                                        <dl>