- Timestamp:
- Aug 20, 2009, 5:53:16 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/blocks/recent_posts_content_block.php
r232 r365 40 40 $form .= _MB_XP2_TIME_FORMAT .": <input type='text' name='options[6]' value='" . $time_format . "' /><br />\n"; 41 41 42 $form .= "<br />\n"; 43 $form .= _MB_XP2_TAGS_SELECT .": <input type='text' name='options[7]' value='" . $tag_select . "' /><br />\n"; 42 include $mydirpath .'/wp-includes/version.php' ; 43 if (wp_version_compare($wp_version, '>=','2.3')){ 44 $form .= "<br />\n"; 45 $form .= _MB_XP2_TAGS_SELECT .": <input type='text' name='options[7]' value='" . $tag_select . "' /><br />\n"; 46 } else { 47 $form .= "<input type='hidden' name='options[7]' value='' /><br />\n"; 48 } 49 44 50 $form .= _MB_XP2_CATS_SELECT ."<br />\n"; 45 51 $isAll = (count($selected)==0||empty($selected[0]))?true:false;
Note: See TracChangeset
for help on using the changeset viewer.