Line | |
---|
1 | <div class="titrePage"> |
---|
2 | <h2>Instagram2Piwigo</h2> |
---|
3 | </div> |
---|
4 | |
---|
5 | {* <!-- LOGIN --> *} |
---|
6 | {if $ACTION == 'init_login'} |
---|
7 | <p><input type="submit" onClick="javascript:window.location.href ='{$instagram_login}';" value="{'Login'|@translate}"></p> |
---|
8 | |
---|
9 | {* <!-- MAIN MENU --> *} |
---|
10 | {else if $ACTION == 'main'} |
---|
11 | {footer_script} |
---|
12 | jQuery('input[type="submit"]').click(function() { |
---|
13 | window.location.href = $(this).attr("data"); |
---|
14 | }); |
---|
15 | jQuery('.load').click(function() { |
---|
16 | $("#loader_import").fadeIn(); |
---|
17 | }); |
---|
18 | {/footer_script} |
---|
19 | |
---|
20 | <p> |
---|
21 | <b>{'Logged in as'|@translate}</b> : <a href="{$profile_url}" target="_blank">{$username}</a><br><br> |
---|
22 | <input type="submit" data="{$logout_url}" value="{'Logout'|@translate}"> |
---|
23 | </p> |
---|
24 | <br> |
---|
25 | <p> |
---|
26 | <input type="submit" data="{$list_photos_url}" class="load" value="{'List my pictures'|@translate}"> |
---|
27 | <br> |
---|
28 | <span id="loader_import" style="display:none;"><img src="admin/themes/default/images/ajax-loader.gif"> <i>{'Processing...'|@translate}</i></span> |
---|
29 | </p> |
---|
30 | |
---|
31 | {* <!-- PHOTOS LIST --> *} |
---|
32 | {else if $ACTION == 'list_photos'} |
---|
33 | {include file=$INSTAG_ABS_PATH|@cat:'admin/template/import.list_photos.tpl'} |
---|
34 | |
---|
35 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.