Changeset 2322:a75984c93a86 for plugins/tags
- Timestamp:
- 10/09/13 16:43:18 (12 years ago)
- Branch:
- default
- Location:
- plugins/tags
- Files:
-
- 8 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/tags/_admin.php
r2256 r2322 38 38 $core->addBehavior('adminDashboardFavorites',array('tagsBehaviors','dashboardFavorites')); 39 39 40 $core->addBehavior('adminPageHelpBlock', array('tagsBehaviors', 'adminPageHelpBlock')); 41 40 42 # BEHAVIORS 41 43 class tagsBehaviors 42 44 { 45 public static function adminPageHelpBlock($blocks) 46 { 47 $found = false; 48 foreach($blocks as $block) { 49 if ($block == 'core_post') { 50 $found = true; 51 break; 52 } 53 } 54 if (!$found) { 55 return null; 56 } 57 $blocks[] = 'tag_post'; 58 } 59 43 60 public static function dashboardFavorites($core,$favs) 44 61 { -
plugins/tags/tag_posts.php
r2256 r2322 146 146 '</form>'); 147 147 } 148 dcPage::helpBlock('tag_posts'); 148 149 ?> 149 150 </body> -
plugins/tags/tags.php
r2256 r2322 75 75 echo '<p>'.__('No tags on this blog.').'</p>'; 76 76 } 77 78 dcPage::helpBlock('tags'); 77 79 ?> 78 80
Note: See TracChangeset
for help on using the changeset viewer.