2002-03-27 11:01:36 +00:00
|
|
|
_db = antville
|
2002-06-26 16:03:59 +00:00
|
|
|
_table = AV_SITE
|
|
|
|
_id = SITE_ID
|
2002-03-27 11:01:36 +00:00
|
|
|
_parent = root
|
2001-06-18 08:57:33 +00:00
|
|
|
|
2003-08-02 12:18:26 +00:00
|
|
|
##
|
|
|
|
## primitive properties
|
|
|
|
##
|
2002-06-26 16:03:59 +00:00
|
|
|
title = SITE_TITLE
|
|
|
|
alias = SITE_ALIAS
|
|
|
|
email = SITE_EMAIL
|
|
|
|
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
|
|
|
|
createtime = SITE_CREATETIME
|
|
|
|
modifytime = SITE_MODIFYTIME
|
2001-06-18 08:57:33 +00:00
|
|
|
|
2003-08-02 12:18:26 +00:00
|
|
|
##
|
|
|
|
## xml encoded properties
|
|
|
|
##
|
|
|
|
preferences = mountpoint (propertymgr)
|
|
|
|
preferences_xml = SITE_PREFERENCES
|
|
|
|
|
|
|
|
##
|
|
|
|
## object references
|
|
|
|
##
|
2002-03-27 11:01:36 +00:00
|
|
|
creator = object (user)
|
2002-06-26 16:03:59 +00:00
|
|
|
creator.local = SITE_F_USER_CREATOR
|
|
|
|
creator.foreign = USER_ID
|
2003-12-08 22:51:52 +00:00
|
|
|
|
2002-03-27 11:01:36 +00:00
|
|
|
modifier = object (user)
|
2002-06-26 16:03:59 +00:00
|
|
|
modifier.local = SITE_F_USER_MODIFIER
|
|
|
|
modifier.foreign = USER_ID
|
2001-06-18 08:57:33 +00:00
|
|
|
|
2003-12-08 22:51:52 +00:00
|
|
|
layout = object (layout)
|
|
|
|
layout.local = SITE_F_LAYOUT
|
|
|
|
layout.foreign = LAYOUT_ID
|
|
|
|
|
2003-08-02 12:18:26 +00:00
|
|
|
##
|
|
|
|
## mountpoints
|
|
|
|
##
|
2002-03-27 11:01:36 +00:00
|
|
|
topics = mountpoint (topicmgr)
|
2002-06-26 16:03:59 +00:00
|
|
|
members = mountpoint (membermgr)
|
2002-03-27 11:01:36 +00:00
|
|
|
images = mountpoint (imagemgr)
|
2003-11-23 19:10:41 +00:00
|
|
|
layouts = mountpoint (layoutmgr)
|
2002-06-26 16:03:59 +00:00
|
|
|
files = mountpoint (filemgr)
|
2002-03-27 11:01:36 +00:00
|
|
|
stories = mountpoint (storymgr)
|
|
|
|
polls = mountpoint (pollmgr)
|
2001-06-18 08:57:33 +00:00
|
|
|
|
2003-08-02 12:18:26 +00:00
|
|
|
##
|
|
|
|
## collections
|
|
|
|
##
|
|
|
|
_children = collection (story)
|
|
|
|
_children.local = SITE_ID
|
|
|
|
_children.foreign = TEXT_F_SITE
|
|
|
|
_children.filter = TEXT_PROTOTYPE = 'story' and TEXT_ISONLINE = 2
|
|
|
|
_children.order = TEXT_CREATETIME desc
|
|
|
|
_children.group = TEXT_DAY
|
|
|
|
_children.group.prototype = day
|
|
|
|
_children.group.order = TEXT_DAY desc
|
|
|
|
|
2002-03-27 11:01:36 +00:00
|
|
|
allstories = collection (story)
|
2002-06-26 16:03:59 +00:00
|
|
|
allstories.local = SITE_ID
|
|
|
|
allstories.foreign = TEXT_F_SITE
|
|
|
|
allstories.filter = TEXT_PROTOTYPE = 'story' AND TEXT_ISONLINE > 0
|
|
|
|
allstories.order = TEXT_MODIFYTIME DESC
|
2001-06-18 08:57:33 +00:00
|
|
|
|
2002-03-27 11:01:36 +00:00
|
|
|
allcontent = collection (story)
|
2002-06-26 16:03:59 +00:00
|
|
|
allcontent.local = SITE_ID
|
|
|
|
allcontent.foreign = TEXT_F_SITE
|
|
|
|
allcontent.filter = TEXT_ISONLINE > 0
|
|
|
|
allcontent.order = TEXT_MODIFYTIME DESC
|
2001-07-18 15:58:18 +00:00
|
|
|
|
2002-12-15 13:20:18 +00:00
|
|
|
lastmod = collection (story)
|
|
|
|
lastmod.local = SITE_ID
|
|
|
|
lastmod.foreign = TEXT_F_SITE
|
|
|
|
lastmod.filter = TEXT_ISONLINE > 0
|
|
|
|
lastmod.order = TEXT_MODIFYTIME DESC
|
|
|
|
lastmod.maxsize = 100
|
|
|
|
|
2002-03-27 11:01:36 +00:00
|
|
|
mostread = collection (story)
|
2002-06-26 16:03:59 +00:00
|
|
|
mostread.local = SITE_ID
|
|
|
|
mostread.foreign = TEXT_F_SITE
|
|
|
|
mostread.filter = TEXT_PROTOTYPE = 'story' AND TEXT_ISONLINE > 0
|
|
|
|
mostread.order = TEXT_READS desc
|
2002-12-01 19:26:40 +00:00
|
|
|
mostread.maxSize = 25
|