<xs:element name="coreobject" type="coreObject" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
-
+
<!-- core object element type -->
<xs:complexType name="coreObject">
<xs:all>
<?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" />
<xs:element name="eventlistener" type="eventlistener" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
-
+
<!-- event listener element type -->
<xs:complexType name="eventlistener">
<xs:all>
<?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" />
<?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" />
<!-- 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 -->
<!-- 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 -->
<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" />
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);
}
}
/**
- * Returns the default-form language id
+ * Returns the default form language id.
*
* @return integer $languageID
*/
/**
* Delegates inaccessible methods calls to the decorated object.
- *
+ *
* @param string $name
* @param array $arguments
* @return mixed
/**
* Delegates accesses to inaccessible object properties the processed object.
- *
+ *
* @param string $name
* @return mixed
*/
/**
* Delegates inaccessible method calls to the processed database object.
- *
+ *
* @param string $name
* @param array $arguments
* @return mixed
}
$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++;
}
/**
- * Returns all existing tablenames.
+ * Returns all existing table names.
*
* @return array $existingTables
*/
'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);
<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>
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);
}
/**
$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
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();
}
$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;
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;
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;
}
}
.framed {
- > img {
+ > img {
background-color: @wcfContentBackgroundColor;
border: 1px solid @wcfContainerBorderColor;
padding: 1px;
);
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 '',
);
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,
<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>