Changeset 6170
- Timestamp:
- 12/14/2016 12:13:14 PM (8 years ago)
- Location:
- branches/1.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1/bb-admin/includes/functions.bb-admin.php
r6154 r6170 1280 1280 } 1281 1281 1282 function start_el($output, $forum, $depth ) {1282 function start_el($output, $forum, $depth = 0) { 1283 1283 $this->forum_id = $forum->forum_id; 1284 1284 $indent = str_repeat("\t", $depth + 1); 1285 1285 $output .= $indent . "<li id='forum-$this->forum_id'" . get_alt_class( 'forum', 'forum clear list-block' ) . ">\n"; 1286 1287 1286 return $output; 1288 1287 } 1289 1288 1290 function end_el($output, $forum, $depth ) {1289 function end_el($output, $forum, $depth = 0) { 1291 1290 $indent = str_repeat("\t", $depth + 1); 1292 1291 $output .= $indent . "</li>\n"; -
branches/1.1/bb-includes/class.bb-walker.php
r6153 r6170 6 6 7 7 //abstract callbacks 8 function start_lvl($output ) { return $output; }9 function end_lvl($output ) { return $output; }10 function start_el($output ) { return $output; }11 function end_el($output ) { return $output; }8 function start_lvl($output, $depth) { return $output; } 9 function end_lvl($output, $depth) { return $output; } 10 function start_el($output, $object, $depth = 0) { return $output; } 11 function end_el($output, $object, $depth = 0) { return $output; } 12 12 13 13 function _init() { … … 144 144 } 145 145 146 function start_el( ) { return ''; }147 function end_el( ) { return ''; }146 function start_el( $output, $object, $depth = 0 ) { return ''; } 147 function end_el( $output, $object, $depth = 0 ) { return ''; } 148 148 } 149 149
Note: See TracChangeset
for help on using the changeset viewer.