Style-prefixes
authorLuzifr <szekely@woltlab.com>
Fri, 3 Feb 2012 15:02:21 +0000 (16:02 +0100)
committerLuzifr <szekely@woltlab.com>
Fri, 3 Feb 2012 15:02:21 +0000 (16:02 +0100)
acptemplates/languageAdd.tpl
acptemplates/languageEdit.tpl
acptemplates/languageExport.tpl
acptemplates/languageList.tpl
acptemplates/languageServerAdd.tpl
acptemplates/languageServerList.tpl

index 829e7cd224cdc0c4efc6ddd86bcbe62eee1261cf..bab2d1794af23893c09ab4f86b1d747a53e2fe3c 100644 (file)
@@ -9,7 +9,7 @@
        //]]>
 </script>
 
-<header class="mainHeading">
+<header class="wcf-mainHeading">
        <img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" />
        <hgroup>
                <h1>{lang}wcf.acp.language.add{/lang}</h1>
 </header>
 
 {if $errorField}
-       <p class="error">{lang}wcf.global.form.error{/lang}</p>
+       <p class="wcf-error">{lang}wcf.global.form.error{/lang}</p>
 {/if}
 
 {if $success|isset}
-       <p class="success">{lang}wcf.global.form.add.success{/lang}</p> 
+       <p class="wcf-success">{lang}wcf.global.form.add.success{/lang}</p>     
 {/if}
 
-<div class="contentHeader">
+<div class="wcf-contentHeader">
        <nav>
-               <ul class="largeButtons">
-                       <li><a href="{link controller='LanguageList'}{/link}" title="{lang}wcf.acp.menu.link.language.list{/lang}" class="button"><img src="{@RELATIVE_WCF_DIR}icon/language1.svg" alt="" /> <span>{lang}wcf.acp.menu.link.language.list{/lang}</span></a></li>
+               <ul class="wcf-largeButtons">
+                       <li><a href="{link controller='LanguageList'}{/link}" title="{lang}wcf.acp.menu.link.language.list{/lang}" class="wcf-button"><img src="{@RELATIVE_WCF_DIR}icon/language1.svg" alt="" /> <span>{lang}wcf.acp.menu.link.language.list{/lang}</span></a></li>
                </ul>
        </nav>
 </div>
 
 <form enctype="multipart/form-data" method="post" action="{link controller='LanguageAdd'}{/link}">
-       <div class="border content">
+       <div class="wcf-border wcf-content">
                <dl>
                        <dt><label for="import">{lang}wcf.acp.language.add.mode{/lang}</label></dt>
                        <dd>
                <fieldset id="importDiv">
                        <legend>{lang}wcf.acp.language.import.source{/lang}</legend>
                        
-                       <dl{if $errorField == 'languageFile'} class="formError"{/if}>
+                       <dl{if $errorField == 'languageFile'} class="wcf-formError"{/if}>
                                <dt><label for="languageFile">{lang}wcf.acp.language.import.source.file{/lang}</label></dt>
                                <dd>
-                                       <input type="text" name="languageFile" id="languageFile" value="{$languageFile}" class="long" />
+                                       <input type="text" id="languageFile" name="languageFile" value="{$languageFile}" class="long" />
                                        {if $errorField == 'languageFile'}
-                                               <small class="innerError">
+                                               <small class="wcf-innerError">
                                                        {if $errorType == 'empty'}
                                                                {lang}wcf.global.error.empty{/lang}
                                                        {else}
                                </dd>
                        </dl>
                        
-                       <dl{if $errorField == 'languageUpload'} class="formError"{/if}>
+                       <dl{if $errorField == 'languageUpload'} class="wcf-formError"{/if}>
                                <dt><label for="languageUpload">{lang}wcf.acp.language.import.source.upload{/lang}</label></dt>
                                <dd>
-                                       <input type="file" name="languageUpload" id="languageUpload" />
+                                       <input type="file" id="languageUpload" name="languageUpload" />
                                        {if $errorField == 'languageUpload'}
-                                               <small class="innerError">
+                                               <small class="wcf-innerError">
                                                        {lang}wcf.acp.language.import.error{/lang} {$errorType}
                                                </small>
                                        {/if}
                <fieldset id="copyDiv">
                        <legend>{lang}wcf.acp.language.add.new{/lang}</legend>
                        
-                       <dl{if $errorField == 'languageCode'} class="formError"{/if}>
+                       <dl{if $errorField == 'languageCode'} class="wcf-formError"{/if}>
                                <dt><label for="languageCode">{lang}wcf.acp.language.code{/lang}</label></dt>
                                <dd>
-                                       <input type="text" name="languageCode" id="languageCode" value="{$languageCode}" class="long" />
+                                       <input type="text" id="languageCode" name="languageCode" value="{$languageCode}" class="long" />
                                        {if $errorField == 'languageCode'}
-                                               <small class="innerError">
+                                               <small class="wcf-innerError">
                                                        {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if}
                                                        {if $errorType == 'notUnique'}{lang}wcf.acp.language.add.languageCode.error.notUnique{/lang}{/if}
                                                </small>
                                </dd>
                        </dl>
                        
-                       <dl{if $errorField == 'sourceLanguageID'} class="formError"{/if}>
+                       <dl{if $errorField == 'sourceLanguageID'} class="wcf-formError"{/if}>
                                <dt><label for="sourceLanguageID">{lang}wcf.acp.language.add.source{/lang}</label></dt>
                                <dd>
-                                       <select name="sourceLanguageID" id="sourceLanguageID">
+                                       <select id="sourceLanguageID" name="sourceLanguageID">
                                                {foreach from=$languages item=language}
                                                        <option value="{@$language->languageID}"{if $language->languageID == $sourceLanguageID} selected="selected"{/if}>{$language->languageName} ({$language->languageCode})</option>
                                                {/foreach}
                                        </select>
                                        {if $errorField == 'sourceLanguageID'}
-                                               <small class="innerError">
+                                               <small class="wcf-innerError">
                                                        {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if}
                                                </small>
                                        {/if}
                {if $additionalFields|isset}{@$additionalFields}{/if}
        </div>
        
-       <div class="formSubmit">
+       <div class="wcf-formSubmit">
                <input type="reset" value="{lang}wcf.global.button.reset{/lang}" accesskey="r" />
                <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
                {@SID_INPUT_TAG}
index 750fb54c941f589902b2642befd9b1f2e7d3c1d6..18b2e7478b49d5170b2a5429ee0f0fdbb8853770 100644 (file)
        </script>
 {/if}
 
-<div class="mainHeadline">
+<div class="wcf-mainHeading">
        <img src="{@RELATIVE_WCF_DIR}icon/languageEditL.png" alt="" />
-       <div class="headlineContainer">
+       <div>
                <h2>{lang}wcf.acp.language.edit{/lang}</h2>
        </div>
 </div>
 
 {if $errorField}
-       <p class="error">{lang}wcf.global.form.error{/lang}</p>
+       <p class="wcf-error">{lang}wcf.global.form.error{/lang}</p>
 {/if}
 
 {if $success|isset}
-       <p class="success">{lang}wcf.acp.language.edit.success{/lang}</p>       
+       <p class="wcf-success">{lang}wcf.acp.language.edit.success{/lang}</p>   
 {/if}
 
-<div class="contentHeader">
-       <div class="largeButtons">
-               <ul><li><a href="index.php?page=LanguageList{@SID_ARG_2ND}"><img src="{@RELATIVE_WCF_DIR}icon/languageM.png" alt="" title="{lang}wcf.acp.menu.link.language.view{/lang}" /> <span>{lang}wcf.acp.menu.link.language.view{/lang}</span></a></li>
-               <li><a href="index.php?form=LanguageSearch{@SID_ARG_2ND}"><img src="{@RELATIVE_WCF_DIR}icon/searchM.png" alt="" title="{lang}wcf.acp.menu.link.language.view{/lang}" /> <span>{lang}wcf.acp.menu.link.language.search{/lang}</span></a></li></ul>
+<div class="wcf-contentHeader">
+       <div class="wcf-largeButtons">
+               <ul>
+                       <li><a href="index.php?page=LanguageList{@SID_ARG_2ND}"><img src="{@RELATIVE_WCF_DIR}icon/languageM.png" alt="" title="{lang}wcf.acp.menu.link.language.view{/lang}" class="wcf-button" /> <span>{lang}wcf.acp.menu.link.language.view{/lang}</span></a></li>
+                       <li><a href="index.php?form=LanguageSearch{@SID_ARG_2ND}"><img src="{@RELATIVE_WCF_DIR}icon/searchM.png" alt="" title="{lang}wcf.acp.menu.link.language.view{/lang}" class="wcf-button" /> <span>{lang}wcf.acp.menu.link.language.search{/lang}</span></a></li>
+               </ul>
        </div>
 </div>
+
 <form method="get" action="index.php">
-       <div class="border content">
-               <div class="container-1">
+       <div class="wcf-border wcf-content">
+               <div>
                        <div class="formElement">
                                <p class="formField">
                                        <span>{lang}wcf.global.language.{@$language->languageCode}{/lang} ({@$language->languageCode})</span>
@@ -88,8 +91,8 @@
                                </p>
                        </div>
                        
-                       <div class="formElement{if $errorField == 'languageCategoryID'} formError{/if}">
-                               <div class="formFieldLabel">
+                       <div class="formElement{if $errorField == 'languageCategoryID'} wcf-formError{/if}">
+                               <div class="formFieldLabel"><!-- Todo: Def. List! -->
                                        <label for="languageCategoryID">{lang}wcf.acp.language.category{/lang}</label>
                                </div>
                                <div class="formField">
                                                {htmlOptions options=$languageCategories selected=$languageCategoryID}
                                        </select>
                                        {if $errorField == 'languageCategoryID'}
-                                               <p class="innerError">
+                                               <p class="wcf-innerError">
                                                        {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if}
                                                </p>
                                        {/if}
                                </div>
                        </div>
                        
-                       <div class="formElement">
+                       <div class="formElement"><!-- Todo: Def. List! -->
                                <div class="formField">
                                        <label><input onclick="this.form.submit()" type="checkbox" name="customVariables" value="1" {if $customVariables == 1}checked="checked" {/if}/> {lang}wcf.acp.language.showCustomVariables{/lang}</label>
                                </div>
                </fieldset>
                
                {foreach from=$languageItems item=category}
-                       <div class="border content">
-                               <div class="container-1">
-                                       <h3 class="subHeadline">{$category.category}</h3>
+                       <div class="wcf-border wcf-content">
+                               <div>
+                                       <h3 class="wcf-subHeadline">{$category.category}</h3>
                                        {foreach from=$category.items key=$languageItem item=languageItemValue}
                                                <a id="languageItem{@$languageItemIDs.$languageItem}"></a>
                                                
                
                {if $additionalFields|isset}{@$additionalFields}{/if}
                
-               <div class="formSubmit">
+               <div class="wcf-formSubmit">
                        <input type="submit" accesskey="s" value="{lang}wcf.global.button.submit{/lang}" />
                        <input type="reset" accesskey="r" value="{lang}wcf.global.button.reset{/lang}" />
                        {@SID_INPUT_TAG}
index b06bce323a327c267111af03b84e0d899797d4fc..d7e9bd699dd6e54962f436ca01833ac5247093bd 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header'}
 
-<header class="mainHeading">
+<header class="wcf-mainHeading">
        <img src="{@RELATIVE_WCF_DIR}icon/export1.svg" alt="" />
        <hgroup>
                <h1>{lang}wcf.acp.language.export{/lang}</h1>
@@ -8,23 +8,23 @@
 </header>
 
 {if $errorField}
-       <p class="error">{lang}wcf.global.form.error{/lang}</p>
+       <p class="wcf-error">{lang}wcf.global.form.error{/lang}</p>
 {/if}
 
 {if $success|isset}
-       <p class="success">{lang}wcf.acp.language.add.success{/lang}</p>        
+       <p class="wcf-success">{lang}wcf.acp.language.add.success{/lang}</p>    
 {/if}
 
-<div class="contentHeader">
+<div class="wcf-contentHeader">
        <nav>
-               <ul class="largeButtons">
-                       <li><a href="{link controller='LanguageList'}{/link}" title="{lang}wcf.acp.menu.link.language.list{/lang}" class="button"><img src="{@RELATIVE_WCF_DIR}icon/language1.svg" alt="" /> <span>{lang}wcf.acp.menu.link.language.list{/lang}</span></a></li>
+               <ul class="wcf-largeButtons">
+                       <li><a href="{link controller='LanguageList'}{/link}" title="{lang}wcf.acp.menu.link.language.list{/lang}" class="wcf-button"><img src="{@RELATIVE_WCF_DIR}icon/language1.svg" alt="" /> <span>{lang}wcf.acp.menu.link.language.list{/lang}</span></a></li>
                </ul>
        </nav>
 </div>
 
 <form enctype="multipart/form-data" method="post" action="{link controller='LanguageExport' id=$languageID}{/link}">
-       <div class="border content">
+       <div class="wcf-border wcf-content">
                <dl>
                        <dt><label for="languageID">{lang}wcf.user.language{/lang}</label></dt>
                        <dd>
@@ -54,7 +54,7 @@
                </dl>
        </div>
        
-       <div class="formSubmit">
+       <div class="wcf-formSubmit">
                <input type="submit" accesskey="s" value="{lang}wcf.global.button.submit{/lang}" />
                <input type="reset" accesskey="r" value="{lang}wcf.global.button.reset{/lang}" />
                {@SID_INPUT_TAG}
index 4ab6030189882b9f7b52bf695ac4bf5bb3230df3..7931a6098df5b8ed173aea9c0ab9588f4ac74a39 100644 (file)
        //]]>
 </script>
 
-<header class="mainHeading">
+<header class="wcf-mainHeading">
        <img src="{@RELATIVE_WCF_DIR}icon/language1.svg" alt="" />
        <hgroup>
                <h1>{lang}wcf.acp.language.list{/lang}</h1>
        </hgroup>
 </header>
 
-<div class="contentHeader">
+<div class="wcf-contentHeader">
        {pages print=true assign=pagesLinks controller='LanguageList' link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}
        
        {if $__wcf->getSession()->getPermission('admin.language.canAddLanguage')}
                <nav>
-                       <ul class="largeButtons">
-                               <li><a href="{link controller='LanguageAdd'}{/link}" title="{lang}wcf.acp.language.add{/lang}" class="button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.language.add{/lang}</span></a></li>
+                       <ul class="wcf-largeButtons">
+                               <li><a href="{link controller='LanguageAdd'}{/link}" title="{lang}wcf.acp.language.add{/lang}" class="wcf-button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.language.add{/lang}</span></a></li>
                                
                                {event name='largeButtons'}
                        </ul>
@@ -50,9 +50,9 @@
 </div>
 
 {if $objects|count}
-       <div class="border boxTitle">
+       <div class="wcf-border wcf-boxTitle">
                <hgroup>
-                       <h1>{lang}wcf.acp.language.list{/lang} <span class="badge" title="{lang}wcf.acp.language.list.count{/lang}">{#$items}</span></h1>
+                       <h1>{lang}wcf.acp.language.list{/lang} <span class="wcf-badge" title="{lang}wcf.acp.language.list.count{/lang}">{#$items}</span></h1>
                </hgroup>
        
                <table>
                </table>
        </div>
 
-       <div class="contentFooter">
+       <div class="wcf-contentFooter">
                {@$pagesLinks}
                
                {if $__wcf->getSession()->getPermission('admin.language.canAddLanguage')}
                        <nav>
-                               <ul class="largeButtons">
-                                       <li><a href="{link controller='LanguageAdd'}{/link}" title="{lang}wcf.acp.language.add{/lang}" class="button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.language.add{/lang}</span></a></li>
+                               <ul class="wcf-largeButtons">
+                                       <li><a href="{link controller='LanguageAdd'}{/link}" title="{lang}wcf.acp.language.add{/lang}" class="wcf-button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.language.add{/lang}</span></a></li>
                                        
                                        {event name='largeButtons'}
                                </ul>
index 92f74a334fda996a9083e289a17a6232dfca66e0..59a6886cbbf52ddaadc60407bea385c7ac917fe0 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header'}
 
-<header class="mainHeading">
+<header class="wcf-mainHeading">
        <img src="{@RELATIVE_WCF_DIR}icon/{$action}1.svg" alt="" />
        <hgroup>
                <h1>{lang}wcf.acp.languageServer.{$action}{/lang}</h1>
@@ -8,32 +8,32 @@
 </header>
 
 {if $errorField}
-       <p class="error">{lang}wcf.global.form.error{/lang}</p>
+       <p class="wcf-error">{lang}wcf.global.form.error{/lang}</p>
 {/if}
 
 {if $success|isset}
-       <p class="success">{lang}wcf.acp.languageServer.{$action}.success{/lang}</p>    
+       <p class="wcf-success">{lang}wcf.acp.languageServer.{$action}.success{/lang}</p>        
 {/if}
 
-<div class="contentHeader">
+<div class="wcf-contentHeader">
        <nav>
-               <ul class="largeButtons">
+               <ul class="wcf-largeButtons">
                        <li><a href="{link controller='LanguageServerList'}{/link}" title="{lang}wcf.acp.menu.link.package.server.view{/lang}" class="button"><img src="{@RELATIVE_WCF_DIR}icon/language1.svg" alt="" /> <span>{lang}wcf.acp.menu.link.package.server.view{/lang}</span></a></li>
                </ul>
        </nav>
 </div>
 
 <form method="post" action="{if $action == 'add'}{link controller='LanguageServerAdd'}{/link}{else}{link controller='LanguageServerEdit' id=$languageServerID}{/link}{/if}">
-       <div class="border content">
+       <div class="wcf-border wcf-content">
                <fieldset>
                        <legend>{lang}wcf.acp.languageServer.data{/lang}</legend>
                        
-                       <dl{if $errorField == 'server'} class="formError"{/if}>
+                       <dl{if $errorField == 'server'} class="wcf-formError"{/if}>
                                <dt><label for="server">{lang}wcf.acp.languageServer.server{/lang}</label></dt>
                                <dd>
                                        <input type="text" name="server" id="server" value="{$server}" class="long" />
                                        {if $errorField == 'server'}
-                                               <small class="innerError">
+                                               <small class="wcf-innerError">
                                                        {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if}
                                                        {if $errorType == 'notValid'}{lang}wcf.acp.languageServer.server.error.notValid{/lang}{/if}
                                                </small>
@@ -45,7 +45,7 @@
                </fieldset>
        </div>
        
-       <div class="formSubmit">
+       <div class="wcf-formSubmit">
                <input type="reset" value="{lang}wcf.global.button.reset{/lang}" accesskey="r" />
                <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
                {@SID_INPUT_TAG}
index 80799228924102231cb8c204255260fbfc7b9fe0..dcaba1f955083c98450327395ce9049370947591 100644 (file)
@@ -9,20 +9,20 @@
        //]]>
 </script>
 
-<header class="mainHeading">
+<header class="wcf-mainHeading">
        <img src="{@RELATIVE_WCF_DIR}icon/language1.svg" alt="" />
        <hgroup>
                <h1>{lang}wcf.acp.languageServer.list{/lang}</h1>
        </hgroup>
 </header>
 
-<div class="contentHeader">
+<div class="wcf-contentHeader">
        {pages print=true assign=pagesLinks controller='LanguageServerList' link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}
        
        {if $__wcf->getSession()->getPermission('admin.language.canAddServer')}
                <nav>
-                       <ul class="largeButtons">
-                               <li><a href="{link controller='LanguageServerAdd'}{/link}" title="{lang}wcf.acp.languageServer.add{/lang}" class="button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.languageServer.add{/lang}</span></a></li>
+                       <ul class="wcf-largeButtons">
+                               <li><a href="{link controller='LanguageServerAdd'}{/link}" title="{lang}wcf.acp.languageServer.add{/lang}" class="wcf-button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.languageServer.add{/lang}</span></a></li>
                                
                                {event name='largeButtons'}
                        </ul>
 </div>
 
 {if !$languageServers|count}
-       <div class="border content">
-               <div class="container-1">
+       <div class="wcf-border wcf-content">
+               <div>
                        <p>{lang}wcf.acp.languageServer.view.noneAvailable{/lang}</p>
                </div>
        </div>
 {else}
-       <div class="border boxTitle">
+       <div class="wcf-border wcf-boxTitle">
                <hgroup>
                        <h1>{lang}wcf.acp.languageServer.list{/lang} <span class="badge" title="{lang}wcf.acp.languageServer.list.count{/lang}">{#$items}</span></h1>
                </hgroup>
                </table>
        </div>
        
-       <div class="contentFooter">
+       <div class="wcf-contentFooter">
                {@$pagesLinks}
                
                {if $__wcf->getSession()->getPermission('admin.language.canAddServer')}
                        <nav>
-                               <ul class="largeButtons">
-                                       <li><a href="{link controller='LanguageServerAdd'}{/link}" title="{lang}wcf.acp.languageServer.add{/lang}" class="button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.languageServer.add{/lang}</span></a></li>
+                               <ul class="wcf-largeButtons">
+                                       <li><a href="{link controller='LanguageServerAdd'}{/link}" title="{lang}wcf.acp.languageServer.add{/lang}" class="wcf-button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.languageServer.add{/lang}</span></a></li>
                                        
                                        {event name='largeButtons'}
                                </ul>