diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-07-06 18:03:49 +0000 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-07-06 18:03:49 +0000 |
commit | 3752929d2b01cf3047f8980eff8fecf0bfa93ce9 (patch) | |
tree | 898e426400bf06ff0033def48f8c9cc57b67fa3a /templates | |
parent | 74295f1b4a8e3b0ba1588486eae20e82e1142c76 (diff) |
issue27, beginning implementation
git-svn-id: file:///var/lib/svn/phpfspot/trunk@168 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'templates')
-rw-r--r-- | templates/photo_index.tpl | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 6c7af4a..cb079e2 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -4,7 +4,7 @@ <td colspan="3"> <table style="width: 100%;"> <tr> - <td class="index_header"style="width: 80%;"> + <td class="index_header"> <b>Photo Index,</b> {if ! $searchfor } {if $count == 1} @@ -20,10 +20,18 @@ {/if} {/if} </td> - <td class="index_header" style="text-align: right;"> + <td class="index_header" style="text-align: right"> + <form action="" onsubmit="setViewMode(document.getElementsByName('view')[0].options[document.getElementsByName('view')[0].selectedIndex].value); return false;"> {if $extern_link } - <a href="{$extern_link}" title="Copy this link to get directly into the current view"><img src="resources/link.png" /></a> + <a href="{$extern_link}" title="Use this link to return to the current view"><img src="resources/link.png" /></a> {/if} + <select name="view"> + <option value="photos" selected="selected">Photos</option> + <option value="html">HTML source</option> + <option value="moinmoin">MoinMoin markup</option> + </select> + <input type="image" src="resources/doit.png" alt="Switch View" /> + </form> </td> </tr> </table> @@ -31,6 +39,7 @@ </tr> <tr> <td colspan="3"> + <div id="adinfo"></div> <div id="matrix"> <table> {section name="row" loop=$rows step=1} |