discourse-legacysite-perl/site/glist/templates/gossamer/plugin_wizard_step5.html

74 lines
3.1 KiB
HTML
Raw Permalink Normal View History

2024-06-17 12:24:05 +00:00
<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="step6" />
Now you need to decide what user options, if any, you want to allow the user
to change. You can set simple configuration variables here that will be available
to you inside of your plugin. Links SQL will provide an interface for the user
to change these variables and provide the mechanisim to store them. You can
also provide instructions which can explain to the user what the option
is for.
<%if error%>
<p class=body><font color="red"><%error%></font></p>
<%endif%>
<%if results%>
<p class=body><font color="green"><%results%></font></p>
<%endif%>
<%if user%>
<p class=body>Existing Options:<br /><br /><%user%></p>
<p align="right"><input type="submit" value="Delete Checked" class=button name="delete_btn" /></font></p>
<%endif%>
<p class=body>Add User Option:</p>
<table border="1" cellpadding="3" width="100%" bordercolor="#C0C0C0" cellspacing="0">
<tr class=body>
<td width="120" class=body>Name</td>
<td><input class=object type="text" name="name" class=object size="40" /></td>
</tr>
<tr>
<td width="120" class=body>Value</td>
<td class=body><input type="text" name="value" class=object value="" size="40" /></td>
</tr>
<tr class=body>
<td width="120" class=body>Instructions</td>
<td><textarea rows=5 cols=40 wrap="off" name="instructions" class=object></textarea></td>
</tr>
</table>
<p align="right"><font face="Tahoma,Arial,Helvetica" size="2"><input type="submit" value="Add New Option" name="add_btn" class=button /></font>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<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="step6" />
<%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>
<center><input type="submit" value="Next >>" name="next" class=button /></font></center>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>