61 lines
2.6 KiB
HTML
61 lines
2.6 KiB
HTML
<% set title = "Add a Link" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html>
|
|
<head>
|
|
<title><%site_title%>: <%title%></title>
|
|
<%--
|
|
<script type="text/javascript" src="<%config.build_static_url%>/jquery/jquery.js"></script>
|
|
<script type="text/javascript" src="<%config.build_static_url%>/jquery/jquery.lightbox-0.5.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="<%config.build_static_url%>/jquery/css/jquery.lightbox-0.5.css" media="screen" />
|
|
--%>
|
|
<%include include_common_head.html%>
|
|
</head>
|
|
<body id="add">
|
|
<%~if ad_wallpaper%>
|
|
<%ad_wallpaper%>
|
|
<%~endif%>
|
|
<div class="container">
|
|
<%include include_header.html%>
|
|
<div class="main">
|
|
<div class="contentwrapper clearfix">
|
|
<div class="breadcrumb">
|
|
<%Links::Utils::format_title($main_title_loop, separator => ' > ', no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
|
|
</div>
|
|
|
|
<div class="content"><%-- start content--%>
|
|
<h1><% title %></h1>
|
|
<%~ set megabytes = 1048576 ~%>
|
|
<%~ set image_cfg = Links::Plugins::get_plugin_user_cfg('SlideShow') ~%>
|
|
<%~ set image_size = image_cfg.max_upload_size / $megabytes ~%>
|
|
<%~ set image_size = round($image_size) ~%>
|
|
<%~ set video_max_size = Plugins::ConvertVideo::get_video_max_size() ~%>
|
|
<%~ set video_size = $video_max_size / $megabytes ~%>
|
|
<%~ set video_size = round($video_size) ~%>
|
|
<p>
|
|
|
|
Please completely fill out the form, and we'll add your article as soon as possible.<br/>
|
|
<b>Note:</b> image files must be smaller than <% if image_size %><% image_size %><%else%>1<%endif%>MB and video files must be smaller than <% if video_size %><% video_size %><%else%>1<%endif%>MB.
|
|
</p>
|
|
|
|
<form id="modify_form" action="<%config.db_cgi_url%>/add.cgi" enctype="multipart/form-data" method="post">
|
|
<div class="dtable form addlink">
|
|
<%include include_form.html%>
|
|
<div class="drow actions">
|
|
<div class="dcell name"></div>
|
|
<div class="dcell value">
|
|
<input type="submit" name="add" value="Add" class="btn" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
</div><%-- end content --%>
|
|
</div>
|
|
</div>
|
|
<%include include_footer.html%>
|
|
</div>
|
|
</body>
|
|
<%~include include_global_js.html%>
|
|
<%~include include_form.js%>
|
|
</html>
|