Changeset 2272 for plugins/gallery/trunk/item.php
- Timestamp:
- 05/27/10 08:25:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/gallery/trunk/item.php
r2264 r2272 31 31 $post_status = $core->auth->getInfo('user_post_status'); 32 32 $post_selected = false; 33 if (!version_compare(DC_VERSION,'2.2alpha','>=')) { 33 if (version_compare(DC_VERSION,'2.2-alpha','>=')) { 34 $post_open_comment = $core->blog->settings->system->allow_comments; 35 $post_open_tb = $core->blog->settings->system->allow_trackbacks; 36 } else { 34 37 $post_open_comment = $core->blog->settings->allow_comments; 35 38 $post_open_tb = $core->blog->settings->allow_trackbacks; 36 } else {37 $post_open_comment = $core->blog->settings->system->allow_comments;38 $post_open_tb = $core->blog->settings->system->allow_trackbacks;39 39 } 40 40
Note: See TracChangeset
for help on using the changeset viewer.