{script} {literal} document.flag = function(type, id, title, url, langKey){ if(typeof(document.addRoleStorage) === 'undefined'){ document.storage = []; } $.post( '{/literal}{url_for for="BASE_CTRL_Flag:form"}{literal}', {type: type, id: id, title: title, url: url, langKey: langKey}, function(json){ if( typeof(json.isFlagged) != 'undefined' ){ OW.warning("{/literal}{text key="base+flag_already_flagged"}{literal}"); return; } document.storage['flag-panel'] = { fb: new OW_FloatBox({$title: '{/literal}{text key='base+flag_as'}{literal}', $contents: json['markup'], width: '315px'}) } OW.addCss(json.css); OW.addScriptFiles(json['include_js'], function(){ OW.addScript(json['js']); }); }, 'json'); } {/literal} {/script} {style} {literal} .photo_preview_image { max-width: 100%; } {/literal} {/style}
{text key='photo+album'} |
{capture name='url'}{url_for_route for="photo_user_album:[user=>$ownerName, album=>`$album->id`]"}{/capture}
{$album->name} {text key='photo+photo_index'} {$photoIndex} {text key='photo+of'} {$photoCount} |
{text key='base+by'} | {user_link id=$album->userId name=$ownerDisplayName} |
{text key='photo+photo_added'} | {format_date timestamp=$photo->addDatetime} |
{label name='album'} | {input name='album'} {error name='album'} | |
{label name='description'} | {input name='description'} {error name='description'} |
|
{label name='tags'} {text key='photo+tags_desc'} |
{input name='tags'} | |
{submit name='edit' class='ow_ic_save'} |