From aac1247eda11d5641f6df2d9ea8ae5226556dbb4 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 31 Dec 2011 21:22:59 +0100 Subject: [PATCH] Replaces 'standalone' with 'isApplication' --- XSD/package.xsd | 2 +- XSD/packageUpdateServer.xsd | 6 ++--- com.woltlab.wcf/package.xml | 2 +- wcfsetup/install/files/acp/style/wcf.css | 20 ++++++++-------- .../files/acp/templates/packageList.tpl | 8 +++---- .../acp/templates/packageListDetailed.tpl | 6 ++--- .../acp/templates/packageStartInstall.tpl | 2 +- .../packageUninstallationDependencies.tpl | 4 ++-- .../acp/templates/packageUpdateSearch.tpl | 2 +- .../templates/packageUpdateSearchResult.tpl | 4 ++-- .../files/acp/templates/packageView.tpl | 14 +++++------ ...tandalone1.svg => packageApplication1.svg} | 0 .../form/PackageUpdateSearchForm.class.php | 23 +++++++++---------- .../lib/acp/page/CacheListPage.class.php | 4 ++-- .../page/PackageListDetailedPage.class.php | 4 ++-- .../lib/acp/page/PackageListPage.class.php | 2 +- .../lib/data/option/OptionEditor.class.php | 2 +- .../files/lib/data/package/Package.class.php | 8 +++---- .../lib/data/style/StyleEditor.class.php | 6 ++--- .../install/files/lib/system/WCFACP.class.php | 6 ++--- .../files/lib/system/WCFSetup.class.php | 2 +- .../cache/source/DiskCacheSource.class.php | 2 +- .../package/ACPTemplatesFileHandler.class.php | 6 ++--- .../system/package/PackageArchive.class.php | 6 ++--- .../PackageInstallationDispatcher.class.php | 10 ++++---- .../PackageInstallationNodeBuilder.class.php | 4 ++-- .../package/PackageUpdateDispatcher.class.php | 16 ++++++------- ...emplatePackageInstallationPlugin.class.php | 2 +- .../FilePackageInstallationPlugin.class.php | 8 +++---- ...anguagePackageInstallationPlugin.class.php | 4 ++-- .../SQLPackageInstallationPlugin.class.php | 4 ++-- ...emplatePackageInstallationPlugin.class.php | 2 +- wcfsetup/setup/db/install.sql | 4 ++-- 33 files changed, 97 insertions(+), 98 deletions(-) rename wcfsetup/install/files/icon/{packageStandalone1.svg => packageApplication1.svg} (100%) diff --git a/XSD/package.xsd b/XSD/package.xsd index 67ed0b3cf5..dec100fac7 100644 --- a/XSD/package.xsd +++ b/XSD/package.xsd @@ -86,7 +86,7 @@ - + diff --git a/XSD/packageUpdateServer.xsd b/XSD/packageUpdateServer.xsd index 6ed4c11cdb..1fd2393812 100644 --- a/XSD/packageUpdateServer.xsd +++ b/XSD/packageUpdateServer.xsd @@ -34,7 +34,7 @@ - + @@ -49,8 +49,8 @@ - - + + diff --git a/com.woltlab.wcf/package.xml b/com.woltlab.wcf/package.xml index cec7d322c9..a5a8949022 100644 --- a/com.woltlab.wcf/package.xml +++ b/com.woltlab.wcf/package.xml @@ -3,7 +3,7 @@ WoltLab Community Framework Free web-framework, designed and developed for complex community applications. - 1 + 1 1 2.0.0 Alpha 1 2011-05-19 diff --git a/wcfsetup/install/files/acp/style/wcf.css b/wcfsetup/install/files/acp/style/wcf.css index deb4208fc9..f25fb4cf80 100644 --- a/wcfsetup/install/files/acp/style/wcf.css +++ b/wcfsetup/install/files/acp/style/wcf.css @@ -3637,15 +3637,15 @@ input[type='button'][disabled='disabled'], /* ############## ACP Package List ############## */ -/* -- -- -- Package Standalone -- -- -- */ +/* -- -- -- Application Package -- -- -- */ /* Globals */ -.infoPackageStandalone { +.infoPackageApplication { position: relative; } -.infoPackageStandalone img.packageStandaloneIcon { +.infoPackageApplication img.packageApplicationIcon { position: absolute; top: 30px; left: 25px; @@ -3653,12 +3653,12 @@ input[type='button'][disabled='disabled'], height: 96px; } -.infoPackageStandalone div { +.infoPackageApplication div { margin-bottom: -15px; margin-left: 30px; } -.infoPackageStandalone footer { +.infoPackageApplication footer { position: relative; right: -15px; bottom: -15px; @@ -3796,14 +3796,14 @@ input[type='button'][disabled='disabled'], /* -- -- -- Package Footers -- -- -- */ -.infoPackageStandalone footer nav, +.infoPackageApplication footer nav, .infoPackagePlugin footer nav { text-align: right; } @media screen and (min-width: 480px), screen and (min-device-width: 480px) { - .infoPackageStandalone footer nav, + .infoPackageApplication footer nav, .infoPackagePlugin footer nav { opacity: 0; @@ -3814,7 +3814,7 @@ input[type='button'][disabled='disabled'], transition: opacity .1s linear; } - .infoPackageStandalone:hover footer nav, + .infoPackageApplication:hover footer nav, .infoPackagePlugin:hover footer nav { opacity: 1; } @@ -3823,9 +3823,9 @@ input[type='button'][disabled='disabled'], @media screen and (max-width: 480px), screen and (max-device-width: 480px) { - .infoPackageStandalone footer nav, + .infoPackageApplication footer nav, .infoPackagePlugin footer nav, - .infoPackageStandalone:hover footer nav, + .infoPackageApplication:hover footer nav, .infoPackagePlugin:hover footer nav { opacity: 1; } diff --git a/wcfsetup/install/files/acp/templates/packageList.tpl b/wcfsetup/install/files/acp/templates/packageList.tpl index 87002962cb..cbe3667785 100644 --- a/wcfsetup/install/files/acp/templates/packageList.tpl +++ b/wcfsetup/install/files/acp/templates/packageList.tpl @@ -23,7 +23,7 @@
- +

{lang}wcf.acp.package.list{/lang}

@@ -43,10 +43,10 @@ {foreach from=$applications key=packageID item=package} -
+
{$package->getName()} - +
@@ -115,7 +115,7 @@ diff --git a/wcfsetup/install/files/acp/templates/packageListDetailed.tpl b/wcfsetup/install/files/acp/templates/packageListDetailed.tpl index 8d38a26737..d94343c132 100644 --- a/wcfsetup/install/files/acp/templates/packageListDetailed.tpl +++ b/wcfsetup/install/files/acp/templates/packageListDetailed.tpl @@ -11,7 +11,7 @@
- +

{lang}wcf.acp.package.list{/lang}

@@ -73,8 +73,8 @@

{@$package->packageID}

- {if $package->standalone} - + {if $package->isApplication} + {elseif $package->isPlugin()} {else} diff --git a/wcfsetup/install/files/acp/templates/packageStartInstall.tpl b/wcfsetup/install/files/acp/templates/packageStartInstall.tpl index 0b8b80aa13..34f98ee90a 100644 --- a/wcfsetup/install/files/acp/templates/packageStartInstall.tpl +++ b/wcfsetup/install/files/acp/templates/packageStartInstall.tpl @@ -21,7 +21,7 @@