Changeset 2629
- Timestamp:
- 09/08/10 18:13:10 (12 years ago)
- Location:
- plugins/TaC
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/TaC/_define.php
r2628 r2629 17 17 /* Description*/ "Twitter client layer for Dotclear plugins", 18 18 /* Author */ "JC Denis", 19 /* Version */ '0.1 -alpha5',19 /* Version */ '0.1', 20 20 /* Permissions */ 'admin' 21 21 ); 22 /* date */ #2010090 722 /* date */ #20100908 23 23 ?> -
plugins/TaC/_install.php
r2628 r2629 24 24 { 25 25 # 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','<')) 27 27 { 28 28 throw new Exception('TaC requires Dotclear 2.2'); -
plugins/TaC/inc/lib.tac.tools.php
r2628 r2629 52 52 { 53 53 $error = ''; 54 $api = 'http://is. dg/api.php?';54 $api = 'http://is.gd/api.php?'; 55 55 $path = ''; 56 $data = array('longurl'=> urlencode($url));56 $data = array('longurl'=>$url); 57 57 58 58 # Send request 59 59 $client = netHttp::initClient($api,$path); 60 $client->setUserAgent(' libDcTwitterSender - '.self::$version);60 $client->setUserAgent('Dotclear TaC - v0.1-alpha'); 61 61 $client->setPersistReferers(false); 62 62 $client->get($path,$data); -
plugins/TaC/index.php
r2628 r2629 232 232 <li>'.sprintf(__('Your are connected as "%s"'),$user->screen_name).'</li> 233 233 <li>'.sprintf(__('It remains %s API hits'),$content->remaining_hits).'</li> 234 <li><a href="'.$p_url.'&a ction=clean">'.__('Disconnect and clean access').'</a></li>234 <li><a href="'.$p_url.'&action=clean">'.__('Disconnect and clean access').'</a></li> 235 235 </ul> 236 236 … … 251 251 echo ' 252 252 <fieldset><legend>'.__('Connect your blog with your twitter account through TaC').'</legend> 253 <p><a href="'.$p_url.'&a ction=redirect"><img src="index.php?pf=TaC/img/tac_light.png" alt="Sign in with Twitter"/></a></p>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> 254 254 </fieldset>'; 255 255 } -
plugins/TaC/release.txt
r2628 r2629 1 0.1 20100908 2 * Fixed bugs 3 * Changed icon 4 1 5 0.1-alpha5 20100908 2 6 * First lab release
Note: See TracChangeset
for help on using the changeset viewer.