user function

This commit is contained in:
Serghey Rodin 2012-07-01 01:10:56 +03:00
commit e734d14637
43 changed files with 1280 additions and 54 deletions

View file

@ -44,7 +44,11 @@ json_list_user_ips() {
done
else
if [ "$OWNER" = 'admin' ] && [ "$STATUS" = 'shared' ]; then
if [ -n "$data" ]; then
echo -e ' },'
fi
i=1
for field in $fields; do
eval value=$field
if [ $i -eq 1 ]; then