- 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_list_block.php
r232 r365 39 39 $form .= _MB_XP2_TIME_FORMAT .": <input type='text' name='options[6]' value='" . $time_format . "' /><br />\n"; 40 40 41 $form .= "<br />\n"; 42 $form .= _MB_XP2_TAGS_SELECT .": <input type='text' name='options[7]' value='" . $tag_select . "' /><br />\n"; 41 include $mydirpath .'/wp-includes/version.php' ; 42 if (wp_version_compare($wp_version, '>=','2.3')){ 43 $form .= "<br />\n"; 44 $form .= _MB_XP2_TAGS_SELECT .": <input type='text' name='options[7]' value='" . $tag_select . "' /><br />\n"; 45 } else { 46 $form .= "<input type='hidden' name='options[7]' value='' /><br />\n"; 47 } 48 43 49 $form .= _MB_XP2_CATS_SELECT ."<br />\n"; 44 50 $isAll = (count($selected)==0||empty($selected[0]))?true:false;
Note: See TracChangeset
for help on using the changeset viewer.