Site Configuration by Server Params (confsites and confpages)

This commit is contained in:
Surya Paolo
2022-11-28 14:00:15 +01:00
parent fab0dbbb72
commit 58dc1dfdcc
76 changed files with 2504 additions and 5004 deletions

View File

@@ -16,7 +16,6 @@ export interface ICheckUser {
profile?: IUserProfile
}
export interface INotData {
num_reg?: number
online_today?: number
@@ -202,6 +201,9 @@ export interface IMyPage {
extraclass?: string
loadFirst?: boolean
showFooter?: boolean
//Memory
loaded?: boolean
}
export interface IOption {
@@ -212,11 +214,32 @@ export interface IConfPages {
font?: string
col_toolbar?: string
col_bgfooter?: string
show_darkopt: boolean
}
export interface IFooterMobile {
show_buttHome: boolean
show_profile: boolean
show_darkopt?: boolean
showButtHome?: boolean
showProfile?: boolean
showUserMenu?: boolean
showRegButton?: boolean
enableReg?: boolean
showNL?: boolean
showMsgs?: boolean
showNotif?: boolean
showCoins?: boolean
showNameSurname?: boolean
showCompetenze?: boolean
showConnected?: boolean
bookingEvents?: boolean
enableEcommerce?: boolean
enableGroups?: boolean
enableCircuits?: boolean
enableProj?: boolean
enableTodos?: boolean
enableRegByBot?: boolean
enabledRegNeedTelegram?: boolean
showViewGroups?: boolean
showViewUsers?: boolean
showViewProfile?: boolean
enablePwa?: boolean
lang?: number
}
export interface IContacts {
facebook: string
@@ -269,7 +292,6 @@ export interface ISites {
description?: string
keywords?: string
contacts?: IContacts
footer_mobile?: IFooterMobile
confpages: IConfPages
}
@@ -599,36 +621,6 @@ export interface IParamDialog {
param3?: any
}
export interface IFunctionality {
PWA?: boolean
ENABLE_REGISTRATION?: boolean
ENABLE_REG_BY_BOT?: boolean
ENABLE_REG_NEED_TELEGRAM?: boolean
SHOW_REG_BUTTON?: boolean
SHOW_PROFILE?: boolean
SHOW_USER_MENU?: boolean
SHOW_IF_IS_SERVER_CONNECTION?: boolean
ENABLE_TODOS_LOADING?: boolean
ENABLE_PROJECTS_LOADING?: boolean
ENABLE_ECOMMERCE?: boolean
SHOW_NEWSLETTER?: boolean
SHOW_ONLY_POLICY?: boolean
SHOW_MESSAGES?: boolean
SHOW_NOTIF?: boolean
SHOW_COINS?: boolean
BOOKING_EVENTS?: boolean
ENABLE_REG_AYNI?: boolean
ENABLE_REG_CNM?: boolean
ENABLE_REG_ISP?: boolean
SHOW_NAMESURNAME?: boolean
ENABLE_GROUPS?: boolean
ENABLE_CIRCUITS?: boolean
SHOW_COMPETENZE?: boolean
ENABLE_VIEW_GROUPS?: boolean
ENABLE_VIEW_USERS?: boolean
ENABLE_VIEW_PROFILE?: boolean
ENABLE_VIEW_BOOKINGS?: boolean
}
export interface IParLookup {
lk_tab?: string,