svn path=/trunk/; revision=183
plink="$(($pn * $pagesize - $pagesize + 1))"
case "$plink" in
- $(($page - $pagesize))) class=previous;;
- $page) class=current;;
- $(($page + $pagesize))) class=next;;
- * ) class='';;
+ ($(($page - $pagesize))) class=previous;;
+ ($page) class=current;;
+ ($(($page + $pagesize))) class=next;;
+ (*) class='';;
esac
printf '<a class="%s" href="?%spn=%s">%s</a>\n' "$class" "$page_link" "$plink" "$pn"
plink="$(($pn * $pagesize - $pagesize + 1))"
case "$plink" in
- $(($page - $pagesize))) class=previous;;
- $page) class=current;;
- $(($page + $pagesize))) class=next;;
- * ) class='';;
+ ($(($page - $pagesize))) class=previous;;
+ ($page) class=current;;
+ ($(($page + $pagesize))) class=next;;
+ (*) class='';;
esac
printf '<a class="%s" href="?%spn=%s">%s</a>\n' "$class" "$page_link" "$plink" "$pn"