90 lines
2.3 KiB
Properties
90 lines
2.3 KiB
Properties
_db = antville
|
|
_table = AV_SITE
|
|
|
|
_children = collection (story)
|
|
_children.local = SITE_ID
|
|
_children.foreign = TEXT_F_SITE
|
|
_children.filter = TEXT_PROTOTYPE = 'story'
|
|
_children.order = TEXT_CREATETIME desc
|
|
_children.group = TEXT_DAY
|
|
_children.group.prototype = day
|
|
_children.group.order = TEXT_DAY desc
|
|
|
|
_id = SITE_ID
|
|
_parent = root
|
|
|
|
# primitive properties
|
|
title = SITE_TITLE
|
|
alias = SITE_ALIAS
|
|
tagline = SITE_TAGLINE
|
|
email = SITE_EMAIL
|
|
bgcolor = SITE_BGCOLOR
|
|
textfont = SITE_TEXTFONT
|
|
textcolor = SITE_TEXTCOLOR
|
|
textsize = SITE_TEXTSIZE
|
|
linkcolor = SITE_LINKCOLOR
|
|
alinkcolor = SITE_ALINKCOLOR
|
|
vlinkcolor = SITE_VLINKCOLOR
|
|
titlefont = SITE_TITLEFONT
|
|
titlecolor = SITE_TITLECOLOR
|
|
titlesize = SITE_TITLESIZE
|
|
smallfont = SITE_SMALLFONT
|
|
smallcolor = SITE_SMALLCOLOR
|
|
smallsize = SITE_SMALLSIZE
|
|
online = SITE_ISONLINE
|
|
lastupdate = SITE_LASTUPDATE
|
|
lastoffline = SITE_LASTOFFLINE
|
|
lastblockwarn = SITE_LASTBLOCKWARN
|
|
lastdelwarn = SITE_LASTDELWARN
|
|
lastping = SITE_LASTPING
|
|
enableping = SITE_ENABLEPING
|
|
blocked = SITE_ISBLOCKED
|
|
trusted = SITE_ISTRUSTED
|
|
discussions = SITE_HASDISCUSSIONS
|
|
usercontrib = SITE_USERMAYCONTRIB
|
|
days = SITE_SHOWDAYS
|
|
archive = SITE_SHOWARCHIVE
|
|
language = SITE_LANGUAGE
|
|
country = SITE_COUNTRY
|
|
timezone = SITE_TIMEZONE
|
|
longdateformat = SITE_LONGDATEFORMAT
|
|
shortdateformat = SITE_SHORTDATEFORMAT
|
|
createtime = SITE_CREATETIME
|
|
modifytime = SITE_MODIFYTIME
|
|
|
|
# object references
|
|
creator = object (user)
|
|
creator.local = SITE_F_USER_CREATOR
|
|
creator.foreign = USER_ID
|
|
modifier = object (user)
|
|
modifier.local = SITE_F_USER_MODIFIER
|
|
modifier.foreign = USER_ID
|
|
|
|
# mountpoints
|
|
topics = mountpoint (topicmgr)
|
|
members = mountpoint (membermgr)
|
|
images = mountpoint (imagemgr)
|
|
skins = mountpoint (skinmgr)
|
|
files = mountpoint (filemgr)
|
|
stories = mountpoint (storymgr)
|
|
polls = mountpoint (pollmgr)
|
|
shortcuts = mountpoint (shortcutmgr)
|
|
|
|
# collections
|
|
allstories = collection (story)
|
|
allstories.local = SITE_ID
|
|
allstories.foreign = TEXT_F_SITE
|
|
allstories.filter = TEXT_PROTOTYPE = 'story' AND TEXT_ISONLINE > 0
|
|
allstories.order = TEXT_MODIFYTIME DESC
|
|
|
|
allcontent = collection (story)
|
|
allcontent.local = SITE_ID
|
|
allcontent.foreign = TEXT_F_SITE
|
|
allcontent.filter = TEXT_ISONLINE > 0
|
|
allcontent.order = TEXT_MODIFYTIME DESC
|
|
|
|
mostread = collection (story)
|
|
mostread.local = SITE_ID
|
|
mostread.foreign = TEXT_F_SITE
|
|
mostread.filter = TEXT_PROTOTYPE = 'story' AND TEXT_ISONLINE > 0
|
|
mostread.order = TEXT_READS desc
|