mirror of
https://github.com/openvk/openvk
synced 2024-11-14 11:09:12 +03:00
62b93a3cf2
* Refactoring login and register button in sidebar
For Firefox 10.0 and other old 2000s browsers compatibillity
* CSS friends grid workaround for 2000s browsers
* CSS friends grid full fix
* Revert "CSS friends grid full fix"
This reverts commit 9d64cd2d2b
.
* restyling file pickers button
* redefined some strings
* да блин
* Translating "Browse" string
* locale syntax and logic fixes
* Update uk.strings
* Added redesign in Photo section
* Structuring commits and adding redisgn in Video section
43 lines
1.6 KiB
XML
43 lines
1.6 KiB
XML
{extends "../@layout.xml"}
|
|
{block title}{_upload_photo}{/block}
|
|
|
|
{block header}
|
|
<a href="{$thisUser->getURL()}">{$thisUser->getCanonicalName()}</a>
|
|
»
|
|
<a href="/albums{$thisUser->getId()}">{_albums}</a>
|
|
»
|
|
<a href="/album{$album->getPrettyId()}">{$album->getName()}</a>
|
|
»
|
|
{_upload_photo}
|
|
{/block}
|
|
|
|
{block content}
|
|
<form action="/photos/upload?album={$album->getPrettyId()}" method="post" enctype="multipart/form-data">
|
|
<table cellspacing="6">
|
|
<tbody>
|
|
<tr>
|
|
<td width="120" valign="top"><span class="nobold">{_description}:</span></td>
|
|
<td><textarea style="margin: 0px; height: 50px; width: 159px; resize: none;" name="desc"></textarea></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="120" valign="top"><span class="nobold">{_photo}:</span></td>
|
|
<td>
|
|
<label class="button" style="">{_browse}
|
|
<input type="file" id="blob" name="blob" style="display: none;" onchange="filename.innerHTML=blob.files[0].name" />
|
|
</label>
|
|
<div id="filename" style="margin-top: 10px;"></div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="120" valign="top"></td>
|
|
<td>
|
|
<input type="hidden" name="hash" value="{$csrfToken}" />
|
|
<input type="submit" class="button" name="submit" value="Загрузить" />
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<input n:ifset="$_GET['album']" type="hidden" name="album" value="{$_GET['album']}" />
|
|
</form>
|
|
{/block}
|