/* This JavaScript code was generated by Jemplate, the JavaScript Template Toolkit. Any changes made to this file will be lost the next time the templates are compiled. Copyright 2006-2008 - Ingy döt Net - All rights reserved. */ if (typeof(Jemplate) == 'undefined') throw('Jemplate.js must be loaded before any Jemplate template files'); Jemplate.templateMap['Components/Elements/Submit.htm'] = function(context) { if (! context) throw('Jemplate function called without context\n'); var stash = context.stash; var output = ''; try { output += '\n\n<'; //line 3 "Components/Elements/Submit.htm" output += stash.get(['href', 0, 'defined', 0]) ? 'a' : 'button'; output += ' '; //line 3 "Components/Elements/Submit.htm" if (stash.get('id')) { output += ' id="'; //line 3 "Components/Elements/Submit.htm" output += stash.get('id'); output += '_text"'; } output += ' class="x-btn '; //line 3 "Components/Elements/Submit.htm" output += stash.get('class'); output += '" '; //line 3 "Components/Elements/Submit.htm" if (stash.get('name')) { output += 'name="'; //line 3 "Components/Elements/Submit.htm" output += stash.get('name'); output += '"'; } output += ' '; //line 3 "Components/Elements/Submit.htm" if (stash.get('href')) { output += 'href="'; //line 3 "Components/Elements/Submit.htm" output += stash.get('href'); output += '"'; } output += ' '; //line 3 "Components/Elements/Submit.htm" if (stash.get('target')) { output += 'target="'; //line 3 "Components/Elements/Submit.htm" output += stash.get('target'); output += '"'; } output += ' '; //line 3 "Components/Elements/Submit.htm" if (!(stash.get('href'))) { output += ' type="'; //line 3 "Components/Elements/Submit.htm" output += stash.get('type') || 'submit'; output += '" '; } output += ' '; //line 3 "Components/Elements/Submit.htm" if (stash.get('mousedown')) { output += 'onmousedown=\''; //line 3 "Components/Elements/Submit.htm" output += stash.get('mousedown'); output += '\''; } output += ' '; //line 3 "Components/Elements/Submit.htm" if (stash.get('onClick')) { output += 'onclick="'; //line 3 "Components/Elements/Submit.htm" output += stash.get('onClick'); output += '" '; } output += ' '; //line 3 "Components/Elements/Submit.htm" if (stash.get('value')) { output += 'value="'; //line 3 "Components/Elements/Submit.htm" output += stash.get('value'); output += '" '; } output += ' '; //line 3 "Components/Elements/Submit.htm" if (stash.get('style')) { output += 'style="'; //line 3 "Components/Elements/Submit.htm" output += stash.get('style'); output += '"'; } output += ' >'; //line 3 "Components/Elements/Submit.htm" output += stash.get('content') || stash.get('text'); output += '\n'; } catch(e) { var error = context.set_error(e, output); throw(error); } return output; } Jemplate.templateMap['FileManager/Details/Object.htm'] = function(context) { if (! context) throw('Jemplate function called without context\n'); var stash = context.stash; var output = ''; try { output += '
'; } catch(e) { var error = context.set_error(e, output); throw(error); } return output; } Jemplate.templateMap['FileManager/Info/DownloadComplete.htm'] = function(context) { if (! context) throw('Jemplate function called without context\n'); var stash = context.stash; var output = ''; try { output += '
\n
\n The selected files were downloaded to your computer successfully. \n
\n
\n
'; } catch(e) { var error = context.set_error(e, output); throw(error); } return output; } Jemplate.templateMap['FileManager/Info/UploadComplete.htm'] = function(context) { if (! context) throw('Jemplate function called without context\n'); var stash = context.stash; var output = ''; try { output += '
\n
\n '; //line 27 "FileManager/Info/UploadComplete.htm" if (stash.get(['uploadedTo', 0, 'id', 0]) == stash.get(['cwd', 0, 'id', 0])) { output += '\n '; //line 10 "FileManager/Info/UploadComplete.htm" if (stash.get('uploadedFiles') > 1) { output += '\n '; //line 5 "FileManager/Info/UploadComplete.htm" output += stash.get('uploadedFiles'); output += ' items were uploaded to this folder.\n '; } else if (stash.get('fileName')) { output += '\n '; //line 7 "FileManager/Info/UploadComplete.htm" output += stash.get('fileName'); output += ' was uploaded to this folder.\n '; } else { output += '\n An item was uploaded to this folder.\n '; } output += '\n '; //line 17 "FileManager/Info/UploadComplete.htm" if (stash.get('selectedFiles') < stash.get('uploadedFiles') && stash.get(['cwd', 0, 'pages', 0]) > 1) { output += '\n '; //line 16 "FileManager/Info/UploadComplete.htm" if (stash.get('uploadedFiles') > 1) { output += '\n You may need to use the arrows at the bottom of the screen to locate them.\n '; } else { output += '\n Use the arrows at the bottom of the screen to locate it.\n '; } output += '\n '; } output += ' \n '; } else { output += '\n '; //line 19 "FileManager/Info/UploadComplete.htm" // CAPTURE (function() { var output = ''; output += ' 1) { output += '\n '; //line 21 "FileManager/Info/UploadComplete.htm" output += stash.get('uploadedFiles'); output += ' items were uploaded to '; //line 21 "FileManager/Info/UploadComplete.htm" output += stash.get('destination'); output += '.\n '; } else if (stash.get('fileName')) { output += '\n '; //line 23 "FileManager/Info/UploadComplete.htm" output += stash.get('fileName'); output += ' was uploaded to '; //line 23 "FileManager/Info/UploadComplete.htm" output += stash.get('destination'); output += '.\n '; } else { output += '\n An item was uploaded to '; //line 25 "FileManager/Info/UploadComplete.htm" output += stash.get('destination'); output += '.\n '; } output += '\n '; } output += '\n
\n \n '; //line 42 "FileManager/Info/UploadComplete.htm" if (stash.get('clientProductName')) { output += '\n
\n '; //line 34 "FileManager/Info/UploadComplete.htm" // CAPTURE (function() { var output = ''; output += '\n '; //line 33 "FileManager/Info/UploadComplete.htm" output += stash.get('clientProductName'); output += '\n '; stash.set('clientSoftware', output); })(); output += '\n \n '; //line 38 "FileManager/Info/UploadComplete.htm" // CAPTURE (function() { var output = ''; output += '\n Download Now\n '; stash.set('downloadNow', output); })(); output += '\n \n Tip: Install '; //line 40 "FileManager/Info/UploadComplete.htm" output += stash.get('clientSoftware'); output += ' to have changes to the files on your computer synchronised to your online storage space automatically. '; //line 40 "FileManager/Info/UploadComplete.htm" output += stash.get('downloadNow'); output += ' \n
\n '; } output += ' \n
\n
\n'; } catch(e) { var error = context.set_error(e, output); throw(error); } return output; }