Skip to content

Instantly share code, notes, and snippets.

View gieart87's full-sized avatar

Sugiarto gieart87

View GitHub Profile
@gieart87
gieart87 / pagination.ctp
Created July 2, 2012 03:31 — forked from slywalker/pagination.ctp
pagination element for CakePHP on twitter bootstrap
<?php
if (!isset($modules)) {
$modulus = 11;
}
if (!isset($model)) {
$models = ClassRegistry::keys();
$model = Inflector::camelize(current($models));
}
?>
<div class="pagination">