87 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			87 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!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%>: Modify a Link</title>
 | 
						|
<%include include_common_head.html%>
 | 
						|
</head>
 | 
						|
<body id="modify">
 | 
						|
<%include include_accessibility.html%>
 | 
						|
  <div id="wrapper">
 | 
						|
<%include include_header.html%>
 | 
						|
<%include include_contentheader.html%>
 | 
						|
    <div id="ocwrapper" class="clear">
 | 
						|
      <div id="icwrapper" class="clear">
 | 
						|
<%include include_leftsidebar.html%>
 | 
						|
        <div id="contentwrapper" class="shadowleft">
 | 
						|
<%include include_contentwrapper_top.html%>
 | 
						|
          <div class="shadowtop"><div class="shadowtopleft"></div><div class="shadowtopright"></div></div>
 | 
						|
          <div class="shadowright">
 | 
						|
            <div id="content">
 | 
						|
<%include include_content_top.html%>
 | 
						|
 | 
						|
<div class="crumb"><%Links::Utils::format_title($main_title_loop, separator => $crumb_separator, no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%></div>
 | 
						|
<h2>Modify a Link</h2>
 | 
						|
 | 
						|
<form action="<%config.db_cgi_url%>/modify.cgi" enctype="multipart/form-data" method="post">
 | 
						|
  <input type="hidden" name="modify" value="1" />
 | 
						|
<%~if LinkID%>
 | 
						|
  <input type="hidden" name="LinkID" value="<%escape_html LinkID%>" />
 | 
						|
  <input type="hidden" name="Current_ID" value="<%escape_html LinkID%>" />
 | 
						|
<%~else%>
 | 
						|
  <%~if config.db_gen_category_list == 2%>
 | 
						|
  <noscript>
 | 
						|
  <%~endif%>
 | 
						|
    <p>
 | 
						|
      Please enter the URL of the link you wish to modify. Make sure it is identical to the one already in the database:
 | 
						|
    </p>
 | 
						|
    <div class="row required clear">
 | 
						|
      <label for="Current_URL" class="name">URL: <span>*</span></label>
 | 
						|
      <div class="value">
 | 
						|
        <input type="text" name="Current_URL" value="<%if Current_URL%><%escape_html Current_URL%><%endif%>" class="text" />
 | 
						|
      </div>
 | 
						|
    </div>
 | 
						|
  <%~if config.db_gen_category_list == 2%>
 | 
						|
  </noscript>
 | 
						|
  <div id="LinkID" class="row required clear" style="display: none">
 | 
						|
    <label class="name">Link: <span>*</span></label>
 | 
						|
    <div class="value wrappedtext">
 | 
						|
    <%~if Current_ID%>
 | 
						|
      <input type="hidden" name="Current_ID" value="<%escape_html Current_ID%>" />
 | 
						|
    <%~endif%>
 | 
						|
      <script type="text/javascript" src="<%config.build_static_url%>/treecats.js"></script>
 | 
						|
      <div id="treecats-links"></div>
 | 
						|
      <script type="text/javascript">
 | 
						|
        var tcl = new treecats({ selectionMode : 'link', workspace : 'treecats-links', objName : 'tcl', inputName : 'Current_ID', cgiURL : '<%config.db_cgi_url%>', imageURL : '<%config.build_static_url%>/<%t%>/images' });
 | 
						|
        tcl.load();
 | 
						|
      </script>
 | 
						|
    </div>
 | 
						|
  </div>
 | 
						|
  <script type="text/javascript">
 | 
						|
    document.getElementById('LinkID').style.display = '';
 | 
						|
  </script>
 | 
						|
  <%~endif%>
 | 
						|
  <p>
 | 
						|
    Enter the new information (all of it, not just the changes) below:
 | 
						|
  </p>
 | 
						|
<%~endif%>
 | 
						|
<%include include_form.html%>
 | 
						|
  <div class="formsubmit">
 | 
						|
    <input type="submit" name="modify_submit" value="Modify Link" class="submit" />
 | 
						|
  </div>
 | 
						|
</form>
 | 
						|
 | 
						|
<%include include_content_bottom.html%>
 | 
						|
            </div>
 | 
						|
          </div>
 | 
						|
          <div class="shadowbottom"><div class="shadowbottomleft"></div><div class="shadowbottomright"></div></div>
 | 
						|
<%include include_contentwrapper_bottom.html%>
 | 
						|
        </div>
 | 
						|
<%include include_rightsidebar.html%>
 | 
						|
      </div>
 | 
						|
    </div>
 | 
						|
<%include include_contentfooter.html%>
 | 
						|
<%include include_footer.html%>
 | 
						|
  </div>
 | 
						|
</body>
 | 
						|
</html>
 |