Some missing definition lists, obsolete CSS-classes removed, ToDo's noted, minor...
authorLuzifr <szekely@woltlab.com>
Tue, 9 Aug 2011 19:06:25 +0000 (21:06 +0200)
committerLuzifr <szekely@woltlab.com>
Tue, 9 Aug 2011 19:06:31 +0000 (21:06 +0200)
wcfsetup/install/files/acp/style/testing.css
wcfsetup/install/files/acp/templates/cronjobAdd.tpl
wcfsetup/install/files/acp/templates/masterPassword.tpl
wcfsetup/install/files/acp/templates/packageInstallationConfirm.tpl
wcfsetup/install/files/acp/templates/packageUninstallationDependencies.tpl
wcfsetup/install/files/acp/templates/packageUpdateSearchResult.tpl
wcfsetup/install/files/acp/templates/updateServerAdd.tpl
wcfsetup/install/files/acp/templates/userAssignToGroup.tpl
wcfsetup/install/files/acp/templates/userEmailAddressExport.tpl

index 48f725b3ec08ec073683b2e8d2295945ea72b096..f370d0fbfa40eb3c649da8ce7ed6e325ffa1e37d 100644 (file)
@@ -559,22 +559,14 @@ dl > dd > fieldset > dl > dd > small {
 
 /* Reversed */
 
-.reversed dt {
-       margin-top: 0;
+ dt.reversed {
+       margin-top: 2px;
        text-align: left;
        position: relative;
        left: 270px;
        width: auto;
 }
 
-.reversed dd {
-       
-}
-
-.reversed dd input {
-       /*margin-left: -10px !important;*/
-}
-
 
 
 /* -- -- -- -- -- Forms -- -- -- -- -- */
@@ -694,9 +686,17 @@ textarea:focus {
        box-shadow: 0 0 5px rgba(102, 153, 204, 1), inset 0 0 5px rgba(102, 153, 204, .7);
 }
 
+/* Widths */
+
+textarea {
+       width: 100%;
+}
+
+/*
 select {
        width: 100%;
 }
+*/
 
 .tiny {
        width: 100px;
@@ -1105,6 +1105,8 @@ tbody td {
        background-color: #fcfdfe;
        border-right: 1px solid rgba(255, 255, 255, .3);
        padding: 5px;
+       /* this is experimental */
+       word-wrap: break-word;
 }
 
 tbody td:last-child {
index ab185a3fa52626a02889d8a6c7a45b030189e756..8f5c5b4ef89cf832ac0aaa853a3bf30c5948bf6c 100644 (file)
@@ -35,7 +35,7 @@
                        
                        <dl id="classNameDiv"{if $errorField == 'className'} class="formError"{/if}>
                                <dt><label for="className">{lang}wcf.acp.cronjob.className{/lang}</label></dt>
-                               <dd class="formField">
+                               <dd>
                                        <input type="text" id="className" name="className" value="{$className}" class="long" />
                                        {if $errorField == 'className'}
                                                <small class="innerError">
index 9a6aa4c392986aea9b2f25c7eb0943fd85508832..3d73b83b7d2f76b38a1f9e36e78c2df3fc900d93 100644 (file)
@@ -19,7 +19,7 @@
                
                        <dl id="masterPasswordDiv"{if $errorField == 'masterPassword'} class="formError"{/if}>
                                <dt><label for="masterPassword">{lang}wcf.acp.masterPassword{/lang}</label></dt>
-                               <dd class="formField">
+                               <dd>
                                        <input type="password" id="masterPassword" name="masterPassword" value="{$masterPassword}" class="medium" />
                                        {if $errorField == 'masterPassword'}
                                                <small class="innerError">
index a55618201275db2d2614d906c152325511c9bc4d..4c14b5598c28bb563e95ca5db7de3c9a255c0e0c 100644 (file)
 <fieldset>
        <legend>{lang}wcf.acp.package.view.properties{/lang}</legend>
 
-       <div class="formElement">
-               <p class="formFieldLabel">{lang}wcf.acp.package.view.identifier{/lang}</p>
-               <p class="formField">{$archive->getPackageInfo('name')}</p>
-       </div>
+       <dl>
+               <dt>{lang}wcf.acp.package.view.identifier{/lang}</dt>
+               <dd>{$archive->getPackageInfo('name')}</dd>
+       </dl>
        
-       <div class="formElement">
-               <p class="formFieldLabel">{lang}wcf.acp.package.install.version{/lang}</p>
-               <p class="formField">{$archive->getPackageInfo('version')}</p>
-       </div>
+       <dl>
+               <dt>{lang}wcf.acp.package.install.version{/lang}</dt>
+               <dd>{$archive->getPackageInfo('version')}</dd>
+       </dl>
 
-       <div class="formElement">
-               <p class="formFieldLabel">{lang}wcf.acp.package.view.date{/lang}</p>
-               <p class="formField">{@$archive->getPackageInfo('date')|date}</p>
-       </div>
+       <dl>
+               <dt>{lang}wcf.acp.package.view.date{/lang}</dt>
+               <dd>{@$archive->getPackageInfo('date')|date}</dd>
+       </dl>
 
        {if $archive->getPackageInfo('packageURL') != ''}
-               <div class="formElement">
-                       <p class="formFieldLabel">{lang}wcf.acp.package.view.url{/lang}</p>
-                       <p class="formField"><a href="{@RELATIVE_WCF_DIR}acp/dereferrer.php?url={$archive->getPackageInfo('packageURL')|rawurlencode}" class="externalURL">{$archive->getPackageInfo('packageURL')}</a></p>
-               </div>
+               <dl>
+                       <dt>{lang}wcf.acp.package.view.url{/lang}</dt>
+                       <dd><a href="{@RELATIVE_WCF_DIR}acp/dereferrer.php?url={$archive->getPackageInfo('packageURL')|rawurlencode}" class="externalURL">{$archive->getPackageInfo('packageURL')}</a></dd>
+               </dl>
        {/if}
        
-       <div class="formElement">
-               <p class="formFieldLabel">{lang}wcf.acp.package.view.author{/lang}</p>
-               <p class="formField">{if $archive->getPackageInfo('authorURL')}<a href="{@RELATIVE_WCF_DIR}acp/dereferrer.php?url={$archive->getPackageInfo('authorURL')|rawurlencode}" class="externalURL">{$archive->getPackageInfo('author')}</a>{else}{$archive->getPackageInfo('author')}{/if}</p>
-       </div>
+       <dl>
+               <dt>{lang}wcf.acp.package.view.author{/lang}</dt>
+               <dd>{if $archive->getPackageInfo('authorURL')}<a href="{@RELATIVE_WCF_DIR}acp/dereferrer.php?url={$archive->getPackageInfo('authorURL')|rawurlencode}" class="externalURL">{$archive->getPackageInfo('author')}</a>{else}{$archive->getPackageInfo('author')}{/if}</dd>
+       </dl>
        
        {if $additionalFields|isset}{@$additionalFields}{/if}
 </fieldset>
index 953c7d9a2291ba24ba1875cc92fd6766b639aa56..8f0e50105d59e56c6a2aee63c9792bc2746d4dd5 100644 (file)
 
 <fieldset>
        <legend>{lang}wcf.acp.package.view.properties{/lang}</legend>
-       <div class="formElement">
-               <p class="formFieldLabel">{lang}wcf.acp.package.view.identifier{/lang}</p>
-               <p class="formField">{$packageObj->package}</p>
-       </div>
-       <div class="formElement">
-               <p class="formFieldLabel">{lang}wcf.acp.package.view.version{/lang}</p>
-               <p class="formField">{$packageObj->packageVersion}</p>
-       </div>
+       
+       <dl>
+               <dt>{lang}wcf.acp.package.view.identifier{/lang}</dt>
+               <dd>{$packageObj->package}</dd>
+       </dl>
+       <dl>
+               <dt>{lang}wcf.acp.package.view.version{/lang}</dt>
+               <dd>{$packageObj->packageVersion}</dd>
+       </dl>
        {if $packageObj->instanceNo > 0}
-               <div class="formElement">
-                       <p class="formFieldLabel">{lang}wcf.acp.package.view.instanceNo{/lang}</p>
-                       <p class="formField">{$packageObj->instanceNo}</p>
-               </div>
+               <dl>
+                       <dt>{lang}wcf.acp.package.view.instanceNo{/lang}</dt>
+                       <dd>{$packageObj->instanceNo}</dd>
+               </dl>
        {/if}
        {if $packageObj->packageDir != ''}
-               <div class="formElement">
-                       <p class="formFieldLabel">{lang}wcf.acp.package.view.dir{/lang}</p>
-                       <p class="formField"><a href="{@RELATIVE_WCF_DIR}{$packageObj->packageDir}">{$packageObj->packageDir}</a></p>
-               </div>
+               <dl>
+                       <dt>{lang}wcf.acp.package.view.dir{/lang}</dt>
+                       <dd><a href="{@RELATIVE_WCF_DIR}{$packageObj->packageDir}">{$packageObj->packageDir}</a></dd>
+               </dl>
        {/if}
-       <div class="formElement">
-               <p class="formFieldLabel">{lang}wcf.acp.package.view.date{/lang}</p>
-               <p class="formField">{@$packageObj->packageDate|date}</p>
-       </div>
+       <dl>
+               <dt>{lang}wcf.acp.package.view.date{/lang}</dt>
+               <dd>{@$packageObj->packageDate|date}</dd>
+       </dl>
        {if $packageObj->packageURL != ''}
-               <div class="formElement">
-                       <p class="formFieldLabel">{lang}wcf.acp.package.view.url{/lang}</p>
-                       <p class="formField"><a href="{@RELATIVE_WCF_DIR}acp/dereferrer.php?url={$packageObj->packageURL|rawurlencode}" class="externalURL">{$packageObj->packageURL}</a></p>
-               </div>
+               <dl>
+                       <dt>{lang}wcf.acp.package.view.url{/lang}</dt>
+                       <dd><a href="{@RELATIVE_WCF_DIR}acp/dereferrer.php?url={$packageObj->packageURL|rawurlencode}" class="externalURL">{$packageObj->packageURL}</a></dd>
+               </dl>
        {/if}
        {if $packageObj->parentPackageID}
-               <div class="formElement">
-                       <p class="formFieldLabel">{lang}wcf.acp.package.view.parent{/lang}</p>
-                       <p class="formField"><a href="index.php?page=PackageView&amp;packageID={@$packageObj->parentPackageID}{@SID_ARG_2ND}">{$packageObj->getParentPackage()->getName()}</a></p>
-               </div>
+               <dl>
+                       <dt>{lang}wcf.acp.package.view.parent{/lang}</dt>
+                       <dd><a href="index.php?page=PackageView&amp;packageID={@$packageObj->parentPackageID}{@SID_ARG_2ND}">{$packageObj->getParentPackage()->getName()}</a></dd>
+               </dl>
        {/if}
-       <div class="formElement">
-               <p class="formFieldLabel">{lang}wcf.acp.package.view.author{/lang}</p>
-               <p class="formField">{if $packageObj->authorURL}<a href="{@RELATIVE_WCF_DIR}acp/dereferrer.php?url={$packageObj->authorURL|rawurlencode}" class="externalURL">{$packageObj->author}</a>{else}{$packageObj->author}{/if}</p>
-       </div>
+       <dl>
+               <dt>{lang}wcf.acp.package.view.author{/lang}</dt>
+               <dd>{if $packageObj->authorURL}<a href="{@RELATIVE_WCF_DIR}acp/dereferrer.php?url={$packageObj->authorURL|rawurlencode}" class="externalURL">{$packageObj->author}</a>{else}{$packageObj->author}{/if}</dd>
+       </dl>
        
        {if $additionalFields|isset}{@$additionalFields}{/if}
 </fieldset>
index bb65b63a6e442dccd52ab8879b6a5254e973bbca..9b951f827d5082d6414bd097999bab3cee6ee630 100644 (file)
                                        </dl>
                                        
                                        {if $package.author != ''}
-                                               <div class="formElement">
-                                                       <div class="formFieldLabel">
-                                                               <label>{lang}wcf.acp.package.list.author{/lang}</label>
-                                                       </div>
-                                                       <div class="formField">
+                                               <dl>
+                                                       <dt><label>{lang}wcf.acp.package.list.author{/lang}</label></dt>
+                                                       <dd>
                                                                <span>{if $package.authorURL}<a href="{@RELATIVE_WCF_DIR}acp/dereferrer.php?url={$package.authorURL|rawurlencode}" class="externalURL">{$package.author}</a>{else}{$package.author}{/if}</span>
-                                                       </div>
-                                               </div>
+                                                       </dd>
+                                               </dl>
                                        {/if}
                                        
                                        {if $package.packageDescription}
-                                               <div class="formElement">
-                                                       <p class="formFieldLabel">{lang}wcf.acp.package.description{/lang}</p>
-                                                       <p class="formField">{$package.packageDescription}</p>
-                                               </div>
+                                               <dl>
+                                                       <dt>{lang}wcf.acp.package.description{/lang}</dt>
+                                                       <dd>{$package.packageDescription}</dd>
+                                               </dl>
                                        {/if}
                                        
                                        <fieldset>
                                                <legend>{lang}wcf.acp.packageUpdate.options{/lang}</legend>
                                        
-                                               <div class="formField">
-                                                       <ul class="formOptionsLong">
+                                               <div><!-- ToDo: Definition List -->
+                                                       <ul>
                                                                {* new installation *}
                                                                {if $package.isUnique && !$package.updatableInstances|count}
                                                                        <li>{lang}wcf.acp.packageUpdate.options.alreadyInstalledUnique{/lang}</li>
index 366c6f2c592e9030170313c8721338cec3883e9f..468d52722361221ef9d7fd1dcf030dea6aa3a1ec 100644 (file)
@@ -57,7 +57,7 @@
                                <dt><label for="loginPassword">{lang}wcf.acp.updateServer.loginPassword{/lang}</label></dt>
                                <dd>
                                        <input type="password" id="loginPassword" name="loginPassword" value="{$loginPassword}" class="long" />
-                                       <small id="loginPasswordHelpMessage" class="formFieldDesc hidden"><p>{lang}wcf.acp.updateServer.loginPassword.description{/lang}</p></small>
+                                       <small id="loginPasswordHelpMessage"><p>{lang}wcf.acp.updateServer.loginPassword.description{/lang}</p></small>
                                </dd>
                        </dl>
                        
index cccd42140204061822294379e22bf712c8ed8e0d..7e110b13817b2afbb230790904544964b08d4dfa 100644 (file)
                <fieldset>
                        <legend>{lang}wcf.acp.user.groups{/lang}</legend>
                        
-                       <div>
-                               <div class="formField{if $errorField == 'groupIDs'} formError{/if}">
+                       <div><!-- ToDo: Definition List -->
+                               <div{if $errorField == 'groupIDs'} class="formError"{/if}>
                                        {htmlCheckboxes options=$groups name=groupIDs selected=$groupIDs}
                                        {if $errorField == 'groupIDs'}
-                                               <p class="innerError">
+                                               <small class="innerError">
                                                        {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if}
-                                               </p>
+                                               </small>
                                        {/if}
                                </div>
                        </div>
index f4bd98f5ac4983aaaa35c3003e5b6ac19c58ae38..9508a01a76ddf34a63667212a0ca7d06c212a795 100644 (file)
@@ -46,7 +46,7 @@
                                                <legend>{lang}wcf.acp.user.exportEmailAddress.fileType{/lang}</legend>
                                                
                                                <dl>
-                                                       <dd>
+                                                       <dd><!-- ToDo: Definition List -->
                                                                <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>
@@ -62,9 +62,9 @@
                                </dd>
                        </dl>
                        
-                       <dl id="textSeparatorDiv">
+                       <dl id="textSeparatorDiv"><!-- ToDo: Checkbox -->
                                <dt><label for="textSeparator">{lang}wcf.acp.user.exportEmailAddress.textSeparator{/lang}</label></dt>
-                               <dd class="formField">
+                               <dd>
                                        <input type="text" id="textSeparator" name="textSeparator" value="{$textSeparator}" class="medium" />
                                </dd>
                        </dl>