Changeset 66 in bookmarks for trunk/bookmark.tt
- Timestamp:
- 02/04/14 15:21:17 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bookmark.tt
r64 r66 1 1 <html> 2 2 <head> 3 <title>Bookmark: [% title oruri %]</title>3 <title>Bookmark: [% bookmark.title or bookmark.uri %]</title> 4 4 <style type="text/css"> 5 5 body, th, td { … … 21 21 <div> 22 22 <h1> 23 [% UNLESS exists %]23 [% UNLESS bookmark.exists %] 24 24 <strong>New bookmark:</strong> 25 25 [% END %] 26 <a href="[% uri | html %]" target="_blank">[% title oruri %]</a>26 <a href="[% bookmark.uri | html %]" target="_blank">[% bookmark.title or bookmark.uri %]</a> 27 27 </h1> 28 [% IF exists %]28 [% IF bookmark.exists %] 29 29 <p class="timestamps"> 30 Bookmark created <a href="http://web.archive.org/web/[% created_iso %]/[% uri %]" title="Nearest Wayback Machine Link" target="_blank">[% created %]</a>[% IF mtime !=ctime %]; updated31 <a href="http://web.archive.org/web/[% updated_iso %]/[% uri %]" title="Nearest Wayback Machine Link" target="_blank">[%updated %]</a>[% END %]30 Bookmark created <a href="http://web.archive.org/web/[% bookmark.created_iso %]/[% bookmark.uri %]" title="Nearest Wayback Machine Link" target="_blank">[% bookmark.created %]</a>[% IF bookmark.mtime != bookmark.ctime %]; updated 31 <a href="http://web.archive.org/web/[% bookmark.updated_iso %]/[% bookmark.uri %]" title="Nearest Wayback Machine Link" target="_blank">[% bookmark.updated %]</a>[% END %] 32 32 </p> 33 [% IF tags.size %]33 [% IF bookmark.tags.size %] 34 34 <p class="tags">Tagged as: 35 [% FOREACH tag IN tags %]35 [% FOREACH tag IN bookmark.tags %] 36 36 <a href=".?tag=[% tag %]" class="tag" target="_blank" onclick="if (opener && !opener.closed) { opener.location = this.href; return false; }">[% tag %]</a> 37 37 [% END %] … … 44 44 <th>URI:</th> 45 45 <td> 46 <input type="text" name="uri" value="[% uri | html %]" size="80"/>46 <input type="text" name="uri" value="[% bookmark.uri | html %]" size="80"/> 47 47 </td> 48 48 </tr> … … 50 50 <th>Title:</th> 51 51 <td> 52 <input type="text" name="title" value="[% title | html %]" size="80"/>52 <input type="text" name="title" value="[% bookmark.title | html %]" size="80"/> 53 53 </td> 54 54 </tr> … … 56 56 <th>Tags:</th> 57 57 <td> 58 <input type="text" name="tags" value="[% tags.join(' ') | html %]" size="80"/>58 <input type="text" name="tags" value="[% bookmark.tags.join(' ') | html %]" size="80"/> 59 59 </td> 60 60 </tr>
Note: See TracChangeset
for help on using the changeset viewer.