{assign var=postCategory value=Category::getTopLevelCategory($post->data['post_category'])} {assign var=uploadsHidden value=(intval($categoryAccess->getData('enableCommentAttachments')) eq 1) ? false : true}
{"Drag and drop or click button to attach files"|gettext}
{"Attach files"|gettext} {if isset($mirpURL)} {else} {cl_image_upload_tag('image_id', ['callback' => $vars.cloudinaryConfig.callback, 'use_filename'=>true, 'allowed_formats' =>File::$allowedExtensions, 'html' => ['multiple'=>true, 'class'=>'cloudinary-idea-files-upload', 'id'=>"edit-comment-upload-{$post->id}"]])} {/if}