Changeset 87 for trunk/b2-include/b2template.functions.php
- Timestamp:
- 05/24/2003 11:14:04 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/b2-include/b2template.functions.php
r83 r87 465 465 466 466 function the_excerpt_rss($cut = 0, $encode_html = 0) { 467 $excerpt = get_the_excerpt( );467 $excerpt = get_the_excerpt(true); 468 468 $excerpt = convert_bbcode($excerpt); 469 469 $excerpt = convert_gmcode($excerpt); … … 508 508 } 509 509 510 function get_the_excerpt( ) {510 function get_the_excerpt($fakeit = false) { 511 511 global $id,$postdata; 512 512 global $HTTP_SERVER_VARS, $preview; … … 514 514 $output = $postdata['Excerpt']; 515 515 //if we haven't got an excerpt, make one in the style of the rss ones 516 if ( $output == '') {516 if (($output == '') && $fakeit) { 517 517 $output = get_the_content(); 518 518 $output = strip_tags($output);
Note: See TracChangeset
for help on using the changeset viewer.