Annotation of cdli/dtml/fileAdd.dtml, revision 1.1
1.1 ! dwinter 1: <dtml-var manage_page_header>
! 2:
! 3: <dtml-var "manage_form_title(this(), _,
! 4: form_title='Add %s' % Kind,
! 5: help_product='OFSP',
! 6: help_topic='File_Add.stx'
! 7: )">
! 8:
! 9: <p class="form-help">
! 10: Select a file to upload from your local computer by clicking the
! 11: <em>Browse</em> button.
! 12: </p>
! 13: <p style="color:red">Please, do not upload files larger than 10 MB to avoid long download time!</p>
! 14:
! 15: <p>Add Version: <dtml-var version></p>
! 16:
! 17: <form action="manage_add<dtml-var Kind>" method="post"
! 18: enctype="multipart/form-data">
! 19: <input type="hidden" name="id" size="40" value="<dtml-var version>"/
! 20:
! 21: <table cellspacing="0" cellpadding="2" border="0">
! 22: <tr>
! 23: <td align="left" valign="top">
! 24: Version Comment (required)
! 25: </td>
! 26: <td>
! 27: <textarea type="text" cols=80 rows=20 name="vC"></textarea>
! 28: </td>
! 29: </tr>
! 30: <tr>
! 31: <td align="left" valign="top" class="form-optional">
! 32: Author
! 33: </td>
! 34: <td>
! 35: <textarea name="author" type="text" cols="30"><dtml-var AUTHENTICATED_USER></textarea>
! 36: </td>
! 37: </tr>
! 38: <tr>
! 39: <td colspan="2"> <span style="color:red">There should be no special character in the path where the file is stored!</span></td>
! 40: </tr>
! 41: <tr>
! 42: <td align="left" valign="top">
! 43: <div class="form-optional">
! 44: File
! 45: </div>
! 46: </td>
! 47: <td align="left" valign="top">
! 48: <input type="file" name="file" size="25" value="" />
! 49: </td>
! 50: </tr>
! 51: <tr>
! 52: <td align="left" valign="top">
! 53: <div class="form-optional">
! 54: Name of the versioned file:
! 55: </div>
! 56: <td>
! 57: <input type="text" size="50" checked name="newName" value="<dtml-var title>"
! 58: </td>
! 59: <!-- from <dtml-var title> to the name of the upload file.<br>
! 60: <input type="radio" checked name="changeName" value="no">No
! 61: <input type="radio" name="changeName" value="yes">Yes-->
! 62: </tr>
! 63: <tr>
! 64: <td align="left" valign="top">
! 65: </td>
! 66: <td align="left" valign="top">
! 67: <div class="form-element">
! 68: <input class="form-element" type="submit" name="submit"
! 69: value=" Add " />
! 70: </div>
! 71: </td>
! 72: </tr>
! 73: </table>
! 74: </form>
! 75:
! 76: <dtml-var manage_page_footer>
! 77:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>