[[#upload]]
(:div853 class='frame rfloat noprint smaller nfloat':)
(:div854 id=newUploadPage:)
(:messages:)
(:input form enctype='multipart/form-data' action={*$PageUrl}:)
(:input hidden action postupload2:)
(:if equal "{$$usage}" "" :)''Image''(:else:){$$usage}(:ifend:): (:input file uploadfile size=40:) (:input submit post Upload:)
(:input end:)
%rfloat clear=right%[- [[Photos/Photo tips | +]]-]
%lfloat%[- [[{*$FullName}?action=upload | '*Drag and drop upload*']]-]
%lfloat%[- [[{*$FullName}?action=edit | Edit page]] Max size 32MB -]
(:div854end:)
(:if equal "{$$usage}" "" :)
>>rfloat clear=right smaller noprint<<
(:toggle init=hide set=1 id='newUploadPage' lhide='hide' lshow='add image':)
>><<
(:else:)
>>rfloat clear=right smaller noprint<<
(:toggle init=hide set=1 id='newUploadPage' lhide='hide' lshow='add {$$usage}':)
>><<
(:ifend:)
(:div853end:)
[[#uploadend]]
|
To use this template use the following include. This would generally be placed in the group header.
(:include Photos.TemplateUpload#upload#uploadend:) |
|
use the variable usage to indicate another usage
(:include Photos/TemplateUpload#upload#uploadend usage="GPS track":) |
|
