%META:TOPICINFO{author="TWikiContributor" date="1166089765" format="1.1" version="1.1"}%
%{"View template with a stripped down attach template from pattern skin to show the upload option only. Attachments will be automatically hidden. After uploading the user will be redirected to PersonalInfoPictureViewTemplate."}%
%TMPL:INCLUDE{"attach"}%

%TMPL:DEF{"actionheader"}%%TMPL:END%
%TMPL:DEF{"toolbar"}%%TMPL:END%
%TMPL:DEF{"pagehelp"}%%TMPL:END%
%TMPL:DEF{"movedelete"}%%TMPL:END%
%TMPL:DEF{"pagehelp_nojavascript"}%%TMPL:END%
%TMPL:DEF{"versions"}%%TMPL:END%
%TMPL:DEF{"existingattachments"}%%TMPL:END%


%TMPL:DEF{"pagetitle"}%%MAKETEXT{"Upload a new personal picture"}%%TMPL:END%


%TMPL:DEF{"titleaction"}%%MAKETEXT{"(upload picture)"}% %TMPL:END%


%TMPL:DEF{"previous"}%%{"overide FILENAME variable"}%<input type="hidden" name="filename" value="" />%TMPL:END%


%TMPL:DEF{"topicactionbuttons"}%<input type="submit" class="twikiSubmit" value='%MAKETEXT{"Upload file"}%' /> %MAKETEXT{"or"}% <a href="%SCRIPTURL{view}%/%WEB%/%TOPIC%?template=PersonalInfoPictureView">%MAKETEXT{"Cancel"}%</a>%TMPL:END%


%TMPL:DEF{"hiddenfields"}%<input type="hidden" name="filecomment" value="" />
<input type="hidden" name="createlink" value="" />
<input type="hidden" name="hidefile" value="true" />
<input type="hidden" name="redirectto" value="%SCRIPTURL{view}%/%WEB%/%TOPIC%?template=PersonalInfoPictureView" />%TMPL:END%

%TMPL:DEF{"comment"}%%TMPL:END%
%TMPL:DEF{"properties"}%%TMPL:END%
%TMPL:DEF{"notes"}%%TMPL:END%
%TMPL:DEF{"extranotes"}%%TMPL:END%