diff --git a/routeSQL.php b/routeSQL.php index 5cbebfd..457b68d 100644 --- a/routeSQL.php +++ b/routeSQL.php @@ -25,6 +25,18 @@ class routeSQL public $textEdit = ""; /** enable internal CSS */ public $enableInternalCSS = true; + /** Definition of the position in top bar at left + Allowed : addNew numberEntryByDisplay search informations paginator */ + public $topBarLeft = array ("addNew", "numberEntryByDisplay"); + /** Definition of the position in top bar at right + Allowed : addNew numberEntryByDisplay search informations paginator */ + public $topBarRight = array ("search"); + /** Definition of the position in bottom bar at left + Allowed : addNew numberEntryByDisplay search informations paginator */ + public $bottomBarLeft = array ("informations"); + /** Definition of the position in bottom bar at right + Allowed : addNew numberEntryByDisplay search informations paginator */ + public $bottomBarRight = array ("paginator"); /** The cookie path used to determine the old parameters It is automatically generated with the URL */ public $path = ""; @@ -110,13 +122,13 @@ class routeSQL $nbentries is the total number of elements num is the number of elements displayed by page page is the page to display */ - private function paginator ($nbentries, $page, $num, $search) + private function paginatorArea ($nbentries, $page, $num, $search) { // The maximum of links available in the paginator $maxClickPaginator = 10; $prePage = false; $postPage = false; - $content = "