root/yapcasia2008-test/actdocs/templates/user/photo

Revision 2506 (checked in by kaminogoya, 12 years ago)

added page title header

Line 
1 [% WRAPPER ui title = loc("Your photo") %]
2 <h2 class="page-title">Your Photo</h2>
3 [% IF error;
4      WRAPPER error_ui;
5        loc("Image couldn't be read. Please upload your picture in one of the following formats:");
6        formats.join(', ');
7      END;
8    END
9 %]
10 <form method="post" enctype="multipart/form-data">
11     <fieldset>
12         <legend>{{Your photo}}</legend>
13         <dl>
14             <dt>
15                 [%- IF global.request.user.photo_name %]
16                     <img src="[% photo_uri %]" border="0">
17                 [%- ELSE %]
18                     {{No photo}}
19                 [% END %]
20             </dt>
21             <dd>
22                 <p>{{This photo will probably end up on the conference who's who,}}<tt>;-)</tt></p>
23                 <input type="file" name="photo" size="40" />
24             </dd>
25         </dl>
26         <div>
27         [%- IF global.request.user.photo_name %]
28             <input type="submit" name="delete" value="{{Delete Photo}}" />
29         [% END %]
30             <input type="submit" name="update" value="{{Update Photo}}" />
31         </div>
32     </fieldset>
33 </form>
34 [% END %]
Note: See TracBrowser for help on using the browser.