Changeset 18669


Ignore:
Timestamp:
Oct 16, 2012, 10:18:55 PM (8 years ago)
Author:
rvelices
Message:

rv_gmaps set nb_image_page (for other plugin)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_gmaps/trunk/mapl.php

    r18578 r18669  
    138138
    139139$url = rvm_duplicate_blowup_url(array('start'=>0));
    140 $navbar = create_navigation_bar($url, count( $page['items'] ), $page['start'], 48);
     140$page['nb_image_page'] = $user['nb_image_page'];
     141if ($page['nb_image_page'] < 30)
     142        $page['nb_image_page'] *= 2;
     143
     144$navbar = create_navigation_bar($url, count( $page['items'] ), $page['start'], $page['nb_image_page']);
    141145$template->assign('navbar', $navbar);
    142146
     
    144148  $page['items'],
    145149  $page['start'],
    146   48
     150  $page['nb_image_page']
    147151  );
    148152
Note: See TracChangeset for help on using the changeset viewer.