Ignore:
Timestamp:
Feb 10, 2013, 3:42:40 PM (11 years ago)
Author:
mistic100
Message:

add help file

Location:
extensions/Google2Piwigo
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/Google2Piwigo/admin/import.php

    r18912 r20645  
    5252      );
    5353       
    54     $template->assign('picasa_login', $login_url);
     54    $template->assign(array(
     55      'picasa_login' => $login_url,
     56      'HELP_CONTENT' => load_language('help.lang.html', PICASA_WA_PATH, array('return'=>true)),
     57      ));
    5558    break;
    5659  }
  • extensions/Google2Piwigo/admin/template/import.tpl

    r17475 r20645  
    11{combine_css path=$PICASA_WA_PATH|@cat:"admin/template/style.css"}
     2
     3{footer_script}{literal}
     4$("input.login").click(function() {
     5  window.location.href = "{/literal}{$picasa_login}{literal}";
     6});
     7$(".login_help").click(function() {
     8  $(".infos.tip").slideToggle();
     9});
     10{/literal}{/footer_script}
    211
    312<div class="titrePage">
     
    716{* <!-- LOGIN --> *}
    817{if $ACTION == 'login'}
    9 <p><input type="submit" onClick="javascript:window.location.href ='{$picasa_login}';" value="{'Login'|@translate}"></p>
     18<p><input type="submit" class="login" value="{'Login'|@translate}"></p>
     19<p><a href="#" class="login_help">{'Help! I get the error "The site [...] has not been registered."'|@translate}</a></p>
     20
     21<div class="infos tip" style="display:none;">
     22{$HELP_CONTENT}
     23</div>
    1024
    1125{* <!-- MAIN MENU --> *}
  • extensions/Google2Piwigo/admin/template/style.css

    r17475 r20645  
    77  width: 128px;
    88}
     9.infos.tip {
     10  background-image:none;
     11  font-weight:normal;
     12  padding:10px;
     13  min-height:0;
     14  width:700px;
     15  margin:20px auto 5px auto;
     16  border-radius:5px;
     17}
Note: See TracChangeset for help on using the changeset viewer.