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