Generic AJAX links

This commit is contained in:
Jakub Vrana
2010-11-22 16:52:54 +01:00
parent 8ad4809bc0
commit 6585b23ba8
5 changed files with 37 additions and 9 deletions

View File

@@ -462,7 +462,7 @@ function remove_from_uri($param = "") {
* @return string
*/
function pagination($page, $current) {
return " " . ($page == $current ? $page + 1 : '<a href="' . h(remove_from_uri("page") . ($page ? "&page=$page" : "")) . '" onclick="return !ajaxMain(this.href, undefined, event);">' . ($page + 1) . "</a>");
return " " . ($page == $current ? $page + 1 : '<a href="' . h(remove_from_uri("page") . ($page ? "&page=$page" : "")) . '">' . ($page + 1) . "</a>");
}
/** Get file contents from $_FILES