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

85 lines
3.2 KiB
HTML
Raw 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" enctype="multipart/form-data">
<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="step7" />
<%if sid%>
<input type=hidden name="sid" value="<%sid%>" />
<%endif%>
Quite often you will need to bundle some extra files with your plugin, be it
a user cgi script, some images, a library file, or whatever. From here you
can add files to be included in your plugin, and where you would like them
placed.</font>
<%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 files%>
<p class=body>Existing Files:<br /><br />
<%files%>
</font></p>
<p class=body align="right"><input type="submit" class=button value="Delete Checked" name="delete_btn" /></font></p>
<%endif%>
<p class=body>Add New File:</font></p>
<table border="1" cellpadding="3" width="100%" bordercolor="#C0C0C0" cellspacing="0">
<tr class=body>
<td width="120" class=body>Filename</font></td>
<td><input type="text" class=object name="name" size="40" /></font></td>
</tr>
<tr class=body>
<td width="120" class=body>Place Into</font></td>
<td><font face="Tahoma,Arial,Helvetica" size="2"><select name="location" class=object>
<option value="user_cgi">User cgi-bin
<option value="admin_cgi">Admin cgi-bin
<option value="images">Images folder
<option value="lib">Library folder
</select>
</font></td>
</tr>
<tr class=body>
<td width="120" class=body>File</font></td>
<td><font face="Tahoma,Arial,Helvetica" size="2"><input type="file" class=object name="file" /></font></td>
</tr>
<tr class=body>
<td align="center"class=body colspan="2"><b>or</b></font></td>
</tr>
<tr class=body>
<td width="120" valign="top" class=body>Body</font></td>
<td><font face="Tahoma,Arial,Helvetica" size="2"><textarea cols=40 rows=5 class=object wrap="off" name="body"></textarea></font></td>
</tr>
</table>
<p align="right"><font face="Tahoma,Arial,Helvetica" size="2"><input type="submit" class=button value="Add New File" name="add_btn" /></font>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<br /><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="step7" />
<%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><font face="Tahoma,Arial,Helvetica" size="2"><input type="submit" value="Next >>" class=button name="next" /></font></center>
</td></tr></table></td></tr></table>
</form>