
<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 5 - Plugin User Options for <%plugin_name%></b></font>
          </td>
        </tr>
      </table>
      <table border="0" cellpadding="3" width="500">
        <tr>
          <td>
<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="step6">
          <font face="Tahoma,Arial,Helvetica" size="2">
          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. Gossamer Links will provide an interface for the user
          to change these variables and provide the mechanism to store them. You can
          also provide instructions which can explain to the user what the option
          is for.</font>
<%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 user%>
          <p><font face="Tahoma,Arial,Helvetica" size="2">Existing Options:<br><br>
<%user%>
			</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 User Option:</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 name=form_type>
                      <option default>TEXT</option>
                      <option>TEXTAREA</option>
                      <option>SELECT</option>
                      <!-- <option>MULTIPLE</option> -->
                      <option>CHECKBOX</option>
                      <option>RADIO</option>
                  </select>
              </font></td>
            </tr>

            <tr>
              <td width="120"><font face="Tahoma,Arial,Helvetica" size="2">Default Value</font></td>
              <td><font face="Tahoma,Arial,Helvetica" size="2"><input type="text" name="value" value="" size="40"></font></td>
            </tr>

            <tr>
                <td width="120"><font face="Tahoma,Arial,Helvetica" size="2">Form Names<br>
                        <font size=1>(Stored in Database)<br>
                            Only for checkbox, multi-select or radio forms</font>
                </font></td>
              <td><font face="Tahoma,Arial,Helvetica" size="2">
                      <textarea name=form_names cols=40 rows=5></textarea>
              </font></td>
            </tr>

            <tr>
                <td width="120"><font face="Tahoma,Arial,Helvetica" size="2">Form Value<br>
                        <font size=1>(Stored in Database)<br>
                        Only for checkbox, multi-select or radio forms</font>
                </font></td>
              <td><font face="Tahoma,Arial,Helvetica" size="2">
                      <textarea name=form_values cols=40 rows=5></textarea>
              </font></td>
            </tr>

            <tr>
              <td width="120"><font face="Tahoma,Arial,Helvetica" size="2">Instructions</font></td>
              <td><font face="Tahoma,Arial,Helvetica" size="2"><textarea rows=5 cols=40 wrap="off" name="instructions"></textarea></font>
              </td>
            </tr>
          </table>
          <p align="right"><font face="Tahoma,Arial,Helvetica" size="2"><input type="submit" value="Add New Option" name="add_btn"></font>
          </td>
        </tr>
      </table>
</form>
    </td>
  </tr>
</table>

<br><br>

<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="step6">

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