Changeset 2377
- Timestamp:
- 06/21/10 00:50:31 (13 years ago)
- Location:
- plugins/postInfoWidget
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/postInfoWidget/_define.php
r2297 r2377 17 17 /* Description*/ "Show Entry informations on a widget", 18 18 /* Author */ "JC Denis", 19 /* Version */ '0. 2'19 /* Version */ '0.3' 20 20 ); 21 /* date */ #201006 0521 /* date */ #20100621 22 22 ?> -
plugins/postInfoWidget/_widgets.php
r2297 r2377 160 160 if ($w->tag_str != '' && $core->plugins->moduleExists('tags')) 161 161 { 162 $obj = new dcMeta($core); 163 $meta = $obj->getMeta('tag',null,null,$_ctx->posts->post_id); 162 $meta = $core->meta->getMetadata(array('meta_type'=>'tag','post_id'=>$_ctx->posts->post_id)); 164 163 $metas = array(); 165 164 while ($meta->fetch()) { 166 $metas[ ] = sprintf(165 $metas[$meta->meta_id] = sprintf( 167 166 $link, 168 167 $core->blog->url.$core->url->getBase('tag')."/". … … 345 344 if ($rs !== null) 346 345 { 347 $l = '<a href="'.$rs->getURL().'" title="%1$s">%2$s</a>'; 346 $l = '<a href="%s" title="%s">%s</a>'; 347 $u = $rs->getURL(); 348 348 $e = html::escapeHTML($rs->post_title); 349 349 350 350 return str_replace( 351 351 array('%T','%F'), 352 array(sprintf($l,$ e,$t),sprintf($l,$t,$e)),352 array(sprintf($l,$u,$e,$t),sprintf($l,$u,$t,$e)), 353 353 $c 354 354 ); -
plugins/postInfoWidget/release.txt
r2297 r2377 1 0.3 20100621 2 * Fixed tags list 3 * Fixed nav links 4 1 5 0.2 20100605 2 6 * Switched to DC 2.2
Note: See TracChangeset
for help on using the changeset viewer.