Ignore:
Timestamp:
Oct 4, 2012, 5:03:55 PM (12 years ago)
Author:
mistic100
Message:

feature:2614 pagination on albums
return to old fashioned way (one query in category_cats), restoring recent_cats feature and "menubar optimization", rename "starta" into "startcat"

File:
1 edited

Legend:

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

    r18165 r18462  
    459459            and strpos($tokens[$current_token], 'posted-')!==0
    460460            and strpos($tokens[$next_token], 'start-')!==0
    461             and strpos($tokens[$next_token], 'starta-')!==0
     461            and strpos($tokens[$next_token], 'startcat-')!==0
    462462            and $tokens[$current_token] != 'flat')
    463463        {
     
    653653      $page['start'] = $matches[1];
    654654    }
    655     elseif (preg_match('/^starta-(\d+)/', $tokens[$i], $matches))
    656     {
    657       $page['starta'] = $matches[1];
     655    elseif (preg_match('/^startcat-(\d+)/', $tokens[$i], $matches))
     656    {
     657      $page['startcat'] = $matches[1];
    658658    }
    659659    $i++;
Note: See TracChangeset for help on using the changeset viewer.