{assign var="userLang" value=explode("_", strtoupper($user->user_useraccess->useraccess_language))} {assign var=uploadsHidden value=($category->getJSONData('category_custom_headings','upload_files_hide') eq 1) ? true : false} {if $action eq 'update'}
{else} {/if} {assign var=catIdRequested value=$smarty.request.category_id|intval} {if $jointSubmissions && $post->getAuthors()|count > 1} {else} {/if}
{if $action eq 'update'}{"Edit an Idea"|gettext}{else}{"Post an Idea"|gettext}{/if}
{if $jointSubmissions && (!$isTeamMember || $post->canUserModerate())} {assign var='selectedFile' value=$user->joined.obj_user_profilepic}
  • {if $editedBy eq 'owner' || !$editedBy} {'Owner picture'|gettext} {else} {'Owner picture'|gettext} {/if}
    {if $editedBy eq 'owner' || !$editedBy} {"Post as you"|gettext} {else} {"Author"|gettext} {/if}
    {if $editedBy eq 'owner' || !$editedBy} {"This idea will be attributed to you"|gettext} {/if}
  • {if $editedBy eq 'owner' || !$editedBy} {'Owner picture'|gettext} {else} {'Owner picture'|gettext} {/if}
    {if $editedBy eq 'owner' || !$editedBy} {"Post with others"|gettext} {else} {"Author with co-authors"|gettext} {/if}
    {if $editedBy eq 'owner' || !$editedBy} {"This idea will be attributed to you and other users"|gettext} {/if}
{"Share idea authorship with other users"|gettext}
{"Co-authors will have edit rights to the idea and earn points for the submission (if enabled). As lead author you will be able to add and remove co-authors at any point. Co-authors will be able to remove themselves from the idea"|gettext}.
{/if}
{"If you want your idea to stand out, why not add a relevant image to your post?"|gettext}

{"Drag & Drop or manually attach an image"|gettext}

{"Click the button below to attach an image"|gettext}

{"Attach Image"|gettext} {if isset($mirpURL)} {else} {cl_image_upload_tag('image_id', ['callback' => $vars.cloudinaryConfig.callback, 'use_filename'=>true, 'allowed_formats' =>['jpg', 'gif', 'png'], 'html' => ['multiple'=>true, 'class'=>'cloudinary-idea-header-file-upload', 'id'=>'bannerUpload' ]])} {/if}

  • {"Give your idea a catchy title"|gettext}

  • {"This is where you detail your idea, please be as descriptive as possible"|gettext}

    {if $hubbub->hubbub_arrOptions.tagsEnabled eq 1}
      {foreach from=$postTags item=tag key=tagKey} {/foreach}

      {"Choose from existing tags"|gettext}

      {"Add tags to make it easier for people to find your idea"|gettext}.

    {/if} {if $hubbub->hubbub_arrOptions.userTagsEnabled eq 1}
    • {foreach from=$userTags item=taggedUser} {assign var='selectedFile' value=$taggedUser->user_fileObject->object} {if intval($selectedFile->data.file_id) ne 0} {$bgImage=$selectedFile->getCloudinaryURL(22, 22)} {else} {assign var='bgImage' value="`$vars.resourcesUrl`profile_counter22.png"} {/if}
      {$taggedUser->getDisplayName()}
      {/foreach}

      {"Credit or associate other users with this idea"|gettext}.

    {/if}

    {"We accept jpg, gif, png, office docs, txt, pdf, zip, mp4, mov files"|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.nonHeader item=f} {counter assign=itemNum}
    {if in_array($f->data['file_extension'], File::$allowedImageExtensions)} {else} {/if}
    {$f->data['file_name']}
    {/foreach}
    {assign var=categoryAccess value=$category->getAccess()} {if !$isEditAction && ($categoryAccess->getData('ideaVisibility') || $firstMilestonePrivate)}

    {if $firstMilestonePrivate} {"%s is enabled on this milestone. Your idea will only be visible to you and the challenge moderators."|gettext|sprintf:"Private idea submission"} {else} {"%s is enabled on this challenge. Your idea will only be visible to you and the challenge moderators."|gettext|sprintf:"Private idea submission"} {/if}

    {else if $isEditAction} {if $lastReachedMilestone->ideaVisibility == 1 && $currentMilestone->getConditionType() == 'elaborate' && !$currentMilestone->ideaVisibility}

    {"Private idea submission is enabled on this milestone. When you publish your changes, the idea will progress to the next milestone, where all challenge participants will be able to view it."|gettext}

    {else if $lastReachedMilestone->ideaVisibility == 0 && $currentMilestone->getConditionType() == 'elaborate' && $currentMilestone->ideaVisibility}

    {"When you publish your changes, the idea will progress to the next milestone, where private idea submission is enabled. It will only be visible to you and the moderators."|gettext}

    {else if $lastReachedMilestone->ideaVisibility == 1}

    {"Private idea submission is enabled on this milestone. Your idea will only be visible to you and the challenge moderators."|gettext}

    {/if} {/if}
    {*moderationStatus eq 4}checked{/if} value="1" name="post_draft" /> Save as draft*}
    {if !$isExternal} {"Cancel"|gettext} {if $post->moderationStatus eq 4 || !$post->id} {"Save to drafts"|gettext} {/if} {/if} {"Publish"|gettext}
    {foreach from=Category::$list item=cCategory} {if $cCategory->data.category_custom_headings}
    {Translation::t($cCategory, 'category_name')}
    {Translation::t($cCategory, 'category_description')}
    {Translation::t($cCategory,'category_custom_headings--category_select_text')}
    {Translation::t($cCategory,'category_custom_headings--category_select_theme_text')}
    {Translation::t($cCategory,'category_custom_headings--idea_title_text')}
    {Translation::t($cCategory,'category_custom_headings--idea_subtitle_text')}
    {Translation::t($cCategory,'category_custom_headings--idea_description_text')}
    {Translation::t($cCategory,'category_custom_headings--idea_longdescription_text')}
    {$cCategory->getJSONData('category_custom_headings','idea_description_characterLimit')}
    {$cCategory->getJSONData('category_custom_headings','idea_description_type')}
    {Translation::t($cCategory,'category_custom_headings--upload_files_text')}
    {$cCategory->getJSONData('category_custom_headings','upload_files_hide')}
    {if $cCategory->data.category_file!=0}{$cCategory->joined.obj_category_file->getCLoudinaryUrl(420, 258)}{/if}
    {/if} {assign var=categoryOptions value=json_decode($cCategory->category_options, true)} {if $categoryOptions['mediaChannelId']}
    {$categoryOptions['mediaChannelId']}
    {$categoryOptions['mediaApiKey']}
    {/if} {if $cCategory->themes} {/if} {/foreach}
    {foreach from=$postFieldsOrdered item=postFieldOrdered key=k} {/foreach}
    {if $hubbub->hubbub_arrOptions.tagsEnabled eq 1} {/if} {if $hubbub->hubbub_arrOptions.userTagsEnabled eq 1} {/if} {if $action eq 'update'} {/if}