Welcome, guest ( Login )

WikiHome » All File Cabinets » FileCabinetForm

FileCabinetForm

Version 1, changed by s3admin 07/25/2006.   Show version history

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:jot="http://www.foopee.com/ns/s3/srvtmpl/"> <jot:include href="wiki:/FileCabinet/FileCabinetInclude"/> <jot:resource href="wiki:${SharedRoot}/Controls/SharedPopupDialogCode.js"/> <jot:extension target="head"> <style> #jot-versionInfo { display: none; } </style> </jot:extension> <script type="text/javascript"> dojo.addOnLoad(function() { JotDocRepo.init(); }); </script> <div id="jdr-description"> <jot:include editPage="${page}" editProperty="main/text" ifEmptyHTML="&lt;em>Click here to add a description of this file cabinet.&lt;/em>" path="${SharedRoot}/Components/SharedPropertyEditor"/> </div> <div id="jdr-uploadButton-container" style="display:none"> <jot:if test="${req/args/search}"> <jot:then> <a class="jot-btn jot-disabled" href="javascript:;" id="jdr-button-upload">upload document</a> </jot:then> <jot:else> <jot:if test="${page/permissions/addAttachment}"> <jot:then> <a class="jot-btn jot-primary" href="javascript:;" id="jdr-button-upload" onclick="JotDocRepo.showUploadDialog()">upload document</a> </jot:then> <jot:else> <a class="jot-btn jot-disabled" href="javascript:;" id="jdr-button-upload">upload document</a> </jot:else> </jot:if> </jot:else> </jot:if> </div> <jot:if test="${not(req/args/search)}"> <jot:then> <span id="jdr-uploading" style="display:none;"> Uploading file ... <img align="absmiddle" src="${util:webspaceURL('/FileCabinet/FileCabinetResources/progress.gif')}"/> </span> </jot:then> </jot:if> <div id="jdr-repo"> <div id="jot-inside"> <jot:search filter="${util:isDefined(it/attach)}" forChildren="${page/path}" set="result"/> <jot:if test="${result/totalSize > 0}"> <jot:then> <jot:var name="showOobe" value="none"/> <script type="text/javascript"> dojo.addOnLoad(function() { dojo.byId('jdr-uploadButton-container').style.display = "block"; dojo.byId('jdr-repo-header').style.display = "block"; }); </script> </jot:then> <jot:else> <jot:var name="showOobe" value="block"/> <jot:extension target="head"> <script type="text/javascript"> dojo.addOnLoad(function() { var tbl = document.getElementById('jdr-repo-table'); tbl.style.display = "none"; }); </script> </jot:extension> </jot:else> </jot:if> <div id="jot-oobe-outside" style="display:${showOobe};"> <div id="jot-oobe-inside"> <div id="jot-oobe"> <p>Get Started! <jot:if test="${page/permissions/addAttachment}"> <jot:then> <a href="javascript:;" id="jdr-oobe-upload" onclick="JotDocRepo.showUploadDialog()">Upload documents</a> to your file cabinet. </jot:then> <jot:else> <a href="javascript:;" onclick="alert('You do not have permission to upload files.')">Upload documents</a> to your file cabinet. </jot:else> </jot:if> </p> </div> <img alt="Get Started!" src="${util:webspaceURL('/FileCabinet/FileCabinetResources/DocumentOOBE.png')}"/> </div> </div> <div id="jdr-repo-header" style="display:none"> <div id="jdr-search"> <form action="${page/path}" method="get" onsubmit="return JotDocRepo.validateSearchBox(this);"> <input name="search" type="hidden" value="1"/> <label><strong>Search for file: </strong></label> <input class="jdr-search-text" name="key" type="text" value="${req/args/key}"/> <input class="jot-btn jot-secondary" id="jdr-search-submit" type="submit" value="Go"/> <jot:if test="${req/args/search}"> <jot:then> <a class="jot-btn jot-secondary" href="${page/encodedPath}" id="jdr-search-clear">Clear Search</a> </jot:then> </jot:if> </form> </div> <jot:if test="${req/args/search}"> <jot:then> <p class="notice">  Search results for "<strong>${req/args/key}</strong>" (<a href="${page/encodedPath}">Clear Search and Show All Documents</a>)</p> </jot:then> </jot:if> <br class="clear"/> </div> <br/> <jot:var name="filter" value="util:isDefined(it/attach)"/> <jot:if defined="req/args/key"> <jot:then> <jot:var name="searchKey" value="${req/args/key}"/> </jot:then> <jot:else> <jot:var name="searchKey" value=""/> </jot:else> </jot:if> <jot:include path="${SharedRoot}/Utils/Loader/SharedLoaderTableTile" rowPath="/FileCabinet/TableRow" setupPath="/FileCabinet/TableSetup" tableId="jdr-repo-table" tileEvents="jdr-repo-table_REORDER,jdr-repo-table_ADD" tileParams="{rootPath: '${util:encode('javascript', page/path)}', filter: filter, search: searchKey}"/> </div> </div> <div style="display: none"> <div id="deleteFile"> <div id="deleteFile-inside"> <h4>Delete file?</h4> <div id="deleteFile-content"> <p>Are you sure you want to delete the file "<span id="deleteFile-title"> </span>"?</p> <div style="padding-top: 10px;"> <a class="jot-btn jot-primary" href="javascript:;" id="deleteFile-yesBtn">Yes</a> <a class="jot-btn jot-cancelButton" href="javascript:;" id="deleteFile-noBtn">Cancel</a> </div> <form> <input id="deleteFile-path" name="deleteFile-path" type="hidden" value=""/> </form> </div> </div> </div> </div> <!--EDIT DESC--> <div style="display: none"> <div id="jot-editDesc"> <h4>Edit Description</h4> <div id="jot-editDesc-inside"> <form id="jot-editDesc-form" onsubmit="JotDocRepo.editDescriptionSave(); return false"> <input id="jdr-editDesc-path" type="hidden" value=""/> <label>Description:</label> <textarea id="jdr-editDesc-text" name="description"/> <div style="padding-top: 10px;"> <input class="jot-btn jot-primary" id="jdr-editDesc-submit" type="submit" value="Submit"/> <input class="jot-btn jot-cancelButton" id="jdr-editDesc-cancel" type="reset" value="Cancel"/> <br class="clear"/> </div> </form> </div> </div> </div> <!--UPLOAD--> <div style="display: none"> <div id="jot-upload"> <h4>Upload a Document</h4> <div id="jot-upload-inside"> <form action="wiki:/FileCabinet/UploadFile" enctype="multipart/form-data" id="jot-upload-form" method="post"> <input name="tempid" type="hidden" value=""/> <input name="searchPath" type="hidden" value=""/> <label>File:</label> <input id="jdr-file-upload" name="attachment" type="file"/> <label>File Details:</label> <textarea id="jdr-file-details" name="description"/> <div style="padding-top: 10px;"> <a class="jot-btn jot-primary" href="javascript:;" id="jot-upload-submit" onClick="JotDocRepo.uploadFile(this.form); return false">Upload</a> <input class="jot-btn jot-cancelButton" id="jot-upload-cancel" type="reset" value="Cancel"/> <br class="clear"/> </div> </form> </div> </div> </div> </html>\n\n
\n Click here to add a description of this file cabinet.</em>\" path=\"${SharedRoot}/Components/SharedPropertyEditor\"/>\n
\n \n
\n \n \n upload document\n \n \n \n \n upload document\n \n \n upload document\n \n \n \n \n
\n \n \n \n \n Uploading file ...\n \n \n \n \n\n
\n
\n \n \n 0}\">\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n

Get Started!\n \n \n Upload documents to your file cabinet.\n \n \n Upload documents to your file cabinet.\n \n \n

\n
\n \"Get\n
\n
\n \n
\n
\n
\n \n \n \n \n \n Clear Search\n \n \n
\n
\n \n \n

  Search results for \"${req/args/key}\" (Clear Search and Show All Documents)

\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n\n
\n
\n
\n

Delete file?

\n
\n

Are you sure you want to delete the file \" \"?

\n
\n Yes\n Cancel\n
\n
\n \n
\n
\n
\n
\n
\n\n \n
\n
\n

Edit Description

\n
\n
\n \n \n

Upload a Document