diff --git a/system/admin/admin.php b/system/admin/admin.php index f79382e..3623741 100644 --- a/system/admin/admin.php +++ b/system/admin/admin.php @@ -1642,10 +1642,12 @@ function image_gallery($images, $page = 1, $perpage = 0) } $tmp .= '
'; if (!empty($pagination['prev'])) { - $tmp .= '← '. i18n('Prev') .''; + $prev = $page - 1; + $tmp .= '← '. i18n('Prev') .''; } if (!empty($pagination['next'])) { - $tmp .= ''. i18n('Next') .' →'; + $next = $page + 1; + $tmp .= ''. i18n('Next') .' →'; } $tmp .= '
'; return $tmp; diff --git a/system/admin/views/edit-content.html.php b/system/admin/views/edit-content.html.php index 0ca7886..205a23c 100644 --- a/system/admin/views/edit-content.html.php +++ b/system/admin/views/edit-content.html.php @@ -170,7 +170,7 @@ $( function() {
- +