Changeset 25018 for trunk/include/functions_url.inc.php
- Timestamp:
- Oct 19, 2013, 7:43:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_url.inc.php
r23822 r25018 467 467 if (empty($maybe_permalinks)) 468 468 { 469 array_push($maybe_permalinks, $tokens[$current_token]);469 $maybe_permalinks[] = $tokens[$current_token]; 470 470 } 471 471 else 472 472 { 473 array_push($maybe_permalinks,473 $maybe_permalinks[] = 474 474 $maybe_permalinks[count($maybe_permalinks)-1] 475 . '/' . $tokens[$current_token] 476 ); 475 . '/' . $tokens[$current_token]; 477 476 } 478 477 $current_token++; … … 528 527 if ( $conf['tag_url_style'] != 'tag' and preg_match('/^(\d+)(?:-(.*)|)$/', $tokens[$i], $matches) ) 529 528 { 530 array_push($requested_tag_ids, $matches[1]);529 $requested_tag_ids[] = $matches[1]; 531 530 } 532 531 else 533 532 { 534 array_push($requested_tag_url_names, $tokens[$i]);533 $requested_tag_url_names[] = $tokens[$i]; 535 534 } 536 535 $i++; … … 598 597 { 599 598 // Add dummy element list 600 array_push($page['list'], -1);599 $page['list'][] = -1; 601 600 } 602 601 // With pictures list … … 609 608 foreach (explode(',', $tokens[$next_token]) as $image_id) 610 609 { 611 array_push($page['list'], $image_id);610 $page['list'][] = $image_id; 612 611 } 613 612 }
Note: See TracChangeset
for help on using the changeset viewer.