diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-01-16 11:33:41 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-01-16 11:33:41 +0000 |
| commit | bbaf7518b491cd5c34eff633b5da558c427ed3bd (patch) | |
| tree | 14675ab79701f345bd52d19390a03e774a4b61a8 /templates | |
| parent | 5a824b04678ab78f69daae1705dacfc3b6cae85f (diff) | |
| download | fisheye-bbaf7518b491cd5c34eff633b5da558c427ed3bd.tar.gz fisheye-bbaf7518b491cd5c34eff633b5da558c427ed3bd.tar.bz2 fisheye-bbaf7518b491cd5c34eff633b5da558c427ed3bd.zip | |
only create new user gallery when user has permission to create galleries
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/upload_fisheye.tpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/upload_fisheye.tpl b/templates/upload_fisheye.tpl index 9f88df5..ee10741 100644 --- a/templates/upload_fisheye.tpl +++ b/templates/upload_fisheye.tpl @@ -147,6 +147,9 @@ {/if} <div class="row"> + {if !$gBitUser->hasPermission( 'p_fisheye_create' )} + {formhelp warning="Please make sure you select a gallery to load your images into, otherwise your images will be discarded"} + {/if} {formlabel label="Add File(s) to these Galleries"} {forminput} {foreach from=$galleryList key=galId item=gal} |
