Changeset 3097
- Timestamp:
- 02/04/12 00:01:53 (11 years ago)
- Location:
- plugins/contribute
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/contribute/_define.php
r3037 r3097 28 28 /* Description*/ "Allow visitors to write an entry for your blog", 29 29 /* Author */ "Moe (http://gniark.net/)", 30 /* Version */ '1.0-alpha3 3',30 /* Version */ '1.0-alpha34', 31 31 /* Permissions */ 'admin' 32 32 ); -
plugins/contribute/_public.php
r2940 r3097 108 108 public static function coreBlogGetPosts($rs) 109 109 { 110 global $core;111 112 $core->blog->settings->addNamespace('contribute');113 110 if ($GLOBALS['core']->blog->settings->contribute->contribute_active) 114 111 { … … 163 160 { 164 161 $author_format = 165 $GLOBALS['core']->blog->settings->contribute_author_format;162 (string) $GLOBALS['core']->blog->settings->contribute->contribute_author_format; 166 163 167 164 if (empty($author_format)) {$author_format = '%s';}
Note: See TracChangeset
for help on using the changeset viewer.