Dotclear

Changeset 2629


Ignore:
Timestamp:
09/08/10 18:13:10 (12 years ago)
Author:
JcDenis
Message:

TaC 0.1

  • Fixed some bugs
  • Changed icon
Location:
plugins/TaC
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • plugins/TaC/_define.php

    r2628 r2629  
    1717     /* Description*/         "Twitter client layer for Dotclear plugins", 
    1818     /* Author */             "JC Denis", 
    19      /* Version */            '0.1-alpha5', 
     19     /* Version */            '0.1', 
    2020     /* Permissions */        'admin' 
    2121); 
    22      /* date */          #20100907 
     22     /* date */          #20100908 
    2323?> 
  • plugins/TaC/_install.php

    r2628 r2629  
    2424{ 
    2525     # Check DC version 
    26      if (version_compare(DC_VERSION,'2.2-beta','<')) 
     26     if (version_compare(str_replace("-r","-p",DC_VERSION),'2.2-alpha','<')) 
    2727     { 
    2828          throw new Exception('TaC requires Dotclear 2.2'); 
  • plugins/TaC/inc/lib.tac.tools.php

    r2628 r2629  
    5252     { 
    5353          $error = ''; 
    54           $api = 'http://is.dg/api.php?'; 
     54          $api = 'http://is.gd/api.php?'; 
    5555          $path = ''; 
    56           $data = array('longurl'=>urlencode($url)); 
     56          $data = array('longurl'=>$url); 
    5757           
    5858          # Send request 
    5959          $client = netHttp::initClient($api,$path); 
    60           $client->setUserAgent('libDcTwitterSender - '.self::$version); 
     60          $client->setUserAgent('Dotclear TaC - v0.1-alpha'); 
    6161          $client->setPersistReferers(false); 
    6262          $client->get($path,$data); 
  • plugins/TaC/index.php

    r2628 r2629  
    232232     <li>'.sprintf(__('Your are connected as "%s"'),$user->screen_name).'</li> 
    233233     <li>'.sprintf(__('It remains %s API hits'),$content->remaining_hits).'</li> 
    234      <li><a href="'.$p_url.'&action=clean">'.__('Disconnect and clean access').'</a></li> 
     234     <li><a href="'.$p_url.'&amp;action=clean">'.__('Disconnect and clean access').'</a></li> 
    235235     </ul> 
    236236      
     
    251251     echo ' 
    252252     <fieldset><legend>'.__('Connect your blog with your twitter account through TaC').'</legend> 
    253      <p><a href="'.$p_url.'&action=redirect"><img src="index.php?pf=TaC/img/tac_light.png" alt="Sign in with Twitter"/></a></p> 
     253     <p><a href="'.$p_url.'&amp;action=redirect"><img src="index.php?pf=TaC/img/tac_light.png" alt="Sign in with Twitter"/></a></p> 
    254254     </fieldset>'; 
    255255} 
  • plugins/TaC/release.txt

    r2628 r2629  
     10.1 20100908 
     2 * Fixed bugs 
     3 * Changed icon 
     4 
    150.1-alpha5 20100908 
    26 * First lab release 
Note: See TracChangeset for help on using the changeset viewer.

Sites map