source: extensions/instagram2piwigo/admin/template/import.tpl @ 19711

Last change on this file since 19711 was 19711, checked in by mistic100, 11 years ago

now fetch the good data

File size: 1.1 KB
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{elseif $ACTION == 'main'}
11{footer_script}{literal}
12jQuery('input[type="submit"]').click(function() {
13  window.location.href = $(this).attr("data");
14});
15jQuery('.load').click(function() {
16  $("#loader_import").fadeIn();
17});
18{/literal}{/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{elseif $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.