%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."}%
%{ Compatibility change TWiki 4.1: this template differs a lot from the TWiki 4.2 version}%
%TMPL:INCLUDE{"page"}%
%TMPL:INCLUDE{"logo"}%
%TMPL:INCLUDE{"viewtoolbar"}%
%TMPL:INCLUDE{"viewtopicactionbuttons"}%
%TMPL:INCLUDE{"viewbottombar"}%


%TMPL:DEF{"bodystyle"}% %{ optional CSS styles to be placed in body text }% %TMPL:END%

%TMPL:DEF{"appcontents"}% %{ main application contents }% %TMPL:END%



%TMPL:DEF{"content"}%%TMPL:P{"bodystyle"}%
<div class="patternTopic">
%TMPL:P{"pagetitle"}%
%TMPL:P{"appcontents"}%
</div><!-- /patternTopic-->
%TMPL:END%


%TMPL:DEF{"pagetitle"}%<h1 class="patternTemplateTitle">%MAKETEXT{"Move to Trash"}%</h1>%TMPL:END%


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


%TMPL:DEF{"formstart"}%<form method="post" name="rename" action="%SCRIPTURLPATH{"rename"}%/%WEB%/%TOPIC%">%TMPL:END%

%TMPL:DEF{"formend"}%<input type="hidden" name="attachment" value="%FILENAME%" />
<input type="hidden" name="newweb" value="Trash" />
<input type="hidden" name="newtopic" value="TrashAttachment" />
<input type="hidden" name="redirectto" value="%SCRIPTURL{view}%/%WEB%/%TOPIC%?template=PersonalInfoPictureView" />
</form>%TMPL:END%



%TMPL:DEF{"bodystyle"}%%INCLUDE{"PersonalInfoLayoutModules" section="imageStyle"}%%TMPL:END%


%TMPL:DEF{"appcontents"}%
%TMPL:P{"formstart"}%
<div class="twikiFormSteps" style="border-bottom:0px;">
<div class="twikiFormStep twikiLast">
<div class="twikiImage">
<img src="%PUBURL%/%BASEWEB%/%BASETOPIC%/%FILENAME%" alt="" />
</div>
</div><!--/twikiFormStep--></div><!--/twikiFormSteps-->
%TMPL:P{"topicaction"}%
%TMPL:P{"formend"}%
%TMPL:END%