From daeb385cf5b4c7236602de19ee4bb0a56609b33c Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 1 May 2012 15:00:14 +0200 Subject: [PATCH] Fixed some small issues --- acptemplates/languageAdd.tpl | 2 +- acptemplates/languageExport.tpl | 2 +- acptemplates/languageList.tpl | 42 +++++++++---------- acptemplates/languageServerAdd.tpl | 2 +- acptemplates/languageServerList.tpl | 22 +++++----- .../lib/acp/form/LanguageExportForm.class.php | 13 +++++- 6 files changed, 47 insertions(+), 36 deletions(-) diff --git a/acptemplates/languageAdd.tpl b/acptemplates/languageAdd.tpl index 5a07a300d9..0ebd87f692 100644 --- a/acptemplates/languageAdd.tpl +++ b/acptemplates/languageAdd.tpl @@ -26,7 +26,7 @@
diff --git a/acptemplates/languageExport.tpl b/acptemplates/languageExport.tpl index 18a463857a..5c58dc4ea4 100644 --- a/acptemplates/languageExport.tpl +++ b/acptemplates/languageExport.tpl @@ -17,7 +17,7 @@
diff --git a/acptemplates/languageList.tpl b/acptemplates/languageList.tpl index 63b6de24c4..4135c41dd0 100644 --- a/acptemplates/languageList.tpl +++ b/acptemplates/languageList.tpl @@ -14,12 +14,12 @@ var $button = $(row).find('.jsSetAsDefaultButton'); if (WCF.inArray($($button).data('objectID'), data.objectIDs)) { - $($button).attr('src', '{@RELATIVE_WCF_DIR}icon/default1D.svg'); - $(row).find('.jsDeleteButton').attr('src', '{@RELATIVE_WCF_DIR}icon/delete1D.svg'); + $($button).attr('src', '{@$__wcf->getPath()}icon/default1D.svg'); + $(row).find('.jsDeleteButton').attr('src', '{@$__wcf->getPath()}icon/delete1D.svg'); } else { - $($button).attr('src', '{@RELATIVE_WCF_DIR}icon/default1.svg'); - $(row).find('.jsDeleteButton').attr('src', '{@RELATIVE_WCF_DIR}icon/delete1.svg'); + $($button).attr('src', '{@$__wcf->getPath()}icon/default1.svg'); + $(row).find('.jsDeleteButton').attr('src', '{@$__wcf->getPath()}icon/delete1.svg'); } }); } @@ -40,7 +40,7 @@ {if $__wcf->getSession()->getPermission('admin.language.canAddLanguage')}