
<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 3 - Plugin Hooks for <%plugin_name%></b></font>
          </td>
        </tr>
      </table>          
      <table border="0" cellpadding="3" width="500">
        <tr>
          <td>
<form method="POST" action="admin.cgi" name="hook">
<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="step4">          
          <font face="Tahoma,Arial,Helvetica" size="2">
          Now you need to decide what hooks, if any, the plugin will use. </font>
          <p><font face="Tahoma,Arial,Helvetica" size="2">If your plugin needs
          to override or enhance an existing part of code, then you most likely
          need to register some hooks. If you are adding new functionality, then
          you may just skip this section entirely.</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 hooks%>          
          <p><font face="Tahoma,Arial,Helvetica" size="2">Existing Hooks:<br><br>
<%hooks%>          
</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 Hook:</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">Type</font></td>
              <td><font face="Tahoma,Arial,Helvetica" size="2"><select size="1" name="type">
                  <option>PRE</option>
                  <option>POST</option>
                </select></font></td>
            </tr>
            <tr>
              <td width="120"><font face="Tahoma,Arial,Helvetica" size="2">Code</font></td>
              <td><font face="Tahoma,Arial,Helvetica" size="2"><input type="text" name="code" value="Plugins::<%plugin_name%>::" size="40"></font></td>
            </tr>
          </table>
          <p align="right"><font face="Tahoma,Arial,Helvetica" size="2"><input type="submit" value="Add New Hook" 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="step4">

	<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>
