mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
user favourites
This commit is contained in:
parent
93b2a8617a
commit
7734c6cf04
27 changed files with 248 additions and 29 deletions
|
@ -36,9 +36,9 @@ json_list_favourites() {
|
|||
fi
|
||||
(( ++i))
|
||||
done
|
||||
if [ -n "$value" ]; then
|
||||
#if [ -n "$value" ]; then
|
||||
echo -e ' }'
|
||||
fi
|
||||
#fi
|
||||
echo -e '}'
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,9 @@ is_object_valid 'user' 'USER' "$user"
|
|||
USER=''
|
||||
WEB=''
|
||||
DNS=''
|
||||
DNS_REC=''
|
||||
MAIL=''
|
||||
MAIL_ACC=''
|
||||
DB=''
|
||||
CRON=''
|
||||
BACKUP=''
|
||||
|
@ -84,7 +86,8 @@ FIREWALL=''
|
|||
|
||||
# Defining fileds to select
|
||||
OBJ='Favourites'
|
||||
fields='$OBJ $USER $WEB $DNS $MAIL $DB $CRON $BACKUP $IP $PACKAGE $FIREWALL'
|
||||
fields='$OBJ $USER $WEB $DNS $DNS_REC $MAIL $MAIL_ACC $DB $CRON $BACKUP
|
||||
$IP $PACKAGE $FIREWALL'
|
||||
|
||||
# Listing favourites
|
||||
case $format in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue