Small optimizations
authorMarcel Werk <burntime@woltlab.com>
Thu, 16 May 2013 19:38:18 +0000 (21:38 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 16 May 2013 19:38:18 +0000 (21:38 +0200)
wcfsetup/install/files/acp/templates/userBulkProcessing.tpl
wcfsetup/install/files/acp/templates/userSearch.tpl
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index cc5260747d4fa89ee5ba2756107ef42839f9d672..ae1eded06dd03c6cf87d1bb445ac64c83e40e3e0 100644 (file)
                                
                                {event name='conditionFields'}
                        </fieldset>
+                       
+                       {event name='conditionFieldsets'}
                </div>
                
                {if $options|count}
                        
                                        {include file='optionFieldList' langPrefix='wcf.user.option.'}
                                </fieldset>
+                               
+                               {event name='profileFieldsets'}
                        </div>
                {/if}
        
                                                        <label><input type="radio" name="action" value="delete" {if $action == 'delete'}checked="checked" {/if}/> {lang}wcf.acp.user.delete{/lang}</label>
                                                {/if}
                                                
-                                               {event name='additionalActions'}
+                                               {event name='actions'}
                                                
                                                {if $errorField == 'action'}
                                                        <small class="innerError">
                                </fieldset>
                        </div>
                        
-                       {event name='actionSettings'}
+                       {event name='actionFieldsets'}
                </div>
        </div>
        
index 7a6c57ade73baaa835a26bed1774bf02220c5a31..7c1db290363440bc7b354f7e8741581ad754b13e 100644 (file)
@@ -39,7 +39,7 @@
        <div class="tabMenuContainer">
                <nav class="tabMenu">
                        <ul>
-                               <li><a href="{@$__wcf->getAnchor('__general')}">{lang}wcf.acp.user.search.conditions.general{/lang}</a></li>
+                               <li><a href="{@$__wcf->getAnchor('conditions')}">{lang}wcf.acp.user.search.conditions{/lang}</a></li>
                                
                                {if $optionTree|count}
                                        <li><a href="{@$__wcf->getAnchor('profile')}">{lang}wcf.acp.user.search.conditions.profile{/lang}</a></li>
@@ -51,9 +51,9 @@
                        </ul>
                </nav>
                
-               <div id="__general" class="container containerPadding tabMenuContent hidden">
+               <div id="conditions" class="container containerPadding tabMenuContent hidden">
                        <fieldset>
-                               <legend>{lang}wcf.acp.user.search.conditions.general{/lang}</legend>
+                               <legend>{lang}wcf.acp.user.search.conditions{/lang}</legend>
                                
                                <dl>
                                        <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
                                        </dl>
                                {/if}
                                
-                               {event name='generalFields'}
+                               {event name='conditionFields'}
                        </fieldset>
+                       
+                       {event name='conditionFieldsets'}
                </div>
                
                {if $optionTree|count}
                                                <input type="number" id="itemsPerPage" name="itemsPerPage" value="{@$itemsPerPage}" class="tiny" />
                                        </dd>
                                </dl>
+                               
+                               {event name='searchDisplayFields'}
                        </fieldset>
                        
                        <fieldset>
                                        <dd>
                                                <label><input type="checkbox" name="columns[]" value="email" {if "email"|in_array:$columns}checked="checked" {/if}/> {lang}wcf.user.email{/lang}</label>
                                                <label><input type="checkbox" name="columns[]" value="registrationDate" {if "registrationDate"|in_array:$columns}checked="checked"{/if}/> {lang}wcf.user.registrationDate{/lang}</label>
+                                               {event name='searchDisplayColumns'}
                                        </dd>
                                </dl>
+                               
+                               {event name='searchDisplayColumnFields'}
                        </fieldset>
                        
                        {event name='resultOptionFieldsets'}
index 08a920842a07197dfabf8c860bbac62ab11d2c52..d0123555824f6d83f4fe6adf36521e31724b5e1b 100644 (file)
                <item name="wcf.acp.user.bulkProcessing.action"><![CDATA[Aktion]]></item>
                <item name="wcf.acp.user.bulkProcessing.conditions"><![CDATA[Bedingungen]]></item>
                <item name="wcf.acp.user.bulkProcessing.success"><![CDATA[Die gewählte Aktion wurde erfolgreich auf {#$affectedUsers} Benutzer ausgeführt.]]></item>
-               <item name="wcf.acp.user.bulkProcessing.warning"><![CDATA[Die Massenbearbeitung von Benutzern führt die unten ausgewählte Aktion <b>ohne zusätzliche Sicherheitsabfrage</b> auf alle Benutzer aus, die unter die eingestellten Bedingungen fallen. Die Bearbeitungen können unter Umständen sehr rechenintensiv werden und sollten deshalb möglichst nur dann ausgeführt werden, wenn sich die Seite im Wartungsmodus befindet! Die Veränderungen können nicht rückgängig gemacht werden. Bitte benutzen Sie diese Funktion mit der nötigen Vorsicht!]]></item>
+               <item name="wcf.acp.user.bulkProcessing.warning"><![CDATA[Die Massenbearbeitung von Benutzern führt die unten ausgewählte Aktion <b>ohne zusätzliche Sicherheitsabfrage</b> auf alle Benutzer aus, die unter die eingestellten Bedingungen fallen.]]></item>
                <item name="wcf.acp.user.search"><![CDATA[Benutzer suchen]]></item>
                <item name="wcf.acp.user.search.conditions.general"><![CDATA[Allgemein]]></item>
                <item name="wcf.acp.user.search.conditions.profile"><![CDATA[Profil]]></item>
                <item name="wcf.acp.user.option.outputClass"><![CDATA[PHP-Klasse für Ausgabe]]></item>
                <item name="wcf.acp.user.option.outputClass.description"><![CDATA[Erlaubt die Angabe einer speziellen PHP-Klasse für die Ausgabeformatierung bei der Anzeige des Feldes.]]></item>
                <item name="wcf.acp.user.option.outputClass.error.doesNotExist"><![CDATA[Eine Klasse mit dem angegeben Namen existiert nicht.]]></item>
+               <item name="wcf.acp.user.search.conditions"><![CDATA[Bedingungen]]></item>
        </category>
        
        <category name="wcf.ajax">
index bf99ef386e55c56e72ff0e65c26a1f526cff6163..947eaef8d05556ffcb2ea0890c9743da20ce4c5c 100644 (file)
                <item name="wcf.acp.user.bulkProcessing.action"><![CDATA[Actions]]></item>
                <item name="wcf.acp.user.bulkProcessing.conditions"><![CDATA[Conditions]]></item>
                <item name="wcf.acp.user.bulkProcessing.success"><![CDATA[Executed action affected {#$affectedUsers} user{if $affectedUsers != 1}s{/if}.]]></item>
-               <item name="wcf.acp.user.bulkProcessing.warning"><![CDATA[Heads up! The bulk processing executes all actions below without any further confirmation prompt! Processing can be fairly slow if many users are affected by your conditions, it is recommended to enable “Maintenance Mode” in first place. Any change cannot be undone, please be careful!]]></item>
+               <item name="wcf.acp.user.bulkProcessing.warning"><![CDATA[Heads up! The bulk processing executes all actions below without any further confirmation prompt!]]></item>
                <item name="wcf.acp.user.search"><![CDATA[Search Users]]></item>
                <item name="wcf.acp.user.search.conditions.general"><![CDATA[General]]></item>
                <item name="wcf.acp.user.search.conditions.profile"><![CDATA[Profile]]></item>
                <item name="wcf.acp.user.option.outputClass"><![CDATA[TODO: PHP-Klasse für Ausgabe]]></item>
                <item name="wcf.acp.user.option.outputClass.description"><![CDATA[TODO: Erlaubt die Angabe einer speziellen PHP-Klasse für die Ausgabeformatierung bei der Anzeige des Feldes.]]></item>
                <item name="wcf.acp.user.option.outputClass.error.doesNotExist"><![CDATA[Unable to find the specified class.]]></item>
+               <item name="wcf.acp.user.search.conditions"><![CDATA[TODO: Bedingungen]]></item>
        </category>
        
        <category name="wcf.ajax">