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><a href="{$flickr_login}">{'Login'|@translate}</a></p> |
---|
9 | |
---|
10 | {elseif $ACTION == 'choice'} |
---|
11 | <p> |
---|
12 | <a href="{$list_albums_url}">{'List my albums'|@translate}</a> - |
---|
13 | <a href="{$import_all_url}">{'Import all my pictures'|@translate}</a> |
---|
14 | </p> |
---|
15 | |
---|
16 | {elseif $ACTION == 'list_albums'} |
---|
17 | <h3>{'%d albums'|@translate}|@sprintf:$total_albums}</h3> |
---|
18 | <ul> |
---|
19 | {foreach from=$albums item=album} |
---|
20 | <li> |
---|
21 | <b><a href="{$album.U_LIST}">{$album.title}</a></b> <i>{'(%d photos)'|@translate|@sprintf:$album.photos}</i> |
---|
22 | {*- <a href="{$album.U_IMPORT_ALL}">{'Import all pictures of this album'|@translate}</a>*} |
---|
23 | {*<p>{$album.description}</p>*} |
---|
24 | </li> |
---|
25 | {/foreach} |
---|
26 | </ul> |
---|
27 | |
---|
28 | {elseif $ACTION == 'list_photos'} |
---|
29 | {include file=$FLICKR_ABS_PATH|@cat:'admin/template/import.list_photos.tpl'} |
---|
30 | |
---|
31 | {elseif $ACTION == 'list_all'} |
---|
32 | {include file=$FLICKR_ABS_PATH|@cat:'admin/template/import.list_all.tpl'} |
---|
33 | |
---|
34 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.