Removes trailing whitespaces
authorMatthias Schmidt <gravatronics@live.com>
Thu, 29 Nov 2012 22:25:24 +0000 (23:25 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 29 Nov 2012 22:25:24 +0000 (23:25 +0100)
23 files changed:
XSD/types.xsd
wcfsetup/install/files/lib/acp/form/UserAddForm.class.php
wcfsetup/install/files/lib/acp/form/UserEmailAddressExportForm.class.php
wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php
wcfsetup/install/files/lib/acp/form/UsersMassProcessingForm.class.php
wcfsetup/install/files/lib/data/DatabaseObjectList.class.php
wcfsetup/install/files/lib/data/option/OptionAction.class.php
wcfsetup/install/files/lib/system/cache/builder/ACPMenuCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/EventListenerCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/IconCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/PageMenuCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCodeCacheBuilder.class.php
wcfsetup/install/files/lib/system/mail/MailSender.class.php
wcfsetup/install/files/lib/system/mail/SMTPMailSender.class.php
wcfsetup/install/files/lib/system/menu/TreeMenu.class.php
wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/request/Request.class.php
wcfsetup/install/files/lib/system/template/plugin/PagesFunctionTemplatePlugin.class.php
wcfsetup/install/files/lib/util/UserUtil.class.php
wcfsetup/install/files/style/datePicker.less
wcfsetup/install/files/style/dialog.less
wcfsetup/install/files/style/global.less

index 60c7ef224efc8a3fdea722e88b9aefa90eedf5dc..f16242a12e8120a4b0b8f06270966045858201f9 100644 (file)
@@ -22,5 +22,5 @@
                        <xs:minInclusive value="0" />
                        <xs:maxInclusive value="1" />
                </xs:restriction>
-       </xs:simpleType> 
+       </xs:simpleType>
 </xs:schema>
\ No newline at end of file
index 493ee71cea9e41b3f8f0354f098c4920f910b43a..94dd9058faf7dc6cc04744f387a4976bb77ba762 100644 (file)
@@ -103,7 +103,7 @@ class UserAddForm extends UserOptionListForm {
        public function readFormParameters() {
                parent::readFormParameters();
                
-               if (isset($_POST['username'])) $this->username = StringUtil::trim($_POST['username']); 
+               if (isset($_POST['username'])) $this->username = StringUtil::trim($_POST['username']);
                if (isset($_POST['email'])) $this->email = StringUtil::trim($_POST['email']);
                if (isset($_POST['confirmEmail'])) $this->confirmEmail = StringUtil::trim($_POST['confirmEmail']);
                if (isset($_POST['password'])) $this->password = $_POST['password'];
@@ -119,14 +119,14 @@ class UserAddForm extends UserOptionListForm {
        public function validate() {
                // validate static user options 
                try {
-                       $this->validateUsername($this->username); 
+                       $this->validateUsername($this->username);
                }
                catch (UserInputException $e) {
                        $this->errorType[$e->getField()] = $e->getType();
                }
                
                try {
-                       $this->validateEmail($this->email, $this->confirmEmail); 
+                       $this->validateEmail($this->email, $this->confirmEmail);
                }
                catch (UserInputException $e) {
                        $this->errorType[$e->getField()] = $e->getType();
index 4a4f95116ae63b500f2a82f6a27827e30073249b..5cdcf590fc642903dc09e150643a4957d53592c9 100755 (executable)
@@ -50,7 +50,7 @@ class UserEmailAddressExportForm extends ACPForm {
         * string used to wrap email adresses
         * @var string
         */
-       public $textSeparator = '"'; 
+       public $textSeparator = '"';
        
        /**
         * users whose email addresses are exported
index bb33de20109cf15da554adb09dc76a1ca402f74c..cb64f5ecc74c2da1e845a45ed6207141dbeac7a6 100755 (executable)
@@ -251,7 +251,7 @@ class UserSearchForm extends UserOptionListForm {
                        ON              (option_value.userID = user_table.userID)";
                
                // build search condition
-               $this->conditions = new PreparedStatementConditionBuilder(); 
+               $this->conditions = new PreparedStatementConditionBuilder();
                
                // static fields
                $this->buildStaticConditions();
index 04873a9ac170c3c24ee821265640992fd8fe3d01..68caed9d4cda7e5fc5cd514bff2a4dc0adfcdd77 100644 (file)
@@ -70,7 +70,7 @@ class UsersMassProcessingForm extends UserOptionListForm {
        // export mail address
        public $fileType = 'csv';
        public $separator = ',';
-       public $textSeparator = '"'; 
+       public $textSeparator = '"';
        
        // send mail
        public $subject = '';
index 9d8b8e102b73a8d8486c294c9fc7c70ff1d4af3e..71e760cf068ef206d10aee10dada9b7795dbb897 100644 (file)
@@ -38,7 +38,7 @@ abstract class DatabaseObjectList implements \Countable, ITraversableObject {
         * ids of result objects
         * @var array<integer>
         */
-       public $objectIDs = null; 
+       public $objectIDs = null;
        
        /**
         * sql offset
index 832026bd2493b3e694ccb1e94c7223b97f601e15..82dc19e090bbb2c5d9482a81ec2f422c655dab53 100644 (file)
@@ -37,14 +37,14 @@ class OptionAction extends AbstractDatabaseObjectAction {
         * Validates permissions and parameters.
         */
        public function validateImport() {
-               parent::validateCreate(); 
+               parent::validateCreate();
        }
        
        /**
         * Validates permissions and parameters.
         */
        public function validateUpdateAll() {
-               parent::validateCreate(); 
+               parent::validateCreate();
        }
        
        /**
index 56fbb7b1d740c22b3b63c9540db2d3e59c15126c..71ec8b09836e96bbc11abf1bc008491dec3a9f40 100644 (file)
@@ -21,7 +21,7 @@ class ACPMenuCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID) = explode('-', $cacheResource['cache']); 
+               list($cache, $packageID) = explode('-', $cacheResource['cache']);
                $data = array();
                
                // get all menu items and filter menu items with low priority
index e4452353d21754114379900a416a4eb2e6c6230a..ac39258077abb4a928e9c3d782db5fd3fd5afa59 100644 (file)
@@ -18,7 +18,7 @@ class EventListenerCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID) = explode('-', $cacheResource['cache']); 
+               list($cache, $packageID) = explode('-', $cacheResource['cache']);
                $data = array(
                        'actions' => array('user' => array(), 'admin' => array()),
                        'inheritedActions' => array('user' => array(), 'admin' => array())
index 9882b85302f0ec1b1ca98281b9b3a971311d4810..0af419c5d31771bbeb01074a018faa130555fd35 100644 (file)
@@ -21,7 +21,7 @@ class IconCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID, $styleID) = explode('-', $cacheResource['cache']); 
+               list($cache, $packageID, $styleID) = explode('-', $cacheResource['cache']);
                $data = array();
                
                // get active package
index cdbe5f9b31012e76d399f89e997180441b880c6a..6b8b2e8c9016838f42e99970309cc1ec72959c31 100644 (file)
@@ -19,7 +19,7 @@ class PageMenuCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID) = explode('-', $cacheResource['cache']); 
+               list($cache, $packageID) = explode('-', $cacheResource['cache']);
                $data = array();
 
                // get all menu items and filter menu items with low priority
index c4502a35e8b2a1e6c8de028d40ac3f7c4d01ca9d..b8979d7698b54ae13571c27502ac157aeec25c71 100644 (file)
@@ -18,7 +18,7 @@ class TemplateListenerCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID, $environment) = explode('-', $cacheResource['cache']); 
+               list($cache, $packageID, $environment) = explode('-', $cacheResource['cache']);
                
                // get templates for current package id
                $templateListenerList = new TemplateListenerList();
index 773bc0009fb0c1a1d23c0e525862a91dd4c45242..0b1e09bb90905f3eecfd24606471e7fb2bea1f94 100644 (file)
@@ -18,7 +18,7 @@ class TemplateListenerCodeCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($packageID, $environment, $templateName) = explode('-', $cacheResource['cache']); 
+               list($packageID, $environment, $templateName) = explode('-', $cacheResource['cache']);
                
                // get template codes for specified template
                $templateListenerList = new TemplateListenerList();
index 96c3f2f6ab7d30a95f93ebc1c15c606894dcda6b..7b1fb38818c14e6769746d1bec1abb352685eee0 100644 (file)
@@ -48,5 +48,5 @@ abstract class MailSender {
         * 
         * @param       wcf\system\mail\Mail    $mail
         */
-       abstract public function sendMail(Mail $mail); 
+       abstract public function sendMail(Mail $mail);
 }
index bfda66889519042d73f9d08910e2bea49d9707f2..f0387b5d2592512f66d4ede8ddc7d5706e387108 100644 (file)
@@ -189,7 +189,7 @@ class SMTPMailSender extends MailSender {
                        $result .= $read;
                        if (substr($read, 3, 1) == " ") break;
                }
-               return $result; 
+               return $result;
        }
        
        /**
index 582f8aa47df534dfeac308a1102a14341201377f..3961dc5716c4cc7e32e3d8b4b57f661699a000c3 100644 (file)
@@ -161,7 +161,7 @@ abstract class TreeMenu extends SingletonFactory {
         * @param       string          $menuItem       name of the active menu item
         */
        public function setActiveMenuItem($menuItem) {
-               $this->activeMenuItems = array(); 
+               $this->activeMenuItems = array();
                
                // build active menu list
                while (isset($this->menuItemList[$menuItem])) {
index b88cb4ca0628a18d6b7592c3e83651ba047ee81b..11dcd2ceab9a7500fe24bf74117855e266d822cf 100644 (file)
@@ -161,7 +161,7 @@ abstract class AbstractOptionPackageInstallationPlugin extends AbstractXMLPackag
                        if (!preg_match("/^[\w-\.]+$/", $data['name'])) {
                                $matches = array();
                                preg_match_all("/(\W)/", $data['name'], $matches);
-                               throw new SystemException("The user option '".$data['name']."' has at least one non-alphanumeric character (underscore is permitted): (".implode("), ( ", $matches[1]).")."); 
+                               throw new SystemException("The user option '".$data['name']."' has at least one non-alphanumeric character (underscore is permitted): (".implode("), ( ", $matches[1]).").");
                        }
                        
                        $this->saveOption($data, $data['categoryname']);
index 0455a4260b8d8ac5b015cdd7c882153fb4f64bcb..420a48e9188c76eb774117fa9cbb24c5119bf56b 100644 (file)
@@ -74,7 +74,7 @@ class Request {
         * @return      string
         */
        public function getClassName() {
-               return $this->className; 
+               return $this->className;
        }
        
        /**
index 4282ec91520769210d7e882270dcc0d576f8e387..77c6bb89f318b107f1dfe304e0215b81b31683ca 100644 (file)
@@ -136,9 +136,9 @@ class PagesFunctionTemplatePlugin implements IFunctionTemplatePlugin {
                        // calculate page links
                        $maxLinks = static::SHOW_LINKS - 4;
                        $linksBeforePage = $tagArgs['page'] - 2;
-                       if ($linksBeforePage < 0) $linksBeforePage = 0; 
+                       if ($linksBeforePage < 0) $linksBeforePage = 0;
                        $linksAfterPage = $tagArgs['pages'] - ($tagArgs['page'] + 1);
-                       if ($linksAfterPage < 0) $linksAfterPage = 0; 
+                       if ($linksAfterPage < 0) $linksAfterPage = 0;
                        if ($tagArgs['page'] > 1 && $tagArgs['page'] < $tagArgs['pages']) {
                                $maxLinks--;
                        }
index 76755b110df0b53a9fcce409b4fe963fe8d1840b..3c3936703fdea4c131c8e532170affff04169da2 100644 (file)
@@ -110,7 +110,7 @@ final class UserUtil {
                
                // darwin fix
                if ($REMOTE_ADDR == '::1' || $REMOTE_ADDR == 'fe80::1') {
-                       $REMOTE_ADDR = '127.0.0.1'; 
+                       $REMOTE_ADDR = '127.0.0.1';
                }
                
                $REMOTE_ADDR = self::convertIPv4To6($REMOTE_ADDR);
index 7f9e0b9e6a9336ca8c568e6861233d6b20e8000c..27168934c429e97614721a92c72b60dd92773695 100644 (file)
                                        > a {
                                                display: inline-block;
                                                color: @wcfColor;
-                                               font-weight: bold; 
+                                               font-weight: bold;
                                                height: 30px;
                                                line-height: 30px;
                                                text-align: center;
-                                               width: 30px; 
+                                               width: 30px;
                                                
                                                .textShadow(@wcfContainerBackgroundColor);
                                        }
index e6185a7c6e5faa8e001e25e868351499221fa0ed..df19117258c27c6cc117017f43e4c4b0af59f8c5 100644 (file)
@@ -13,7 +13,7 @@
 
 .dialogTitlebar {
        background-color: @wcfTabularBoxBackgroundColor;
-       border-bottom: 1px solid rgba(0, 0, 0, .1); 
+       border-bottom: 1px solid rgba(0, 0, 0, .1);
        display: block;
        padding: 10px 20px;
        min-height: 27px;
index fb1c25321a13465e95e241dd02de09871671aea0..f56204d98881f0dd7d62bd6c02533053608a8fe8 100644 (file)
@@ -110,7 +110,7 @@ a {
        z-index: 800;
        
        .borderRadius(6px);
-       .boxShadow(0, 3px, rgba(0, 0, 0, .3), 7px); 
+       .boxShadow(0, 3px, rgba(0, 0, 0, .3), 7px);
        
        .pointer {
                border-color: @wcfTooltipBackgroundColor transparent;