* add bottom margin to the pager.

This commit is contained in:
wangchunsheng
2011-03-01 15:08:21 +00:00
parent 61f2025254
commit 329cd04b09

View File

@@ -283,7 +283,7 @@ class pager
public function get($align = 'right', $type = 'full')
{
/* If the RecTotal is zero, return with no record. */
if($this->recTotal == 0) { return "<div style='float:$align; clear:none'>{$this->lang->pager->noRecord}</div>"; }
if($this->recTotal == 0) { return "<div style='float:$align; clear:none; margin-bottom:30px'>{$this->lang->pager->noRecord}</div>"; }
/* Set the params. */
$this->setParams();
@@ -307,7 +307,7 @@ class pager
$pager .= $this->createRecPerPageJS();
}
return "<div style='float:$align; clear:none'>$pager</div>";
return "<div style='float:$align; clear:none; margin-bottom:30px'>$pager</div>";
}
/**