
<table border="1" cellpadding="0" cellspacing="0">
  <tr>
    <td>
      <table border="0" cellpadding="3" width="500">
        <tr>
          <td bgcolor="#DDDDDD">
          <font face="Tahoma,Arial,Helvetica" size="2"><b>
          Plugin Wizard: Step 4 - Plugin Admin Menu for <%plugin_name%></b></font>
          </td>
        </tr>
      </table>          
      <table border="0" cellpadding="3" width="500">
        <tr>
          <td>
<form method="POST" action="admin.cgi">
<input type="hidden" name="do" value="page">
<input type="hidden" name="page" value="plugin_wizard.html">
<input type="hidden" name="plugin_name" value="<%plugin_name%>">
<input type="hidden" name="plugin_wiz_do" value="step5">          
          <font face="Tahoma,Arial,Helvetica" size="2">
          Now you need to decide what menu options, if any, you want to be displayed 
          to the user. If you provide admin menu options, for the user to interact with
          the plugin, you should provide the name you want displayed, and the URL
          you want it to go to.</font>
          <p><font face="Tahoma,Arial,Helvetica" size="2">To run a function in your 
          code, the URL should look like:<br><br>
          &nbsp;&nbsp;&nbsp;plugin.cgi?do=plugin&plugin=<%plugin_name%>&func=yourfunc<br><br>
          This will run the function called <i>yourfunc</i>. You are responsible for printing
          headers and any output you want.</font></p>
          
<%if error%>
	<p><font face="Tahoma,Arial,Helvetica" size="2" color="red"><%error%></font></p>
<%endif%>
<%if results%>
	<p><font face="Tahoma,Arial,Helvetica" size="2" color="green"><%results%></font></p>
<%endif%>   
<%if menu%>          
          <p><font face="Tahoma,Arial,Helvetica" size="2">Existing Options:<br><br>
<%menu%>          
</font></p>
          <p align="right"><font size="2" face="Tahoma,Arial,Helvetica"><input type="submit" value="Delete Checked" name="delete_btn"></font></p>
<%endif%>          
          <p><font size="2" face="Tahoma,Arial,Helvetica">Add New Menu:</font></p>
          <table border="1" cellpadding="3" width="100%" bordercolor="#C0C0C0" cellspacing="0">
            <tr>
              <td width="120"><font face="Tahoma,Arial,Helvetica" size="2">Name</font></td>
              <td><font face="Tahoma,Arial,Helvetica" size="2"><input type="text" name="name" size="40"></font></td>
            </tr>
            <tr>
              <td width="120"><font face="Tahoma,Arial,Helvetica" size="2">URL</font></td>
              <td><font face="Tahoma,Arial,Helvetica" size="2"><input type="text" name="url" value="admin.cgi?do=plugin&plugin=<%plugin_name%>&func=" size="40"></font></td>
            </tr>
          </table>
          <p align="right"><font face="Tahoma,Arial,Helvetica" size="2"><input type="submit" value="Add New Option" name="add_btn"></font>
</form>        
          </td>
        </tr>
      </table>      
    </td>
  </tr>
</table>

<form method="POST" action="admin.cgi">
<input type="hidden" name="do" value="page">
<input type="hidden" name="page" value="plugin_wizard.html">   
<input type="hidden" name="plugin_name" value="<%plugin_name%>">
<input type="hidden" name="plugin_wiz_do" value="step5">

	<table border="1" cellpadding=0 cellspacing=0><tr><td><table border=0 width=500><tr><td>
	<center><font face="Tahoma,Arial,Helvetica" size="2"><input type="submit" value="Next  >>" name="next"></font></center>
	</td></tr></table></td></tr></table>
</form>