]> git.decadent.org.uk Git - memories.git/blobdiff - templates/photo/upload
Merge commit 'trunk'
[memories.git] / templates / photo / upload
index ad88ff84974eb0c8c6c483aaadfc8ef39a086bb1..9921f49d465074adf9ed5c8ed661ff8f027d3e82 100644 (file)
@@ -1,26 +1,9 @@
-<html>
-<head>
-    <title> Memories - Photo Sharing </title>
-    <link title="Maypole" href="[%base%]/static/memories.css" type="text/css" rel="stylesheet"/>
-    <script type="text/javascript" src="[%base%]/tag/list_js"></script>
-    <script type="text/javascript" src="[%base%]/static/upload.js"></script>
-</head>
-<body onload="init()">
-[% INCLUDE nav %]
-<table width="100%">
-    <tr>
-    <td valign="top">
-    [% IF messages %]
-    <div class="messages">
-    <ul> [% FOR m = messages %] <li> [%m%] </li> [% END %]
-    </ul></div>
-    [% END %]
-   <div id="main">
+[% INCLUDE header %]
 <h1> Upload a photo </h1>
 <p>
-This is where you can upload your photographs. At the moment, you must
-upload them one at a time; in the near future, you will be able to
-upload a Zip file containing several photos.
+This is where you can upload your photographs. You can upload
+photographs individually or a Zip file (or Unix tar/tar.gz) full of
+pictures.
 </p>
 <p>
 Please note that it may take a while to transfer your photograph to the
@@ -38,6 +21,7 @@ server, so don't press stop or reload after pressing the Upload button.
     <td><input name="tags" id="tags"></td>
     <tr><td> &nbsp; </td> <td>
 <div class="messages"><small>
+<script type="text/javascript"> addHandler($("tags")) </script>
 <b>Tagging advice</b>: Tags should be words, (<i>portrait</i>, <i>henry</i>) or
 phrases surrounded by double quotes. (<i>"tall buildings"</i>) You can
 put any number of tags in the "add tags" box, like this: