Last change
on this file since 16064 was
16064,
checked in by mistic100, 12 years ago
|
- add logout link (Flickr requirements)
- stylish a bit main menu and albums list
|
File size:
1.5 KB
|
Line | |
---|
1 | {combine_css path=$FLICKR_PATH|@cat:"admin/template/style.css"} |
---|
2 | |
---|
3 | <div class="titrePage"> |
---|
4 | <h2>Flickr2Piwigo</h2> |
---|
5 | </div> |
---|
6 | |
---|
7 | {if $ACTION == 'init_login'} |
---|
8 | <p><input type="submit" onClick="javascript:window.location.href ='{$flickr_login}';" value="{'Login'|@translate}"></p> |
---|
9 | |
---|
10 | {elseif $ACTION == 'main'} |
---|
11 | <p> |
---|
12 | <b>{'Logued as'|@translate}</b> : <a href="{$profile_url}" target="_blank">{$username}</a><br><br> |
---|
13 | <input type="submit" onClick="javascript:window.location.href ='{$logout_url}';" value="{'Logout'|@translate}"> |
---|
14 | </p> |
---|
15 | <br> |
---|
16 | <p> |
---|
17 | <input type="submit" onClick="javascript:window.location.href ='{$list_albums_url}';" value="{'List my albums'|@translate}"> |
---|
18 | <input type="submit" onClick="javascript:window.location.href ='{$import_all_url}';" value="{'Import all my pictures'|@translate}"> |
---|
19 | </p> |
---|
20 | |
---|
21 | {elseif $ACTION == 'list_albums'} |
---|
22 | <h3>{'%d albums'|@translate|@sprintf:$total_albums}</h3> |
---|
23 | <ul id="albumsList"> |
---|
24 | {foreach from=$albums item=album} |
---|
25 | <li {if $album.id == "not_in_set"}class="not_in_set"{/if}> |
---|
26 | <b><a href="{$album.U_LIST}">{$album.title}</a></b> <i>{'(%d photos)'|@translate|@sprintf:$album.photos}</i> {if $album.description}- {$album.description|@truncate:100}{/if} |
---|
27 | {*- <a href="{$album.U_IMPORT_ALL}">{'Import all pictures of this album'|@translate}</a>*} |
---|
28 | </li> |
---|
29 | {/foreach} |
---|
30 | </ul> |
---|
31 | |
---|
32 | {elseif $ACTION == 'list_photos'} |
---|
33 | {include file=$FLICKR_ABS_PATH|@cat:'admin/template/import.list_photos.tpl'} |
---|
34 | |
---|
35 | {elseif $ACTION == 'list_all'} |
---|
36 | {include file=$FLICKR_ABS_PATH|@cat:'admin/template/import.list_all.tpl'} |
---|
37 | |
---|
38 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.