Ignore:
Timestamp:
Sep 23, 2012, 1:19:26 PM (12 years ago)
Author:
mistic100
Message:

feature 2614: pagination on albums

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_url.inc.php

    r15383 r18165  
    459459            and strpos($tokens[$current_token], 'posted-')!==0
    460460            and strpos($tokens[$next_token], 'start-')!==0
     461            and strpos($tokens[$next_token], 'starta-')!==0
    461462            and $tokens[$current_token] != 'flat')
    462463        {
     
    652653      $page['start'] = $matches[1];
    653654    }
     655    elseif (preg_match('/^starta-(\d+)/', $tokens[$i], $matches))
     656    {
     657      $page['starta'] = $matches[1];
     658    }
    654659    $i++;
    655660  }
Note: See TracChangeset for help on using the changeset viewer.