X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=list.sh;h=b57e4e45369aad090375bfa7b423453efc2d853b;hb=d530d1d96264df5d7684eac1be32c41beec48311;hp=ccb91393dec2821f375cf797f485b86a772dafa0;hpb=f56158f7be449686094504a1eeafcd591186a801;p=serve0 diff --git a/list.sh b/list.sh index ccb9139..b57e4e4 100755 --- a/list.sh +++ b/list.sh @@ -6,7 +6,6 @@ list_item() { local meta file link name - eval "$LOCAL_META" if [ "${META_NAME%/}" != "${META_NAME}" ]; then printf '[a .list .dir href="%s?%s" . %s]' \ @@ -157,6 +156,7 @@ list_paginate() { local page i c n end qry page="$(GET p |grep -axE '[0-9]+' || printf 1)"; c=1 end=$((page + LISTSIZE)) + eval "$LOCAL_META" # localize vars from db_meta printf '[div .itemlist ' while :; do