From: Matthias Schmidt Date: Sun, 29 Jan 2017 12:37:18 +0000 (+0100) Subject: Fix issues with multiple media manager dialogs on same page X-Git-Tag: 3.0.2~47 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5c1cc5ff6d0a8442fcdabebf1a5d8ba0b341fbc4;p=GitHub%2FWoltLab%2FWCF.git Fix issues with multiple media manager dialogs on same page --- diff --git a/com.woltlab.wcf/templates/mediaManager.tpl b/com.woltlab.wcf/templates/mediaManager.tpl index d3f3563abb..ea78c3cc76 100644 --- a/com.woltlab.wcf/templates/mediaManager.tpl +++ b/com.woltlab.wcf/templates/mediaManager.tpl @@ -1,17 +1,17 @@ -
- +
+ - +
{if $__wcf->session->getPermission('admin.content.cms.canManageMedia')} -
+
{/if}
-
    +
      {include file='mediaListItems'}
diff --git a/wcfsetup/install/files/acp/templates/mediaListItems.tpl b/wcfsetup/install/files/acp/templates/mediaListItems.tpl index 95fe0041b0..189b3b4f57 100644 --- a/wcfsetup/install/files/acp/templates/mediaListItems.tpl +++ b/wcfsetup/install/files/acp/templates/mediaListItems.tpl @@ -3,7 +3,7 @@
{@$media->getElementTag(144)}
- + {assign var='__mediaTitle' value=$media->filename} {if $media->title} {assign var='__mediaTitle' value=$media->title} @@ -11,7 +11,7 @@

{$__mediaTitle}

- +