From: Matthias Schmidt Date: Fri, 15 Jun 2012 15:39:37 +0000 (+0200) Subject: Adds wcf.global.form.data lang var X-Git-Tag: 2.0.0_Beta_1~1005^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dde29caa65a5bafde869eef2ca939f36772f06fa;p=GitHub%2FWoltLab%2FWCF.git Adds wcf.global.form.data lang var This language variable is quite common, thus a global one is quite handy. --- diff --git a/wcfsetup/install/files/acp/templates/categoryAdd.tpl b/wcfsetup/install/files/acp/templates/categoryAdd.tpl index 09ec2b4c38..ebfa4e4fc3 100644 --- a/wcfsetup/install/files/acp/templates/categoryAdd.tpl +++ b/wcfsetup/install/files/acp/templates/categoryAdd.tpl @@ -59,7 +59,7 @@
- {hascontent}{content}{lang __optional=true}{@$objectType->getProcessor()->getLangVarPrefix()}.data{/lang}{/content}{hascontentelse}{lang}wcf.category.data{/lang}{/hascontent} + {hascontent}{content}{lang __optional=true}{@$objectType->getProcessor()->getLangVarPrefix()}.data{/lang}{/content}{hascontentelse}{lang}wcf.global.form.data{/lang}{/hascontent} {if $categoryNodeList|count} diff --git a/wcfsetup/install/files/acp/templates/cronjobAdd.tpl b/wcfsetup/install/files/acp/templates/cronjobAdd.tpl index 77c450d13d..b49600807d 100644 --- a/wcfsetup/install/files/acp/templates/cronjobAdd.tpl +++ b/wcfsetup/install/files/acp/templates/cronjobAdd.tpl @@ -32,7 +32,7 @@
- {lang}wcf.acp.cronjob.data{/lang} + {lang}wcf.global.form.data{/lang}
diff --git a/wcfsetup/install/files/acp/templates/userGroupAdd.tpl b/wcfsetup/install/files/acp/templates/userGroupAdd.tpl index 50ffd80023..f2e54996d6 100644 --- a/wcfsetup/install/files/acp/templates/userGroupAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userGroupAdd.tpl @@ -43,7 +43,7 @@
- {lang}wcf.acp.group.data{/lang} + {lang}wcf.global.form.data{/lang}
diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index d8543d3aa8..eb024c95d6 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -24,7 +24,6 @@ - getPath('wcf')}acp/dereferrer.php?url={"http://www.unixgeeks.org/security/newbie/unix/cron-1.html"|rawurlencode}" class="wcf-externalURL">Newbie: Intro to cron]]> @@ -40,7 +39,6 @@ - groupName}“ wirklich löschen?]]> @@ -408,7 +406,6 @@ - @@ -606,6 +603,7 @@ + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index ce1c645928..bd2e22be60 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -24,7 +24,6 @@ - getPath('wcf')}acp/dereferrer.php?url={"http://www.unixgeeks.org/security/newbie/unix/cron-1.html"|rawurlencode}" class="wcf-externalURL">Newbie: Intro to cron.]]> @@ -40,7 +39,6 @@ - groupName}"?]]> @@ -408,7 +406,6 @@ - @@ -572,6 +569,7 @@ +