album_move.vm
来自「一个简单的blog系统」· VM 代码 · 共 77 行
VM
77 行
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU Library General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
##
## move diary view
##
###############################################################################
#parse("/html/_sub/_global.vm")
#select_layout("p_photo.vm")
#set($page_title="移动相簿")
###############################################################################
#set($album_id = $dlog.param("aid",-1))
#if(!$dlog.is_owner($g_site, $g_user))
#invoke("_illegal_access.vm")
#else
#if($messages.exist())<b>$!messages.getAll()</b>#end
<form action="$link.setAction("html/album")" method="post">
<input type="hidden" name="sid" value="$g_site_id"/>
<input type="hidden" name="__ClientId" value="$dlog.gen_client_id()"/>
<input type="hidden" name="aid" value="$album_id"/>
<input type="hidden" name="fromAlbum" value="$album_id"/>
<input type="hidden" name="eventSubmit_MoveToAlbum" value="HTML" />
<div class="page_top">
<div class="adcontent"></div>
<div class="pagecontent">
<div class="pagecontent_left fleft">
<b>对整个相簿的相片进行转移</b>
</div>
<div class="pagecontent_right fright">
</div>
</div>
<div class="spacer_1"></div>
</div>
<div class="page_content">
<div class="form">
<div class="form_row">
<div class="form_row_title fleft">
移动相簿:
</div>
<div class="form_row_content">
您要将 [${g_site.album($album_id).name}] 相簿中的所有照片移动到:
<select name="toAlbum">
#foreach($album in $g_site.albums)
#set($url = "$dlog.root()/html/photo/?sid=$g_site_id&aid=${album.id}")
<option value="$album.id">${album.name}</option>
#foreach($s_album in $album.childs)
#set($url = "$dlog.root()/html/photo/?sid=$g_site_id&aid=${s_album.id}")
<option value="$s_album.id">-- ${s_album.name}</option>
#end
#end
</select>
</div>
</div>
<div class="spacer_1"></div>
<div class="form_row">
<div class="form_row_submit">
<input type="submit" name="eventSubmit_MoveToAlbum" value="移动" />
<input type="button" value="返回" onclick="history.go(-1)" />
</div>
</div>
</div>
<div class="spacer_10"></div>
</div>
<div class="page_bottom"></div>
</form>
#end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?