mirror of
https://github.com/openvk/openvk
synced 2024-12-23 17:12:01 +03:00
7d450c18fd
* Make audio player pizdatey * Simple ajax routing (scripts are broken) * Fix most common script problems pt1 * Add ajax player Осталось пофиксить скрипты и создание плейлистов! Ну и ещё некоторые хуйни по аудиозаписям которые я задумал. * Add context menu for audios * Refactor audio upload page * Repair playlists * Fix main problems * Midnight teme adaptation * Stupid bug fix * Save audios list in da localstorage and fix msgbox * Fix time setting * add beforeUnload event * Stupid bugs fix * update page footer on transition * fix wall publihing * fix 500 on non existent page
64 lines
2.5 KiB
XML
64 lines
2.5 KiB
XML
{extends "../@layout.xml"}
|
|
{block title}{_upload_photo}{/block}
|
|
|
|
{block header}
|
|
<a href="{$album->getOwner()->getURL()}">{$album->getOwner()->getCanonicalName()}</a>
|
|
»
|
|
{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}
|
|
»
|
|
<a href="/album{$album->getPrettyId()}">{$album->getName()}</a>
|
|
»
|
|
{_upload_photo}
|
|
{/block}
|
|
|
|
{block content}
|
|
<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 photo_ajax_upload_button" id="uploadButton" style="display:none">
|
|
|
|
<div class="container_gray photo_upload_container" style="min-height: 344px;">
|
|
<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 style="margin-top: 6px;">
|
|
<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}
|