Forked from edomaru/ci-bootstrap-pagination-config.php
Created
December 13, 2015 18:36
-
-
Save grim-reapper/c644396e5d79b03e027f to your computer and use it in GitHub Desktop.
Codeigniter Pagination config to apply bootstrap style
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$config["full_tag_open"] = '<ul class="pagination">'; | |
$config["full_tag_close"] = '</ul>'; | |
$config["first_link"] = "«"; | |
$config["first_tag_open"] = "<li>"; | |
$config["first_tag_close"] = "</li>"; | |
$config["last_link"] = "»"; | |
$config["last_tag_open"] = "<li>"; | |
$config["last_tag_close"] = "</li>"; | |
$config['next_link'] = '>'; | |
$config['next_tag_open'] = '<li>'; | |
$config['next_tag_close'] = '<li>'; | |
$config['prev_link'] = '<'; | |
$config['prev_tag_open'] = '<li>'; | |
$config['prev_tag_close'] = '<li>'; | |
$config['cur_tag_open'] = '<li class="active"><a href="#">'; | |
$config['cur_tag_close'] = '</a></li>'; | |
$config['num_tag_open'] = '<li>'; | |
$config['num_tag_close'] = '</li>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment