<%if results%>
  <p class=body><font color="green"><%results%></p>
<%endif%>
<%if error%>
  <p class=body><font size="2" color="red"><%error%></font></p>
<%endif%>

<table border=1 cellpadding=0 cellspacing=0>
  <tr>
    <td>
      <table border=0 width="100%" cellpadding=2 cellspacing=3>
        <tr class=body>
          <td bgcolor="#E6EAEE" colspan="2" align="" class=body><li><b>Plugin Details</b></td>
        </tr>
        <tr class=body>
          <td class=body>Plugin:</td>
          <td><%plugin_name%></td>
        </tr>
        <tr class=body>
          <td class=body>Version:</td>
          <td class=body><%if version%><%version%><%endif%></td>
        </tr>
        <tr class=body>
          <td class=body>Author:</td>
          <td class=body><%if author%><%author%><%endif%></td>
        </tr>
        <tr class=body>
          <td class=body valign=top>License:</td>
          <td class=body><%if license%><%license%><%endif%></td>
        </tr>
        <tr class=body>
          <td class=body valign=top>Description:</td>
          <td class=body><%description%></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr class=body>
          <td class=body bgcolor="#E6EAEE" colspan="2" align=""><li><b>Plugin Files</b></td>
        </tr>
        <%if files%>
        <tr class=body>
          <td class=body><%files%></td>
        </tr>
        <%endif%>
        <%if body%>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr class=body>
          <td class=body bgcolor="#E6EAEE" colspan="2" align=""><li><b>Edit <%body_name%>:</b></td>
        </tr>
        <tr>
          <td colspan=2>
            <form action="glist.cgi" method="POST">
              <input type="hidden" name="do" value="admin_page" />
              <input type="hidden" name="pg" value="plugin_manager.html" />
              <input type="hidden" name="plugin_name" value="<%plugin_name%>" />
              <input type="hidden" name="plugin_man_do" value="edit_uninstalled" />
              <input type="hidden" name="save" value="<%body_name%>" />
              <textarea name="body" wrap="off" cols="<%if is_ie or is_mozilla%>70<%else%>60<%endif%>" rows=20 <%if is_ie or is_mozilla%>class=object<%endif%>><%body%></textarea>
              <br />
          </td>
        </tr>
        <%else%>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr class=body>
          <td class=body bgcolor="#E6EAEE" colspan="2" align=""><li><b>Add New File:</b></td>
        </tr>
        <tr class=body>
          <td colspan=2 class=body>
            <form action="glist.cgi" method="POST" enctype="multipart/form-data">
              <input type="hidden" name="do" value="admin_page" />
              <input type="hidden" name="pg" value="plugin_manager.html" />
              <input type="hidden" name="plugin_name" value="<%plugin_name%>" />
              <input type="hidden" name="plugin_man_do" value="edit_uninstalled" />
              <table>
                <tr class=body>
                  <td class=body> Upload File:</td>
                  <td><input type="file" name="filebody" size=30 class=object /></td>
                </tr>
                <tr class=body>
                  <td class=body>File Name:</td>
                  <td><input type="text" size=30 name="add" class=object /></td>
                </tr>
              </table>
          </td>
        </tr>
        <%endif%>
      </table>
    </td>
  </tr>
</table>
<br /><br />
<p align=center><input type="submit" value="Update <%plugin_name%>" name="next" class=button /></p>
<%if sid%>
  <input type=hidden name="sid" value="<%sid%>" />
<%endif%>
</form>
