discourse-legacysite-perl/site/glist/templates/gossamer/plugin_wizard_step1.html
2024-06-17 22:24:05 +10:00

54 lines
2.5 KiB
HTML

<table border="1" cellpadding="0" cellspacing="0">
<tr>
<td>
<table border="0" cellpadding="3" width="500">
<tr class=body>
<td class=body>
Welcome to the plugin wizard. This wizard will ask you a few questions about your plugin, and then create an install template and code
template which you can edit later.<br /><br />
To begin with, we need to know the name of your plugin. The name
will be used to determine the package the plugin resides in, so it
must be a valid perl package space. You should start with capitals,
and capitlize words as in: SearchLogger or SearchCache.
<%if error%>
<p class=body><font color=red><b><%error%></b></font></p>
<%endif%>
<table border="0" cellpadding="3" width="100%">
<tr>
<td width="40%" valign="top"><font face="Tahoma,Arial,Helvetica" size="2">Create new plugin named:</font></td>
<td width="60%" valign="top">
<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_wiz_do" value="step2" />
<input type="text" name="plugin_name" size="20" class=object> <input type="submit" value="Next >>" name="next" class=button />
<%if sid%>
<input type=hidden name="sid" value="<%sid%>" />
<%endif%>
</form>
</td>
</tr>
<%if edit%>
<tr class=body>
<td width="40%" valign="top" class=body>Use existing plugin:</td>
<td width="60%" valign="top" 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_wiz_do" value="step2" />
<%edit%> <input type="submit" value="Next >>" name="next" class=button />
<%if sid%>
<input type=hidden name="sid" value="<%sid%>" />
<%endif%>
</form>
</td>
</tr>
<%endif%>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>