Fixes code formatting
authorMatthias Schmidt <gravatronics@live.com>
Sun, 13 Oct 2013 17:55:44 +0000 (19:55 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 13 Oct 2013 17:55:44 +0000 (19:55 +0200)
57 files changed:
com.woltlab.wcf/clipboardAction.xml
com.woltlab.wcf/objectTypeDefinition.xml
com.woltlab.wcf/option.xml
com.woltlab.wcf/templates/footer.tpl
com.woltlab.wcf/templates/recentActivityList.tpl
com.woltlab.wcf/userOption.xml
wcfsetup/install.php
wcfsetup/install/files/acp/install.php
wcfsetup/install/files/acp/templates/applicationManagement.tpl
wcfsetup/install/files/acp/templates/attachmentList.tpl
wcfsetup/install/files/acp/templates/dataImport.tpl
wcfsetup/install/files/acp/templates/index.tpl
wcfsetup/install/files/acp/templates/languageItemEditDialog.tpl
wcfsetup/install/files/acp/templates/languageItemList.tpl
wcfsetup/install/files/acp/templates/templateAdd.tpl
wcfsetup/install/files/acp/templates/templateGroupAdd.tpl
wcfsetup/install/files/acp/templates/templateGroupList.tpl
wcfsetup/install/files/acp/templates/userBulkProcessing.tpl
wcfsetup/install/files/acp/templates/userOptionCategoryAdd.tpl
wcfsetup/install/files/acp/templates/userOptionCategoryList.tpl
wcfsetup/install/files/acp/templates/userRankAdd.tpl
wcfsetup/install/files/js/WCF.Message.js
wcfsetup/install/files/js/WCF.User.js
wcfsetup/install/files/js/WCF.js
wcfsetup/install/files/lib/acp/action/LogoutAction.class.php
wcfsetup/install/files/lib/acp/form/SmileyAddForm.class.php
wcfsetup/install/files/lib/acp/form/TemplateAddForm.class.php
wcfsetup/install/files/lib/acp/form/TemplateGroupAddForm.class.php
wcfsetup/install/files/lib/acp/form/TemplateGroupEditForm.class.php
wcfsetup/install/files/lib/acp/form/UserEditForm.class.php
wcfsetup/install/files/lib/acp/page/IndexPage.class.php
wcfsetup/install/files/lib/acp/page/PHPInfoPage.class.php
wcfsetup/install/files/lib/acp/page/RebuildDataPage.class.php
wcfsetup/install/files/lib/acp/page/UserOptionListPage.class.php
wcfsetup/install/files/lib/action/AJAXInvokeAction.class.php
wcfsetup/install/files/lib/data/language/item/LanguageItemAction.class.php
wcfsetup/install/files/lib/data/option/Option.class.php
wcfsetup/install/files/lib/data/user/group/UserGroup.class.php
wcfsetup/install/files/lib/data/user/option/UserOptionAction.class.php
wcfsetup/install/files/lib/form/RegisterNewActivationCodeForm.class.php
wcfsetup/install/files/lib/form/SignatureEditForm.class.php
wcfsetup/install/files/lib/page/DeletedContentListPage.class.php
wcfsetup/install/files/lib/page/TaggedPage.class.php
wcfsetup/install/files/lib/system/WCFSetup.class.php
wcfsetup/install/files/lib/system/database/PostgreSQLDatabase.class.php
wcfsetup/install/files/lib/system/importer/ImportHandler.class.php
wcfsetup/install/files/lib/system/message/quote/MessageQuoteManager.class.php
wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php
wcfsetup/install/files/lib/system/package/PackageInstallationSQLParser.class.php
wcfsetup/install/files/lib/system/package/TemplatesFileHandler.class.php
wcfsetup/install/files/lib/system/package/plugin/ACLOptionPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/request/RouteHandler.class.php
wcfsetup/install/files/lib/system/template/plugin/TableWordwrapModifierTemplatePlugin.class.php
wcfsetup/install/files/style/colorPicker.less
wcfsetup/install/files/style/form.less
wcfsetup/install/files/style/imageViewer.less
wcfsetup/install/files/style/layout.less

index 45ce5d1ec8e044324627add606ac534180acca81..df5d5b74b10dbd5805bae9f07e63027feca211b8 100644 (file)
@@ -32,7 +32,7 @@
                                <page><![CDATA[wcf\acp\page\UserListPage]]></page>
                        </pages>
                </action>
-
+               
                <action name="exportMailAddress">
                        <actionclassname><![CDATA[wcf\system\clipboard\action\UserClipboardAction]]></actionclassname>
                        <showorder>6</showorder>
index 8c0aebab70680118a8095e43efd1b32e0eddd0e7..8f4baff22bbd602715889daa286b72f18ba17386 100644 (file)
@@ -21,7 +21,7 @@
                <definition>
                        <name>com.woltlab.wcf.modifiableContent</name>
                </definition>
-
+               
                <definition>
                        <name>com.woltlab.wcf.versionableObject</name>
                </definition>
index e509395f4c9b8d700b89694d43e7a89e33eb1a7d..babe487285c93d347aa70ba29aef1f92c413a837 100644 (file)
@@ -81,7 +81,6 @@
                        <category name="user">
                                <showorder>3</showorder>
                        </category>
-                       
                                <category name="user.general">
                                        <parent>user</parent>
                                </category>
index 51f6dbba96daa2cecec666631f6ced70fdcb7dbc..761cc395b061de3efb7dcc32df971581053a903f 100644 (file)
@@ -33,7 +33,7 @@
                        {event name='footerContents'}
                        
                        {if ENABLE_BENCHMARK}{include file='benchmark'}{/if}
-               
+                       
                        {event name='copyright'}
                </div>
        </div>
index e68e6dba1678becac0df8c38a1a21e52b3ef5a9a..4ffb353541b1511d1fac3bcfd55fb07b48b0525d 100644 (file)
@@ -69,8 +69,6 @@
        <p class="info">{lang}wcf.user.recentActivity.noEntries{/lang}</p>
 {/if}
 
-
-
 {include file='footer'}
 
 </body>
index 3fbd781fab6b2c30f786dee12b07bb00f9a31923..21ae8ae4e3e488d40d077ecdbd1bac36a705abe3 100644 (file)
@@ -52,7 +52,7 @@
                        </category>
                        <!-- /settings -->
                </categories>
-
+               
                <options>
                        <!-- profile -->
                        <option name="aboutMe">
index 623cad1de419cde1576a722134033f85ecfbad74..612765b04daba9cf652df96f5870f4e03bf20705 100644 (file)
@@ -124,7 +124,7 @@ class SystemException extends \Exception implements IPrintableException {
 <body>
        <div>
                <h1>Fatal error: <?php echo htmlspecialchars($this->getMessage()); ?></h1>
-       
+               
                <div>
                        <p><?php echo $this->getDescription(); ?></p>
                        <?php if ($this->getCode()) { ?><p>You get more information about the problem in our knowledge base: <a href="http://www.woltlab.com/help/?code=<?php echo intval($this->getCode()); ?>">http://www.woltlab.com/help/?code=<?php echo intval($this->getCode()); ?></a></p><?php } ?>
@@ -155,7 +155,6 @@ class SystemException extends \Exception implements IPrintableException {
        }
 }
 
-
 /**
  * Loads the required classes automatically.
  */
@@ -272,7 +271,7 @@ class BasicFileUtil {
                if (function_exists('session_save_path') && ($path = session_save_path()) && @is_writable($path)) {
                        return $path . '/';
                }
-       
+               
                $path = INSTALL_SCRIPT_DIR.'tmp/';
                if (@file_exists($path) && @is_writable($path)) {
                        return $path;
@@ -599,7 +598,7 @@ class Tar {
                if (strlen($binaryData) != 512) {
                        return false;
                }
-
+               
                $header = array();
                $checksum = 0;
                // First part of the header
@@ -615,7 +614,7 @@ class Tar {
                for ($i = 156; $i < 512; $i++) {
                        $checksum += ord(substr($binaryData, $i, 1));
                }
-
+               
                // Extract the values
                //$data = unpack("a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8checksum/a1typeflag/a100link/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor", $binaryData);
                if (version_compare(PHP_VERSION, '5.5.0-dev', '>=')) {
index b04fadef45c15fe11570d98a9def561b19aca4b7..b89eb16848330c90b12ce4fce0d6cf53d8b50b2d 100644 (file)
@@ -67,5 +67,3 @@ if ($timezone = @date_default_timezone_get()) {
                $statement->execute(array($timezone, 'timezone'));
        }
 }
-
-
index 8e02b786fd5921c64f4c0ceea33e5a08f83be56d..3979e2401dddaf69499a798f8d7043610608ad13 100644 (file)
@@ -74,5 +74,4 @@
        {/hascontent}
 </div>
 
-
 {include file='footer'}
index 6e106bcd4601cde33539c4f80c83d86ddea24214..37a43fcb82548a0d62307c3800b139c5089ac2c2 100644 (file)
@@ -21,7 +21,7 @@
        <div class="container containerPadding marginTop">
                <fieldset>
                        <legend>{lang}wcf.global.filter{/lang}</legend>
-               
+                       
                        <dl>
                                <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
                                <dd>
index 064362928cc4c8849bebcb1fe8a1bb18db687aa7..efd8b774ed3cc0752d2b541fa2846667826c1b00 100644 (file)
                                        {event name='selectExporterFields'}
                                </fieldset>
                        </div>
-               
+                       
                        <div class="formSubmit">
                                <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
                                {@SID_INPUT_TAG}
                        
                        {event name='fieldsets'}
                </div>
-       
+               
                <div class="formSubmit">
                        <input type="hidden" name="exporterName" value="{$exporterName}" />
                        <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
index d5080988b02ebce42f8cf1d41f1235fee3f93cc2..2cccf73e7bc5b9bc1b3530d311aa09d77a984ae7 100644 (file)
@@ -59,9 +59,9 @@
        <div id="system" class="container containerPadding hidden tabMenuContent">
                <fieldset>
                        <legend>{lang}wcf.acp.index.system.software{/lang}</legend>
-               
+                       
                        {event name='softwareVersions'}
-               
+                       
                        <dl>
                                <dt>{lang}wcf.acp.index.system.software.wcfVersion{/lang}</dt>
                                <dd>{@WCF_VERSION}</dd>
@@ -72,7 +72,7 @@
                
                <fieldset>
                        <legend>{lang}wcf.acp.index.system.server{/lang}</legend>
-               
+                       
                        <dl>
                                <dt>{lang}wcf.acp.index.system.os{/lang}</dt>
                                <dd>{$server[os]}</dd>
        <div id="credits" class="container containerPadding hidden tabMenuContent">
                <fieldset>
                        <legend>{lang}wcf.acp.index.credits{/lang}</legend>
-               
+                       
                        <dl>
                                <dt>{lang}wcf.acp.index.credits.developedBy{/lang}</dt>
                                <dd><a href="{@$__wcf->getPath()}acp/dereferrer.php?url={"http://www.woltlab.com"|rawurlencode}" class="externalURL">WoltLab&reg; GmbH</a></dd>
index 77d904f4e0f415b2bbe215a87474357f3cddd5f2..ae56961c59a220f7ab32f323bc647bceddfc49f6 100644 (file)
@@ -11,7 +11,7 @@
 {if $item->languageItemOriginIsSystem}
        <fieldset>
                <legend><label for="overlayLanguageCustomItemValue">{lang}wcf.acp.language.item.customValue{/lang}</label></legend>
-       
+               
                <dl class="wide">
                        <dd>
                                <textarea rows="5" cols="60" name="languageCustomItemValue" id="overlayLanguageCustomItemValue">{$item->languageCustomItemValue}</textarea>
index 3daf88239e9e5fa3ee1889ecc71ba3d96672e81f..e481f07f315729e9fdee4966175adc8a64656e0c 100644 (file)
@@ -19,7 +19,7 @@
        <div class="container containerPadding marginTop">
                <fieldset>
                        <legend>{lang}wcf.global.filter{/lang}</legend>
-               
+                       
                        <dl>
                                <dt><label for="languageID">{lang}wcf.user.language{/lang}</label></dt>
                                <dd>
index 79ba3742767c112f20cb31d85ef72714c0022b50..ff1e78e9951189e1c492b76467befe373f092af6 100644 (file)
                                {event name='dataFields'}
                        </fieldset>
                        
-                       
                        <fieldset>
                                <legend><label for="templateSource">{lang}wcf.acp.template.source{/lang}</label></legend>
-                       
+                               
                                <dl class="wide">
                                        <dt><label for="templateSource">{lang}wcf.acp.template.source{/lang}</label></dt>
                                        <dd>
@@ -69,7 +68,6 @@
                                        </dd>
                                </dl>
                        </fieldset>
-                               
                        
                        {event name='fieldsets'}
                </div>
@@ -84,5 +82,4 @@
        <p class="error">{lang}wcf.acp.template.error.noGroups{/lang}</p>
 {/if}
 
-
 {include file='footer'}
index 3212832a7bf0620c4eecabf2b963b3b7d189a233..657e3e0712f0a16bc84f96ed04cfff1cadbd20b6 100644 (file)
@@ -83,5 +83,4 @@
        </div>
 </form>
 
-
 {include file='footer'}
index a6b865964bb5289bd61a030357be25fd57fdf442..765f72815666572fa69d96fcb99a30d497802aae 100644 (file)
@@ -82,7 +82,7 @@
                <nav>
                        <ul>
                                <li><a href="{link controller='TemplateGroupAdd'}{/link}" class="button"><span class="icon icon16 icon-plus"></span> <span>{lang}wcf.acp.template.group.add{/lang}</span></a></li>
-                       
+                               
                                {event name='contentNavigationButtonsBottom'}
                        </ul>
                </nav>
index 13ca916e7ff14479247424101ed8bf6efee34c8e..9a9b91d484bde6aaa74bcf6755b87261957b66ca 100644 (file)
                                {event name='tabMenuTabs'}
                        </ul>
                </nav>
-       
+               
                <div id="conditions" class="container containerPadding tabMenuContent">
                        <fieldset>
                                <legend>{lang}wcf.acp.user.search.conditions{/lang}</legend>
                        <div id="profile" class="container containerPadding tabMenuContent">
                                <fieldset>
                                        <legend>{lang}wcf.acp.user.search.conditions.profile{/lang}</legend>
-                       
+                                       
                                        {include file='optionFieldList' langPrefix='wcf.user.option.'}
                                </fieldset>
                                
                                {event name='profileFieldsets'}
                        </div>
                {/if}
-       
+               
                <div id="action" class="container containerPadding tabMenuContent">
                        <fieldset{if $errorField == 'action'} class="formError"{/if}>
                                <legend>{lang}wcf.acp.user.bulkProcessing.action{/lang}</legend>
index 9a1033bdb08b8f5d606f93bd4fc2ad7041b2693a..64143dc09cb756b42e250e32f6bd66cc595099e5 100644 (file)
@@ -61,5 +61,4 @@
        </div>
 </form>
 
-
 {include file='footer'}
index c601f7045dbc81e2159ff38564302aecf1541af1..9b29c8d001b0f1ae142fd9292a35e2f6976274d4 100644 (file)
@@ -70,7 +70,7 @@
                <nav>
                        <ul>
                                <li><a href="{link controller='UserOptionCategoryAdd'}{/link}" class="button"><span class="icon icon16 icon-plus"></span> <span>{lang}wcf.acp.user.option.category.add{/lang}</span></a></li>
-                       
+                               
                                {event name='contentNavigationButtonsBottom'}
                        </ul>
                </nav>
index 61f37a74b78314d7b31cc0b89bbc494a09a161e1..34f7e8f3f3fab1a5923bd46dd6783aa5f741454d 100644 (file)
        </div>
 </form>
 
-
 {include file='footer'}
index 69607320d53997253c3eb4985cebeca2356be372..1258c5aa674b817bd732b80e4af70577c3d077b3 100644 (file)
@@ -61,7 +61,6 @@ WCF.Message.BBCode.CodeViewer = Class.extend({
                        $content += $(listItem).text().replace(/\n+$/, '');
                });
                
-               
                if (this._dialog === null) {
                        this._dialog = $('<div><textarea cols="60" rows="12" readonly="readonly" /></div>').hide().appendTo(document.body);
                        this._dialog.children('textarea').val($content);
index b1455892a9a9c0eb58b6375693e909e73b31205e..12878fbc423062389fd6e2aba46c31dcca3a52ad 100644 (file)
@@ -811,7 +811,6 @@ WCF.User.Profile.Editor = Class.extend({
        }
 });
 
-
 /**
  * Namespace for registration functions.
  */
index 0673e53cb09a73437aef39a9f174fdf04ee705e5..6eeb66397b1c0329b6b24027e495cff4aa8917d1 100755 (executable)
@@ -7244,7 +7244,6 @@ WCF.Popover = Class.extend({
         */
        _popoverContent: null,
        
-       
        /**
         * popover horizontal offset
         * @var integer
index c6ad844622fc93f8eb2b1c82d22b0a736a3456a1..05310b0ee35620e9b71362efedf992d887668450 100755 (executable)
@@ -26,7 +26,7 @@ class LogoutAction extends AbstractSecureAction {
         */
        public function execute() {
                parent::execute();
-
+               
                // do logout
                WCF::getSession()->delete();
                
index cef7eb9e22ac4fa049abc6d97d104da30e391fd3..4c3d87223a0b1a5906a73d8fcaa71978c2420aaf 100644 (file)
@@ -119,7 +119,6 @@ class SmileyAddForm extends AbstractForm {
                I18nHandler::getInstance()->register('smileyTitle');
        }
        
-       
        /**
         * @see wcf\page\IForm::readFormParameters()
         */
index 21df6f407870c5bd96c2fab464ea9cc0d6826a6e..4e52b5fd4a4e8a6e3748afe8324166cb8c36513c 100644 (file)
@@ -210,7 +210,7 @@ class TemplateAddForm extends AbstractForm {
         */
        public function readData() {
                parent::readData();
-       
+               
                $templateGroupList = new TemplateGroupList();
                $templateGroupList->sqlOrderBy = "templateGroupName";
                $templateGroupList->readObjects();
index 2e0386a2a5d504e2211e1c4ef907fe6639df69b2..d3ec87e228c6f92a0fbce628bbaadb9be2176a05 100644 (file)
@@ -84,7 +84,7 @@ class TemplateGroupAddForm extends AbstractForm {
                if (empty($this->templateGroupName)) {
                        throw new UserInputException('templateGroupName');
                }
-       
+               
                $sql = "SELECT  COUNT(*) AS count
                        FROM    wcf".WCF_N."_template_group
                        WHERE   templateGroupName = ?";
@@ -107,7 +107,7 @@ class TemplateGroupAddForm extends AbstractForm {
                if (!preg_match('/^[a-z0-9_\- ]+\/$/i', $this->templateGroupFolderName)) {
                        throw new UserInputException('templateGroupFolderName', 'notValid');
                }
-       
+               
                $sql = "SELECT  COUNT(*) AS count
                        FROM    wcf".WCF_N."_template_group
                        WHERE   templateGroupFolderName = ?";
@@ -147,7 +147,7 @@ class TemplateGroupAddForm extends AbstractForm {
         */
        public function readData() {
                parent::readData();
-       
+               
                $templateGroupList = new TemplateGroupList();
                $templateGroupList->sqlOrderBy = "templateGroupName";
                $templateGroupList->readObjects();
index cbbb8d57c3f3f5dfa2b5bb2293a2315c1c2a7b9b..1ec5c985985517ae91cbfa7ee895908ad39dce39 100644 (file)
@@ -91,12 +91,12 @@ class TemplateGroupEditForm extends TemplateGroupAddForm {
         */
        public function readData() {
                AbstractForm::readData();
-       
+               
                $templateGroupList = new TemplateGroupList();
                $templateGroupList->getConditionBuilder()->add('templateGroupID <> ?', array($this->templateGroupID));
                $templateGroupList->readObjects();
                $this->availableTemplateGroups = $templateGroupList->getObjects();
-       
+               
                // default values
                if (!count($_POST)) {
                        $this->templateGroupName = $this->templateGroup->templateGroupName;
index 5d3feeef0fe8f720bdb992b18b76c5f97ebe7539..370b56fb619549cd79d37dcf4e6ea05b9c35a479 100755 (executable)
@@ -219,20 +219,20 @@ class UserEditForm extends UserAddForm {
                                        'avatarID' => null,
                                        'enableGravatar' => 0
                                );
-                               break;
-               
+                       break;
+                       
                        case 'custom':
                                $avatarData = array(
                                        'enableGravatar' => 0
                                );
-                               break;
-               
+                       break;
+                       
                        case 'gravatar':
                                $avatarData = array(
                                        'avatarID' => null,
                                        'enableGravatar' => 1
                                );
-                               break;
+                       break;
                }
                $avatarData['disableAvatar'] = $this->disableAvatar;
                $avatarData['disableAvatarReason'] = $this->disableAvatarReason;
index 6cf23482c99dbe0e929725483c03ab209f1edc67..dc15dac003e65daa106b6ab5295a4a5dcd756d60 100755 (executable)
@@ -54,7 +54,7 @@ class IndexPage extends AbstractPage {
         */
        public function assignVariables() {
                parent::assignVariables();
-       
+               
                $usersAwaitingApproval = 0;
                if (REGISTER_ACTIVATION_METHOD == 2) {
                        $sql = "SELECT  COUNT(*) AS count
index f7290b6c9afc054ae95275ee261b594edb43c46a..dcf78dfd52e4f217cd537e2cd5a6356cd026e727 100644 (file)
@@ -24,13 +24,13 @@ class PHPInfoPage extends AbstractPage {
         */
        public function assignVariables() {
                parent::assignVariables();
-       
+               
                // get phpinfo() output
                ob_start();
                phpinfo();
                $info = ob_get_contents();
                ob_end_clean();
-       
+               
                // parse output
                $info = preg_replace('%^.*<body>(.*)</body>.*$%s', '$1', $info);
                
index 487a78d60985e5367b386355b6f512fbcc5c51e0..d5ddbc1d7bcf14283faca1659343dd25bee192d6 100644 (file)
@@ -42,7 +42,7 @@ class RebuildDataPage extends AbstractPage {
         */
        public function readData() {
                parent::readData();
-       
+               
                // get object types
                $this->objectTypes = ObjectTypeCache::getInstance()->getObjectTypes('com.woltlab.wcf.rebuildData');
                
index d57a26619ed3ebd288461b60894ff88a846d499b..71971c322eeeb87ba21a20d1af9545d05d9782e7 100644 (file)
@@ -43,7 +43,7 @@ class UserOptionListPage extends SortablePage {
         */
        protected function initObjectList() {
                parent::initObjectList();
-       
+               
                $this->objectList->getConditionBuilder()->add("option_table.categoryName IN (SELECT categoryName FROM wcf".WCF_N."_user_option_category WHERE parentCategoryName = ?)", array('profile'));
        }
 }
index bad60fea1baeb8513c4c39782ff6e86eecb24df4..23c0ac3db9082db154f41fe07f71e092cd4668ed 100644 (file)
@@ -48,7 +48,6 @@ class AJAXInvokeAction extends AbstractSecureAction {
         */
        public $inDebugMode = false;
        
-
        /**
         * results of the executed action
         * @var mixed
index ffea21a3980e35a5de7babf926be2c5a2ce05154..ceb77c7c03c104d72a40cd2342a707e5e02f33e3 100644 (file)
@@ -49,7 +49,7 @@ class LanguageItemAction extends AbstractDatabaseObjectAction {
                if (!WCF::getSession()->getPermission('admin.language.canManageLanguage')) {
                        throw new PermissionDeniedException();
                }
-       
+               
                $this->readObjects();
                if (!count($this->objects)) {
                        throw new UserInputException('objectIDs');
@@ -78,7 +78,7 @@ class LanguageItemAction extends AbstractDatabaseObjectAction {
                if (!WCF::getSession()->getPermission('admin.language.canManageLanguage')) {
                        throw new PermissionDeniedException();
                }
-       
+               
                $this->readObjects();
                if (!count($this->objects)) {
                        throw new UserInputException('objectIDs');
index 6b57c47ba1421293bb87cdb5062116442d1a915a..f02bbac936ffeb8b7209386793f7aaf6e33a9113 100644 (file)
@@ -143,7 +143,7 @@ class Option extends DatabaseObject {
                                        $key++;
                                        $value = $option;
                                }
-                       
+                               
                                $result[$key] = $value;
                        }
                }
index 4c6e7b0b11198ca30322c0639b8317831e2093ff..589391b4be24bfb1c5ed4eb09794525fa44d2e81 100644 (file)
@@ -306,7 +306,7 @@ class UserGroup extends DatabaseObject {
                if ($this->groupOptions === null) {
                        // get all options and filter options with low priority
                        $this->groupOptions = $groupOptionIDs = array();
-
+                       
                        $sql = "SELECT          optionName, optionID
                                FROM            wcf".WCF_N."_user_group_option";
                        $statement = WCF::getDB()->prepareStatement($sql);
index 36f22b1a2c8c02cf6a9744e47f97dd6dc54593c5..202bf1ba979e27443b79f7c3270692c2d8c586f1 100644 (file)
@@ -39,7 +39,6 @@ class UserOptionAction extends AbstractDatabaseObjectAction implements IToggleAc
         */
        protected $requireACP = array('create', 'delete', 'toggle', 'update');
        
-       
        /**
         * @see wcf\data\IToggleAction::toggle()
         */
index 434ac710c8ed776c987e538d235ca0a8c467bb1e..249d4531c183c68b4252450b1e6252300477b455 100644 (file)
@@ -122,7 +122,6 @@ class RegisterNewActivationCodeForm extends AbstractForm {
                }
        }
        
-       
        /**
         * @see wcf\form\IForm::save()
         */
index d32dec08f8c37f37189aa387a92416daf27902ef..9962b9597bdf3ba905fa4f85a7cca02e1a80306c 100644 (file)
@@ -80,7 +80,7 @@ class SignatureEditForm extends MessageForm {
         */
        public function readParameters() {
                parent::readParameters();
-       
+               
                // get max text length
                $this->maxTextLength = WCF::getSession()->getPermission('user.signature.maxLength');
        }
index 1bcf9d085b5b82b3c41df25bff072348c5ae9533..7375f825b6825d58439d497dbea6267b48adb7b8 100644 (file)
@@ -36,7 +36,7 @@ class DeletedContentListPage extends MultipleLinkPage {
         */
        public function readParameters() {
                parent::readParameters();
-       
+               
                // get object type
                if (isset($_REQUEST['objectType'])) {
                        $this->objectType = ObjectTypeCache::getInstance()->getObjectTypeByName('com.woltlab.wcf.deletedContent', $_REQUEST['objectType']);
index 963979690ca640714840fc5c798cbc9e7150b18d..168916cd352695709d087dc6c27b28c31feb7621 100644 (file)
@@ -80,7 +80,7 @@ class TaggedPage extends MultipleLinkPage {
         */
        public function readData() {
                parent::readData();
-       
+               
                $this->tagCloud = new TypedTagCloud($this->objectType->objectType);
        }
        
index 35ed7fc37e31c0df16698a4c8af430dcb9fcb6c9..0d585d76b1c5548704d6b1f96581fb0090da43dc 100644 (file)
@@ -699,7 +699,6 @@ class WCFSetup extends WCF {
                WCF::getTPL()->display('stepConfigureDB');
        }
        
-       
        /**
         * Checks if in the chosen database are tables in conflict with the wcf tables
         * which will be created in the next step.
index 09589907c22ba17118dc8d4e6fa09b3b7b3ba2c3..87ce96964a1524c52fa36db663fe2436041b64fa 100644 (file)
@@ -90,7 +90,7 @@ class PostgreSQLDatabase extends Database {
                
                // double quote identifiers (column & table names ...)
                $query = preg_replace('~(?<=^|\s|\.|\(|,)([A-Za-z0-9_-]*[a-z]{1}[A-Za-z0-9_-]*)(?=$|\s|\.|\)|,|=)~', '"\\1"', $query);
-
+               
                // rename LIKE to ILIKE for case-insensitive comparisons
                $query = preg_replace('/(?<=\s)LIKE(?=\s)/si', 'ILIKE', $query);
                
index 81b97b1bf575c51ea83b7e68698cd6a17c0272e7..bcc086c0dfaaf0209a36391de56b5db107a195e8 100644 (file)
@@ -118,7 +118,7 @@ class ImportHandler extends SingletonFactory implements IAJAXInvokeAction {
        
        /**
         * Saves an id mapping.
-        *
+        * 
         * @param       string          $type
         * @param       integer         $oldID
         * @param       integer         $newID
index 3fe265b8e6dac5cecdf00f718790356f07eaca96..66398add200dc36a4927e147f7703099e38e248e 100644 (file)
@@ -120,7 +120,7 @@ class MessageQuoteManager extends SingletonFactory {
                        $this->quoteData[$quoteID] = $message;
                        
                        // save parent object id
-               
+                       
                        if (!isset($this->quoteData['parents'])) {
                                $this->quoteData['parents'] = array();
                        }
index 5b8bca90be7f9f925b3ca66e370be4479e48c818..e0a59a7b9184c78de3a55cda7723fb70749f6dca 100644 (file)
@@ -1111,7 +1111,7 @@ class PackageInstallationDispatcher {
                                continue;
                        }
                        $baseTableColumns = WCF::getDB()->getEditor()->getColumns(call_user_func(array($objectType->className, 'getDatabaseTableName')));
-
+                       
                        // remove primary key from base table columns
                        foreach ($baseTableColumns as $key => $column) {
                                if ($column['data']['key'] == 'PRIMARY') {
@@ -1130,7 +1130,7 @@ class PackageInstallationDispatcher {
                        if (empty($versionTableColumns)) {
                                $columns = array_merge($versionTableBaseColumns, $baseTableColumns);
                                WCF::getDB()->getEditor()->createTable(call_user_func(array($objectType->className, 'getDatabaseVersionTableName')), $columns);
-
+                               
                                // add version table to plugin
                                $sql = "INSERT INTO     wcf".WCF_N."_package_installation_sql_log
                                                        (packageID, sqlTable)
@@ -1152,7 +1152,7 @@ class PackageInstallationDispatcher {
                                foreach ($versionTableBaseColumns as $column) {
                                        $versionTableBaseColumnNames[] = $column['name'];
                                }
-
+                               
                                // check garbage columns in versioned table
                                foreach ($versionTableColumns as $columnData) {
                                        if (!in_array($columnData['name'], $baseTableColumnNames) && !in_array($columnData['name'], $versionTableBaseColumnNames)) {
index a97ba2a74577a1071f17d9edfc6eccdc8b9be57b..4272a4830a3fce1350145c70b4835ad60c324ee8 100644 (file)
@@ -46,7 +46,6 @@ class PackageInstallationSQLParser extends SQLParser {
         */
        protected $knownTables = array();
        
-       
        /**
         * list of conflicted database tables
         * @var array
index 34a6bfb4df783525b4cdcad42e7745218c1ace54..1c121528d89c38bfc97488ec53cb8ad853fd8eba 100644 (file)
@@ -24,13 +24,13 @@ class TemplatesFileHandler extends ACPTemplatesFileHandler {
         */
        public function logFiles(array $files) {
                $packageID = $this->packageInstallation->getPackageID();
-       
+               
                // remove file extension
                foreach ($files as &$file) {
                        $file = substr($file, 0, -4);
                }
                unset($file);
-       
+               
                // get existing templates
                $existingTemplates = $updateTemplateIDs = array();
                $sql = "SELECT  templateName, templateID
@@ -43,7 +43,7 @@ class TemplatesFileHandler extends ACPTemplatesFileHandler {
                while ($row = $statement->fetchArray()) {
                        $existingTemplates[$row['templateName']] = $row['templateID'];
                }
-       
+               
                // save new templates
                $sql = "INSERT INTO     wcf".WCF_N."_template
                                        (packageID, templateName, lastModificationTime, application)
index a8b75b96ff59ca5ab432ca8bc6715693f868eb94..17b0144173b77bd773e2a7937a9f24155e1d8efb 100644 (file)
@@ -48,7 +48,7 @@ class ACLOptionPackageInstallationPlugin extends AbstractOptionPackageInstallati
                        foreach ($children as $child) {
                                $data[$child->tagName] = $child->nodeValue;
                        }
-
+                       
                        $this->saveCategory($data);
                }
        }
@@ -193,7 +193,7 @@ class ACLOptionPackageInstallationPlugin extends AbstractOptionPackageInstallati
                        if (!$row) {
                                throw new SystemException("unknown object type '".$optionType."' given");
                        }
-
+                       
                        $this->optionTypeIDs[$optionType] = $row['objectTypeID'];
                }
                
index ce76065979e5f178c5a7f8190c23282a4ca011a1..cd3309215569e83a6480be5f39c5253af5a66fff 100644 (file)
@@ -273,11 +273,11 @@ class RouteHandler extends SingletonFactory {
                                        if (isset($_SERVER['SCRIPT_NAME']) && (self::$pathInfo == $_SERVER['SCRIPT_NAME'])) {
                                                self::$pathInfo = '';
                                        }
-                       
+                                       
                                        if (isset($_SERVER['PHP_SELF']) && (self::$pathInfo == $_SERVER['PHP_SELF'])) {
                                                self::$pathInfo = '';
                                        }
-                       
+                                       
                                        if (isset($_SERVER['SCRIPT_URL']) && (self::$pathInfo == $_SERVER['SCRIPT_URL'])) {
                                                self::$pathInfo = '';
                                        }
index 9d712ae1513253f5ac30c6b873ee0024d7531f4c..e9ff7afcfd9e46dc19469c62105da6b8eb8b96a3 100644 (file)
@@ -35,7 +35,7 @@ class TableWordwrapModifierTemplatePlugin implements IModifierTemplatePlugin {
                        $length = mb_strlen($substring);
                        if ($length > $width) {
                                $j = ceil($length / $width);
-               
+                               
                                for ($i = 0; $i < $j; $i++) {
                                        if ($i) $result .= $break;
                                        if ($width * ($i + 1) > $length) $result .= mb_substr($substring, $width * $i);
index a5c9da8596ebba19dc5f3537d993d14292c80ddd..cd96bc72433e4bcc91f89a2a41ff9d4a66880396 100644 (file)
@@ -48,7 +48,7 @@
                position: absolute;
                top: 27px;
                width: 16px;
-
+               
                &:after,
                &:before {
                        content: "";
index 3a3809223041e01cf5cce0e7acf7965390512453..d1a9f34d5cbc66602b2611f111fc40a7dc3df44e 100644 (file)
@@ -437,7 +437,7 @@ textarea {
        li {
                padding: @wcfGapTiny @wcfGapSmall;
                text-align: right;
-
+               
                &:hover {
                        background-color: @wcfButtonHoverBackgroundColor;
                }
index b8b62c4c878209afe9561ac1f2bfc521ca63bc1e..dcef2b9cc2354ce4a71907985f2dfb876071c88b 100644 (file)
@@ -59,7 +59,6 @@
        outline: none;
 }
 
-
 #lbCenter, #lbBottomContainer {
        background-color: #fff;
        overflow: hidden;
index 0bf4d8c2c4d38c7d0c49c7017eec277e2f42235d..0de5fe7a26fb48e7e002f28fe4dc96afc4df4cc7 100644 (file)
                                }
                        }
                }
-       
+               
                > .searchBar {
                        background-color: @wcfUserPanelHoverBackgroundColor;
                        position: absolute;
                                        }
                                }
                        }
-               
+                       
                        > .searchBar {
                                height: 41px;
                                min-width: 40px;
                
                > div {
                        display: block;
-               
+                       
                        > div {
                                display: block;
-                       
+                               
                                > .sidebar,
                                > .content {
                                        display: block;
 .containerList {
        > li {
                padding: @wcfGapMedium @wcfGapLarge;
-       
+               
                .transition(background-color, .1s);
-       
+               
                &:nth-child(even) {
                        background-color: @wcfContainerAccentBackgroundColor;
                }
 .tabularBoxTitle > header {
        color: @wcfTabularBoxColor;
        padding: 5px 7px;
-
+       
        > h2 {
                font-size: @wcfTitleFontSize;
                font-weight: bold;
                
                .textShadow(@wcfTabularBoxBackgroundColor);
-
+               
                > a {
                        color: @wcfTabularBoxColor;