From: Marcel Werk Date: Sun, 29 Nov 2015 17:21:09 +0000 (+0100) Subject: Fixed coding style/documentation issue X-Git-Tag: 3.0.0_Beta_1~2030^2~224^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d121de81bf5ab1e27b8d00451f796008577ee46a;p=GitHub%2FWoltLab%2FWCF.git Fixed coding style/documentation issue --- diff --git a/com.woltlab.wcf/acpMenu.xml b/com.woltlab.wcf/acpMenu.xml index 9aa827115a..14da8edbfb 100644 --- a/com.woltlab.wcf/acpMenu.xml +++ b/com.woltlab.wcf/acpMenu.xml @@ -618,10 +618,24 @@ admin.content.cms.canManagePage + + + wcf.acp.menu.link.cms.page.list + admin.content.cms.canManagePage + fa-plus + + wcf.acp.menu.link.cms admin.content.cms.canManageMenu + + + + wcf.acp.menu.link.cms.menu.list + admin.content.cms.canManageMenu + fa-plus + diff --git a/wcfsetup/install/files/acp/templates/menuAdd.tpl b/wcfsetup/install/files/acp/templates/menuAdd.tpl index 9178caf12f..82677d9ce2 100644 --- a/wcfsetup/install/files/acp/templates/menuAdd.tpl +++ b/wcfsetup/install/files/acp/templates/menuAdd.tpl @@ -21,33 +21,31 @@
-
-
- {lang}wcf.global.form.data{/lang} +
+

{lang}wcf.global.form.data{/lang}

- -
-
- - {if $errorField == 'title'} - - {if $errorType == 'title' || $errorType == 'multilingual'} - {lang}wcf.global.form.error.{@$errorType}{/lang} - {else} - {lang}wcf.acp.menu.title.error.{@$errorType}{/lang} - {/if} - - {/if} - {lang}wcf.acp.menu.title.description{/lang} - {include file='multipleLanguageInputJavascript' elementIdentifier='title' forceSelection=false} -
- - - {event name='dataFields'} -
+ +
+
+ + {if $errorField == 'title'} + + {if $errorType == 'title' || $errorType == 'multilingual'} + {lang}wcf.global.form.error.{@$errorType}{/lang} + {else} + {lang}wcf.acp.menu.title.error.{@$errorType}{/lang} + {/if} + + {/if} + {lang}wcf.acp.menu.title.description{/lang} + {include file='multipleLanguageInputJavascript' elementIdentifier='title' forceSelection=false} +
+ - {event name='fieldsets'} -
+ {event name='dataFields'} + + + {event name='sections'}
diff --git a/wcfsetup/install/files/acp/templates/menuItemAdd.tpl b/wcfsetup/install/files/acp/templates/menuItemAdd.tpl index ba39e750c4..a27eb1e74d 100644 --- a/wcfsetup/install/files/acp/templates/menuItemAdd.tpl +++ b/wcfsetup/install/files/acp/templates/menuItemAdd.tpl @@ -45,132 +45,129 @@
-
-
- {lang}wcf.acp.pageMenu.data{/lang} +
+

{lang}wcf.global.form.data{/lang}

- - -
-
- - {if $errorField == 'parentItemID'} - - {if $errorType == 'empty'} - {lang}wcf.global.form.error.empty{/lang} - {else} - {lang}wcf.acp.menu.item.parentItemID.error.{$errorType}{/lang} - {/if} - - {/if} -
- - - -
-
- - {if $errorField == 'title'} - - {if $errorType == 'multilingual'} - {lang}wcf.global.form.error.multilingual{/lang} - {else} - {lang}wcf.acp.menu.item.title.error.{$errorType}{/lang} - {/if} - - {/if} + +
+
+ + {if $errorField == 'parentItemID'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {else} + {lang}wcf.acp.menu.item.parentItemID.error.{$errorType}{/lang} + {/if} + + {/if} +
+ -
- {lang}wcf.acp.menu.item.link{/lang} - -
-
-
- - -
-
- -
-
-
- - {if $errorField == 'pageID'} - - {if $errorType == 'empty'} - {lang}wcf.global.form.error.empty{/lang} - {else} - {lang}wcf.acp.menu.item.pageID.error.{@$errorType}{/lang} - {/if} - - {/if} -
-
- -
-
-
- - {if $errorField == 'externalURL'} - - {if $errorType == 'empty'} - {lang}wcf.global.form.error.empty{/lang} - {else} - {lang}wcf.acp.menu.item.externalURL.error.{$errorType}{/lang} - {/if} - - {/if} + +
+
+ + {if $errorField == 'title'} + + {if $errorType == 'multilingual'} + {lang}wcf.global.form.error.multilingual{/lang} + {else} + {lang}wcf.acp.menu.item.title.error.{$errorType}{/lang} + {/if} + + {/if} + + {include file='multipleLanguageInputJavascript' elementIdentifier='title' forceSelection=false} +
+
+ + {event name='dataFields'} +
+ +
+

{lang}wcf.acp.menu.item.link{/lang}

+ +
+
+
+ + +
+
+ +
+
+
+ + {if $errorField == 'pageID'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {else} + {lang}wcf.acp.menu.item.pageID.error.{@$errorType}{/lang} + {/if} + + {/if} +
+
-
- {lang}wcf.acp.menu.item.advanced{/lang} - +
+
+
+ + {if $errorField == 'externalURL'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {else} + {lang}wcf.acp.menu.item.externalURL.error.{$errorType}{/lang} + {/if} + + {/if} + + {include file='multipleLanguageInputJavascript' elementIdentifier='externalURL' forceSelection=false} +
+
+ + {event name='linkFields'} +
+ +
+

{lang}wcf.acp.menu.item.advanced{/lang}

+ +
+
+
+ +
+
+ + {if $action == 'add' || !$menuItem->isLandingPage}
-
+
- +
- - {if $action == 'add' || !$menuItem->isLandingPage} -
-
-
- -
-
- {/if} - - {event name='advancedFields'} -
+ {/if} - {event name='fields'} -
+ {event name='advancedFields'} + + + {event name='sections'}
diff --git a/wcfsetup/install/files/acp/templates/menuList.tpl b/wcfsetup/install/files/acp/templates/menuList.tpl index 956f9b1367..0d10d437b5 100644 --- a/wcfsetup/install/files/acp/templates/menuList.tpl +++ b/wcfsetup/install/files/acp/templates/menuList.tpl @@ -17,7 +17,7 @@