* Added markgettext_macro() * Readjusted Admin.dropdown_macro() and the global defineConstants() methods to work with the modified markgettext() calls * Updated Members.properties and added SQL patch for lowercasing all membership status due to the modified margettext() calls * Added Membership.role_macro() as convenience method * Removed syntactic sugar from HopObject.link_macro() and moved it to the compatibility layer to prevent current layouts from breaking * Removed obsolete permission for non-existing Image.replace_action()
57 lines
1.6 KiB
Properties
57 lines
1.6 KiB
Properties
##
|
|
## The Antville Project
|
|
## http://code.google.com/p/antville
|
|
##
|
|
## Copyright 2001-2007 by The Antville People
|
|
##
|
|
## Licensed under the Apache License, Version 2.0 (the ``License'');
|
|
## you may not use this file except in compliance with the License.
|
|
## You may obtain a copy of the License at
|
|
##
|
|
## http://www.apache.org/licenses/LICENSE-2.0
|
|
##
|
|
## Unless required by applicable law or agreed to in writing, software
|
|
## distributed under the License is distributed on an ``AS IS'' BASIS,
|
|
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
## See the License for the specific language governing permissions and
|
|
## limitations under the License.
|
|
##
|
|
## $Revision:3329 $
|
|
## $LastChangedBy:piefke3000 $
|
|
## $LastChangedDate:2007-09-14 15:18:09 +0200 (Fri, 14 Sep 2007) $
|
|
## $URL$
|
|
##
|
|
|
|
_children = collection(Membership)
|
|
_children.accessname = name
|
|
_children.local = id
|
|
_children.foreign = site_id
|
|
_children.order = name asc
|
|
|
|
owners = collection(Membership)
|
|
owners.accessname = name
|
|
owners.local = id
|
|
owners.foreign = site_id
|
|
owners.filter = role = 'owner'
|
|
owners.order = name asc
|
|
|
|
managers = collection(Membership)
|
|
managers.accessname = name
|
|
managers.local = id
|
|
managers.foreign = site_id
|
|
managers.filter = role = 'manager'
|
|
managers.order = name asc
|
|
|
|
contributors = collection(Membership)
|
|
contributors.accessname = name
|
|
contributors.local = id
|
|
contributors.foreign = site_id
|
|
contributors.filter = role = 'contributor'
|
|
contributors.order = name asc
|
|
|
|
subscribers = collection(Membership)
|
|
subscribers.accessname = name
|
|
subscribers.local = id
|
|
subscribers.foreign = site_id
|
|
subscribers.filter = role = 'subscriber'
|
|
subscribers.order = name asc
|