2020-06-07 19:04:43 +03:00
|
|
|
{extends "../@layout.xml"}
|
2022-08-09 09:37:08 +03:00
|
|
|
{block title}{_upload_photo}{/block}
|
2020-06-07 19:04:43 +03:00
|
|
|
|
|
|
|
{block header}
|
2023-09-16 19:14:23 +03:00
|
|
|
<a href="{$album->getOwner()->getURL()}">{$album->getOwner()->getCanonicalName()}</a>
|
2020-06-07 19:04:43 +03:00
|
|
|
»
|
2023-09-16 19:14:23 +03:00
|
|
|
{if $album->getOwner() instanceof openvk\Web\Models\Entities\Club}
|
|
|
|
<a href="/albums{$album->getOwner()->getId() * -1}">{_albums}</a>
|
|
|
|
{else}
|
|
|
|
<a href="/albums{$album->getOwner()->getId()}">{_albums}</a>
|
|
|
|
{/if}
|
2020-06-07 19:04:43 +03:00
|
|
|
»
|
|
|
|
<a href="/album{$album->getPrettyId()}">{$album->getName()}</a>
|
|
|
|
»
|
2022-08-09 09:37:08 +03:00
|
|
|
{_upload_photo}
|
2020-06-07 19:04:43 +03:00
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block content}
|
2023-09-14 20:36:29 +03:00
|
|
|
<div class="tabs">
|
|
|
|
<div class="tab">
|
|
|
|
<a href="/album{$album->getPrettyId()}/edit">{_edit_album}</a>
|
|
|
|
</div>
|
|
|
|
<div id="activetabs" class="tab">
|
|
|
|
<a id="act_tab_a" href="#">{_add_photos}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<input type="file" accept=".jpg,.png,.gif" name="files[]" multiple class="button" id="uploadButton" style="display:none">
|
|
|
|
|
2023-09-16 19:14:23 +03:00
|
|
|
<div class="container_gray" style="min-height: 344px;">
|
2023-09-14 20:36:29 +03:00
|
|
|
<div class="insertThere"></div>
|
|
|
|
<div class="whiteBox" style="display: block;">
|
|
|
|
<div class="boxContent">
|
|
|
|
<h4>{_uploading_photos_from_computer}</h4>
|
|
|
|
|
|
|
|
<div class="limits" style="margin-top:17px">
|
|
|
|
<b style="color:#45688E">{_admin_limits}</b>
|
|
|
|
<ul class="blueList" style="margin-left: -25px;margin-top: 1px;">
|
|
|
|
<li>{_supported_formats}</li>
|
|
|
|
<li>{_max_load_photos}</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div style="text-align: center;padding-top: 4px;" class="insertAgain">
|
|
|
|
<input type="button" class="button" id="fakeButton" onclick="uploadButton.click()" value="{_upload_picts}">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="tipping" style="margin-top: 19px;">
|
|
|
|
<span style="line-height: 15px"><b>{_tip}</b>: {_tip_ctrl}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="insertPhotos" id="photos" style="margin-top: 9px;padding-bottom: 12px;"></div>
|
|
|
|
|
|
|
|
<input type="button" class="button" style="display:none;margin-left: auto;margin-right: auto;" id="endUploading" value="{_end_uploading}">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<input n:ifset="$_GET['album']" type="hidden" id="album" value="{$_GET['album']}" />
|
|
|
|
|
|
|
|
<script>
|
|
|
|
uploadButton.value = ''
|
|
|
|
</script>
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block bodyScripts}
|
|
|
|
{script "js/al_photos.js"}
|
2020-06-07 19:04:43 +03:00
|
|
|
{/block}
|