Removes double whitespaces
authorMatthias Schmidt <gravatronics@live.com>
Thu, 29 Nov 2012 22:09:33 +0000 (23:09 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 29 Nov 2012 22:09:33 +0000 (23:09 +0100)
23 files changed:
XSD/coreObject.xsd
XSD/cronjob.xsd
XSD/eventListener.xsd
XSD/option.xsd
XSD/pageLocation.xsd
XSD/pageMenu.xsd
XSD/userGroupOption.xsd
wcfsetup/install.php
wcfsetup/install/files/lib/acp/form/UserOptionListForm.class.php
wcfsetup/install/files/lib/data/DatabaseObjectDecorator.class.php
wcfsetup/install/files/lib/data/IDatabaseObjectProcessor.class.php
wcfsetup/install/files/lib/system/benchmark/Benchmark.class.php
wcfsetup/install/files/lib/system/database/editor/DatabaseEditor.class.php
wcfsetup/install/files/lib/system/exception/LoggedException.class.php
wcfsetup/install/files/lib/system/exception/SystemException.class.php
wcfsetup/install/files/lib/system/mail/SMTPMailSender.class.php
wcfsetup/install/files/lib/system/package/plugin/SQLPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/request/LinkHandler.class.php
wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php
wcfsetup/install/files/style/datePicker.less
wcfsetup/install/files/style/global.less
wcfsetup/setup/db/install.sql
wcfsetup/setup/template/stepConfigureDB.tpl

index 245c70cfadba347936addb044cf38ff9426e4fed..385bbd4873f47dee1f340652935cd56b540edd55 100644 (file)
@@ -27,7 +27,7 @@
                        <xs:element name="coreobject" type="coreObject" maxOccurs="unbounded" />
                </xs:sequence>
        </xs:complexType>
-           
+       
        <!-- core object element type -->
        <xs:complexType name="coreObject">
                <xs:all>
index c0bddf2065d841bbe4f48a5c6110929a459459a7..7c319fef76cc58d6b08bf8bfccc6551b81af50f7 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<!-- The file "cronjobs.xsd" is used for xml-files which installs, updates or deletes searchable cronjobs.  -->
+<!-- The file "cronjobs.xsd" is used for xml-files which installs, updates or deletes searchable cronjobs. -->
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.woltlab.com" targetNamespace="http://www.woltlab.com" elementFormDefault="qualified">
        <!-- include types -->
        <xs:include schemaLocation="types.xsd" />
index 89d364c33b36b7093dd50346d3c181a1183910ec..a95fc35fc4ba2e31630a3d93cedec1458a9310fd 100644 (file)
@@ -27,7 +27,7 @@
                        <xs:element name="eventlistener" type="eventlistener" maxOccurs="unbounded" />
                </xs:sequence>
        </xs:complexType>
-           
+       
        <!-- event listener element type -->
        <xs:complexType name="eventlistener">
                <xs:all>
index b9dc76229a98c587a3e0e8fdf0730d36be3c57de..e2e30c28879b135bb0bbadd58563ff732a96c58a 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- The file "option.xsd" is used for xml-files which installs, updates or deletes options.  -->
+<!-- The file "option.xsd" is used for xml-files which installs, updates or deletes options. -->
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.woltlab.com" targetNamespace="http://www.woltlab.com" elementFormDefault="qualified">
        <!-- include types -->
        <xs:include schemaLocation="types.xsd" />
index 1779f2802d1ae16bc9a1f27a6ccddb1c429cbd04..31bb38a38558d34128a61b2201dc8336ad8414f4 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<!-- This file is used for xml files which install, update or delete page locations.  -->
+<!-- This file is used for xml files which install, update or delete page locations. -->
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.woltlab.com" targetNamespace="http://www.woltlab.com" elementFormDefault="qualified">
        <!-- include types -->
        <xs:include schemaLocation="types.xsd" />
@@ -30,7 +30,7 @@
        
        <!-- deleted page location element type -->
        <xs:complexType name="pagelocation_delete">
-                 <xs:attribute name="name" type="woltlab_varchar" use="required" />
+               <xs:attribute name="name" type="woltlab_varchar" use="required" />
        </xs:complexType>       
        
        <!-- imported/updated page location element type -->
index 854e8578dac697cbeb922f0f0afb9ce88375e6fe..eb3d6817b9f2bed6c11365ab1b470fdfe10846a3 100644 (file)
@@ -30,7 +30,7 @@
        
        <!-- deleted page menu item element -->
        <xs:complexType name="pagemenuitem_delete">
-                 <xs:attribute name="name" type="woltlab_varchar" use="required" />
+               <xs:attribute name="name" type="woltlab_varchar" use="required" />
        </xs:complexType>       
        
        <!-- imported/updated page menu item element -->
index 3984502c96de1a0cc9c59d9b6a9c0c6f19b72125..0d46107e64f59670e3e7c1bad98f112934d5e01e 100644 (file)
@@ -61,7 +61,7 @@
                                        <xs:element name="optiontype" type="woltlab_varchar_nullable" minOccurs="0" />
                                        <xs:element name="defaultvalue" type="xs:string" minOccurs="0" />
                                        <xs:element name="validationpattern" type="xs:string" minOccurs="0" />
-                                       <xs:element name="enableoptions" type="xs:string" minOccurs="0" />                                     
+                                       <xs:element name="enableoptions" type="xs:string" minOccurs="0" />
                                        <xs:element name="showorder" type="xs:unsignedInt" minOccurs="0" />
                                        <xs:element name="options" type="xs:string" minOccurs="0" />
                                        <xs:element name="permissions" type="xs:string" minOccurs="0" />
index 372c781ee4b501f6a2d517c947ceaf2d21ce5bce..8fe2f60eec43c1b39eb795f85e8d297f838485b3 100644 (file)
@@ -163,7 +163,7 @@ function __autoload($className) {
                array_shift($namespaces);
                
                $className = implode('/', $namespaces);
-               $classPath = TMP_DIR . 'install/files/lib/' . $className  . '.class.php';
+               $classPath = TMP_DIR . 'install/files/lib/' . $className . '.class.php';
                if (file_exists($classPath)) {
                        require_once($classPath);
                }
index 3cddd42cb73fe6a7613e99022123f03bfb9d8098..22458ab709e478b4edbf87beedc53fe7c41a17d0 100644 (file)
@@ -39,7 +39,7 @@ abstract class UserOptionListForm extends AbstractOptionListForm {
        }
        
        /**
-        * Returns the default-form language id    
+        * Returns the default form language id.
         * 
         * @return      integer         $languageID
         */
index 18b5d3f94e390f9b1bb24579515dcc7f55ea62f6..43a8da628709a61620c15ce53df602f791d7f2f0 100644 (file)
@@ -58,7 +58,7 @@ abstract class DatabaseObjectDecorator extends DatabaseObject {
        
        /**
         * Delegates inaccessible methods calls to the decorated object.
-        *  
+        * 
         * @param       string          $name
         * @param       array           $arguments
         * @return      mixed
index 57866bedd257bd43e3cdaed37d75a6c189a85845..694b4a8867fcf50bec8fed944d9cf06c3b58635b 100644 (file)
@@ -21,7 +21,7 @@ interface IDatabaseObjectProcessor {
        
        /**
         * Delegates accesses to inaccessible object properties the processed object.
-        *   
+        * 
         * @param       string          $name
         * @return      mixed
         */
@@ -38,7 +38,7 @@ interface IDatabaseObjectProcessor {
        
        /**
         * Delegates inaccessible method calls to the processed database object.
-        *  
+        * 
         * @param       string          $name
         * @param       array           $arguments
         * @return      mixed
index d8a1c4911a77712c8350010c8f74bce59d5ad936..1ce2b31f85b12df131b89ea932e88dc8ac747c94 100644 (file)
@@ -76,7 +76,7 @@ class Benchmark extends SingletonFactory {
                }
                
                $this->items[$index]['after'] = self::getMicrotime();
-               $this->items[$index]['use']  = self::compareMicrotimes($this->items[$index]['before'], $this->items[$index]['after']);
+               $this->items[$index]['use'] = self::compareMicrotimes($this->items[$index]['before'], $this->items[$index]['after']);
                $this->items[$index]['end'] = self::compareMicrotimes($this->startTime, $this->items[$index]['after']);
                if ($this->items[$index]['type'] == self::TYPE_SQL_QUERY) {
                        $this->queryCount++;
index a65f823c69aa85f3156fd42503d02a161e8fb90b..b71c2a85d547c4aee8ea74410e557e8cc33ebfb5 100644 (file)
@@ -29,7 +29,7 @@ abstract class DatabaseEditor {
        }
        
        /**
-        * Returns all existing tablenames.  
+        * Returns all existing table names.
         * 
         * @return      array           $existingTables
         */
index f9aee59093bb08ad4a780c13ebbe1a01bbcadc76..8c616f6ae858f1852c10e7c8f796673091d511c8 100644 (file)
@@ -57,7 +57,7 @@ class LoggedException extends \Exception {
                        'WCF version: '.WCF_VERSION."\n".
                        'Request URI: '.(isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '')."\n".
                        'Referrer: '.(isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '')."\n".
-                       "Stacktrace: \n  ".implode("\n  ", explode("\n", $e->getTraceAsString()))."\n";
+                       "Stacktrace: \n ".implode("\n  ", explode("\n", $e->getTraceAsString()))."\n";
                
                // calculate Exception-ID
                $id = StringUtil::getHash($message);
index 0ba811b52f8e99de7b3168e429664a749df0bf93..9168be41ad866d1f68391fe39e2de0a4f7bf84ae 100644 (file)
@@ -164,7 +164,7 @@ class SystemException extends LoggedException implements IPrintableException {
                                                                <b>php version:</b> <?php echo StringUtil::encodeHTML(phpversion()); ?><br>
                                                                <b>wcf version:</b> <?php echo WCF_VERSION; ?><br>
                                                                <b>date:</b> <?php echo gmdate('r'); ?><br>
-                                                               <b>request:</b> <?php if (isset($_SERVER['REQUEST_URI']))  echo StringUtil::encodeHTML($_SERVER['REQUEST_URI']); ?><br>
+                                                               <b>request:</b> <?php if (isset($_SERVER['REQUEST_URI'])) echo StringUtil::encodeHTML($_SERVER['REQUEST_URI']); ?><br>
                                                                <b>referer:</b> <?php if (isset($_SERVER['HTTP_REFERER'])) echo StringUtil::encodeHTML($_SERVER['HTTP_REFERER']); ?><br>
                                                        </p>
                                                        
index 76f31271465f0191665a0a3e6e6f3e505fd1b78e..bfda66889519042d73f9d08910e2bea49d9707f2 100644 (file)
@@ -200,7 +200,7 @@ class SMTPMailSender extends MailSender {
        protected function getSMTPStatus($data = null) {
                if ($data === null) $data = $this->read();
                $this->statusCode = intval(substr($data, 0, 3));
-               $this->statusMsg  = substr($data, 4);
+               $this->statusMsg = substr($data, 4);
        }
        
        /**
index 668faf985ce80da44827804c384cf69f2a6bb262..df2fead2419db2e2a9f6999346e2b6ceacba5125 100644 (file)
@@ -49,7 +49,7 @@ class SQLPackageInstallationPlugin extends AbstractPackageInstallationPlugin {
                                $queries = StringUtil::replace($packageAbbr.'1_1_', $packageAbbr.$tablePrefix, $queries);
                        }
                        
-                       // replace wcf1_  with the actual WCF_N value
+                       // replace wcf1_ with the actual WCF_N value
                        $queries = str_replace("wcf1_", "wcf".WCF_N."_", $queries);
                        
                        // check queries
index 123ab37332fc6a6b401b6b3f08ae4df4bd2c20c2..cbf9ce71079a2b3b14432899991f6afe4d0324fd 100644 (file)
@@ -51,7 +51,7 @@ class LinkHandler extends SingletonFactory {
                if ($controller !== null) {
                        // handle object
                        if (isset($parameters['object'])) {
-                               if (!($parameters['object'] instanceof \wcf\system\request\IRouteController) && $parameters['object'] instanceof \wcf\data\DatabaseObjectDecorator && $parameters['object']->getDecoratedObject() instanceof \wcf\system\request\IRouteController)  {
+                               if (!($parameters['object'] instanceof \wcf\system\request\IRouteController) && $parameters['object'] instanceof \wcf\data\DatabaseObjectDecorator && $parameters['object']->getDecoratedObject() instanceof \wcf\system\request\IRouteController) {
                                        $parameters['object'] = $parameters['object']->getDecoratedObject();
                                }
                                
index 36973d2694dddad2ce441b4eddfb00515dd46505..f12672958bd567444e1ba96b4258cacf187b0a41 100644 (file)
@@ -653,8 +653,8 @@ class TemplateScriptingCompiler {
                $phpCode .= "\$this->v[".$args['name']."] = ".$sectionProp."['index'];\n";
                $phpCode .= $sectionProp."['previousIndex'] = ".$sectionProp."['index'] - ".$sectionProp."['step'];\n";
                $phpCode .= $sectionProp."['nextIndex'] = ".$sectionProp."['index'] + ".$sectionProp."['step'];\n";
-               $phpCode .= $sectionProp."['first']      = (".$sectionProp."['rowNumber'] == 1);\n";
-               $phpCode .= $sectionProp."['last']       = (".$sectionProp."['rowNumber'] == ".$sectionProp."['total']);\n";
+               $phpCode .= $sectionProp."['first'] = (".$sectionProp."['rowNumber'] == 1);\n";
+               $phpCode .= $sectionProp."['last'] = (".$sectionProp."['rowNumber'] == ".$sectionProp."['total']);\n";
                $phpCode .= "?>";
                
                return $phpCode;
@@ -1345,7 +1345,7 @@ class TemplateScriptingCompiler {
                                        case '/':
                                        case '%':
                                        case '^':
-                                               if ($status == 'variable' || $status == 'object' || $status == 'constant' ||  $status == 'string' || $status == 'modifier end') {
+                                               if ($status == 'variable' || $status == 'object' || $status == 'constant' || $status == 'string' || $status == 'modifier end') {
                                                        $result .= $operator;
                                                        $statusStack[count($statusStack) - 1] = 'math';
                                                        break;
index bae2fcc7043e9b3dcbe40bb1d5d717625deaee16..7f9e0b9e6a9336ca8c568e6861233d6b20e8000c 100644 (file)
                background-color: @wcfContainerAccentBackgroundColor;
        }
        
-       .ui-datepicker-unselectable .ui-state-default {  
+       .ui-datepicker-unselectable .ui-state-default {
                background-color: @wcfContainerBackgroundColor;
                color: @wcfDimmedColor;
        }
        
-       .ui-datepicker-calendar .ui-state-hover {  
+       .ui-datepicker-calendar .ui-state-hover {
                background-color: @wcfContainerHoverBackgroundColor;
        }
        
index 9bac2decb801605a974bf1ef69c47cc6f694037c..fb1c25321a13465e95e241dd02de09871671aea0 100644 (file)
@@ -92,7 +92,7 @@ a {
 }
 
 .framed {
-       > img  {
+       > img {
                background-color: @wcfContentBackgroundColor;
                border: 1px solid @wcfContainerBorderColor;
                padding: 1px;
index bb3ba20b77a5f216086d26047626883685d83474..bacf981e778d79937962e6b3ed135f63769f25f8 100644 (file)
@@ -669,7 +669,7 @@ CREATE TABLE wcf1_user_group (
 );
 
 DROP TABLE IF EXISTS wcf1_user_group_option;
-CREATE TABLE wcf1_user_group_option  (
+CREATE TABLE wcf1_user_group_option (
        optionID INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
        packageID INT(10),
        optionName VARCHAR(255) NOT NULL DEFAULT '',
@@ -699,7 +699,7 @@ CREATE TABLE wcf1_user_group_option_category (
 );
 
 DROP TABLE IF EXISTS wcf1_user_group_option_value;
-CREATE TABLE wcf1_user_group_option_value  (
+CREATE TABLE wcf1_user_group_option_value (
        groupID INT(10) NOT NULL,
        optionID INT(10) NOT NULL,
        optionValue MEDIUMTEXT NOT NULL,
index b3259ae85895e99459d364d4f7ba0ca8bc62df01..b0a5ccb783f6db7fb0470c9f24803bfd5ee52361 100644 (file)
@@ -46,7 +46,7 @@
                <dl>
                        <dt><label for="dbName">{lang}wcf.global.configureDB.database{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="dbName" name="dbName" value="{$dbName}" class="medium"  />
+                               <input type="text" id="dbName" name="dbName" value="{$dbName}" class="medium" />
                                <small>{lang}wcf.global.configureDB.database.description{/lang}</small>
                        </dd>
                </dl>