You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wcfsetup/install/files/lib/data/menu/item/MenuItem.class.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@
32
32
* @property-read int $isDisabled is `1` if the menu item is disabled and thus not shown in the menu, otherwise `0`
33
33
* @property-read int $originIsSystem is `1` if the menu item has been delivered by a package, otherwise `0` (if the menu item has been created by an admin in the ACP)
34
34
* @property-read int $packageID id of the package the which delivers the menu item or `1` if it has been created in the ACP
35
-
* @property-read string $additionalInternalURL
35
+
* @property-read string $urlParameters
36
36
*/
37
37
class MenuItem extends DatabaseObject implements ITitledObject
38
38
{
@@ -94,12 +94,12 @@ public function getURL()
94
94
if ($this->pageObjectID) {
95
95
$handler = $this->getMenuPageHandler();
96
96
if ($handler && $handlerinstanceof ILookupPageHandler) {
thrownewSystemException("The menu item '" . $data['attributes']['identifier'] . "' can either have an associated page or an external url, but not both.");
thrownewSystemException("The menu item '" . $data['attributes']['identifier'] . "' can not have an additional internal URL set if it does not have an associated page.");
thrownewSystemException("The menu item '" . $data['attributes']['identifier'] . "' can not have an additional URL parameters set if it does not have an associated page.");
166
166
}
167
167
168
168
return [
@@ -174,7 +174,7 @@ protected function prepareImport(array $data)
<item name="wcf.acp.menu.item.additionalInternalURL.description"><![CDATA[Zusätzliche Parameter die an die URL angehangen werden können. Idealweise sollten dieser mit <kbd>&</kbd> oder <kbd>#</kbd> beginnen.]]></item>
<item name="wcf.acp.menu.item.additionalInternalURL.description"><![CDATA[Additional parameters that can be appended to the URL. Ideally, these should starts with <kbd>&</kbd> or <kbd>#</kbd>.]]></item>
0 commit comments