You appear to be a bot. Output may be restricted
Description
Display "start to end of count" messageDisplay the start to end of count message if the count is set
Usage
bw_navi_s2eofn( $start, $end, $count, $prefix );
Parameters
- $start
- ( integer ) required – start index (based on 0 for PHP arrays)
- $end
- ( integer ) required – end index (based on 0 for PHP arrays)
- $count
- ( integer ) required – total number of items.
- $prefix
- ( string ) optional – optional prefix
Returns
voidTO DO
Add a Show all button.Source
File name: oik/shortcodes/oik-navi.phpLines:
1 to 14 of 14
function bw_navi_s2eofn( $start, $end, $count, $prefix=null ) { if ( $count ) { $start++; $end++; //$count++; if ( $prefix ) { BW_::br( $prefix ); } sdiv( "bw_s2eofn" ); /* translators: %1 start page number, %2 end page number, %3 total page count */ e( sprintf( __( '%1$s to %2$s of %3$s', 'oik') , $start, $end, $count ) ); ediv(); } }View on GitHub View on Trac