001: /*
002: * Copyright (c) JForum Team
003: *
004: * All rights reserved.
005: * Redistribution and use in source and binary forms,
006: * with or without modification, are permitted provided
007: * that the following conditions are met:
008: *
009: * 1) Redistributions of source code must retain the above
010: * copyright notice, this list of conditions and the
011: * following disclaimer.
012: * 2) Redistributions in binary form must reproduce the
013: * above copyright notice, this list of conditions and
014: * the following disclaimer in the documentation and/or
015: * other materials provided with the distribution.
016: * 3) Neither the name of "Rafael Steil" nor
017: * the names of its contributors may be used to endorse
018: * or promote products derived from this software without
019: * specific prior written permission.
020: *
021: * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
022: * HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
023: * EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
024: * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
025: * MERCHANTABILITY AND FITNESS FOR A PARTICULAR
026: * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
027: * THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
028: * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
029: * EXEMPLARY, OR CONSEQUENTIAL DAMAGES
030: * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
031: * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
032: * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
033: * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
034: * IN CONTRACT, STRICT LIABILITY, OR TORT
035: * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
036: * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
037: * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
038: *
039: * Created on Mar 14, 2005 3:04:11 PM
040: * The JForum Project
041: * http://www.jforum.net
042: */
043: package net.jforum.util.preferences;
044:
045: /**
046: * @author Rafael Steil
047: * @version $Id: TemplateKeys.java,v 1.29 2007/09/21 17:26:11 rafaelsteil Exp $
048: */
049: public class TemplateKeys {
050: private TemplateKeys() {
051: }
052:
053: public static final String FORUMS_LIST = "forums.list";
054: public static final String FORUMS_SHOW = "forums.show";
055: public static final String FORUMS_PING = "forums.ping";
056: public static final String FORUMS_BANNED = "forums.banned";
057:
058: public static final String BOOKMARKS_ADD_FORUM = "bookmarks.add.forum";
059: public static final String BOOKMARS_ADD_TOPIC = "bookmars.add.topic";
060: public static final String BOOKMARKS_ADD_USER = "bookmarks.add.user";
061: public static final String BOOKMARKS_INSERT_SAVE = "bookmarks.insert.save";
062: public static final String BOOKMARKS_UPDATE_SAVE = "bookmarks.update.save";
063: public static final String BOOKMARKS_EDIT = "bookmarks.edit";
064: public static final String BOOKMARKS_ERROR = "bookmarks.error";
065: public static final String BOOKMARKS_LIST = "bookmarks.list";
066:
067: public static final String KARMA_ERROR = "karma.error";
068: public static final String KARMA_LIST = "karma.list";
069: public static final String KARMA_SEARCH_BYPERIOD = "karma.search.byperiod";
070: public static final String KARMA_SEARCH_BYMONTH = "karma.search.bymonth";
071:
072: public static final String MODERATION_MOVE_TOPICS = "moderation.move.topics";
073: public static final String MODERATION_DONE = "moderation.done";
074: public static final String MODERATION_DENIED = "moderation.denied";
075:
076: public static final String POSTS_LIST = "posts.list";
077: public static final String POSTS_USER_POSTS_LIST = "posts.userposts.list";
078: public static final String POSTS_REVIEW = "posts.review";
079: public static final String POSTS_TOPIC_NOT_FOUND = "posts.topic.not.found";
080: public static final String POSTS_POST_NOT_FOUND = "posts.post.not.found";
081: public static final String POSTS_REPLY_ONLY = "posts.reply.only";
082: public static final String POSTS_INSERT = "posts.insert";
083: public static final String POSTS_EDIT = "posts.edit";
084: public static final String POSTS_EDIT_CANNOTEDIT = "posts.edit.cannotedit";
085: public static final String POSTS_QUOTE = "posts.quote";
086: public static final String POSTS_WAITING = "posts.waiting";
087: public static final String POSTS_NOT_MODERATED = "posts.not.moderated";
088: public static final String POSTS_CANNOT_DELETE = "posts.cannot.delete";
089: public static final String POSTS_UNWATCH = "posts.unwatch";
090: public static final String POSTS_CANNOT_DOWNLOAD = "posts.cannot.download";
091: public static final String POSTS_ATTACH_NOTFOUND = "posts.attach.notfound";
092: public static final String POSTS_TOPIC_LOCKED = "posts.topic.locked";
093: public static final String POSTS_LIST_SMILIES = "posts.list.smilies";
094:
095: public static final String PM_INBOX = "pm.inbox";
096: public static final String PM_SENTBOX = "pm.sentbox";
097: public static final String PM_SENDFORM = "pm.sendform";
098: public static final String PM_SENDSAVE_USER_NOTFOUND = "pm.sendsave.user.notfound";
099: public static final String PM_SENDSAVE = "pm.sendsave";
100: public static final String PM_READ = "pm.read";
101: public static final String PM_READ_REVIEW = "pm.read.review";
102: public static final String PM_READ_DENIED = "pm.read.denied";
103: public static final String PM_DELETE = "pm.delete";
104: public static final String PM_FIND_USER = "pm.find.user";
105:
106: public static final String RECENT_LIST = "recent.list";
107: public static final String RECENT_USER_TOPICS_SHOW = "recent.usertopics.show";
108:
109: public static final String HOTTEST_LIST = "hottest.list";
110: public static final String HOTTEST_USER_TOPICS_SHOW = "hottest.usertopics.show";
111:
112: public static final String SEARCH_FILTERS = "search.filters";
113: public static final String SEARCH_SEARCH = "search.search";
114: public static final String SEARCH_NEW_MESSAGES = "search.new.messages";
115:
116: public static final String USER_EDIT = "user.edit";
117: public static final String USER_REGISTRATION_DISABLED = "user.registration.disabled";
118: public static final String USER_INSERT = "user.insert";
119: public static final String USER_INSERT_ACTIVATE_MAIL = "user.insert.activate.mail";
120: public static final String USER_INVALID_ACTIVATION = "user.invalid.activation";
121: public static final String USER_REGISTRATION_COMPLETE = "user.registration.complete";
122: public static final String USER_VALIDATE_LOGIN = "user.validate.login";
123: public static final String USER_PROFILE = "user.profile";
124: public static final String USER_LOGIN = "user.login";
125: public static final String USER_LOSTPASSWORD = "user.lostpassword";
126: public static final String USER_LOSTPASSWORD_SEND = "user.lostpassword.send";
127: public static final String USER_RECOVERPASSWORD = "user.recoverpassword";
128: public static final String USER_RECOVERPASSWORD_VALIDATE = "user.recoverpassword.validate";
129: public static final String USER_LIST = "user.list";
130: public static final String USER_SEARCH_KARMA = "user.search.karma";
131: public static final String USER_NOT_FOUND = "user.not.found";
132:
133: public static final String VIEWCOMMON_LOGIN = "viewcommon.login";
134:
135: public static final String ADMIN_INDEX = "admin.index";
136: public static final String ADMIN_MENU = "admin.menu";
137: public static final String ADMIN_MAIN = "admin.main";
138:
139: public static final String ATTACHMENTS_CONFIG = "attachments.config";
140: public static final String ATTACHMENTS_QUOTA_LIMIT = "attachments.quota.limit";
141: public static final String ATTACHMENTS_EXTENSION_GROUPS = "attachments.extension.groups";
142: public static final String ATTACHMENTS_EXTENSIONS = "attachments.extensions";
143:
144: public static final String CACHE_LIST = "cache.list";
145: public static final String CACHE_POST_MOREINFO = "cache.post.moreinfo";
146: public static final String CACHE_TOPICS_MOREINFO = "cache.topics.moreinfo";
147:
148: public static final String CATEGORY_LIST = "category.list";
149: public static final String CATEGORY_INSERT = "category.insert";
150: public static final String CATEGORY_EDIT = "category.edit";
151:
152: public static final String CONFIG_LIST = "config.list";
153:
154: public static final String FORUM_ADMIN_LIST = "forum.admin.list";
155: public static final String FORUM_ADMIN_INSERT = "forum.admin.insert";
156: public static final String FORUM_ADMIN_EDIT = "forum.admin.edit";
157:
158: public static final String GROUP_LIST = "group.list";
159: public static final String GROUP_INSERT = "group.insert";
160: public static final String GROUP_EDIT = "group.edit";
161: public static final String GROUP_PERMISSIONS = "group.permissions";
162:
163: public static final String MODERATION_ADMIN_LIST = "moderation.admin.list";
164: public static final String MODERATION_ADMIN_VIEW = "moderation.admin.view";
165:
166: public static final String RANKING_LIST = "ranking.list";
167: public static final String RANKING_INSERT = "ranking.insert";
168: public static final String RANKING_EDIT = "ranking.edit";
169:
170: public static final String SMILIES_INSERT = "smilies.insert";
171: public static final String SMILIES_EDIT = "smilies.edit";
172: public static final String SMILIES_LIST = "smilies.list";
173:
174: public static final String USER_ADMIN_COMMON = "user.admin.common";
175: public static final String USER_ADMIN_PERMISSIONS = "user.admin.permissions";
176: public static final String USER_ADMIN_EDIT = "user.admin.edit";
177: public static final String USER_ADMIN_GROUPS = "user.admin.groups";
178: public static final String USER_ADMIN_PENDING_ACTIVATIONS = "user.admin.pending.activations";
179:
180: public static final String BANNER_LIST = "banner.list";
181: public static final String BANNER_INSERT = "banner.insert";
182: public static final String BANNER_EDIT = "banner.edit";
183:
184: public static final String RSS = "rss";
185: public static final String EMPTY = "empty";
186:
187: public static final String INSTALL_WELCOME = "install.welcome";
188: public static final String INSTALL_CHECK_INFO = "install.check.info";
189: public static final String INSTALL_ERROR = "install.error";
190: public static final String INSTALL_FINISHED = "install.finished";
191:
192: public static final String API_USER_LIST = "api.user.list";
193: public static final String API_USER_INSERT = "api.user.insert";
194: public static final String API_ERROR = "api.error";
195: public static final String AGREEMENT_LIST = "agreement.list";
196: public static final String ACTIVATE_ACCOUNT_MANUAL = "activate.account.manual";
197:
198: public static final String BANLIST_LIST = "banlist.list";
199: public static final String BANLIST_INSERT = "banlist.insert";
200: public static final String MODERATION_SHOW_ACTIVITY_LOG = "moderation.show.activity.log";
201: public static final String MODERATION_LOG_DENIED = "moderation.log.denied";
202:
203: public static final String SEARCH_STATS_LIST = "search.stats.list";
204: public static final String SEARCH_STATS_NOT_ENABLED = "search.stats.not.enabled";
205: public static final String AJAX_PREVIEW_POST = "ajax.preview.post";
206: public static final String AJAX_IS_POST_INDEXED = "ajax.is.post.indexed";
207: public static final String AJAX_TEST_MAIL = "ajax.test.mail";
208: public static final String AJAX_LOAD_POST = "ajax.load.post";
209: }
|