{if !$vars.ajax}

{"Create blog post"|gettext}

{/if} {if $action eq 'update'}
{else} {/if}
  • {foreach from=$associatedPosts item=cAP} {/foreach}
    {foreach from=$associatedCategories item=cAC} {/foreach}

{"Drop files here or click the button below"|gettext}

{"Attach files"|gettext} {if isset($mirpURL)} {else} {cl_image_upload_tag('image_id', ['chunk_size' => 20000000, 'callback' => $vars.cloudinaryConfig.callback, 'eager'=>[['format' => 'webm'], ['format' => 'mp4' ]], 'eager_async'=> true, 'eager_notification_url' => File::getEagerNotificationUrl(), 'use_filename'=>true, 'allowed_formats' =>File::getAllowedExtensions(), 'html' => ['multiple'=>true, 'class'=>'cloudinary-idea-files-upload', 'id'=>'filesUpload']])} {/if}
File type icon
fileName.pdf
{counter start=0 print=false} {foreach from=$selectedFilesV2.all item=f} {counter assign=itemNum}
{if in_array($f->data['file_extension'], File::$allowedImageExtensions)} {else} {/if}
{$f->data['file_name']}
{/foreach}
{if (isset($errors.post_id))}
{$errors.post_id}
{/if}
{if (isset($errors.post_category))}
{$errors.post_category}
{/if}
{"The name of your blog post"|gettext}
{$errors.post_title}
{"The main content of your blog post"|gettext}
{$errors.post_text}
{if $post->data.post_id ne 0}
{if $post->data.post_moderationstatus eq 4} {/if} {"Cancel"|gettext} {if $post->data.post_moderationstatus eq 4}{"Save to drafts"|gettext}{else}{"Publish"|gettext}{/if}
{else}
{"Cancel"|gettext} {"Publish"|gettext}
{/if}