81 lines
3.3 KiB
HTML
81 lines
3.3 KiB
HTML
<table border="1" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td>
|
|
<table border="0" cellpadding="3" width="500">
|
|
<tr class=body>
|
|
<td class=body>
|
|
<form method="POST" action="glist.cgi">
|
|
<input type="hidden" name="do" value="admin_page" />
|
|
<input type="hidden" name="pg" value="plugin_wizard.html" />
|
|
<input type="hidden" name="plugin_name" value="<%plugin_name%>" />
|
|
<input type="hidden" name="plugin_wiz_do" value="step4" />
|
|
Now you need to decide what hooks, if any, the plugin will use.
|
|
<p class=body>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.</p>
|
|
<%if error%>
|
|
<p class=body><font color="red"><b><%error%></b></font></p>
|
|
<%endif%>
|
|
<%if results%>
|
|
<p class=body><font color="green"><%results%></font></p>
|
|
<%endif%>
|
|
<%if hooks%>
|
|
<p class=body>Existing Hooks:<br /><br />
|
|
<%hooks%>
|
|
</p>
|
|
<p align="right" class=body><input type="submit" value="Delete Checked" class=button name="delete_btn" /></p>
|
|
<%endif%>
|
|
<p class=body>Add New Hook:</p>
|
|
<table border="1" cellpadding="3" width="100%" bordercolor="#C0C0C0" cellspacing="0">
|
|
<tr class=body>
|
|
<td width="120" class=body>Name</td>
|
|
<td class=body><input type="text" class=object name="name" size="40" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td class=body width="120">Type</td>
|
|
<td>
|
|
<select size="1" name="type" class=object>
|
|
<option>PRE</option>
|
|
<option>POST</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr class=body>
|
|
<td class=body width="120">Code</td>
|
|
<td>
|
|
<input type="text" name="code" class=object value="GList::Plugins::<%plugin_name%>::" size="40" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<p align="right"><input type="submit" value="Add New Hook" class=button name="add_btn" />
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<form method="POST" action="glist.cgi">
|
|
<input type="hidden" name="do" value="admin_page" />
|
|
<input type="hidden" name="pg" value="plugin_wizard.html" />
|
|
<input type="hidden" name="plugin_name" value="<%plugin_name%>" />
|
|
<input type="hidden" name="plugin_wiz_do" value="step4" />
|
|
<%if sid%>
|
|
<input type=hidden name="sid" value="<%sid%>" />
|
|
<%endif%>
|
|
<table border="1" cellpadding=0 cellspacing=0>
|
|
<tr>
|
|
<td>
|
|
<table border=0 width=500>
|
|
<tr>
|
|
<td align=center>
|
|
<input type="submit" value="Next >>" class=button name="next" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|