创建虚拟磁盘。用户可以创建磁盘
源代码在线查看: links.tpl.html
##
# Project: PHPDisk
# This is NOT a freeware, use is subject to license terms.
#
# Site: http://www.phpdisk.com
#
# $Id: links.tpl.html 220 2009-03-05 15:06:43Z along $
#
# Copyright (C) 2008-2009 PHPDisk Team. All Rights Reserved.
#
##
#-->
if($action == 'index'){
#-->
{$lang['links_title']}
{$lang['tips']}:
{$lang['links_list_tips']}
if(count($links) >0){
#-->
{$lang['show_order']}
{$lang['title']}
{$lang['url']}
{$lang['logo']}
{$lang['operation']}
foreach($links as $k => $v){
#-->
{$v['url']}
{$v['logo']}
{$v['status_text']}
{$lang['modify']}
{$lang['delete']}
}
unset($links);
}else{
#-->
{$lang['links_not_found']}
}
#-->
}elseif($action =='add_link' || $action =='modify_link'){
#-->
{$lang['add_links_title']}
{$lang['tips']}:
{$lang['add_links_list_tips']}
{$lang['link_title']}:
{$lang['link_url']}:
{$lang['link_logo']}:
function dosubmit(o){
if(o.link_title.value.strtrim().length alert("{$lang['link_title_error']}");
o.link_title.focus();
return false;
}
if(o.link_url.value.strtrim().length alert("{$lang['link_url_error']}");
o.link_url.focus();
return false;
}
}
}
#-->