Changeset 19362 for extensions/TweetThis


Ignore:
Timestamp:
Dec 9, 2012, 1:34:37 PM (11 years ago)
Author:
mistic100
Message:

correct typo, load on footer

Location:
extensions/TweetThis
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/TweetThis/admin.tpl

    r15122 r19362  
    66
    77<form method="post" action="" class="properties" ENCTYPE="multipart/form-data">
    8 
     8    <p><img src="{$TWEET_PATH}/images/logo.png"/></p>
     9   
    910    <table class="twitter_buttons">
    1011      <tr class="property">
     
    2425        </label></td>
    2526      </tr>
     27     
    2628      <tr class="property">
    2729        <td>
     
    5052        </td>
    5153      </tr>
     54     
    5255      <tr class="submit">
    5356        <td colspan="2">
     
    5659      </tr>
    5760    </table>
    58 
    5961</form>
  • extensions/TweetThis/button.tpl

    r16309 r19362  
    1 {combine_script id='twitter_widgets' path='http://platform.twitter.com/widgets.js'}
     1{combine_script id='twitter_widgets' load='footer' path='http://platform.twitter.com/widgets.js'}
    22<a href="https://twitter.com/share" class="twitter-share-button"
    33  data-url="{$TWEET_URL}" data-lang="{$TWEET_LANG}" {if not empty($TWEET_VIA)}data-via="{$TWEET_VIA}"{/if}
  • extensions/TweetThis/main.inc.php

    r16309 r19362  
    6868  {
    6969    case 'index':
     70      // $template->add_index_button('<li>'.$button.'</li>', 100);
    7071      $template->concat('PLUGIN_INDEX_ACTIONS', '<li>'.$button.'</li>');
    7172      break;
    7273    case 'toolbar':
     74      // $template->add_picture_button($button, 100);
    7375      $template->concat('PLUGIN_PICTURE_ACTIONS', $button);
    7476      break;
     
    8385  global $template;
    8486 
    85   switch ($template->get_template_vars('TWEET_POSITON'))
     87  switch ($template->get_template_vars('TWEET_POSITION'))
    8688  {
    8789    case 'top':
Note: See TracChangeset for help on using the changeset viewer.