Fixed : Pagination error
This commit is contained in:
parent
854594f9b1
commit
6380420070
4 changed files with 6 additions and 6 deletions
|
@ -89,7 +89,7 @@ class Collections extends CBCategory
|
|||
|
||||
|
||||
// Adding Collection links in Cbucket Class
|
||||
$Cbucket->links['collections'] = array('collections.php','collections');
|
||||
$Cbucket->links['collections'] = array('collections.php','collections/');
|
||||
$Cbucket->links['manage_collections'] = array('manage_collections.php','manage_collections.php');
|
||||
$Cbucket->links['edit_collection'] = array('manage_collections.php?mode=edit_collection&cid=',
|
||||
'manage_collections.php?mode=edit_collection&cid=');
|
||||
|
|
|
@ -214,7 +214,7 @@ class pages{
|
|||
if(count($_GET)==0 || (count($_GET)==1 && isset($_GET['page'])))
|
||||
$params = $params;
|
||||
else
|
||||
$params ='href="'.$page.'"';
|
||||
$params ='href="./'.$page.'"';
|
||||
}
|
||||
|
||||
$final_link = preg_replace(array("/$page_pattern/i","/$param_pattern/i"),array($page,$params),$tag);
|
||||
|
|
|
@ -145,7 +145,7 @@ class CBPhotos
|
|||
|
||||
//Setting Cbucket links
|
||||
|
||||
$Cbucket->links['photos'] = array('photos.php','photos');
|
||||
$Cbucket->links['photos'] = array('photos.php','photos/');
|
||||
$Cbucket->links['manage_photos'] = array('manage_photos.php','manage_photos.php');
|
||||
$Cbucket->links['edit_photo'] = array('edit_photo.php?photo=','edit_photo.php?photo=');
|
||||
$Cbucket->links['photo_upload'] = array('photo_upload.php','photo_upload');
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
|
||||
$cbLinks = array
|
||||
(
|
||||
'channels' =>array('channels.php','channels'),
|
||||
'channels' =>array('channels.php','channels/'),
|
||||
'compose_new' =>array('private_message.php?mode=new_msg','private_message.php?mode=new_msg'),
|
||||
'contact_us' =>array('contact.php','contact'),
|
||||
'create_group' =>array('create_group.php','create_group'),
|
||||
'groups' =>array('groups.php','groups'),
|
||||
'groups' =>array('groups.php','groups/'),
|
||||
'inbox' =>array('private_message.php?mode=inbox','private_message.php?mode=inbox'),
|
||||
'login' =>array('signup.php','signup.php'),
|
||||
'login_success' =>array('login_success.php','login_success.php'),
|
||||
|
@ -33,7 +33,7 @@ $cbLinks = array
|
|||
'user_subscribers' =>array('user_contacts.php?mode=subscribers&user=','user_contacts.php?mode=subscribers&user='),
|
||||
'user_favorites'=>array('user_videos.php?mode=favorites&user=','user_videos.php?mode=favorites&user='),
|
||||
'user_videos' =>array('user_videos.php?user=','user_videos.php?user='),
|
||||
'videos' =>array('videos.php','videos'),
|
||||
'videos' =>array('videos.php','videos/'),
|
||||
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue