summaryrefslogtreecommitdiff
path: root/modules/gallery/views/form_uploadify.html.php
diff options
context:
space:
mode:
authormamouneyya <mamoun.diraneyya@gmail.com>2011-02-16 18:25:18 +0300
committermamouneyya <mamoun.diraneyya@gmail.com>2011-02-16 18:25:18 +0300
commit00772aaa62e6bce14e58e163ea72f386136c731d (patch)
treeed658d454d8bea79d551969fffa0bc18faee5d52 /modules/gallery/views/form_uploadify.html.php
parent3e2610ea83c60805d5e727df6509da6c49fd6c7b (diff)
parentd2c77fd0590501f7b6b51d9f4cc033ed9485b082 (diff)
Merge remote-tracking branch 'gallery3/master'
Diffstat (limited to 'modules/gallery/views/form_uploadify.html.php')
-rw-r--r--modules/gallery/views/form_uploadify.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/views/form_uploadify.html.php b/modules/gallery/views/form_uploadify.html.php
index 893bb3b9..77b6d493 100644
--- a/modules/gallery/views/form_uploadify.html.php
+++ b/modules/gallery/views/form_uploadify.html.php
@@ -112,7 +112,7 @@
</script>
<div class="requires-flash">
- <? if ($suhosin_session_encrypt || !$movies_allowed): ?>
+ <? if ($suhosin_session_encrypt || (identity::active_user()->admin && !$movies_allowed)): ?>
<div class="g-message-block g-info">
<? if ($suhosin_session_encrypt): ?>
<p class="g-error">
@@ -122,7 +122,7 @@
</p>
<? endif ?>
- <? if (!$movies_allowed): ?>
+ <? if (identity::active_user()->admin && !$movies_allowed): ?>
<p class="g-warning">
<?= t("Can't find <i>ffmpeg</i> on your system. Movie uploading disabled. <a href=\"%help_url\">Help!</a>", array("help_url" => "http://codex.gallery2.org/Gallery3:FAQ#Why_does_it_say_I.27m_missing_ffmpeg.3F")) ?>
</p>