Changeset 164 for trunk/wp-content/plugins/xpressme/include
- Timestamp:
- Apr 7, 2009, 7:58:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/include/custom_functions.php
r163 r164 28 28 29 29 } 30 30 31 function xpress_now_user_level($show=true ) { 32 global $current_user; 33 $output = @$current_user->user_level; 34 if (empty($show)) 35 return $output; 36 else 37 echo $output; 38 } 39 40 31 41 function xpress_list_pings($trackback, $args, $depth) { 32 42 $GLOBALS['comment'] = $trackback; … … 83 93 $ret = ob_get_contents(); 84 94 ob_end_clean(); 95 ob_start(); 96 previous_post_link('%link',$link_title); 97 $GLOBALS['left_arrow_post_link'] = ob_get_contents(); 98 ob_end_clean(); 99 85 100 } else { 86 101 $link_title = $xpress_config->newer_post_link_text; … … 89 104 next_post_link('« %link'); 90 105 else 91 next_post_link('« %link',$link_title); 92 $ret = ob_get_contents(); 93 ob_end_clean(); 106 $GLOBALS['left_arrow_post_link'] = 107 $ret = ob_get_contents(); 108 ob_end_clean(); 109 ob_start(); 110 next_post_link('%link',$link_title); 111 $GLOBALS['left_arrow_post_link'] = ob_get_contents(); 112 ob_end_clean(); 113 94 114 } 95 115 … … 134 154 $ret = ob_get_contents(); 135 155 ob_end_clean(); 156 ob_start(); 157 next_post_link('%link',$link_title); 158 $GLOBALS['right_arrow_post_link'] = ob_get_contents(); 159 ob_end_clean(); 160 136 161 } else { 137 162 $link_title = $xpress_config->old_post_link_text; … … 143 168 $ret = ob_get_contents(); 144 169 ob_end_clean(); 170 ob_start(); 171 previous_post_link('%link',$link_title); 172 $GLOBALS['right_arrow_post_link'] = ob_get_contents(); 173 ob_end_clean(); 174 145 175 } 146 176
Note: See TracChangeset
for help on using the changeset viewer.