Changeset 2970
- Timestamp:
- 02/21/11 03:12:57 (12 years ago)
- Location:
- plugins/soCialMeLibMore
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/soCialMeLibMore/_define.php
r2944 r2970 17 17 /* Description*/ "More services for the plugin SoCialMe", 18 18 /* Author */ "JC Denis", 19 /* Version */ '0. 2',19 /* Version */ '0.3', 20 20 /* Permissions */ 'admin' 21 21 ); 22 /* date */ #201102 1322 /* date */ #20110220 23 23 ?> -
plugins/soCialMeLibMore/_prepend.php
r2944 r2970 72 72 $__autoload['feedMoreSoCialMeReaderService'] = dirname(__FILE__).'/inc/lib.social.reader.srv.more.php'; 73 73 $core->addBehavior('soCialMeReaderService',create_function(null,'return array("feed","feedMoreSoCialMeReaderService");')); 74 75 76 //ajouter RSS, flattr, sharethis...77 74 ?> -
plugins/soCialMeLibMore/inc/lib.social.profil.srv.more.php
r2944 r2970 22 22 protected $setting_ns = 'soCialMeLibMore'; 23 23 protected $setting_id = 'soCialMe_profil_delicious'; 24 protected $available = true; 25 protected $config = array('uri' => ''); 24 26 25 protected $define = array( 27 26 'id' => 'delicious', … … 30 29 'icon' => 'pf=soCialMeLibMore/inc/icons/delicious.png' 31 30 ); 31 32 32 protected $actions = array( 33 33 'playIconContent'=>true, 34 34 'playSmallContent'=>false,//have it! 35 35 'playBigContent'=>true 36 ); 37 38 protected $config = array( 39 'uri' => '' 36 40 ); 37 41 … … 61 65 } 62 66 63 public function init() { $this->readSettings(); return true; } 64 public function parseContent($img) { return empty($this->config['uri']) ? null : soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://delicious.com/'.$this->config['uri'],$this->name,$this->url.$img,'profil')); } 67 public function parseContent($img) 68 { 69 if (empty($this->config['uri'])) return null; 70 71 $record[0] = array( 72 'service' => $this->id, 73 'source_name' => $this->name, 74 'source_url' => $this->home, 75 'source_icon' => $this->icon, 76 'preload' => true, 77 'title' => sprintf(__('View my profil on %s'),$this->name), 78 'avatar' => $this->url.$img, 79 'url' => 'http://delicious.com/'.$this->config['uri'] 80 ); 81 return $record; 82 } 83 84 public function init() { $this->readSettings(); $this->available = true; return true; } 65 85 public function playIconContent() { return $this->parseContent('pf=soCialMeLibMore/inc/icons/delicious.png'); } 66 86 public function playSmallContent() { return $this->parseContent('pf=soCialMeLibMore/inc/icons/delicious-small.png'); } … … 70 90 class feedburnerMoreSoCialMeProfilService extends soCialMeService 71 91 { 72 protected $config = array('uri' => '');73 92 protected $part = 'profil'; 74 93 protected $setting_ns = 'soCialMeLibMore'; 75 94 protected $setting_id = 'soCialMe_profil_feedburner'; 76 protected $available = true;95 77 96 protected $define = array( 78 97 'id' => 'feedburner', … … 81 100 'icon' => 'pf=soCialMeLibMore/inc/icons/feedburner.png' 82 101 ); 102 83 103 protected $actions = array( 84 104 'playIconContent'=>true, 85 105 'playBigContent'=>true 106 ); 107 108 protected $config = array( 109 'uri' => '' 86 110 ); 87 111 … … 111 135 } 112 136 113 public function init() { $this->readSettings(); return true; } 114 public function parseContent($img) { return empty($this->config['uri']) ? null : soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://feeds.feedburner.com/'.$this->config['uri'],$this->name,$this->url.$img,'profil')); } 137 public function parseContent($img) 138 { 139 if (empty($this->config['uri'])) return null; 140 141 $record[0] = array( 142 'service' => $this->id, 143 'source_name' => $this->name, 144 'source_url' => $this->home, 145 'source_icon' => $this->icon, 146 'preload' => true, 147 'title' => sprintf(__('View my profil on %s'),$this->name), 148 'avatar' => $this->url.$img, 149 'url' => 'http://feeds.feedburner.com/'.$this->config['uri'] 150 ); 151 return $record; 152 } 153 154 public function init() { $this->readSettings(); $this->available = true; return true; } 115 155 public function playIconContent() { return $this->parseContent('pf=soCialMeLibMore/inc/icons/feedburner.png'); } 116 156 public function playSmallContent() { return $this->parseContent('pf=soCialMeLibMore/inc/icons/feedburner-small.png'); } … … 120 160 class flickrMoreSoCialMeProfilService extends soCialMeService 121 161 { 122 protected $config = array('uri' => '');123 162 protected $part = 'profil'; 124 163 protected $setting_ns = 'soCialMeLibMore'; 125 164 protected $setting_id = 'soCialMe_profil_flickr'; 126 protected $available = true;165 127 166 protected $define = array( 128 167 'id' => 'flickr', … … 131 170 'icon' => 'pf=soCialMeLibMore/inc/icons/flickr.png' 132 171 ); 172 133 173 protected $actions = array( 134 174 'playIconContent'=>true, 135 175 'playSmallContent'=>false,//have it! 136 176 'playBigContent'=>true 177 ); 178 179 protected $config = array( 180 'uri' => '' 137 181 ); 138 182 … … 162 206 } 163 207 164 public function init() { $this->readSettings(); return true; } 165 public function parseContent($img) { return empty($this->config['uri']) ? null : soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://www.flickr.com/photos/'.$this->config['uri'],$this->name,$this->url.$img,'profil')); } 208 public function parseContent($img) 209 { 210 if (empty($this->config['uri'])) return null; 211 212 $record[0] = array( 213 'service' => $this->id, 214 'source_name' => $this->name, 215 'source_url' => $this->home, 216 'source_icon' => $this->icon, 217 'preload' => true, 218 'title' => sprintf(__('View my profil on %s'),$this->name), 219 'avatar' => $this->url.$img, 220 'url' => 'http://www.flickr.com/photos/'.$this->config['uri'] 221 ); 222 return $record; 223 } 224 225 public function init() { $this->readSettings(); $this->available = true; return true; } 166 226 public function playIconContent() { return $this->parseContent('pf=soCialMeLibMore/inc/icons/flickr.png'); } 167 227 public function playSmallContent() { return $this->parseContent('pf=soCialMeLibMore/inc/icons/flickr-small.png'); } … … 171 231 class netvibesMoreSoCialMeProfilService extends soCialMeService 172 232 { 173 protected $config = array('uri' => '');174 233 protected $part = 'profil'; 175 234 protected $setting_ns = 'soCialMeLibMore'; 176 235 protected $setting_id = 'soCialMe_profil_netvibes'; 177 protected $available = true;236 178 237 protected $define = array( 179 238 'id' => 'netvibes', … … 182 241 'icon' => 'pf=soCialMeLibMore/inc/icons/netvibes.png' 183 242 ); 243 184 244 protected $actions = array( 185 245 'playIconContent'=>true, 186 246 'playSmallContent'=>false,//have it! 187 247 'playBigContent'=>true 248 ); 249 250 protected $config = array( 251 'uri' => '' 188 252 ); 189 253 … … 213 277 } 214 278 215 public function init() { $this->readSettings(); return true; } 216 public function parseContent($img) { return empty($this->config['uri']) ? null : soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://netvibes.com/'.$this->config['uri'],$this->name,$this->url.$img,'profil')); } 279 public function parseContent($img) 280 { 281 if (empty($this->config['uri'])) return null; 282 283 $record[0] = array( 284 'service' => $this->id, 285 'source_name' => $this->name, 286 'source_url' => $this->home, 287 'source_icon' => $this->icon, 288 'preload' => true, 289 'title' => sprintf(__('View my profil on %s'),$this->name), 290 'avatar' => $this->url.$img, 291 'url' => 'http://netvibes.com/'.$this->config['uri'] 292 ); 293 return $record; 294 } 295 296 public function init() { $this->readSettings(); $this->available = true; return true; } 217 297 public function playIconContent() { return $this->parseContent('pf=soCialMeLibMore/inc/icons/netvibes.png'); } 218 298 public function playSmallContent() { return $this->parseContent('pf=soCialMeLibMore/inc/icons/netvibes-small.png'); } -
plugins/soCialMeLibMore/inc/lib.social.reader.srv.more.php
r2944 r2970 16 16 // temporaly include in "more" soCialMe plugin 17 17 18 # feed 18 19 class feedMoreSoCialMeReaderService extends soCialMeService 19 20 { 20 protected $config = array( 21 'feed' => '' 22 ); 21 protected $part = 'reader'; 22 protected $setting_ns = 'soCialMeLibMore'; 23 protected $setting_id = 'soCialMe_reader_feed'; 24 23 25 protected $define = array( 24 26 'id' => 'feed', … … 27 29 'icon' => 'pf=soCialMeLibMore/inc/icons/feed.png' 28 30 ); 31 29 32 protected $actions = array( 30 33 'playServerScript' => true, … … 32 35 'playPageContent' => true 33 36 ); 34 protected $setting_ns = 'soCialMeLibMore';35 protected $setting_id = 'soCialMe_reader_feed';36 protected $available = true;37 protected $part = 'reader';38 37 39 private $cache_timeout = 900; // 15 minutes 38 protected $config = array( 39 'feed' => '' 40 ); 40 41 41 public function init() { $this->readSettings(); return true; }42 public function init() { $this->readSettings(); $this->available = true; return true; } 42 43 public function playWidgetContent() { return self::parseContent(); } 43 44 public function playPageContent() { return self::parseContent(); } … … 72 73 if (empty($this->config['feed'])) return ''; 73 74 74 $file _feed_content= $this->core->blog->id.$this->id.'feed_content';75 $file = $this->core->blog->id.$this->id.'feed_content'; 75 76 76 if( isset($available['Widget']) &&in_array($this->id,$available['Widget'])77 && soCialMeCacheFile::expired($file_feed_content,'enc',$this->cache_timeout))77 if(!isset($available['Widget']) || !in_array($this->id,$available['Widget']) 78 || soCialMeCacheFile::expired($file,'enc',$this->cache_timeout)) 78 79 { 79 $records = null; 80 $i = 0; 80 return; 81 } 82 83 $i = 0; 84 $records = null; 85 $this->log('Get','playServerScript','feed_content'); 86 87 $feeds = explode("\n",trim($this->config['feed'])); 88 foreach($feeds as $feed) 89 { 90 $feed = trim($feed); 91 if (empty($feed)) continue; 81 92 82 $feeds = explode("\n",trim($this->config['feed'])); 83 foreach($feeds as $feed) 93 try 84 94 { 85 $feed = trim($feed); 86 if (empty($feed)) continue; 95 $feed_reader = new feedReader; 96 $feed_reader->setCacheDir(DC_TPL_CACHE); 97 $feed_reader->setTimeout(2); 98 $feed_reader->setUserAgent('soCialMeReader'); 99 $f = $feed_reader->parse($feed); 87 100 88 try 101 if (!$f->items) continue; 102 103 foreach($f->items as $item) 89 104 { 90 $feed_reader = new feedReader; 91 $feed_reader->setCacheDir(DC_TPL_CACHE); 92 $feed_reader->setTimeout(2); 93 $feed_reader->setUserAgent('soCialMeReader'); 94 $f = $feed_reader->parse($feed); 105 $records[$i]['author'] = $item->creator; 106 $records[$i]['service'] = $this->id; 107 $records[$i]['date'] = $item->TS; 108 $records[$i]['title'] = $item->title; 109 $records[$i]['content'] = $item->content; 110 $records[$i]['url'] = $item->link; 111 $records[$i]['source_name'] = $f->title; 112 $records[$i]['source_url'] = $f->link; 113 $records[$i]['source_icon'] = $this->icon; 95 114 96 if (!$f->items) continue; 97 98 foreach($f->items as $item) 99 { 100 $records[$i]['author'] = $item->creator; 101 $records[$i]['service'] = $this->id; 102 $records[$i]['date'] = $item->TS; 103 $records[$i]['title'] = $item->title; 104 $records[$i]['content'] = $item->content; 105 $records[$i]['url'] = $item->link; 106 $records[$i]['source_name'] = $f->title; 107 $records[$i]['source_url'] = $f->link; 108 $records[$i]['source_icon'] = $this->icon; 109 110 $i++; 111 } 115 $i++; 112 116 } 113 catch (Exception $e) {}114 117 } 115 if (!empty($records)) { 116 soCialMeCacheFile::write($file_feed_content,'enc',soCialMeUtils::encode($records)); 117 } 118 catch (Exception $e) {} 119 } 120 121 # Set cache file 122 if (empty($records)) { 123 soCialMeCacheFile::touch($file,'enc'); 124 } 125 else { 126 soCialMeCacheFile::write($file,'enc',soCialMeUtils::encode($records)); 118 127 } 119 128 } … … 130 139 } 131 140 } 132 133 141 ?> -
plugins/soCialMeLibMore/inc/lib.social.sharer.srv.more.php
r2944 r2970 19 19 class beboMoreSoCialMeSharerService extends soCialMeService 20 20 { 21 protected $part = 'sharer'; 22 protected $available = true; 23 21 24 protected $define = array( 22 25 'id' => 'bebo', … … 25 28 'icon' => 'pf=soCialMeLibMore/inc/icons/bebo.png' 26 29 ); 27 protected $actions = array('playIconContent' => true); 28 protected $available = true; 29 protected $part = 'sharer'; 30 31 public function playIconContent($record) 32 { 33 if (!$record || empty($record['title'])) return; 34 35 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 36 $title = html::clean($record['title']); 37 38 return soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://www.bebo.com/c/share?Url='.urlencode($url).'&Title='.urlencode($title),$this->name,$this->icon)); 30 31 protected $actions = array( 32 'playIconContent' => true 33 ); 34 35 public function playIconContent($post) 36 { 37 if (!$post || empty($post['title'])) return; 38 39 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 40 $title = html::clean($post['title']); 41 42 $record[0] = array( 43 'service' => $this->id, 44 'source_name' => $this->name, 45 'source_url' => $this->home, 46 'source_icon' => $this->icon, 47 'preload' => true, 48 'title' => sprintf(__('Share on %s'),$this->name), 49 'avatar' => $this->icon, 50 'url' => 'http://www.bebo.com/c/share?Url='.urlencode($url).'&Title='.urlencode($title) 51 ); 52 return $record; 39 53 } 40 54 } … … 42 56 class blinklistMoreSoCialMeSharerService extends soCialMeService 43 57 { 58 protected $part = 'sharer'; 59 protected $available = true; 60 44 61 protected $define = array( 45 62 'id' => 'blinklist', … … 48 65 'icon' => 'pf=soCialMeLibMore/inc/icons/blinklist.png' 49 66 ); 50 protected $actions = array('playIconContent' => true); 51 protected $available = true; 52 protected $part = 'sharer'; 53 54 public function playIconContent($record) 55 { 56 if (!$record || empty($record['title'])) return; 57 58 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 59 $title = html::clean($record['title']); 60 61 return soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://blinklist.com/blink?t='.urlencode($title).'&u='.urlencode($url),$this->name,$this->icon)); 67 68 protected $actions = array( 69 'playIconContent' => true 70 ); 71 72 public function playIconContent($post) 73 { 74 if (!$post || empty($post['title'])) return; 75 76 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 77 $title = html::clean($post['title']); 78 79 $record[0] = array( 80 'service' => $this->id, 81 'source_name' => $this->name, 82 'source_url' => $this->home, 83 'source_icon' => $this->icon, 84 'preload' => true, 85 'title' => sprintf(__('Share on %s'),$this->name), 86 'avatar' => $this->icon, 87 'url' => 'http://blinklist.com/blink?t='.urlencode($title).'&u='.urlencode($url) 88 ); 89 return $record; 62 90 } 63 91 } … … 65 93 class blogmarksMoreSoCialMeSharerService extends soCialMeService 66 94 { 95 protected $part = 'sharer'; 96 protected $available = true; 97 67 98 protected $define = array( 68 99 'id' => 'blogmarks', … … 71 102 'icon' => 'pf=soCialMeLibMore/inc/icons/blogmarks.gif' 72 103 ); 73 protected $actions = array('playIconContent' => true); 74 protected $available = true; 75 protected $part = 'sharer'; 76 77 public function playIconContent($record) 78 { 79 if (!$record || empty($record['title'])) return; 80 81 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 82 $title = html::clean($record['title']); 83 84 return soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://blogmarks.net/my/new.php?mini=1&simple=1&url='.urlencode($url).'&title='.urlencode($title),$this->name,$this->icon)); 104 105 protected $actions = array( 106 'playIconContent' => true 107 ); 108 109 public function playIconContent($post) 110 { 111 if (!$post || empty($post['title'])) return; 112 113 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 114 $title = html::clean($post['title']); 115 116 $record[0] = array( 117 'service' => $this->id, 118 'source_name' => $this->name, 119 'source_url' => $this->home, 120 'source_icon' => $this->icon, 121 'preload' => true, 122 'title' => sprintf(__('Share on %s'),$this->name), 123 'avatar' => $this->icon, 124 'url' => 'http://blogmarks.net/my/new.php?mini=1&simple=1&url='.urlencode($url).'&title='.urlencode($title) 125 ); 126 return $record; 85 127 } 86 128 } … … 88 130 class bloglinesMoreSoCialMeSharerService extends soCialMeService 89 131 { 132 protected $part = 'sharer'; 133 protected $available = true; 134 90 135 protected $define = array( 91 136 'id' => 'bloglines', … … 94 139 'icon' => 'pf=soCialMeLibMore/inc/icons/bloglines.png' 95 140 ); 96 protected $actions = array('playIconContent' => true); 97 protected $available = true; 98 protected $part = 'sharer'; 99 100 public function playIconContent($record) 101 { 102 if (!$record) return; 103 104 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 105 106 return soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://www.bloglines.com/sub/'.str_replace(array('http://','https://'),'',$url),$this->name,$this->icon)); 141 142 protected $actions = array( 143 'playIconContent' => true 144 ); 145 146 public function playIconContent($post) 147 { 148 if (!$post) return; 149 150 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 151 152 $record[0] = array( 153 'service' => $this->id, 154 'source_name' => $this->name, 155 'source_url' => $this->home, 156 'source_icon' => $this->icon, 157 'preload' => true, 158 'title' => sprintf(__('Share on %s'),$this->name), 159 'avatar' => $this->icon, 160 'url' => 'http://www.bloglines.com/sub/'.str_replace(array('http://','https://'),'',$url) 161 ); 162 return $record; 107 163 } 108 164 } … … 110 166 class deliciousMoreSoCialMeSharerService extends soCialMeService 111 167 { 168 protected $part = 'sharer'; 169 protected $available = true; 170 112 171 protected $define = array( 113 172 'id' => 'delicious', … … 116 175 'icon' => 'pf=soCialMeLibMore/inc/icons/delicious.png' 117 176 ); 118 protected $actions = array('playIconContent' => true); 119 protected $available = true; 120 protected $part = 'sharer'; 121 122 public function playIconContent($record) 123 { 124 if (!$record || empty($record['title'])) return; 125 126 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 127 $title = html::clean($record['title']); 128 129 return soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://delicious.com/save?url='.urlencode($url).'&title='.urlencode($title),$this->name,$this->icon)); 177 protected $actions = array( 178 'playIconContent' => true 179 ); 180 181 public function playIconContent($post) 182 { 183 if (!$post || empty($post['title'])) return; 184 185 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 186 $title = html::clean($post['title']); 187 188 $record[0] = array( 189 'service' => $this->id, 190 'source_name' => $this->name, 191 'source_url' => $this->home, 192 'source_icon' => $this->icon, 193 'preload' => true, 194 'title' => sprintf(__('Share on %s'),$this->name), 195 'avatar' => $this->icon, 196 'url' => 'http://delicious.com/save?url='.urlencode($url).'&title='.urlencode($title) 197 ); 198 return $record; 130 199 } 131 200 } … … 133 202 class diggMoreSoCialMeSharerService extends soCialMeService 134 203 { 204 protected $part = 'sharer'; 205 protected $available = true; 206 135 207 protected $define = array( 136 208 'id' => 'digg', … … 139 211 'icon' => 'pf=soCialMeLibMore/inc/icons/digg.png' 140 212 ); 213 141 214 protected $actions = array( 142 215 'playPublicScript' => true, … … 145 218 'playBigContent' => true 146 219 ); 147 protected $available = true;148 protected $part = 'sharer';149 220 150 221 public function playPublicScript($available) … … 167 238 } 168 239 169 public function playIconContent($record) 170 { 171 return $this->parseContent('DiggIcon',$record); 172 } 173 174 public function playBigContent($record) 175 { 176 return $this->parseContent('DiggMedium',$record); 177 } 178 179 public function playSmallContent($record) 180 { 181 return $this->parseContent('DiggCompact',$record); 182 } 183 184 private function parseContent($type,$record) 185 { 186 if (!$record || empty($record['title'])) return; 187 188 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 189 $title = html::clean($record['title']); 190 191 return 192 '<a class="DiggThisButton '.$type.'" href="http://digg.com/submit?'. 193 'url='.urlencode($url).'&title='.urlencode($title).'"></a>'; 240 public function playIconContent($post) 241 { 242 return $this->parseContent('DiggIcon',$post); 243 } 244 245 public function playBigContent($post) 246 { 247 return $this->parseContent('DiggMedium',$post); 248 } 249 250 public function playSmallContent($post) 251 { 252 return $this->parseContent('DiggCompact',$post); 253 } 254 255 private function parseContent($type,$post) 256 { 257 if (!$post || empty($post['title'])) return; 258 259 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 260 $title = html::clean($post['title']); 261 262 $record[0] = array( 263 'service' => $this->id, 264 'source_name' => $this->name, 265 'source_url' => $this->home, 266 'source_icon' => $this->icon, 267 'content' => '<a class="DiggThisButton '.$type.'" href="http://digg.com/submit?url='.urlencode($url).'&title='.urlencode($title).'"></a>' 268 ); 269 return $record; 194 270 } 195 271 } … … 198 274 class diigoMoreSoCialMeSharerService extends soCialMeService 199 275 { 276 protected $part = 'sharer'; 277 protected $available = true; 278 200 279 protected $define = array( 201 280 'id' => 'diigo', … … 204 283 'icon' => 'pf=soCialMeLibMore/inc/icons/diigo.png' 205 284 ); 206 protected $actions = array('playIconContent' => true); 207 protected $available = true; 208 protected $part = 'sharer'; 209 210 public function playIconContent($record) 211 { 212 if (!$record || empty($record['title'])) return; 213 214 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 215 $title = html::clean($record['title']); 216 217 return soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://www.diigo.com/post?url='.urlencode($url).'&title='.urlencode($title),$this->name,$this->icon)); 285 286 protected $actions = array( 287 'playIconContent' => true 288 ); 289 290 public function playIconContent($post) 291 { 292 if (!$post || empty($post['title'])) return; 293 294 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 295 $title = html::clean($post['title']); 296 297 $record[0] = array( 298 'service' => $this->id, 299 'source_name' => $this->name, 300 'source_url' => $this->home, 301 'source_icon' => $this->icon, 302 'preload' => true, 303 'title' => sprintf(__('Share on %s'),$this->name), 304 'avatar' => $this->icon, 305 'url' => 'http://www.diigo.com/post?url='.urlencode($url).'&title='.urlencode($title) 306 ); 307 return $record; 218 308 } 219 309 } … … 221 311 class dzoneMoreSoCialMeSharerService extends soCialMeService 222 312 { 313 protected $part = 'sharer'; 314 protected $available = true; 315 223 316 protected $define = array( 224 317 'id' => 'dzone', … … 227 320 'icon' => 'pf=soCialMeLibMore/inc/icons/dzone.png' 228 321 ); 322 229 323 protected $actions = array( 230 324 'playIconContent' => true, … … 232 326 'playBigContent' => true 233 327 ); 234 protected $available = true; 235 protected $part = 'sharer'; 328 236 329 private $script_loaded = false; 237 330 238 public function playIconContent($record) 239 { 240 if (!$record || empty($record['title'])) return; 241 242 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 243 $title = html::clean($record['title']); 244 245 return soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://www.dzone.com/links/add.html?url='.urlencode($url).'&title='.urlencode($title),$this->name,$this->icon)); 246 } 247 248 public function playSmallContent($record) 249 { 250 return $this->parseContent(2,$record); 251 } 252 253 public function playBigContent($record) 254 { 255 return $this->parseContent(1,$record); 256 } 257 258 private function parseContent($type,$record) 259 { 260 if (!$record || empty($record['title'])) return; 261 262 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 263 $title = html::clean($record['title']); 331 public function playIconContent($post) 332 { 333 if (!$post || empty($post['title'])) return; 334 335 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 336 $title = html::clean($post['title']); 337 338 $record[0] = array( 339 'service' => $this->id, 340 'source_name' => $this->name, 341 'source_url' => $this->home, 342 'source_icon' => $this->icon, 343 'preload' => true, 344 'title' => sprintf(__('Share on %s'),$this->name), 345 'avatar' => $this->icon, 346 'url' => 'http://www.dzone.com/links/add.html?url='.urlencode($url).'&title='.urlencode($title) 347 ); 348 return $record; 349 } 350 351 public function playSmallContent($post) 352 { 353 return $this->parseContent(2,$post); 354 } 355 356 public function playBigContent($post) 357 { 358 return $this->parseContent(1,$post); 359 } 360 361 private function parseContent($type,$post) 362 { 363 if (!$post || empty($post['title'])) return; 364 365 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 366 $title = html::clean($post['title']); 264 367 265 368 if ($type == '2') { … … 270 373 } 271 374 272 return 273 soCialMeUtils::preloadBox( 274 '<iframe src="http://widgets.dzone.com/links/widgets/zoneit.html?'. 275 't='.$type.'&url='.urlencode($url).'&title='.urlencode($title). 276 '" height="'.$h.'" width="'.$w.'" scrolling="no" frameborder="0"></iframe>' 277 ); 278 279 /* 280 return 281 "\n<script type=\"text/javascript\">\n". 282 "var dzone_url = '".$url."';\n". 283 "var dzone_title = '".str_replace("'",'"',$text)."';\n". 284 "var dzone_style = '".$type."';\n". 285 "</script>\n". 286 "<script language=\"javascript\" src=\"http://widgets.dzone.com/links/widgets/zoneit.js\"></script>\n"; 287 //*/ 375 $record[0] = array( 376 'service' => $this->id, 377 'source_name' => $this->name, 378 'source_url' => $this->home, 379 'source_icon' => $this->icon, 380 'preload' => true, 381 'content' => 382 '<iframe src="http://widgets.dzone.com/links/widgets/zoneit.html?'. 383 't='.$type.'&url='.urlencode($url).'&title='.urlencode($title). 384 '" height="'.$h.'" width="'.$w.'" scrolling="no" frameborder="0"></iframe>' 385 ); 386 return $record; 288 387 } 289 388 } … … 291 390 class emailMoreSoCialMeSharerService extends soCialMeService 292 391 { 392 protected $part = 'sharer'; 393 protected $available = true; 394 293 395 protected $define = array( 294 396 'id' => 'email', … … 297 399 'icon' => 'pf=soCialMeLibMore/inc/icons/email.png' 298 400 ); 299 protected $actions = array('playIconContent' => true); 300 protected $available = true; 301 protected $part = 'sharer'; 302 303 public function playIconContent($record) 304 { 305 if (!$record || empty($record['title'])) return; 306 307 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 308 $title = html::clean($record['title']); 401 402 protected $actions = array( 403 'playIconContent' => true 404 ); 405 406 public function playIconContent($post) 407 { 408 if (!$post || empty($post['title'])) return; 409 410 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 411 $title = html::clean($post['title']); 309 412 310 413 $href = 'mailto:?Subject='.urlencode($title).'&Body=%0D%0A'.urlencode($url); 311 $title = sprintf(__('Send by email')); 312 313 return 314 '<a href="'.$href.'" title="'.$title.'">'. 315 '<img src="'.$this->icon.'" alt="'.$title.'" />'. 316 '</a>'; 414 415 $record[0] = array( 416 'service' => $this->id, 417 'source_name' => $this->name, 418 'source_url' => $this->home, 419 'source_icon' => $this->icon, 420 'preload' => true, 421 'title' => __('Send by email'), 422 'avatar' => $this->icon, 423 'url' => $href 424 ); 425 return $record; 317 426 } 318 427 } … … 320 429 class favoritesMoreSoCialMeSharerService extends soCialMeService 321 430 { 431 protected $part = 'sharer'; 432 protected $available = true; 433 322 434 protected $define = array( 323 435 'id' => 'favorites', … … 326 438 'icon' => 'pf=soCialMeLibMore/inc/icons/favorites.png' 327 439 ); 440 328 441 protected $actions = array( 329 442 'playPublicScript'=>true, 330 443 'playIconContent'=>true 331 444 ); 332 protected $available = true;333 protected $part = 'sharer';334 445 335 446 public function playPublicScript($available) … … 352 463 } 353 464 354 public function playIconContent($record) 355 { 356 if (!$record || empty($record['title'])) return; 357 358 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 359 $title = html::clean($record['title']); 360 361 return 362 '<a class="buttonFavorites" href="'.$url.'" title="'.html::escapeHTML($title).'">'. 363 '<img src="'.$this->icon.'" alt="'.$this->name.'" /></a>'; 465 public function playIconContent($post) 466 { 467 if (!$post || empty($post['title'])) return; 468 469 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 470 $title = html::clean($post['title']); 471 472 $record[0] = array( 473 'service' => $this->id, 474 'source_name' => $this->name, 475 'source_url' => $this->home, 476 'source_icon' => $this->icon, 477 'preload' => true, 478 'content' => 479 '<a class="buttonFavorites" href="'.$url.'" title="'.html::escapeHTML($title).'">'. 480 '<img src="'.$this->icon.'" alt="'.$this->name.'" /><\/a>' 481 ); 482 return $record; 364 483 } 365 484 } … … 367 486 class farkMoreSoCialMeSharerService extends soCialMeService 368 487 { 488 protected $part = 'sharer'; 489 protected $available = true; 490 369 491 protected $define = array( 370 492 'id' => 'fark', … … 373 495 'icon' => 'pf=soCialMeLibMore/inc/icons/fark.gif' 374 496 ); 375 protected $actions = array('playIconContent' => true); 376 protected $available = true; 377 protected $part = 'sharer'; 378 379 public function playIconContent($record) 380 { 381 if (!$record) return; 382 383 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 384 385 return soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://cgi.fark.com/cgi/fark/submit.pl?new_url='.urlencode($url),$this->name,$this->icon)); 497 498 protected $actions = array( 499 'playIconContent' => true 500 ); 501 502 public function playIconContent($post) 503 { 504 if (!$post) return; 505 506 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 507 508 $record[0] = array( 509 'service' => $this->id, 510 'source_name' => $this->name, 511 'source_url' => $this->home, 512 'source_icon' => $this->icon, 513 'preload' => true, 514 'title' => sprintf(__('Share on %s'),$this->name), 515 'avatar' => $this->icon, 516 'url' => 'http://cgi.fark.com/cgi/fark/submit.pl?new_url='.urlencode($url) 517 ); 518 return $record; 386 519 } 387 520 } … … 389 522 class flattrMoreSoCialMeSharerService extends soCialMeService 390 523 { 391 protected $ config = array(392 'uid' => '',393 'lang' => 'en_GB'394 );524 protected $part = 'sharer'; 525 protected $setting_ns = 'soCialMeLibMore'; 526 protected $setting_id = 'soCialMe_sharer_flattr'; 527 395 528 protected $define = array( 396 529 'id' => 'flattr', … … 404 537 'playBigContent' => true 405 538 ); 406 protected $setting_ns = 'soCialMeLibMore'; 407 protected $setting_id = 'soCialMe_sharer_flattr'; 408 protected $available = true; 409 protected $part = 'sharer'; 410 411 public function init() { $this->readSettings(); return true; } 412 public function playSmallContent($record) { return $this->parseContent('compact',$record); } 413 public function playBigContent($record) { return $this->parseContent('',$record); } 539 540 protected $config = array( 541 'uid' => '', 542 'lang' => 'en_GB' 543 ); 544 545 public function init() { $this->readSettings(); $this->available = true; return true; } 546 public function playSmallContent($post) { return $this->parseContent('compact',$post); } 547 public function playBigContent($post) { return $this->parseContent('',$post); } 414 548 415 549 public function playPublicScript($available) … … 433 567 } 434 568 435 public function parseContent($type,$ record)436 { 437 if (empty($this->config['uid']) || !$ record || empty($record['title'])) return;438 439 $url = !empty($ record['shorturl']) ? $record['shorturl'] : $record['url'];440 $title = html::clean($ record['title']);569 public function parseContent($type,$post) 570 { 571 if (empty($this->config['uid']) || !$post || empty($post['title'])) return; 572 573 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 574 $title = html::clean($post['title']); 441 575 $text = ''; 442 if (!empty($ record['excerpt'])) $text = text::cutString(html::clean($record['excerpt']),900);443 if (empty($text) && !empty($ record['content'])) $text = text::cutString(html::clean($record['content']),900);576 if (!empty($post['excerpt'])) $text = text::cutString(html::clean($post['excerpt']),900); 577 if (empty($text) && !empty($post['content'])) $text = text::cutString(html::clean($post['content']),900); 444 578 if (empty($text)) $text = $title; 445 579 446 $lang = !empty($record['lang']) ? self::flattrLangCode($record['lang']) : $this->config['lang']; 447 448 return 449 '<a class="FlattrButton" style="display:none;" '. 450 'title="'.$record['title'].'" '. 451 (!empty($record['tags']) ? 'data-flattr-tags="'.$record['tags'].'" ' : ''). 452 'data-flattr-category="text" '. 453 'data-flattr-language="'.$lang.'" '. 454 'href="'.$url.'"> '. 455 $text. 456 '</a>'; 580 $lang = !empty($post['lang']) ? self::flattrLangCode($post['lang']) : $this->config['lang']; 581 582 583 $record[0] = array( 584 'service' => $this->id, 585 'source_name' => $this->name, 586 'source_url' => $this->home, 587 'source_icon' => $this->icon, 588 'content' => 589 '<a class="FlattrButton" style="display:none;" '. 590 'title="'.$post['title'].'" '. 591 (!empty($post['tags']) ? 'data-flattr-tags="'.$post['tags'].'" ' : ''). 592 'data-flattr-category="text" '. 593 'data-flattr-language="'.$lang.'" '. 594 'href="'.$url.'"> '. 595 $text. 596 '</a>' 597 ); 598 return $record; 457 599 } 458 600 … … 545 687 class friendfeedMoreSoCialMeSharerService extends soCialMeService 546 688 { 689 protected $part = 'sharer'; 690 protected $available = true; 691 547 692 protected $define = array( 548 693 'id' => 'friendfeed', … … 551 696 'icon' => 'pf=soCialMeLibMore/inc/icons/friendfeed.png' 552 697 ); 553 protected $actions = array('playIconContent' => true); 554 protected $available = true; 555 protected $part = 'sharer'; 556 557 public function playIconContent($record) 558 { 559 if (!$record || empty($record['title'])) return; 560 561 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 562 $title = str_replace(' ','%20',html::clean($record['title'])); 563 564 return soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://friendfeed.com/share/bookmarklet/frame#title='.urlencode($title).'&url='.urlencode($url),$this->name,$this->icon)); 698 699 protected $actions = array( 700 'playIconContent' => true 701 ); 702 703 public function playIconContent($post) 704 { 705 if (!$post || empty($post['title'])) return; 706 707 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 708 $title = str_replace(' ','%20',html::clean($post['title'])); 709 710 $record[0] = array( 711 'service' => $this->id, 712 'source_name' => $this->name, 713 'source_url' => $this->home, 714 'source_icon' => $this->icon, 715 'preload' => true, 716 'title' => sprintf(__('Share on %s'),$this->name), 717 'avatar' => $this->icon, 718 'url' => 'http://friendfeed.com/share/bookmarklet/frame#title='.urlencode($title).'&url='.urlencode($url) 719 ); 720 return $record; 565 721 } 566 722 } … … 568 724 class googlebookmarksMoreSoCialMeSharerService extends soCialMeService 569 725 { 726 protected $part = 'sharer'; 727 protected $available = true; 728 570 729 protected $define = array( 571 730 'id' => 'googlebookmarks', … … 574 733 'icon' => 'pf=soCialMeLibMore/inc/icons/googlebookmarks.png' 575 734 ); 576 protected $actions = array('playIconContent' => true); 577 protected $available = true; 578 protected $part = 'sharer'; 579 580 public function playIconContent($record) 581 { 582 if (!$record || empty($record['title'])) return; 583 584 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 585 $title = str_replace(' ','%20',html::clean($record['title'])); 586 587 return soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk='.urlencode($url).'&title='.urlencode($title),$this->name,$this->icon)); 735 736 protected $actions = array( 737 'playIconContent' => true 738 ); 739 740 public function playIconContent($post) 741 { 742 if (!$post || empty($post['title'])) return; 743 744 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 745 $title = str_replace(' ','%20',html::clean($post['title'])); 746 747 $record[0] = array( 748 'service' => $this->id, 749 'source_name' => $this->name, 750 'source_url' => $this->home, 751 'source_icon' => $this->icon, 752 'preload' => true, 753 'title' => sprintf(__('Share on %s'),$this->name), 754 'avatar' => $this->icon, 755 'url' => 'http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk='.urlencode($url).'&title='.urlencode($title) 756 ); 757 return $record; 588 758 } 589 759 } … … 591 761 class googlebuzzMoreSoCialMeSharerService extends soCialMeService 592 762 { 763 protected $part = 'sharer'; 764 protected $available = true; 765 593 766 protected $define = array( 594 767 'id' => 'googlebuzz', … … 597 770 'icon' => 'pf=soCialMeLibMore/inc/icons/googlebuzz.png' 598 771 ); 772 599 773 protected $actions = array( 600 774 'playPublicScript' => true, … … 603 777 'playBigContent' => true 604 778 ); 605 protected $available = true;606 protected $part = 'sharer';607 779 608 780 public function playPublicScript($available) … … 615 787 } 616 788 617 public function playIconContent($record) 618 { 619 if (!$record) return; 620 621 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 622 623 return soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://www.google.com/buzz/post?url='.urlencode($url),$this->name,$this->icon)); 624 } 625 626 public function playBigContent($record) 627 { 628 return $this->parseContent('normal-count',$record); 629 } 630 631 public function playSmallContent($record) 632 { 633 return $this->parseContent('small-count',$record); 634 } 635 636 private function parseContent($type,$record) 637 { 638 if (!$record || empty($record['title'])) return; 639 640 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 641 $title = html::clean($record['title']); 642 643 return soCialMeUtils::preloadBox( 644 '<a title="'.sprintf(__('Share on %s'),$this->name).'" class="google-buzz-button" href="http://www.google.com/buzz/post" '. 645 'data-button-style="'.$type.'" '. 646 'data-locale="fr" '. 647 'data-url="'.$url.'" '. 648 'data-message="'.$title.'"></a>'); 789 public function playIconContent($post) 790 { 791 if (!$post) return; 792 793 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 794 795 $record[0] = array( 796 'service' => $this->id, 797 'source_name' => $this->name, 798 'source_url' => $this->home, 799 'source_icon' => $this->icon, 800 'preload' => true, 801 'title' => sprintf(__('Share on %s'),$this->name), 802 'avatar' => $this->icon, 803 'url' => 'http://www.google.com/buzz/post?url='.urlencode($url) 804 ); 805 return $record; 806 } 807 808 public function playBigContent($post) 809 { 810 return $this->parseContent('normal-count',$post); 811 } 812 813 public function playSmallContent($post) 814 { 815 return $this->parseContent('small-count',$post); 816 } 817 818 private function parseContent($type,$post) 819 { 820 if (!$post || empty($post['title'])) return; 821 822 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 823 $title = html::clean($post['title']); 824 825 $record[0] = array( 826 'service' => $this->id, 827 'source_name' => $this->name, 828 'source_url' => $this->home, 829 'source_icon' => $this->icon, 830 'preload' => true, 831 'content' => 832 '<a title="'.sprintf(__('Share on %s'),$this->name).'" class="google-buzz-button" href="http://www.google.com/buzz/post" '. 833 'data-button-style="'.$type.'" '. 834 'data-locale="fr" '. 835 'data-url="'.$url.'" '. 836 'data-message="'.$title.'"></a>' 837 ); 838 return $record; 649 839 } 650 840 } … … 652 842 class redditMoreSoCialMeSharerService extends soCialMeService 653 843 { 844 protected $part = 'sharer'; 845 protected $available = true; 846 654 847 protected $define = array( 655 848 'id' => 'reddit', … … 658 851 'icon' => 'pf=soCialMeLibMore/inc/icons/reddit.png' 659 852 ); 660 protected $actions = array('playIconContent'=>true,'playSmallContent'=>true,'playBigContent'=>true); 661 protected $available = true; 662 protected $part = 'sharer'; 663 664 public function playIconContent($record) 665 { 666 if (!$record) return; 667 668 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 669 670 return soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://reddit.com/submit?url='.urlencode($url),$this->name,$this->icon)); 671 } 672 673 public function playSmallContent($record) 674 { 675 return $this->parseContent(1,$record); 676 } 677 678 public function playBigContent($record) 679 { 680 return $this->parseContent(2,$record); 681 } 682 683 private function parseContent($type,$record) 684 { 685 if (!$record || empty($record['title'])) return; 686 687 $url = !empty($record['shorturl']) ? $record['shorturl'] : $record['url']; 688 $title = html::clean($record['title']); 853 854 protected $actions = array( 855 'playIconContent'=>true, 856 'playSmallContent'=>true, 857 'playBigContent'=>true 858 ); 859 860 public function playIconContent($post) 861 { 862 if (!$post) return; 863 864 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 865 866 $record[0] = array( 867 'service' => $this->id, 868 'source_name' => $this->name, 869 'source_url' => $this->home, 870 'source_icon' => $this->icon, 871 'preload' => true, 872 'title' => sprintf(__('Share on %s'),$this->name), 873 'avatar' => $this->icon, 874 'url' => 'http://reddit.com/submit?url='.urlencode($url) 875 ); 876 return $record; 877 } 878 879 public function playSmallContent($post) 880 { 881 return $this->parseContent(1,$post); 882 } 883 884 public function playBigContent($post) 885 { 886 return $this->parseContent(2,$post); 887 } 888 889 private function parseContent($type,$post) 890 { 891 if (!$post || empty($post['title'])) return; 892 893 $url = !empty($post['shorturl']) ? $post['shorturl'] : $post['url']; 894 $title = html::clean($post['title']); 689 895 690 896 if ($type == 1) { … … 695 901 } 696 902 697 return soCialMeUtils::preloadBox( 698 '<iframe src="http://www.reddit.com/static/button/button'.$type.'.html?'. 699 'width='.$w. 700 '&url='.urlencode($url). 701 '&title='.urlencode($title). 702 '&newwindow=1" '. 703 'style="border:none; overflow:hidden;height:'.$h.'px; width:'.$w.'px;"'. 704 'scrolling="no" frameborder="0" allowTransparency="true"></iframe>'); 705 } 706 } 707 /* simple sample code 708 # MYCODE 709 class MYCODEMoreSoCialMeSharerService extends soCialMeService 710 { 711 public function init() 712 { 713 $this->define = array( 714 'id' => 'MYCODE', 715 'name' => 'MyCode', 716 'home' => 'http://my.code.com', 717 'icon' => 'pf=soCialMeLibMore/inc/icons/MYCODE.png' 718 ); 719 $this->actions = array('playIconContent' => true); 720 $this->available = true; 721 $this->part = 'sharer'; 722 } 723 724 public function playIconContent($url,$text,$realurl) 725 { 726 return soCialMeUtils::preloadBox(soCialMeUtils::easyLink('http://MY.CODE.TRUC/?title='.urlencode($title).'&url='.urlencode($url),$this->name,$this->icon)); 727 } 728 } 729 */ 903 $record[0] = array( 904 'service' => $this->id, 905 'source_name' => $this->name, 906 'source_url' => $this->home, 907 'source_icon' => $this->icon, 908 'preload' => true, 909 'content' => 910 '<iframe src="http://www.reddit.com/static/button/button'.$type.'.html?'. 911 'width='.$w. 912 '&url='.urlencode($url). 913 '&title='.urlencode($title). 914 '&newwindow=1" '. 915 'style="border:none; overflow:hidden;height:'.$h.'px; width:'.$w.'px;"'. 916 'scrolling="no" frameborder="0" allowTransparency="true"></iframe>' 917 ); 918 return $record; 919 } 920 } 730 921 ?> -
plugins/soCialMeLibMore/locales/fr/main.lang.php
r2944 r2970 1 1 <?php 2 2 // Language: Français 3 // Module: soCialMeLibMore - 0. 24 // Date: 2011-02- 13 15:50:343 // Module: soCialMeLibMore - 0.3 4 // Date: 2011-02-20 18:14:09 5 5 // Translated with dcTranslater - 1.5 6 6 7 #inc/lib.social.profil.srv.more.php:1 8 #inc/lib.social.profil.srv.more.php: 19 #inc/lib.social.profil.srv.more.php: 110 #inc/lib.social.profil.srv.more.php: 17 #inc/lib.social.profil.srv.more.php:19 8 #inc/lib.social.profil.srv.more.php:42 9 #inc/lib.social.profil.srv.more.php:65 10 #inc/lib.social.profil.srv.more.php:88 11 11 $GLOBALS['__l10n']['Your profil shortname:'] = 'Le nom court de votre profil :'; 12 12 13 #inc/lib.social.profil.srv.more.php:1 14 #inc/lib.social.profil.srv.more.php: 115 #inc/lib.social.profil.srv.more.php: 116 #inc/lib.social.profil.srv.more.php: 113 #inc/lib.social.profil.srv.more.php:19 14 #inc/lib.social.profil.srv.more.php:42 15 #inc/lib.social.profil.srv.more.php:65 16 #inc/lib.social.profil.srv.more.php:88 17 17 $GLOBALS['__l10n']['It appears on %s URL like this: %s'] = 'Il apparait sur l\'URL %s tel que : %s'; 18 18 19 #inc/lib.social.reader.srv.more.php: 119 #inc/lib.social.reader.srv.more.php:24 20 20 $GLOBALS['__l10n']['URL of Atom or RSS feed to read:'] = 'URL du flux Atom ou RSS à lire :'; 21 21 22 #inc/lib.social.reader.srv.more.php: 122 #inc/lib.social.reader.srv.more.php:24 23 23 $GLOBALS['__l10n']['Put one feed per line.'] = 'Mettre un flux par ligne.'; 24 24 25 #inc/lib.social.sharer.srv.more.php: 31125 #inc/lib.social.sharer.srv.more.php:421 26 26 $GLOBALS['__l10n']['Send by email'] = 'Envoyer par email'; 27 27 28 #inc/lib.social.sharer.srv.more.php: 34728 #inc/lib.social.sharer.srv.more.php:458 29 29 $GLOBALS['__l10n']['Add to favorites'] = 'Ajouter aux favoris'; 30 30 31 #inc/lib.social.sharer.srv.more.php: 47531 #inc/lib.social.sharer.srv.more.php:617 32 32 $GLOBALS['__l10n']['Your profil name or uid:'] = 'Votre nom de profil ou UID :'; 33 33 -
plugins/soCialMeLibMore/locales/fr/main.po
r2944 r2970 1 1 # Language: Français 2 # Module: soCialMeLibMore - 0. 23 # Date: 2011-02- 13 15:50:342 # Module: soCialMeLibMore - 0.3 3 # Date: 2011-02-20 18:14:09 4 4 # Translated with translater 1.5 5 5 … … 7 7 msgstr "" 8 8 "Content-Type: text/plain; charset=UTF-8\n" 9 "Project-Id-Version: soCialMeLibMore 0. 2\n"9 "Project-Id-Version: soCialMeLibMore 0.3\n" 10 10 "POT-Creation-Date: \n" 11 "PO-Revision-Date: 2011-02- 13T15:50:34+00:00\n"11 "PO-Revision-Date: 2011-02-20T18:14:09+00:00\n" 12 12 "Last-Translator: JC Denis\n" 13 13 "Language-Team: \n" … … 15 15 "Content-Transfer-Encoding: 8bit\n" 16 16 17 #: inc/lib.social.profil.srv.more.php:1 18 #: inc/lib.social.profil.srv.more.php: 119 #: inc/lib.social.profil.srv.more.php: 120 #: inc/lib.social.profil.srv.more.php: 117 #: inc/lib.social.profil.srv.more.php:19 18 #: inc/lib.social.profil.srv.more.php:42 19 #: inc/lib.social.profil.srv.more.php:65 20 #: inc/lib.social.profil.srv.more.php:88 21 21 msgid "Your profil shortname:" 22 22 msgstr "Le nom court de votre profil :" 23 23 24 #: inc/lib.social.profil.srv.more.php:1 25 #: inc/lib.social.profil.srv.more.php: 126 #: inc/lib.social.profil.srv.more.php: 127 #: inc/lib.social.profil.srv.more.php: 124 #: inc/lib.social.profil.srv.more.php:19 25 #: inc/lib.social.profil.srv.more.php:42 26 #: inc/lib.social.profil.srv.more.php:65 27 #: inc/lib.social.profil.srv.more.php:88 28 28 msgid "It appears on %s URL like this: %s" 29 29 msgstr "Il apparait sur l'URL %s tel que : %s" 30 30 31 #: inc/lib.social.reader.srv.more.php: 131 #: inc/lib.social.reader.srv.more.php:24 32 32 msgid "URL of Atom or RSS feed to read:" 33 33 msgstr "URL du flux Atom ou RSS à lire :" 34 34 35 #: inc/lib.social.reader.srv.more.php: 135 #: inc/lib.social.reader.srv.more.php:24 36 36 msgid "Put one feed per line." 37 37 msgstr "Mettre un flux par ligne." 38 38 39 #: inc/lib.social.sharer.srv.more.php: 31139 #: inc/lib.social.sharer.srv.more.php:421 40 40 msgid "Send by email" 41 41 msgstr "Envoyer par email" 42 42 43 #: inc/lib.social.sharer.srv.more.php: 34743 #: inc/lib.social.sharer.srv.more.php:458 44 44 msgid "Add to favorites" 45 45 msgstr "Ajouter aux favoris" 46 46 47 #: inc/lib.social.sharer.srv.more.php: 47547 #: inc/lib.social.sharer.srv.more.php:617 48 48 msgid "Your profil name or uid:" 49 49 msgstr "Votre nom de profil ou UID :" -
plugins/soCialMeLibMore/release.txt
r2944 r2970 1 0.3 20110220 2 * Followed soCialMe new system 3 1 4 0.2 20110213 2 5 * Added feed to ''Reader'' part
Note: See TracChangeset
for help on using the changeset viewer.