add current dev version (WIP)
[GitHub/Stricted/Domain-Control-Panel.git] / lib / system / template / plugins / function.pages.php
index 7408973eb979d3c14ea47eeaafe5423373cd7a68..ea20fd9f33e504688a388cbcb0533557a29b881d 100644 (file)
@@ -18,7 +18,7 @@ function smarty_function_pages($tagArgs, $tplObj) {
        $html = '';
        
        if ($tagArgs['pages'] > 1) {
-               $link = "index.php?page=".$tagArgs['controller'].(isset($tagArgs['id']) ? "&id=".$tagArgs['id'] : "");
+               $link = "index.php?".$tagArgs['controller'].(isset($tagArgs['id']) ? "/".$tagArgs['id'] : "");
                
                if (!isset($tagArgs['pageNo'])) {
                        if (($tagArgs['pageNo'] = $tplObj->smarty->getTemplateVars('pageNo')) === null) {