-WoltLab Community Framework 2.2
+WoltLab Suite Core 3.0
===============================
WoltLab Community Framework is a free web-framework, designed and developed for complex community applications. The framework applies the latest and most modern technologies, it is structured completly object-oriented, constantly enhanced and forms the base for all WoltLab products.
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.woltlab.wcf" xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/maelstrom/package.xsd">
<packageinformation>
- <packagename>WoltLab Community Framework</packagename>
+ <packagename>WoltLab Suite Core</packagename>
<packagedescription><![CDATA[Free web-framework, designed and developed for complex community applications.]]></packagedescription>
<packagedescription language="de"><![CDATA[Freies Web-Framework, das für komplexe Community-Anwendungen entworfen und entwickelt wurde.]]></packagedescription>
<isapplication>1</isapplication>
- <version>2.2.0 Alpha 2</version> <!-- codename: vortex -->
- <date>2015-10-22</date>
+ <version>3.0.0 Alpha 2</version> <!-- codename: vortex -->
+ <date>2016-06-14</date>
</packageinformation>
<authorinformation>
{event name='copyright'}
-{if $__wcf->isActiveApplication()}<div class="copyright">{lang}wcf.index.copyright{/lang}</div>{/if}
+<div class="copyright">{lang}wcf.page.copyright{/lang}</div>
{if ENABLE_BENCHMARK}{include file='benchmark'}{/if}
- <div class="copyright"><a href="https://www.woltlab.com">Copyright © 2001-2016 WoltLab® GmbH</a>{event name='copyright'}</div>
+ {event name='copyright'}
+
+ <div class="copyright">{lang}wcf.page.copyright{/lang}</div>
</div>
</div>
</footer>
@date_default_timezone_set('Europe/London');
}
-// define current wcf version
-define('WCF_VERSION', '2.2.0 Alpha 1 (Vortex)');
+// define current woltlab suite version
+define('WCF_VERSION', '3.0.0 Alpha 2');
// define current unix timestamp
define('TIME_NOW', time());
*/
protected static $installedFiles = [];
- /**
- * name of installed primary application
- * @var string
- */
- protected static $setupPackageName = 'WoltLab Community Framework';
-
/**
* indicates if developer mode is used to install
* @var boolean
$this->initTPL();
/** @noinspection PhpUndefinedMethodInspection */
self::getLanguage()->loadLanguage();
- $this->getPackageName();
+ $this->getPackageNames();
// start setup
$this->setup();
}
/**
- * Gets the package name of the first application in WCFSetup.tar.gz.
+ * Gets the package names of the bundled applications in WCFSetup.tar.gz.
*/
- protected static function getPackageName() {
+ protected static function getPackageNames() {
// get package name
+ $packageNames = [];
$tar = new Tar(SETUP_FILE);
foreach ($tar->getContentList() as $file) {
if ($file['type'] != 'folder' && mb_strpos($file['filename'], 'install/packages/') === 0) {
$packageFile = basename($file['filename']);
- $packageName = preg_replace('!\.(tar\.gz|tgz|tar)$!', '', $packageFile);
- if ($packageName != 'com.woltlab.wcf') {
- try {
- $archive = new PackageArchive(TMP_DIR.'install/packages/'.$packageFile);
- $archive->openArchive();
- self::$setupPackageName = $archive->getLocalizedPackageInfo('packageName');
- $archive->getTar()->close();
- break;
- }
- catch (SystemException $e) {}
+ try {
+ $archive = new PackageArchive(TMP_DIR.'install/packages/'.$packageFile);
+ $archive->openArchive();
+ $packageNames[] = $archive->getLocalizedPackageInfo('packageName');
+ $archive->getTar()->close();
}
+ catch (SystemException $e) {}
}
}
$tar->close();
+ sort($packageNames);
+
// assign package name
- WCF::getTPL()->assign(['setupPackageName' => self::$setupPackageName]);
+ WCF::getTPL()->assign(['setupPackageNames' => $packageNames]);
}
}
$this->setOptions($options);
// set default headers
- $this->addHeader('user-agent', "HTTP.PHP (HTTPRequest.class.php; WoltLab Community Framework/".WCF_VERSION."; ".WCF::getLanguage()->languageCode.")");
+ $this->addHeader('user-agent', "HTTP.PHP (HTTPRequest.class.php; WoltLab Suite/".WCF_VERSION."; ".WCF::getLanguage()->languageCode.")");
$this->addHeader('accept', '*/*');
$this->addHeader('accept-language', WCF::getLanguage()->getFixedLanguageCode());
define('URL_LEGACY_MODE', 0);
define('URL_TO_LOWERCASE', 1);
define('SEARCH_ENGINE', 'mysql');
+define('SHOW_VERSION_NUMBER', 1);
define('WCF_OPTION_INC_PHP_SUCCESS', true);
</category>
<category name="wcf.acp.index">
- <item name="wcf.acp.index.credits"><![CDATA[Über WoltLab® Community Framework]]></item>
+ <item name="wcf.acp.index.credits"><![CDATA[Über WoltLab Suite™]]></item>
<item name="wcf.acp.index.credits.contributor"><![CDATA[Mitwirkende]]></item>
<item name="wcf.acp.index.credits.designer"><![CDATA[Design]]></item>
<item name="wcf.acp.index.credits.developedBy"><![CDATA[Software entwickelt von]]></item>
<item name="wcf.acp.index.setup.title"><![CDATA[Bitte warten]]></item>
<item name="wcf.acp.index.system"><![CDATA[System]]></item>
<item name="wcf.acp.index.system.software"><![CDATA[Software]]></item>
- <item name="wcf.acp.index.system.software.wcfVersion"><![CDATA[Community Framework™-Version]]></item>
+ <item name="wcf.acp.index.system.software.wcfVersion"><![CDATA[WoltLab Suite™-Version]]></item>
<item name="wcf.acp.index.system.server"><![CDATA[Server]]></item>
<item name="wcf.acp.index.system.os"><![CDATA[Betriebssystem]]></item>
<item name="wcf.acp.index.system.webserver"><![CDATA[Webserver]]></item>
<item name="wcf.page.requestedPage"><![CDATA[Aufgerufene Seite]]></item>
<item name="wcf.page.cookiePolicy.info"><![CDATA[Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. <a href="{page}com.woltlab.wcf.CookiePolicy{/page}">Weitere Informationen</a>]]></item>
<item name="wcf.page.comments"><![CDATA[Kommentare]]></item>
+ <item name="wcf.page.copyright"><![CDATA[<a href="https://www.woltlab.com/de/" rel="nofollow"{if EXTERNAL_LINK_TARGET_BLANK} target="_blank"{/if}>Community-Software: <strong>WoltLab Suite™{if SHOW_VERSION_NUMBER} {@WCF_VERSION}{/if}</strong></a>]]></item>
<item name="wcf.page.onlineLocation.com.woltlab.wcf.User"><![CDATA[Benutzerprofil von <a href="{link controller='User' object=$user}{/link}" class="userLink" data-user-id="{@$user->userID}">{$user->username}</a>]]></item>
</category>
</category>
<category name="wcf.acp.index">
- <item name="wcf.acp.index.credits"><![CDATA[About WoltLab® Community Framework]]></item>
+ <item name="wcf.acp.index.credits"><![CDATA[About WoltLab Suite™]]></item>
<item name="wcf.acp.index.credits.contributor"><![CDATA[Contributions]]></item>
<item name="wcf.acp.index.credits.designer"><![CDATA[Designer]]></item>
<item name="wcf.acp.index.credits.developedBy"><![CDATA[Software developed by]]></item>
<item name="wcf.acp.index.setup.title"><![CDATA[Please Wait]]></item>
<item name="wcf.acp.index.system"><![CDATA[System]]></item>
<item name="wcf.acp.index.system.software"><![CDATA[Software]]></item>
- <item name="wcf.acp.index.system.software.wcfVersion"><![CDATA[Community Framework™ Version]]></item>
+ <item name="wcf.acp.index.system.software.wcfVersion"><![CDATA[WoltLab Suite™ Version]]></item>
<item name="wcf.acp.index.system.server"><![CDATA[Server]]></item>
<item name="wcf.acp.index.system.os"><![CDATA[Operating System]]></item>
<item name="wcf.acp.index.system.webserver"><![CDATA[Web Server]]></item>
<item name="wcf.page.requestedPage"><![CDATA[Requested Page]]></item>
<item name="wcf.page.cookiePolicy.info"><![CDATA[This site uses cookies. By continuing to browse this site, you are agreeing to our use of cookies. <a href="{page}com.woltlab.wcf.CookiePolicy{/page}">More details</a>]]></item>
<item name="wcf.page.comments"><![CDATA[Comments]]></item>
+ <item name="wcf.page.copyright"><![CDATA[<a href="https://www.woltlab.com" rel="nofollow"{if EXTERNAL_LINK_TARGET_BLANK} target="_blank"{/if}>Powered by <strong>WoltLab Suite™{if SHOW_VERSION_NUMBER} {@WCF_VERSION}{/if}</strong></a>]]></item>
<item name="wcf.page.onlineLocation.com.woltlab.wcf.User"><![CDATA[User profile of <a href="{link controller='User' object=$user}{/link}" class="userLink" data-user-id="{@$user->userID}">{$user->username}</a>]]></item>
</category>
<?xml version="1.0" encoding="UTF-8"?>
<language xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/maelstrom/language.xsd" languagecode="de" languagename="Deutsch">
<category name="wcf.global">
- <item name="wcf.global.title"><![CDATA[{$setupPackageName} Installation]]></item>
+ <item name="wcf.global.title"><![CDATA[WoltLab Suite™ Installation]]></item>
<item name="wcf.global.pageDirection"><![CDATA[ltr]]></item>
<item name="wcf.global.decimalPoint"><![CDATA[,]]></item>
<item name="wcf.global.thousandsSeparator"><![CDATA[.]]></item>
<item name="wcf.global.button.next"><![CDATA[Weiter »]]></item>
<item name="wcf.global.progressBar"><![CDATA[{@$progress}% fertiggestellt]]></item>
- <item name="wcf.global.welcome"><![CDATA[Vielen Dank, dass Sie sich für {$setupPackageName} entschieden haben!]]></item>
- <item name="wcf.global.welcome.description"><![CDATA[Dieser Installationsassistent hilft Ihnen bei der Einrichtung von <br><b>WoltLab Community Framework</b>{if $setupPackageName != 'WoltLab Community Framework'} und von <b>{$setupPackageName}</b>{/if}.]]></item>
+ <item name="wcf.global.welcome"><![CDATA[Vielen Dank, dass Sie sich für WoltLab Suite™ entschieden haben!]]></item>
+ <item name="wcf.global.welcome.description"><![CDATA[Dieser Installationsassistent hilft Ihnen bei der Einrichtung von <strong>WoltLab Suite™</strong>.]]></item>
<item name="wcf.global.welcome.language"><![CDATA[Sprache]]></item>
<item name="wcf.global.welcome.language.description"><![CDATA[Die Sprache dieses Assistenten ist zurzeit {@$languageChooser}]]></item>
<item name="wcf.global.welcome.language.change"><![CDATA[Sprache wechseln]]></item>
<?xml version="1.0" encoding="UTF-8"?>
<language xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/maelstrom/language.xsd" languagecode="en" languagename="English">
<category name="wcf.global">
- <item name="wcf.global.title"><![CDATA[{$setupPackageName} Installation]]></item>
+ <item name="wcf.global.title"><![CDATA[WoltLab Suite™ Installation]]></item>
<item name="wcf.global.pageDirection"><![CDATA[ltr]]></item> <!-- system variable; do not translate -->
<item name="wcf.global.decimalPoint"><![CDATA[.]]></item>
<item name="wcf.global.thousandsSeparator"><![CDATA[,]]></item>
<item name="wcf.global.button.next"><![CDATA[Next »]]></item>
<item name="wcf.global.progressBar"><![CDATA[{@$progress}% complete]]></item>
- <item name="wcf.global.welcome"><![CDATA[Thank you for choosing {$setupPackageName}!]]></item>
- <item name="wcf.global.welcome.description"><![CDATA[This installer will help you to install <br><b>WoltLab Community Framework</b>{if $setupPackageName != 'WoltLab Community Framework'} and <b>{$setupPackageName}</b>{/if}.]]></item>
+ <item name="wcf.global.welcome"><![CDATA[Thank you for choosing WoltLab Suite™!]]></item>
+ <item name="wcf.global.welcome.description"><![CDATA[This installer will help you to install <strong>WoltLab Suite™</strong>.]]></item>
<item name="wcf.global.welcome.language"><![CDATA[Language]]></item>
<item name="wcf.global.welcome.language.description"><![CDATA[The installer language is currently set to {@$languageChooser}]]></item>
<item name="wcf.global.welcome.language.change"><![CDATA[Change Language]]></item>
<footer id="pageFooter" class="pageFooter">
<div id="pageFooterCopyright" class="pageFooterCopyright">
<div class="layoutBoundary">
- <div class="copyright"><a href="https://www.woltlab.com">Copyright © 2001-2016 WoltLab® GmbH</a></div>
+ <div class="copyright"><a href="https://www.woltlab.com" rel="nofollow">Powered by <strong>WoltLab Suite™ {@WCF_VERSION}</strong></a></div>
</div>
</div>
</footer>
<header class="contentHeader">
<div class="contentHeaderTitle">
<h1 class="contentTitle">{lang}wcf.global.title{/lang}</h1>
+ <p class="contentHeaderDescription">{implode from=$setupPackageNames item='setupPackageName'}{'/^WoltLab Suite /'|preg_replace:'':$setupPackageName}{/implode}</p>
<p class="contentHeaderDescription"><progress id="packageInstallationProgress" value="{@$progress}" max="100" style="width: 300px;" title="{@$progress}%">{@$progress}%</progress></p>
</div>
</header>
{foreach from=$showOrder item=$application}
<dl{if $errors[$application]|isset} class="formError"{/if}>
<dt>
- <label for="application_{$application}">{$packages[$application][packageName]}</label>
+ <label for="application_{$application}">{'/^WoltLab Suite /'|preg_replace:'':$packages[$application][packageName]}</label>
</dt>
<dd>
<input type="text" id="application_{$application}" class="long jsApplicationDirectory" name="directories[{$application}]" value="{$directories[$application]}">