Fixes code formatting
authorMatthias Schmidt <gravatronics@live.com>
Sun, 13 Oct 2013 17:07:12 +0000 (19:07 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 13 Oct 2013 17:07:12 +0000 (19:07 +0200)
122 files changed:
wcfsetup/install.php
wcfsetup/install/files/acp/global.php
wcfsetup/install/files/acp/templates/packageInstallationSetup.tpl
wcfsetup/install/files/js/WCF.Like.js
wcfsetup/install/files/js/WCF.User.js
wcfsetup/install/files/js/WCF.js
wcfsetup/install/files/lib/acp/action/UninstallPackageAction.class.php
wcfsetup/install/files/lib/acp/form/AbstractCategoryAddForm.class.php
wcfsetup/install/files/lib/acp/form/AbstractCategoryEditForm.class.php
wcfsetup/install/files/lib/acp/form/LanguageEditForm.class.php
wcfsetup/install/files/lib/acp/form/TemplateAddForm.class.php
wcfsetup/install/files/lib/acp/form/TemplateEditForm.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/UserAddForm.class.php
wcfsetup/install/files/lib/acp/form/UserEditForm.class.php
wcfsetup/install/files/lib/acp/form/UserOptionAddForm.class.php
wcfsetup/install/files/lib/acp/form/UserOptionCategoryAddForm.class.php
wcfsetup/install/files/lib/acp/form/UserOptionSetDefaultsForm.class.php
wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php
wcfsetup/install/files/lib/acp/page/AbstractCategoryListPage.class.php
wcfsetup/install/files/lib/acp/page/LanguageItemListPage.class.php
wcfsetup/install/files/lib/acp/page/PHPInfoPage.class.php
wcfsetup/install/files/lib/acp/page/TemplateListPage.class.php
wcfsetup/install/files/lib/action/AJAXInvokeAction.class.php
wcfsetup/install/files/lib/action/AJAXProxyAction.class.php
wcfsetup/install/files/lib/action/AJAXUploadAction.class.php
wcfsetup/install/files/lib/action/AbstractAjaxAction.class.php
wcfsetup/install/files/lib/action/ClipboardProxyAction.class.php
wcfsetup/install/files/lib/data/DatabaseObject.class.php
wcfsetup/install/files/lib/data/DatabaseObjectList.class.php
wcfsetup/install/files/lib/data/acl/option/category/ACLOptionCategoryEditor.class.php
wcfsetup/install/files/lib/data/attachment/Attachment.class.php
wcfsetup/install/files/lib/data/attachment/AttachmentAction.class.php
wcfsetup/install/files/lib/data/category/CategoryNode.class.php
wcfsetup/install/files/lib/data/language/LanguageEditor.class.php
wcfsetup/install/files/lib/data/language/item/LanguageItemAction.class.php
wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueAction.class.php
wcfsetup/install/files/lib/data/smiley/category/SmileyCategoryAction.class.php
wcfsetup/install/files/lib/data/template/Template.class.php
wcfsetup/install/files/lib/data/template/TemplateAction.class.php
wcfsetup/install/files/lib/data/template/TemplateEditor.class.php
wcfsetup/install/files/lib/data/user/TeamList.class.php
wcfsetup/install/files/lib/data/user/UserAction.class.php
wcfsetup/install/files/lib/data/user/avatar/Gravatar.class.php
wcfsetup/install/files/lib/data/user/group/Team.class.php
wcfsetup/install/files/lib/data/user/ignore/ViewableUserIgnoreList.class.php
wcfsetup/install/files/lib/form/LoginForm.class.php
wcfsetup/install/files/lib/form/RegisterForm.class.php
wcfsetup/install/files/lib/form/UserSearchForm.class.php
wcfsetup/install/files/lib/page/DeletedContentListPage.class.php
wcfsetup/install/files/lib/page/TaggedPage.class.php
wcfsetup/install/files/lib/system/Regex.class.php
wcfsetup/install/files/lib/system/bbcode/AttachmentBBCode.class.php
wcfsetup/install/files/lib/system/bbcode/highlighter/PhpHighlighter.class.php
wcfsetup/install/files/lib/system/cache/builder/CategoryACLOptionCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/LanguageCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/OptionCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/UserGroupPermissionCacheBuilder.class.php
wcfsetup/install/files/lib/system/category/CategoryPermissionHandler.class.php
wcfsetup/install/files/lib/system/category/ICategoryType.class.php
wcfsetup/install/files/lib/system/dashboard/box/MostActiveMembersDashboardBox.class.php
wcfsetup/install/files/lib/system/dashboard/box/MostLikedMembersDashboardBox.class.php
wcfsetup/install/files/lib/system/dashboard/box/NewestMembersDashboardBox.class.php
wcfsetup/install/files/lib/system/dashboard/box/StatsSidebarDashboardBox.class.php
wcfsetup/install/files/lib/system/database/Database.class.php
wcfsetup/install/files/lib/system/database/DatabaseException.class.php
wcfsetup/install/files/lib/system/database/PostgreSQLDatabase.class.php
wcfsetup/install/files/lib/system/exporter/AbstractExporter.class.php
wcfsetup/install/files/lib/system/exporter/IExporter.class.php
wcfsetup/install/files/lib/system/importer/AbstractACLImporter.class.php
wcfsetup/install/files/lib/system/importer/AbstractAttachmentImporter.class.php
wcfsetup/install/files/lib/system/importer/AbstractCategoryImporter.class.php
wcfsetup/install/files/lib/system/importer/AbstractCommentImporter.class.php
wcfsetup/install/files/lib/system/importer/AbstractCommentResponseImporter.class.php
wcfsetup/install/files/lib/system/importer/AbstractImporter.class.php
wcfsetup/install/files/lib/system/importer/AbstractLikeImporter.class.php
wcfsetup/install/files/lib/system/importer/AbstractPollImporter.class.php
wcfsetup/install/files/lib/system/importer/AbstractPollOptionImporter.class.php
wcfsetup/install/files/lib/system/importer/AbstractPollOptionVoteImporter.class.php
wcfsetup/install/files/lib/system/importer/AbstractWatchedObjectImporter.class.php
wcfsetup/install/files/lib/system/importer/IImporter.class.php
wcfsetup/install/files/lib/system/importer/ImportHandler.class.php
wcfsetup/install/files/lib/system/importer/LabelGroupImporter.class.php
wcfsetup/install/files/lib/system/importer/LabelImporter.class.php
wcfsetup/install/files/lib/system/importer/SmileyImporter.class.php
wcfsetup/install/files/lib/system/importer/UserAvatarImporter.class.php
wcfsetup/install/files/lib/system/importer/UserCommentImporter.class.php
wcfsetup/install/files/lib/system/importer/UserCommentResponseImporter.class.php
wcfsetup/install/files/lib/system/importer/UserFollowerImporter.class.php
wcfsetup/install/files/lib/system/importer/UserGroupImporter.class.php
wcfsetup/install/files/lib/system/importer/UserOptionImporter.class.php
wcfsetup/install/files/lib/system/importer/UserRankImporter.class.php
wcfsetup/install/files/lib/system/io/GZipFile.class.php
wcfsetup/install/files/lib/system/language/LanguageServerProcessor.class.php
wcfsetup/install/files/lib/system/like/LikeHandler.class.php
wcfsetup/install/files/lib/system/mail/Mail.class.php
wcfsetup/install/files/lib/system/menu/page/PageMenu.class.php
wcfsetup/install/files/lib/system/moderation/IDeletedContentProvider.class.php
wcfsetup/install/files/lib/system/moderation/queue/ModerationQueueManager.class.php
wcfsetup/install/files/lib/system/option/PasswordOptionType.class.php
wcfsetup/install/files/lib/system/option/URLOptionType.class.php
wcfsetup/install/files/lib/system/package/PackageArchive.class.php
wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/session/SessionHandler.class.php
wcfsetup/install/files/lib/system/template/SetupTemplateEngine.class.php
wcfsetup/install/files/lib/system/template/plugin/IModifierTemplatePlugin.class.php
wcfsetup/install/files/lib/system/template/plugin/IPrefilterTemplatePlugin.class.php
wcfsetup/install/files/lib/system/template/plugin/LangPrefilterTemplatePlugin.class.php
wcfsetup/install/files/lib/system/user/notification/object/type/AbstractUserNotificationObjectType.class.php
wcfsetup/install/files/lib/system/worker/AbstractRebuildDataWorker.class.php
wcfsetup/install/files/lib/system/worker/ImportWorker.class.php
wcfsetup/install/files/lib/util/FileUtil.class.php
wcfsetup/install/files/lib/util/ImageUtil.class.php
wcfsetup/install/files/lib/util/MessageUtil.class.php
wcfsetup/install/files/lib/util/StringUtil.class.php
wcfsetup/install/files/options.inc.php
wcfsetup/install/files/style/global.less
wcfsetup/install/files/style/layout.less
wcfsetup/install/files/style/message.less
wcfsetup/setup/template/stepSearchWcfDir.tpl

index 548e04ba18dc1953a25c8008b4488f8851ab5d9c..623cad1de419cde1576a722134033f85ecfbad74 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /**
  * This script tries to find the temp folder and unzip all setup files into.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -252,7 +252,7 @@ class BasicFileUtil {
                                return $_SERVER['DOCUMENT_ROOT'].'/tmp/';
                        }
                }
-       
+               
                if (isset($_ENV['TMP']) && @is_writable($_ENV['TMP'])) {
                        return $_ENV['TMP'] . '/';
                }
@@ -262,7 +262,7 @@ class BasicFileUtil {
                if (isset($_ENV['TMPDIR']) && @is_writable($_ENV['TMPDIR'])) {
                        return $_ENV['TMPDIR'] . '/';
                }
-       
+               
                if (($path = ini_get('upload_tmp_dir')) && @is_writable($path)) {
                        return $path . '/';
                }
index a0efec2d400c5076b98381e065c5b7ceb4f40016..2f4f8a7630a46e7a403020e01fad8e4483cbc35c 100644 (file)
@@ -7,7 +7,7 @@
  * @category   Community Framework
  */
 // Constant to get relative path to the wcf-root-dir.
-// This constant is already set in each package which got an own config.inc.php 
+// This constant is already set in each package which got an own config.inc.php
 if (!defined('RELATIVE_WCF_DIR')) define('RELATIVE_WCF_DIR', '../');
 
 // define the wcf-root-dir
index b1573eeef5c0f29c0da5f999af8faa2490f74e58..2810ecb28548b9e6c7c10daa0ef431fe541bf183 100644 (file)
@@ -4,7 +4,7 @@
        //<![CDATA[
        $(function() {
                WCF.Language.add('wcf.acp.package.install.title', '{lang}wcf.acp.package.install.title{/lang}');
-
+               
                var $installation = new WCF.ACP.Package.Installation({@$queueID});
                $installation.prepareInstallation();
        });
index 11d711a0e74567950426d0b41a1a8d0b5c06ce46..39ea45a772b7c7a1c6c634c4d92aa0bb789cf9de 100644 (file)
@@ -13,7 +13,7 @@ WCF.Like = Class.extend({
        _allowForOwnContent: false,
        
        /**
-        * user can like 
+        * user can like
         * @var boolean
         */
        _canLike: false,
index a1415f247c48d667cd062c7119e8f30f8db5ffbf..b1455892a9a9c0eb58b6375693e909e73b31205e 100644 (file)
@@ -285,7 +285,7 @@ WCF.User.Profile.ActivityPointList = {
 
 /**
  * Provides methods to follow an user.
- *
+ * 
  * @param      integer         userID
  * @param      boolean         following
  */
@@ -1020,7 +1020,7 @@ WCF.User.Registration.Validation = Class.extend({
 
 /**
  * Username validation for registration.
- *
+ * 
  * @see        WCF.User.Registration.Validation
  */
 WCF.User.Registration.Validation.Username = WCF.User.Registration.Validation.extend({
index 1e647fa0dce379d822308e1ae8cbde807ffabd1b..0b70177c8318cbc5c0f4cb7a27fd47e2708347c9 100755 (executable)
@@ -201,7 +201,7 @@ $.extend(true, {
                                $length++;
                        }
                }
-
+               
                return $length;
        }
 });
@@ -756,7 +756,7 @@ WCF.Dropdown = {
                        
                        var $verticalScrollTolerance = $(element).height() / 2;
                        
-                       // check if dropdown toggle is still (partially) visible 
+                       // check if dropdown toggle is still (partially) visible
                        if ($dropdownOffset.top + $verticalScrollTolerance <= $dialogContentOffset.top) {
                                // top check
                                WCF.Dropdown.toggleDropdown($dropdownID);
@@ -9176,18 +9176,18 @@ $.widget('ui.wcfTabs', $.ui.tabs, {
         */
        _processTabs: function() {
                var that = this;
-
+               
                this.tablist = this._getList()
                        .addClass( "ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" )
                        .attr( "role", "tablist" );
-
+               
                this.tabs = this.tablist.find( "> li:has(a[href])" )
                        .addClass( "ui-state-default ui-corner-top" )
                        .attr({
                                role: "tab",
                                tabIndex: -1
                        });
-
+               
                this.anchors = this.tabs.map(function() {
                                return $( "a", this )[ 0 ];
                        })
@@ -9196,15 +9196,15 @@ $.widget('ui.wcfTabs', $.ui.tabs, {
                                role: "presentation",
                                tabIndex: -1
                        });
-
+               
                this.panels = $();
-
+               
                this.anchors.each(function( i, anchor ) {
                        var selector, panel,
                                anchorId = $( anchor ).uniqueId().attr( "id" ),
                                tab = $( anchor ).closest( "li" ),
                                originalAriaControls = tab.attr( "aria-controls" );
-
+                       
                        // inline tab
                        selector = anchor.hash;
                        panel = that.element.find( that._sanitizeSelector( selector ) );
@@ -9221,7 +9221,7 @@ $.widget('ui.wcfTabs', $.ui.tabs, {
                        });
                        panel.attr( "aria-labelledby", anchorId );
                });
-
+               
                this.panels
                        .addClass( "ui-tabs-panel ui-widget-content ui-corner-bottom" )
                        .attr( "role", "tabpanel" );
index 9f340c8ef6e64ac14396d09f8c54fa2c27452ca4..937c00723ea7fb1456cfe39285c8eeabd26ef9c2 100644 (file)
@@ -188,7 +188,7 @@ class UninstallPackageAction extends InstallPackageAction {
                        $installationType = $this->installation->nodeBuilder->getInstallationTypeByQueue($queueID);
                        $currentAction = WCF::getLanguage()->getDynamicVariable('wcf.acp.package.uninstallation.step.'.$installationType, array('packageName' => $packageName));
                }
-       
+               
                return $currentAction;
        }
 }
index 23adf41c042f7581236f609ab27170514eff2cc8..e104260cb9cdd298e55340fdd96ca0267c4061ac 100644 (file)
@@ -17,7 +17,7 @@ use wcf\util\StringUtil;
 
 /**
  * Abstract implementation of a form to create categories.
- *
+ * 
  * @author     Matthias Schmidt
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index c7d0649ee691e391eb12c13f628b93e8195627e5..86e8a5a8b902a68c74452a68058b277d5515b8c0 100644 (file)
@@ -15,7 +15,7 @@ use wcf\system\WCF;
 
 /**
  * Abstract implementation of a form to edit a category.
- *
+ * 
  * @author     Matthias Schmidt
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index ee2f7f3420296d82dae2f2a75b92e8e1831cb3c1..b419d8617c12a85c7c3cda6064c8a45f70748829 100644 (file)
@@ -76,7 +76,7 @@ class LanguageEditForm extends LanguageAddForm {
         */
        public function readData() {
                parent::readData();
-       
+               
                if (!count($_POST)) {
                        $this->countryCode = $this->language->countryCode;
                        $this->languageName = $this->language->languageName;
index 785b9105aa13d6815994e39c66f5fb4e19e55460..21df6f407870c5bd96c2fab464ea9cc0d6826a6e 100644 (file)
@@ -15,7 +15,7 @@ use wcf\util\StringUtil;
 
 /**
  * Shows the form for adding new templates.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -87,7 +87,7 @@ class TemplateAddForm extends AbstractForm {
         */
        public function readParameters() {
                parent::readParameters();
-       
+               
                if (!empty($_REQUEST['copy'])) {
                        $this->copy = intval($_REQUEST['copy']);
                        $this->copiedTemplate = new Template($this->copy);
@@ -140,7 +140,7 @@ class TemplateAddForm extends AbstractForm {
                if (empty($this->tplName)) {
                        throw new UserInputException('tplName');
                }
-       
+               
                if (!preg_match('/^[a-z0-9_\-]+$/i', $this->tplName)) {
                        throw new UserInputException('tplName', 'notValid');
                }
index 299f11e1196e76919b678c444297a082fd7b79c0..24ab0e13fadc510f7d8ac9903433e119f175d9da 100644 (file)
@@ -13,7 +13,7 @@ use wcf\util\StringUtil;
 
 /**
  * Shows the form for adding new templates.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -44,7 +44,7 @@ class TemplateEditForm extends TemplateAddForm {
         */
        public function readParameters() {
                parent::readParameters();
-       
+               
                if (isset($_REQUEST['id'])) $this->templateID = intval($_REQUEST['id']);
                $this->template = new Template($this->templateID);
                if (!$this->template->templateID || !$this->template->templateGroupID) {
@@ -96,7 +96,7 @@ class TemplateEditForm extends TemplateAddForm {
         */
        public function readData() {
                parent::readData();
-       
+               
                if (!count($_POST)) {
                        $this->tplName = $this->template->templateName;
                        $this->templateSource = $this->template->getSource();
index 91376280606316955e847a8559617c60558809fc..2e0386a2a5d504e2211e1c4ef907fe6639df69b2 100644 (file)
@@ -10,7 +10,7 @@ use wcf\util\StringUtil;
 
 /**
  * Shows the form for adding new template groups.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index ceecc01431134a0da534718c4a46ecdb4ae8a64d..cbbb8d57c3f3f5dfa2b5bb2293a2315c1c2a7b9b 100644 (file)
@@ -9,7 +9,7 @@ use wcf\system\WCF;
 
 /**
  * Shows the form for editing template groups.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -40,7 +40,7 @@ class TemplateGroupEditForm extends TemplateGroupAddForm {
         */
        public function readParameters() {
                parent::readParameters();
-       
+               
                if (isset($_REQUEST['id'])) $this->templateGroupID = intval($_REQUEST['id']);
                $this->templateGroup = new TemplateGroup($this->templateGroupID);
                if (!$this->templateGroup->templateGroupID) {
index 66dd96ed1f68d189af69e2a1a17a2be8f8a56f8a..a2fbfee141733a2691fc7083d3f7e5a4055cbe76 100644 (file)
@@ -160,7 +160,7 @@ class UserAddForm extends UserOptionListForm {
         * @see wcf\form\IForm::validate()
         */
        public function validate() {
-               // validate static user options 
+               // validate static user options
                try {
                        $this->validateUsername($this->username);
                }
index f1b4ce2834ab15edb23b567cef12f16f77d26158..5d3feeef0fe8f720bdb992b18b76c5f97ebe7539 100755 (executable)
@@ -337,7 +337,7 @@ class UserEditForm extends UserAddForm {
         */
        protected function validateAvatar() {
                if ($this->avatarType != 'custom' && $this->avatarType != 'gravatar') $this->avatarType = 'none';
-       
+               
                try {
                        switch ($this->avatarType) {
                                case 'custom':
@@ -345,13 +345,13 @@ class UserEditForm extends UserAddForm {
                                                throw new UserInputException('customAvatar');
                                        }
                                        break;
-                                               
+                                       
                                case 'gravatar':
                                        if (!MODULE_GRAVATAR) {
                                                $this->avatarType = 'none';
                                                break;
                                        }
-                                               
+                                       
                                        // test gravatar
                                        if (!Gravatar::test($this->user->email)) {
                                                throw new UserInputException('gravatar', 'notFound');
index 40fd8b5988f25303c8dc8167cb900a7c48e690dc..eea2f8f31443bab974d757fcd835139e2ef3f4b0 100644 (file)
@@ -79,7 +79,7 @@ class UserOptionAddForm extends AbstractForm {
        public $required = 0;
        
        /**
-        * shows this field in the registration process 
+        * shows this field in the registration process
         * @var boolean
         */
        public $askDuringRegistration = 0;
index f8ae8017d0b3a70f9a0069222bfaae3d492e1d0a..5354c3fec0aca4e332bf6cd00ab34b9941caf36c 100644 (file)
@@ -9,7 +9,7 @@ use wcf\system\WCF;
 
 /**
  * Shows the form for adding new user option categories.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -45,7 +45,7 @@ class UserOptionCategoryAddForm extends AbstractForm {
         */
        public function readParameters() {
                parent::readParameters();
-       
+               
                I18nHandler::getInstance()->register('categoryName');
        }
        
index 75dc6093833685047346732435f81deee595476c..f0bec55581ee686dd1d21fac0c9285e7f0ed4bad 100644 (file)
@@ -7,7 +7,7 @@ use wcf\system\WCF;
 
 /**
  * Provides functions to set the default values of user options.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index c1dbefb36db97b019b57952fdd4046df7c2f28a9..a5116f36b843bfc84efe3b3a47654ce412722905 100755 (executable)
@@ -34,7 +34,7 @@ class UserSearchForm extends UserOptionListForm {
        public $neededPermissions = array('admin.user.canSearchUser');
        
        /**
-        * username 
+        * username
         * @var string
         */
        public $username = '';
@@ -71,7 +71,7 @@ class UserSearchForm extends UserOptionListForm {
        
        /**
         * registration start date
-        * @var string
+        * @var string
         */
        public $registrationDateStart = '';
        
@@ -321,7 +321,7 @@ class UserSearchForm extends UserOptionListForm {
                $this->matches = array();
                $sql = "SELECT          user_table.userID
                        FROM            wcf".WCF_N."_user user_table
-                       LEFT JOIN       wcf".WCF_N."_user_option_value option_value 
+                       LEFT JOIN       wcf".WCF_N."_user_option_value option_value
                        ON              (option_value.userID = user_table.userID)";
                
                // build search condition
index 39839fba955c0a5bb7ee259c697cccb79733486b..b630e5fa5753268358c20e97d2f2942662bfd43b 100644 (file)
@@ -12,7 +12,7 @@ use wcf\util\StringUtil;
 /**
  * Abstract implementation of a page with lists all categories of a certain object
  * type.
- *
+ * 
  * @author     Matthias Schmidt
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 790ab75e3090af9953c22732fc047fd2e4e42013..d94e704bbc52301ae7cd64894a52b0b8b4e33092 100644 (file)
@@ -9,7 +9,7 @@ use wcf\util\StringUtil;
 
 /**
  * Shows a list of language items.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -81,7 +81,7 @@ class LanguageItemListPage extends AbstractPage {
         */
        public function readParameters() {
                parent::readParameters();
-       
+               
                if (isset($_REQUEST['id'])) $this->languageID = intval($_REQUEST['id']);
                if (isset($_REQUEST['languageCategoryID'])) $this->languageCategoryID = intval($_REQUEST['languageCategoryID']);
                if (isset($_REQUEST['languageItem'])) $this->languageItem = StringUtil::trim($_REQUEST['languageItem']);
@@ -98,7 +98,7 @@ class LanguageItemListPage extends AbstractPage {
                // get languages
                $this->availableLanguages = LanguageFactory::getInstance()->getLanguages();
                
-               // get categories               
+               // get categories
                $languageCategoryList = new LanguageCategoryList();
                $languageCategoryList->readObjects();
                $this->availableLanguageCategories = $languageCategoryList->getObjects();
@@ -127,7 +127,7 @@ class LanguageItemListPage extends AbstractPage {
         */
        public function assignVariables() {
                parent::assignVariables();
-       
+               
                WCF::getTPL()->assign(array(
                        'objects' => $this->languageItemList,
                        'languageID' => $this->languageID,
index 81ab1e37df1f361f123dc2c49fc2a3ecf655f805..f7290b6c9afc054ae95275ee261b594edb43c46a 100644 (file)
@@ -5,7 +5,7 @@ use wcf\system\WCF;
 
 /**
  * Shows phpinfo() output.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 74dfd741f8331a9b1bcbfdd9a28697d8a38e48ea..91742a97d45fd47cca6464bee79ed8d8667a0be9 100644 (file)
@@ -9,7 +9,7 @@ use wcf\util\StringUtil;
 
 /**
  * Shows a list of templates.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -136,7 +136,7 @@ class TemplateListPage extends SortablePage {
         */
        public function assignVariables() {
                parent::assignVariables();
-       
+               
                WCF::getTPL()->assign(array(
                        'templateGroupID' => $this->templateGroupID,
                        'searchTemplateName' => $this->searchTemplateName,
index cc8d364fb6633238463938e9df303217f0c150b7..08c4f4b4bbab70fac9abefe9140796e127f572a1 100644 (file)
@@ -158,7 +158,7 @@ class AJAXInvokeAction extends AbstractSecureAction {
                if ($this->inDebugMode) {
                        throw $e;
                }
-       
+               
                if ($e instanceof IllegalLinkException) {
                        throw new AJAXException(WCF::getLanguage()->get('wcf.ajax.error.sessionExpired'), AJAXException::SESSION_EXPIRED, $e->getTraceAsString());
                }
index de4c4f1f9f19f21103cfd31c076763c856b74865..4fd72f6dcd8c29ce1d844540dc21f4741d93e360 100644 (file)
@@ -8,7 +8,7 @@ use wcf\util\StringUtil;
 
 /**
  * Default implementation for object-actions using the AJAX-API.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 7b5b8e2dbf5dbd0c83c27f32118dd961fc572162..ce9ef803129ca7580d5976dda3171ad7715c78e5 100644 (file)
@@ -5,7 +5,7 @@ use wcf\util\JSON;
 
 /**
  * Default implementation for file uploads using the AJAX-API.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 44dc4528964cf0aa7461fac6c9eb1c61d1a18943..a671e3c86d65a2a846900b7e159207b8c975a442 100644 (file)
@@ -4,7 +4,7 @@ use wcf\util\JSON;
 
 /**
  * Provides method to send JSON-encoded responses.
- *
+ * 
  * @author     Alexander Ebert
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 9ed4db9a734c0d6fffe8998af4c5cc13945c0ea3..2e1c87955ac07a4100a2b34f9659c83aa69238b7 100644 (file)
@@ -9,7 +9,7 @@ use wcf\util\StringUtil;
 
 /**
  * Clipboard proxy implementation.
- *
+ * 
  * @author     Alexander Ebert
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 1058a332926b0de7005c7dae7f58369ad1f4406d..4954b1082b9397db6ad3748f22131284f7b3b3a1 100644 (file)
@@ -21,7 +21,7 @@ abstract class DatabaseObject implements IStorableObject {
        
        /**
         * indicates if database table index is an identity column
-        * @var boolean 
+        * @var boolean
         */
        protected static $databaseTableIndexIsIdentity = true;
        
index 8f031927c3dd5d33e7ddd14f3c0c8f4072a9c69f..adc54e14d8cee85f7108f694d14e782fb59326ab 100644 (file)
@@ -84,7 +84,7 @@ abstract class DatabaseObjectList implements \Countable, ITraversableObject {
        public $sqlJoins = '';
        
        /**
-        * enables the automatic usage of the qualified shorthand 
+        * enables the automatic usage of the qualified shorthand
         * @var boolean
         */
        public $useQualifiedShorthand = true;
index 78e81e842ee1c5b9b228dcc525ebeafb5b0b6f59..e4d3eda30aade631c55ebd3e36c94c6238e2d0cf 100644 (file)
@@ -4,7 +4,7 @@ use wcf\data\DatabaseObjectEditor;
 
 /**
  * Provides functions to edit acl option categories.
- *
+ * 
  * @author     Alexander Ebert
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 00a35eb27811a1c304afe48666eb59f7a49842bc..3124761c8f7c195a4edcf797b58ea6ddae5d69c0 100644 (file)
@@ -33,7 +33,7 @@ class Attachment extends DatabaseObject implements IRouteController {
        protected $embedded = false;
        
        /**
-        * user permissions for attachment access 
+        * user permissions for attachment access
         * @var array<boolean>
         */
        protected $permissions = array();
index 681ecb1c63d90d33079a44f17403a8883a735e7d..0670deba8a38e30b046baedc09118c7246ecb966 100644 (file)
@@ -140,7 +140,7 @@ class AttachmentAction extends AbstractDatabaseObjectAction {
                                'filesize' => $file->getFilesize(),
                                'fileType' => $file->getMimeType(),
                                'fileHash' => sha1_file($file->getLocation()),
-                               'uploadTime' => TIME_NOW        
+                               'uploadTime' => TIME_NOW
                        );
                        
                        // get image data
index 190e9cc2c34fe4b3fb92d65208393787b4d018e5..385fc4e42d00229f29be11ff0dcf03761e04e153 100644 (file)
@@ -78,12 +78,12 @@ class CategoryNode extends DatabaseObjectDecorator implements \RecursiveIterator
        public function getOpenParentNodes() {
                $element = $this;
                $i = 0;
-       
+               
                while ($element->parentNode->parentNode != null && $element->isLastSibling()) {
                        $i++;
                        $element = $element->parentNode;
                }
-       
+               
                return $i;
        }
        
index 4ce2bd352a55fdf8da3064661e6d301005bb96b5..6845bff42bc57c1129fa22cb5538c843d1d01a30 100644 (file)
@@ -264,7 +264,7 @@ class LanguageEditor extends DatabaseObjectEditor implements IEditableCachedObje
        public static function deleteLanguageFiles($languageID = '.*', $category = '.*') {
                if ($category != '.*') $category = preg_quote($category, '~');
                if ($languageID != '.*') $languageID = intval($languageID);
-
+               
                DirectoryUtil::getInstance(WCF_DIR.'language/')->removePattern(new Regex($languageID.'_'.$category.'\.php$'));
        }
        
@@ -482,7 +482,7 @@ class LanguageEditor extends DatabaseObjectEditor implements IEditableCachedObje
         * @param       boolean         $useRegex
         * @param       boolean         $caseSensitive
         * @param       boolean         $searchVariableName
-        * @return      array           results 
+        * @return      array
         */
        public static function search($search, $replace = null, $languageID = null, $useRegex = 0, $searchVariableName = 0) {
                $results = array();
index bc616dff8e3145d7548ff92677094813116146f5..ffea21a3980e35a5de7babf926be2c5a2ce05154 100644 (file)
@@ -64,7 +64,7 @@ class LanguageItemAction extends AbstractDatabaseObjectAction {
                WCF::getTPL()->assign(array(
                        'item' => $item
                ));
-       
+               
                return array(
                        'languageItem' => $item->languageItem,
                        'template' => WCF::getTPL()->fetch('languageItemEditDialog')
index 7b3b3e6f11f6b266d21bd9364f4e38bd24764471..745256cc9302d2ed4708c7133504552d32f71600 100644 (file)
@@ -29,7 +29,7 @@ class ModerationQueueAction extends AbstractDatabaseObjectAction {
                if (!isset($this->parameters['data']['lastChangeTime'])) {
                        $this->parameters['data']['lastChangeTime'] = TIME_NOW;
                }
-       
+               
                return parent::create();
        }
        
index 7c58bb276b386ecc47c3412a24c3414b740f19ea..e4c9ced4ac5bc77496bbe337e9249173299590d3 100644 (file)
@@ -1,4 +1,4 @@
-<?php 
+<?php
 namespace wcf\data\smiley\category;
 use wcf\data\AbstractDatabaseObjectAction;
 use wcf\system\exception\IllegalLinkException;
index 7ca0a74abb991f32b9b6d066ec79065e820fac8c..0965b5b75979fae2b4b59568625aa8a3cbd7adeb 100644 (file)
@@ -84,7 +84,7 @@ class Template extends DatabaseObject {
         * @param       boolean         $useRegex
         * @param       boolean         $caseSensitive
         * @param       boolean         $invertSearch
-        * @return      array           results 
+        * @return      array
         */
        public static function search($search, $replace = null, $templateIDs = null, $invertTemplates = 0, $useRegex = 0, $caseSensitive = 0, $invertSearch = 0) {
                // get available template ids
index 03f3a71cf7d572e972acc8f33425625eb839dfc9..0134ab9da36389d39fffdc9796ff609f40f4fb72 100644 (file)
@@ -57,7 +57,7 @@ class TemplateAction extends AbstractDatabaseObjectAction {
         */
        public function update() {
                parent::update();
-       
+               
                foreach ($this->objects as $template) {
                        // rename file
                        $templateName = (isset($this->parameters['data']['templateName']) ? $this->parameters['data']['templateName'] : $template->templateName);
index 81409fd5e50b4390018d612539eaaac11454f99c..1a686d5f81044f14e67f903410f9357e81990db0 100644 (file)
@@ -37,7 +37,7 @@ class TemplateEditor extends DatabaseObjectEditor {
        /**
         * Saves the source of this template.
         * 
-        * @param       string          $source 
+        * @param       string          $source
         */
        public function setSource($source) {
                $path = $this->getPath();
@@ -47,7 +47,7 @@ class TemplateEditor extends DatabaseObjectEditor {
                        mkdir($folder, 0777);
                }
                
-               // set source           
+               // set source
                $file = new File($path);
                $file->write($source);
                $file->close();
@@ -64,7 +64,7 @@ class TemplateEditor extends DatabaseObjectEditor {
                // get current path
                $currentPath = $this->getPath();
                
-               // get new path         
+               // get new path
                if ($templateGroupID != $this->templateGroupID) {
                        // get folder name
                        $sql = "SELECT  templateGroupFolderName
index 620664b0269cc40f87b92dfb48959215bcc9b7da..9aa0b5125378c6fea70f14e08a03b00966999be1 100644 (file)
@@ -1,4 +1,4 @@
-<?php 
+<?php
 namespace wcf\data\user;
 use wcf\data\user\group\Team;
 use wcf\data\user\group\UserGroup;
index c8c554632204d25089aeddc413ffd80e8f6375b0..07835112d358b424e61e0fb71191aba2901eb1ea 100644 (file)
@@ -432,7 +432,7 @@ class UserAction extends AbstractDatabaseObjectAction implements IClipboardActio
                if (empty($userIDs)) {
                        $userIDs = $this->objectIDs;
                }
-       
+               
                if (!empty($userIDs)) {
                        ClipboardHandler::getInstance()->unmark($userIDs, ClipboardHandler::getInstance()->getObjectTypeID('com.woltlab.wcf.user'));
                }
index 6481baec8bf7a57210ec598e4f4e2fd33c494892..919865a4fc2382507ebd7e3fdfe108e4f84dd44b 100644 (file)
@@ -79,7 +79,7 @@ class Gravatar extends DefaultAvatar {
                        }
                        else {
                                $this->url[$size] = LinkHandler::getInstance()->getLink('GravatarDownload', array(
-                                       'forceFrontend' => true         
+                                       'forceFrontend' => true
                                ), 'userID='.$this->userID.'&size='.$size);
                        }
                }
index be9cb1d1dedcd3eef33ac6d5af01bce62dae890b..e83392bad7f90c86329bc59891e44794ace28129 100644 (file)
@@ -1,4 +1,4 @@
-<?php 
+<?php
 namespace wcf\data\user\group;
 use wcf\data\user\UserProfile;
 use wcf\data\DatabaseObjectDecorator;
index c8fe6505a0e9b617807d6b7ac72becd9f19ea0a5..afbf7a79500007759958741d7a922e806e191f95 100644 (file)
@@ -26,7 +26,7 @@ class LoginForm extends \wcf\acp\form\LoginForm {
        public $enableTracking = true;
        
        /**
-        * true enables the usage of cookies 
+        * true enables the usage of cookies
         * @var boolean
         */
        public $useCookies = 1;
index bb4186034db953ff03df164e37ee14cc168be448..25e381ce2351ecc3347bfd6478290abebcaf1f7f 100644 (file)
@@ -123,7 +123,7 @@ class RegisterForm extends UserAddForm {
         */
        public function readFormParameters() {
                parent::readFormParameters();
-       
+               
                if (!empty($this->username) || !empty($this->email)) {
                        throw new PermissionDeniedException();
                }
index 165de4ed4140300506e7ef790282a48bea0500c7..13a215455805c0422859c03e371802b7654912d8 100644 (file)
@@ -1,4 +1,4 @@
-<?php 
+<?php
 namespace wcf\form;
 use wcf\acp\form\UserOptionListForm;
 use wcf\data\search\SearchEditor;
index 0644adbd9e8bad5fefcb77def61aa4e581ca1541..1bcf9d085b5b82b3c41df25bff072348c5ae9533 100644 (file)
@@ -6,7 +6,7 @@ use wcf\system\WCF;
 
 /**
  * List of deleted content.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -64,7 +64,7 @@ class DeletedContentListPage extends MultipleLinkPage {
         */
        public function assignVariables() {
                parent::assignVariables();
-       
+               
                WCF::getTPL()->assign(array(
                        'availableObjectTypes' => ObjectTypeCache::getInstance()->getObjectTypes('com.woltlab.wcf.deletedContent'),
                        'objectType' => $this->objectType->objectType,
index c61326933c3e464f3428e70b2eb0d091651f8a87..963979690ca640714840fc5c798cbc9e7150b18d 100644 (file)
@@ -8,7 +8,7 @@ use wcf\system\WCF;
 
 /**
  * Shows the a list of tagged objects.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 61c397a03fd5011f98c84203ec8a4bc2774867ca..522611368a49892e1dd67aad3d334b5a8830e53e 100644 (file)
@@ -211,7 +211,7 @@ final class Regex {
        /**
         * Replaces part of the string with the regex.
         * 
-        * @param       string          $string 
+        * @param       string          $string
         * @param       mixed           $replacement    replacement-string or instance of wcf\system\Callback
         * @return      string
         */
index 6239ab81aca210ee549b711ec4cd13782f78e4b3..2edee8f25bf2df9e5536834a7487a2feb68465c9 100644 (file)
@@ -52,10 +52,10 @@ class AttachmentBBCode extends AbstractBBCode {
                        if ($attachment->showAsImage() && $parser->getOutputType() == 'text/html') {
                                // image
                                $linkParameters = array(
-                                       'object' => $attachment 
+                                       'object' => $attachment
                                );
                                if ($attachment->hasThumbnail()) {
-                                       $linkParameters['thumbnail'] = 1; 
+                                       $linkParameters['thumbnail'] = 1;
                                }
                                
                                // get alignment
index 70274af54bd8d5f7b635c75a91838b7de86d5ff2..9c7cc5ee65c9e78f2940f3df9a5ac06fbab17356 100644 (file)
@@ -62,7 +62,7 @@ class PhpHighlighter extends Highlighter {
                // convert colors to classes
                $highlightedCode = strtr($highlightedCode, self::$colorToClass);
                
-               // replace double quotes by entity 
+               // replace double quotes by entity
                return Regex::compile('(?<!\<span class=)"(?!\>)')->replace($highlightedCode, '&quot;');
        }
 }
index 30c5e04a44a172c78f8b1b022e4a6637915bd870..788763534b32ad2264b9a94451c9414563b41a24 100644 (file)
@@ -5,7 +5,7 @@ use wcf\system\category\CategoryHandler;
 
 /**
  * Caches the acl options of categories.
- *
+ * 
  * @author     Matthias Schmidt
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 52efc776b097caf01ad063c2cc952d4c63fb084b..ce921ea25e14332c4dbbf7b4e25f957d9728a4cb 100644 (file)
@@ -60,7 +60,7 @@ class LanguageCacheBuilder extends AbstractCacheBuilder {
                        $data['categories'][$languageCategory->languageCategory] = $languageCategory;
                        $data['categoryIDs'][$languageCategory->languageCategoryID] = $languageCategory->languageCategory;
                }
-
+               
                return $data;
        }
 }
index 3b654d170df1e9dada377efdb07749a1d7ef9caf..3b73c424dcdba656cf812bc8df6a41ed5beca833 100644 (file)
@@ -40,7 +40,7 @@ class OptionCacheBuilder extends AbstractCacheBuilder {
                
                // option categories
                // get all option categories and sort categories by priority
-               $sql = "SELECT  categoryName, categoryID 
+               $sql = "SELECT  categoryName, categoryID
                        FROM    wcf".WCF_N."_".$this->tableName."_category";
                $statement = WCF::getDB()->prepareStatement($sql);
                $statement->execute();
@@ -75,7 +75,7 @@ class OptionCacheBuilder extends AbstractCacheBuilder {
                // options
                // get all options and sort options by priority
                $optionIDs = array();
-               $sql = "SELECT          optionName, optionID 
+               $sql = "SELECT          optionName, optionID
                        FROM            wcf".WCF_N."_".$this->tableName;
                $statement = WCF::getDB()->prepareStatement($sql);
                $statement->execute();
index d76f94217ad14d55b3e74a097b7e691cce658795..45295442e69a097591132559a9b15d0c6c58e0d8 100644 (file)
@@ -30,7 +30,7 @@ class UserGroupPermissionCacheBuilder extends AbstractCacheBuilder {
                $data = array();
                
                // get all options
-               $sql = "SELECT  optionName, optionID 
+               $sql = "SELECT  optionName, optionID
                        FROM    wcf".WCF_N."_user_group_option";
                $statement = WCF::getDB()->prepareStatement($sql);
                $statement->execute();
index 64995c1f9ebefc3159a2638da8f3aa2de102376c..b10a56b974657ac1ea9181b63af1b469c5c6e29c 100644 (file)
@@ -8,7 +8,7 @@ use wcf\system\WCF;
 
 /**
  * Handles the category permissions.
- *
+ * 
  * @author     Matthias Schmidt
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 964dfa88cd0a41eedb93ce3f9b203f75db78f051..5ec978daabd4a8293fdb119bf29e9bb7b08511b6 100644 (file)
@@ -66,7 +66,7 @@ interface ICategoryType {
        public function getObjectTypeName($definitionName);
        
        /**
-        * Returns the language variable category for the description language 
+        * Returns the language variable category for the description language
         * variables of categories of this type.
         * 
         * @return      string
index d9c66991bd2ff767c5a06b078ea21dbce865518c..b278ee39ee2adee5871fcf8c3d7082a96c575651 100644 (file)
@@ -19,7 +19,7 @@ use wcf\system\WCF;
 class MostActiveMembersDashboardBox extends AbstractSidebarDashboardBox {
        /**
         * user profile list
-        * @var wcf\data\user\UserProfileList 
+        * @var wcf\data\user\UserProfileList
         */
        public $userProfileList = null; 
        
index 02752a6e6a36583274d430f19be81f108d879911..8a30cd4cdb4d5e0d0fc4e1f2fa2c14c67fa4d33c 100644 (file)
@@ -19,7 +19,7 @@ use wcf\system\WCF;
 class MostLikedMembersDashboardBox extends AbstractSidebarDashboardBox {
        /**
         * user profile list
-        * @var wcf\data\user\UserProfileList 
+        * @var wcf\data\user\UserProfileList
         */
        public $userProfileList = null; 
        
index 02756c499b8c6479306f75755f64a64e57973752..94d35fed74fc9c78bbe78f56540c79cc7c6f4736 100644 (file)
@@ -19,7 +19,7 @@ use wcf\system\WCF;
 class NewestMembersDashboardBox extends AbstractSidebarDashboardBox {
        /**
         * user profile list
-        * @var wcf\data\user\UserProfileList 
+        * @var wcf\data\user\UserProfileList
         */
        public $userProfileList = null; 
        
index 6bea7b7095bc81ec1fd5a8299f4e902db9679a5b..b44214d1c3edf4931ef36bdbc18cc4e4d10ed08d 100644 (file)
@@ -17,8 +17,8 @@ use wcf\system\WCF;
  */
 class StatsSidebarDashboardBox extends AbstractSidebarDashboardBox {
        /**
-        * the stats 
-        * @var wcf\system\cache\builder\UserStatsCacheBuilder 
+        * displayed stats
+        * @var wcf\system\cache\builder\UserStatsCacheBuilder
         */
        public $stats = null; 
        
index 508eb6ecf8d7173f1a794d7333b759ce78c49529..6b295da8f791716085340793b6e22c552fac0b52 100644 (file)
@@ -117,7 +117,7 @@ abstract class Database {
         * 
         * @param       string          $table
         * @param       string          $field
-        * @return      integer 
+        * @return      integer
         */
        public function getInsertID($table, $field) {
                try {
index 98c9963521a664967ac90b8629cfb5282339ea67..43f606799135acb444fa185c58de78d8b9278655 100644 (file)
@@ -115,7 +115,7 @@ class DatabaseException extends SystemException {
        /**
         * Returns the sql type of the active database.
         * 
-        * @return      string 
+        * @return      string
         */
        public function getDBType() {
                return $this->DBType;
index bb7dad3c6157d5823739651a9eb4a60f121cb80f..09589907c22ba17118dc8d4e6fa09b3b7b3ba2c3 100644 (file)
@@ -96,7 +96,7 @@ class PostgreSQLDatabase extends Database {
                
                // reinsert quotes
                $query = StringStack::reinsertStrings($query, 'postgresQuotes');
-
+               
                return $query;
        }
        
index a4b12643762a67daec0cf609be1f86e864a67a9e..ad1796ff9c91995f412c45d0dd5f50adfd8771f4 100644 (file)
@@ -7,7 +7,7 @@ use wcf\util\FileUtil;
 
 /**
  * Basic implementation of IExporter.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index d45e01802ceb1ba6f67abdda2c2810dfe298623d..9d6f623db6d4f54e63f36fa4ea14d262127e3a20 100644 (file)
@@ -3,7 +3,7 @@ namespace wcf\system\exporter;
 
 /**
  * Basic interface for all exporters.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 1fb763bde0c82d0a3a64c44220d51daa9b84f21b..729b4df8f5aea18331613796bb39d4ebb590863e 100644 (file)
@@ -4,7 +4,7 @@ use wcf\system\WCF;
 
 /**
  * Imports ACLs.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 233bc63960b73f87a8e64ebf84d66fb00ab4e098..ce42e4364ee6002625bceb18e0af81b156246ccc 100644 (file)
@@ -7,7 +7,7 @@ use wcf\util\StringUtil;
 
 /**
  * Imports attachments.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 8dd2294d3ff1bde66d3d8bd7b8410bb2e69199cb..609cb5c526b7ba3242ece50c98998b9d5b264c84 100644 (file)
@@ -4,7 +4,7 @@ use wcf\data\category\CategoryEditor;
 
 /**
  * Imports categories.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 65e7abb3285a8a0c5091e34adbf627eb71b54df9..8293c8a06952c590c959288f5475277d61f61688 100644 (file)
@@ -4,7 +4,7 @@ use wcf\data\comment\CommentEditor;
 
 /**
  * Imports comments.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 9096ecfbc0073a17a63f5b1a104e95973f061574..4c3d86c867ab6fd35bda8df63516584d16306257 100644 (file)
@@ -5,7 +5,7 @@ use wcf\system\WCF;
 
 /**
  * Imports comment responses.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index ffbc1d8dd7d1a74b5e740ae82e58c846c65a7a69..f89352d7e2d07668a2d049d985fa4927863b91c1 100644 (file)
@@ -3,7 +3,7 @@ namespace wcf\system\importer;
 
 /**
  * Basic implementation of IImporter.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 9bad5c9a094ce36631d108a18677704d10391d09..13332ad59dddd923e52a531fd6062e25a6c3e48b 100644 (file)
@@ -4,7 +4,7 @@ use wcf\system\WCF;
 
 /**
  * Imports likes.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 63c813d920651752798cb2f1669c6dbba59d66f8..c69da4099f6fd725d8a453a615606396b366c34f 100644 (file)
@@ -4,7 +4,7 @@ use wcf\data\poll\PollEditor;
 
 /**
  * Imports polls.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index de63bd4a3b4d6ffbd750f0e873b8d91d222ba0b9..1e02a6a2afee64b18ace882b7b615d2e1dceb5b8 100644 (file)
@@ -4,7 +4,7 @@ use wcf\data\poll\option\PollOptionEditor;
 
 /**
  * Imports poll votes.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -38,7 +38,7 @@ class AbstractPollOptionImporter extends AbstractImporter {
                if (!$data['pollID']) return 0;
                
                $option = PollOptionEditor::create($data);
-
+               
                ImportHandler::getInstance()->saveNewID($this->objectTypeName, $oldID, $option->optionID);
                
                return $option->optionID;
index 7c303e24e3e191d107064835db8a2d4583c1be3b..f860cf40c4beaa044ce7af85c24c5c16eb89eaea 100644 (file)
@@ -4,7 +4,7 @@ use wcf\system\WCF;
 
 /**
  * Imports poll votes.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -21,7 +21,7 @@ class AbstractPollOptionVoteImporter extends AbstractImporter {
        
        /**
         * poll object type name
-        * @var string
+        * @var string
         */
        protected $pollObjectTypeName = '';
        
index 47ee5975b56ab4b6baa3c5c0f46cf09bcee2d6a5..e2de76efc4bc5f50e8b4f8324fedfbd83877e03e 100644 (file)
@@ -4,7 +4,7 @@ use wcf\data\user\object\watch\UserObjectWatchEditor;
 
 /**
  * Imports watched objects.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index a18e39c007463c36a30bbd9aa9e976a3bfcf3c28..fa433e397f3dbc261e022a3e95a4d013be83d33a 100644 (file)
@@ -3,7 +3,7 @@ namespace wcf\system\importer;
 
 /**
  * Basic interface for all importer.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index b8c8e681ba8948803aa13158d5dc7c129d35b4c6..9cba3e7804c20a191e3b209394c810ee42d6ec17 100644 (file)
@@ -10,7 +10,7 @@ use wcf\system\WCF;
 
 /**
  * Handles data import.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -21,7 +21,7 @@ use wcf\system\WCF;
 class ImportHandler extends SingletonFactory implements IAJAXInvokeAction {
        /**
         * id map cache
-        * @var array 
+        * @var array
         */
        protected $idMappingCache = array();
        
index e8cc4b8c520d46c14711c2662d8baf7813f0b66c..3dbb8663df755e9988bbe74cab3fa54abe9a5805 100644 (file)
@@ -5,7 +5,7 @@ use wcf\system\WCF;
 
 /**
  * Imports label groups.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index a8151182e1d3c6361b67432569102933c034a7b5..dc8f47f981b7a1f5e024cbcf6458f84a70c17de9 100644 (file)
@@ -5,7 +5,7 @@ use wcf\system\WCF;
 
 /**
  * Imports labels.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index d6598d903fe1af3df689ed80fb5a605251bc3e7e..359fe41cd0abedb1c37c88f3fce5699f258f9818 100644 (file)
@@ -6,7 +6,7 @@ use wcf\util\StringUtil;
 
 /**
  * Imports smilies.
- *
+ * 
  * @author     Tim Duesterhus, Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index bdf55410b34224b1ff3b3d58baae342870edc098..db21a6a544e26c92f19981e915e2097eab07e398 100644 (file)
@@ -8,7 +8,7 @@ use wcf\util\FileUtil;
 
 /**
  * Imports user avatars.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 56d9f4d76fc290646240929b4d5fb6e3e8ce2edb..ead09ea3de71ff7b4163b608ebc972c7d21d2f6e 100644 (file)
@@ -5,7 +5,7 @@ use wcf\data\object\type\ObjectTypeCache;
 
 /**
  * Imports user profile comments.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 823cc2a4e3c00e215dd8e7ed0c0a118ee0f065f0..fc6b57905aeaad8bfbf6a70d2304c25eeff171d1 100644 (file)
@@ -3,7 +3,7 @@ namespace wcf\system\importer;
 
 /**
  * Imports user profile comment response.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 968aafff54f04000050a44d6d5399f2dbdf8dc1a..f1ed9ac70227a1d0370bac8a39545abb6db79e97 100644 (file)
@@ -4,7 +4,7 @@ use wcf\system\WCF;
 
 /**
  * Imports followers.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 759324acdd69e1b2b85fafae56db321b35feaf44..07e98342b6152fe5547a9e455fc376340fa52ee3 100644 (file)
@@ -5,7 +5,7 @@ use wcf\data\user\group\UserGroupAction;
 
 /**
  * Imports user groups.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -28,7 +28,7 @@ class UserGroupImporter extends AbstractImporter {
                }
                else {
                        $action = new UserGroupAction(array(), 'create', array(
-                               'data' => $data         
+                               'data' => $data
                        ));
                        $returnValues = $action->executeAction();
                        $newGroupID = $returnValues['returnValues']->groupID;
index 98bf04931b9856f917e859b949ee39729930ef72..52badfbe738f06a9e378b5759d08acf86024c5c2 100644 (file)
@@ -8,7 +8,7 @@ use wcf\util\StringUtil;
 
 /**
  * Imports user options.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 3eca50d2b327f1dd5de7da9dcd20d8dc8d66bec4..afce73c624b0b98411b6700211ecffb9862d18f4 100644 (file)
@@ -5,7 +5,7 @@ use wcf\data\user\rank\UserRankEditor;
 
 /**
  * Imports user ranks.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index bf980f7ac7ed553ca560626d3215a71a3b580d5c..e3d9d247e80994ad5cfd87d9fa72426c8be2050a 100644 (file)
@@ -56,8 +56,8 @@ class GZipFile extends File {
                $byteBlock = 1<<14;
                $eof = $byteBlock;
                
-               // the correction is for zip files that are too small 
-               // to get in the first while loop 
+               // the correction is for zip files that are too small
+               // to get in the first while loop
                $correction = 1;
                while ($this->seek($eof) == 0) {
                        $eof += $byteBlock;
index d025d42da9c691f13e2d7135acfe6b91768e0488..082868a53845f03b39e3d61ba0be68d16f960d8b 100644 (file)
@@ -103,7 +103,7 @@ class LanguageServerProcessor extends SingletonFactory {
                // send content type and length
                $request .= "Content-Type: application/x-www-form-urlencoded\r\n";
                $request .= "Content-Length: ".strlen($postString)."\r\n";
-               // if it is a POST request, there MUST be a blank line before the POST data, but there MUST NOT be 
+               // if it is a POST request, there MUST be a blank line before the POST data, but there MUST NOT be
                // another blank line before, and of course there must be another blank line at the end of the request!
                $request .= "\r\n";
                if (!empty($postString)) $request .= $postString."\r\n";
index d4edca16e90f6ff0a88c286fc6e83a0c6bdf7289..be4a2565c18aab4cfaa20716d451c4128074620c 100644 (file)
@@ -28,7 +28,7 @@ use wcf\system\WCF;
  * LikeHandler::getInstance()->loadLikeObjects($objectType, $objectIDs);
  * // get like data
  * $likeObjects = LikeHandler::getInstance()->getLikeObjects($objectType);
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index e629a945338120c9bf0bc308149b7b02886cea23..528d4f42e544f6d19ed7b9a88e079a23a05d615e 100644 (file)
@@ -144,7 +144,7 @@ class Mail {
                
                $this->header .=
                        'X-Priority: 3'.self::$lineEnding
-                       .'X-Mailer: WoltLab Community Framework Mail Package'.self::$lineEnding                                                                 
+                       .'X-Mailer: WoltLab Community Framework Mail Package'.self::$lineEnding
                        .'From: '.$this->getFrom().self::$lineEnding
                        .($this->getCCString() != '' ? 'CC:'.$this->getCCString().self::$lineEnding : '')
                        .($this->getBCCString() != '' ? 'BCC:'.$this->getBCCString().self::$lineEnding : '');
index b98cbf7487d682e0bbba6c1fed337df9a9b18e1d..fd908684087d844a5b047eeee7b4b914eecc3962 100644 (file)
@@ -98,7 +98,7 @@ class PageMenu extends TreeMenu {
                        // ignore footer items
                        return;
                }
-       
+               
                parent::setActiveMenuItem($menuItem);
        }
 }
index 6578b8e56d7f0686d86e1c5336bb6c5774525eba..0fcba26992daaf8c1a500cf4d9bccdb74c140565 100644 (file)
@@ -3,7 +3,7 @@ namespace wcf\system\moderation;
 
 /**
  * Interface for deleted content provider.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 928b47750ea9f845010616d1b79c95e66fefd389..b7e4920c0e3679904b796b597431af8d2b17fd1e 100644 (file)
@@ -371,7 +371,7 @@ class ModerationQueueManager extends SingletonFactory {
                                $definitionNames[$objectTypeID] = $definitionName;
                        }
                }
-       
+               
                return $definitionNames;
        }
        
index 9ec6f67b6ad88190807a2945e9ca2c8e5b693978..fc37e06f75792fde27a3febd8147a50d43a641ec 100644 (file)
@@ -5,7 +5,7 @@ use wcf\system\database\util\PreparedStatementConditionBuilder;
 
 /**
  * Option type implementation for password input fields.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index cc0f200cf9896cd3b6d08b90eace7a9c0ac58aca..a9349c86aabea52bb35f769a83eeec3ee9bc472a 100644 (file)
@@ -4,7 +4,7 @@ use wcf\data\option\Option;
 
 /**
  * Option type implementation for url input fields.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index dbc3ae915526af24046d4e6c65fbbc88673f6bfd..300f22bde2cc761c4261a91bd5fa2be8885cd7e6 100644 (file)
@@ -677,7 +677,7 @@ class PackageArchive {
                                if (isset($requirement['minversion'])) {
                                        if (Package::compareVersion($existingPackages[$requirement['name']]['packageVersion'], $requirement['minversion']) >= 0) {
                                                // package does already exist in needed version
-                                               // skip installation of requirement 
+                                               // skip installation of requirement
                                                continue;
                                        }
                                        else {
index 7b977a0e15c8fcfefac1bf00296a2f0d837ed545..1c7b6d54f32129af55fabe7bf5d306381b0dc3ac 100644 (file)
@@ -94,7 +94,7 @@ abstract class AbstractOptionPackageInstallationPlugin extends AbstractXMLPackag
        /**
         * Imports option categories.
         * 
-        * @param       \DOMXPath       $xpath 
+        * @param       \DOMXPath       $xpath
         */
        protected function importCategories(\DOMXPath $xpath) {
                $elements = $xpath->query('/ns:data/ns:import/ns:categories/ns:category');
@@ -143,7 +143,7 @@ abstract class AbstractOptionPackageInstallationPlugin extends AbstractXMLPackag
        /**
         * Imports options.
         * 
-        * @param       \DOMXPath       $xpath 
+        * @param       \DOMXPath       $xpath
         */
        protected function importOptions(\DOMXPath $xpath) {
                $elements = $xpath->query('/ns:data/ns:import/ns:options/ns:option');
index f26e9355f42d647df0d5d64b2973ee158db0ed0c..1e5411d95b623f83b59ad40b12691c6e870e84f5 100644 (file)
@@ -311,7 +311,7 @@ abstract class AbstractXMLPackageInstallationPlugin extends AbstractPackageInsta
         * @param       string          $parentName
         * @param       string          $columnName
         * @param       string          $tableNameExtension
-        * @return      integer 
+        * @return      integer
         */
        protected function getShowOrder($showOrder, $parentName = null, $columnName = null, $tableNameExtension = '') {
                if ($showOrder === null) {
index 3ada788350ac03c09b423fc9d6fc006fb083a4cc..d04bb57335becd19500c195cf95b48f3b9d0025b 100644 (file)
@@ -390,7 +390,7 @@ class SessionHandler extends SingletonFactory {
        }
        
        /**
-        * Checks if the active user has the given permissions and throws a 
+        * Checks if the active user has the given permissions and throws a
         * PermissionDeniedException if that isn't the case.
         */
        public function checkPermissions(array $permissions) {
index e616e10bbabe24f8ef18321e236bf2daf2c6dbb8..f6297a23e3781f20436c06aef63df5ea4438aac2 100644 (file)
@@ -26,7 +26,7 @@ class SetupTemplateEngine extends TemplateEngine {
                if ($this->compilerObj === null) {
                        $this->compilerObj = new SetupTemplateCompiler($this);
                }
-       
+               
                return $this->compilerObj;
        }
        
index f11c93f0432ca0475d460879b75827c08d79a43e..e4702655b253c93e2b420a9d5de600c9c48d7f84 100644 (file)
@@ -3,8 +3,8 @@ namespace wcf\system\template\plugin;
 use wcf\system\template\TemplateEngine;
 
 /**
- * Modifiers are functions that are applied to a variable in the template 
- * before it is displayed or used in some other context.
+ * Modifiers are functions that are applied to a variable in the template before
+ * it is displayed or used in some other context.
  * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
index eb80feed1c2dbf0d196787f716eeca74220885c1..dd78a61a6dc02e64dd3dd8d2014a9affb5c310bd 100644 (file)
@@ -17,7 +17,7 @@ interface IPrefilterTemplatePlugin {
         * Executes this prefilter.
         * 
         * @param       string                                          $templateName
-        * @param       string                                          $sourceContent  
+        * @param       string                                          $sourceContent
         * @param       wcf\system\template\TemplateScriptingCompiler   $compiler
         * @return      string
         */
index d09257769793f823ad8075ed48b9eed2b09cd1e7..985a77d1fb7d80bf46bf1dd72d4ee24773780412 100644 (file)
@@ -30,7 +30,7 @@ class LangPrefilterTemplatePlugin implements IPrefilterTemplatePlugin {
                $sourceContent = preg_replace_callback("~{$ldq}lang{$rdq}([\w\.]+){$ldq}/lang{$rdq}~", function ($match) {
                        return WCF::getLanguage()->get($match[1]);
                }, $sourceContent);
-
+               
                return $sourceContent;
        }
 }
index e22d9883a81f62d1078f3f91ccad863bb9685b07..36cbe910e938144f2bb72a32ddda9815fe6fbe3b 100644 (file)
@@ -50,7 +50,7 @@ class AbstractUserNotificationObjectType extends AbstractObjectTypeProcessor imp
                                $objects[$objectID] = new static::$decoratorClassName(new static::$objectClassName(null, array($indexName => $objectID)));
                        }
                }
-       
+               
                return $objects;
        }
 }
index 15f7fcf5dbe748fb5a52667780b743b0852b77bd..46e1258299fe9754aa0d0a1e4e075a1a0f81de41 100644 (file)
@@ -88,11 +88,11 @@ abstract class AbstractRebuildDataWorker extends AbstractWorker implements IRebu
                if (empty($this->objectListClassName)) {
                        throw new SystemException('DatabaseObjectList class name not specified.');
                }
-       
+               
                if (!ClassUtil::isInstanceOf($this->objectListClassName, 'wcf\data\DatabaseObjectList')) {
                        throw new SystemException("'".$this->objectListClassName."' does not extend 'wcf\data\DatabaseObjectList'");
                }
-       
+               
                $this->objectList = new $this->objectListClassName();
                $this->objectList->sqlLimit = $this->limit;
                $this->objectList->sqlOffset = $this->limit * $this->loopCount;
index 98165bf15bf61e106370fc40bc393e1bf064d0fc..9e5f0b09ed1cea122fe8c23df767787540043287 100644 (file)
@@ -8,7 +8,7 @@ use wcf\util\StringUtil;
 
 /**
  * Worker implementation for data import.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 529d9571c952ed42fe37f0a834b510adaffa818f..66ad30219713da627c192082c18981ab34c1e3e7 100644 (file)
@@ -398,7 +398,7 @@ final class FileUtil {
         * @param       array           $postParameters
         * @param       array           $headers                empty array or a not initialized variable
         * @return      string
-        * @deprecated  This method currently only is a wrapper around \wcf\util\HTTPRequest. Please use 
+        * @deprecated  This method currently only is a wrapper around \wcf\util\HTTPRequest. Please use
         *              HTTPRequest from now on, as this method may be removed in the future.
         */
        public static function downloadFileFromHttp($httpUrl, $prefix = 'package', array $options = array(), array $postParameters = array(), &$headers = array()) {
@@ -445,7 +445,7 @@ final class FileUtil {
         * 
         * @param       string          $gzipped
         * @param       string          $destination
-        * @return      boolean 
+        * @return      boolean
         */
        public static function uncompressFile($gzipped, $destination) {
                if (!@is_file($gzipped)) {
index 56cb86d4708c8f4b382e6728a36730e5208a3540..67033ac29c59c0bb127e83458ba522bd04c0796d 100644 (file)
@@ -36,7 +36,7 @@ final class ImageUtil {
         * Return the file extension for an image with the given mime type.
         * 
         * @param       string          $mimeType
-        * @return      string          
+        * @return      string
         * @see http://www.php.net/manual/en/function.image-type-to-mime-type.php
         */
        public static function getExtensionByMimeType($mimeType) {
index 6c52f0eeb1f4b97525500923aebb323080ee8bba..d9b5d5be1cd831916b431dc1a034d6390a31e068 100644 (file)
@@ -21,7 +21,7 @@ class MessageUtil {
         * @return      string
         */
        public static function stripCrap($text) {
-               // strip session links, security tokens and access tokens       
+               // strip session links, security tokens and access tokens
                $text = Regex::compile('(?<=\?|&)([st]=[a-f0-9]{40}|at=\d+-[a-f0-9]{40})')->replace($text, '');
                
                // convert html entities (utf-8)
index 5c15871ed58227bbe1395774977dfa0f4b14ea81..0d4871019c54cc0a242a5138214a58890cbb4123 100644 (file)
@@ -6,7 +6,7 @@ use wcf\system\WCF;
 /**
  * Contains string-related functions.
  * 
- * @author     Oliver Kliebisch, Marcel Werk 
+ * @author     Oliver Kliebisch, Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
  * @package    com.woltlab.wcf
@@ -404,7 +404,7 @@ final class StringUtil {
         * Returns true if $haystack ends with $needle or if the length of $needle is 0.
         * 
         * @param       string          $haystack
-        * @param       string          $needle 
+        * @param       string          $needle
         * @param       boolean         $ci             case insensitive
         * @return      boolean
         */
@@ -745,7 +745,7 @@ final class StringUtil {
                
                // cut visible url
                if (empty($title)) {
-                       // use URL and remove protocol and www subdomain 
+                       // use URL and remove protocol and www subdomain
                        $title = preg_replace('~^(?:https?|ftps?)://(?:www\.)?~i', '', $url);
                        
                        if (mb_strlen($title) > 60) {
index 939b9aff39f720dfd7639603142494677aea4d3d..5dd48a543f67af8e9f6f88249273a2296895de07 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 /**
- * default options.inc.php for package installation of package com.woltlab.wcf.
- *
- * @author     Marcel Werk 
+ * Default options.inc.php for package installation of package com.woltlab.wcf.
+ * 
+ * @author     Marcel Werk
  * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
  */
index da62d68b088fddd86d4528983c999980b12d325c..4045a8ab515b246ab8e034b5f87ca40056521ad8 100644 (file)
@@ -87,7 +87,7 @@ ol.nativeList {
        h2 {
                font-size: @wcfTitleFontSize;
        }
-
+       
        h1, h2, h3, h4, h5, h6 {
                font-weight: bold;
                margin: 0.5em 0;
index 5b7912ef2c169c7031f7413e42f48fc682413b41..0bf4d8c2c4d38c7d0c49c7017eec277e2f42235d 100644 (file)
@@ -1926,7 +1926,7 @@ ul.inlineDataList {
 .contentNavigation .pageNavigation {
        float: left;
        margin: @wcfGapMedium + 5 0 3px;
-
+       
        ul li {
                margin: 0 2px;
        }
index d543dd605d9aef861805431d75231ba2aeef4cc1..56a94d487b5b1ecab0335c68aa1110d6c165fcfb 100644 (file)
@@ -754,7 +754,7 @@ li:nth-child(2n+1) .message {
 
 #messageQuoteList {
        max-width: 800px !important;
-
+       
        li {
                &:not(:first-child) {
                        margin-top: @wcfGapSmall;
index 1fe55c5b8baee8f5b8d10529a645136134405a72..266a44b704b9f57b631dd6f8f92adc9652ec0f2b 100644 (file)
@@ -6,7 +6,7 @@
        if (window.jQuery) {
                $(function() {
                        $('#wcfUrlContainer').show();
-
+                       
                        // data
                        var $domainName = '{@$domainName|encodeJS}';
                        var $installScriptDir = '{@$installScriptDir|encodeJS}';
@@ -14,7 +14,7 @@
                        var $invalidErrorMessage = '{lang}wcf.global.wcfDir.error.invalid{/lang}';
                        var $wcfDir = $('#wcfDir');
                        var $wcfUrl = $('#wcfUrl');
-
+                       
                        function updateWcfUrl() {
                                // split paths and remove empty parts
                                var $installScriptDirs = removeEmptyDirParts($installScriptDir.split('/'));
@@ -41,7 +41,7 @@
                                                $relativePathDirs.push($wcfDirs[$i]);
                                        }
                                }
-
+                               
                                // loop dirs
                                for (var $i = 0; $i < $relativePathDirs.length; $i++) {
                                        if ($relativePathDirs[$i] == '..') {
                                                        $wcfUrl.html($invalidErrorMessage);
                                                        return;
                                                }
-                               
+                                               
                                                $installScriptUrlDirs.pop();
                                        }
                                        else {
                                                $installScriptUrlDirs.push($relativePathDirs[$i]);
                                        }
                                }
-               
+                               
                                // implode and show result
                                var $result = $domainName;
                                for (var $i = 0; $i < $installScriptUrlDirs.length; $i++) $result += '/' + $installScriptUrlDirs[$i];
                                $wcfUrl.html($result);
                        }
-
+                       
                        function removeEmptyDirParts(dir) {
                                for (var $i = dir.length; $i >= 0; $i--) {
                                        if (dir[$i] == '' || dir[$i] == '.') {
                                                dir.splice($i, 1);
                                        }
                                }
-
+                               
                                return dir;
                        }
-
+                       
                        $wcfDir.keyup(updateWcfUrl).blur(updateWcfUrl);
                        updateWcfUrl();
                });