Changeset 2322:a75984c93a86 for plugins/pings/_admin.php
- Timestamp:
- 10/09/13 16:43:18 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/pings/_admin.php
r2230 r2322 26 26 'Google Blog Search' => 'http://blogsearch.google.com/ping/RPC2' 27 27 ); 28 28 29 29 $core->blog->settings->addNamespace('pings'); 30 30 $core->blog->settings->pings->put('pings_active',1,'boolean','Activate pings plugin',true,true); … … 48 48 )); 49 49 } 50 ?> 50 51 $core->addBehavior('adminPageHelpBlock', 'pingsPageHelpBlock'); 52 53 function pingsPageHelpBlock($blocks) 54 { 55 $found = false; 56 foreach($blocks as $block) { 57 if ($block == 'core_post') { 58 $found = true; 59 break; 60 } 61 } 62 if (!$found) { 63 return null; 64 } 65 $blocks[] = 'pings_post'; 66 }
Note: See TracChangeset
for help on using the changeset viewer.