XOOPS  2.6.0
main.php
Go to the documentation of this file.
1 <?php
2 /*
3  You may not change or alter any portion of this comment or credits
4  of supporting developers from this source code or any supporting source code
5  which is considered copyrighted (c) material of the original comment or credit authors.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10  */
11 
19 define('_MD_NOTIFICATIONS', 'Notifications');
20 define('_MD_NOTIFICATIONS_NOTIFICATIONOPTIONS', 'Notification Options');
21 define('_MD_NOTIFICATIONS_UPDATENOW', 'Update Now');
22 define('_MD_NOTIFICATIONS_UPDATEOPTIONS', 'Update Notification Options');
23 define('_MD_NOTIFICATIONS_CLEAR', 'Clear');
24 define('_MD_NOTIFICATIONS_CHECKALL', 'Check All');
25 define('_MD_NOTIFICATIONS_MODULE', 'Module');
26 define('_MD_NOTIFICATIONS_CATEGORY', 'Category');
27 define('_MD_NOTIFICATIONS_ITEMID', 'ID');
28 define('_MD_NOTIFICATIONS_ITEMNAME', 'Name');
29 define('_MD_NOTIFICATIONS_EVENT', 'Event');
30 define('_MD_NOTIFICATIONS_EVENTS', 'Events');
31 define('_MD_NOTIFICATIONS_ACTIVENOTIFICATIONS', 'Active Notifications');
32 //define('_MD_NOTIFICATIONS_NAMENOTAVAILABLE', 'Name Not Available');
33 // RMV-NEW : TODO: remove NAMENOTAVAILBLE above
34 define('_MD_NOTIFICATIONS_ITEMNAMENOTAVAILABLE', 'Item Name Not Available');
35 define('_MD_NOTIFICATIONS_ITEMTYPENOTAVAILABLE', 'Item Type Not Available');
36 define('_MD_NOTIFICATIONS_ITEMURLNOTAVAILABLE', 'Item URL Not Available');
37 define('_MD_NOTIFICATIONS_DELETINGNOTIFICATIONS', 'Deleting Notifications');
38 define('_MD_NOTIFICATIONS_DELETESUCCESS', 'Notification(s) deleted successfully.');
39 define('_MD_NOTIFICATIONS_UPDATEOK', 'Notification options updated');
40 define('_MD_NOTIFICATIONS_NOTIFICATIONMETHODIS', 'Notification method is');
41 define('_MD_NOTIFICATIONS_EMAIL', 'email');
42 define('_MD_NOTIFICATIONS_PM', 'private message');
43 define('_MD_NOTIFICATIONS_DISABLE', 'disabled');
44 define('_MD_NOTIFICATIONS_CHANGE', 'Change');
45 define('_MD_NOTIFICATIONS_NOACCESS', 'You do not have permission to access this page.');
46 // Text for module config options
47 //define('_MD_NOTIFICATIONS_ENABLE', 'Enable');
48 define('_MD_NOTIFICATIONS_NOTIFICATION', 'Notification');
49 define('_MD_NOTIFICATIONS_CONFIG_ENABLED', 'Enable Notification');
50 //define('_MD_NOTIFICATIONS_CONFIG_ENABLEDDSC', 'This module allows users to select to be notified when certain events occur. Choose "yes" to enable this feature.');
51 define('_MD_NOTIFICATIONS_CONFIG_EVENTS', 'Enable Specific Events');
52 define('_MD_NOTIFICATIONS_CONFIG_EVENTSDSC', 'Select which notification events to which your users may subscribe.');
53 define('_MD_NOTIFICATIONS_CONFIG_ENABLE', 'Enable Notification');
54 define('_MD_NOTIFICATIONS_CONFIG_ENABLEDSC', 'This module allows users to be notified when certain events occur. Select if users should be presented with notification options in a Block (Block-style), within the module (Inline-style), or both. For block-style notification, the Notification Options block must be enabled for this module.');
55 define('_MD_NOTIFICATIONS_CONFIG_DISABLE', 'Disable Notification');
56 define('_MD_NOTIFICATIONS_CONFIG_ENABLEBLOCK', 'Enable only Block-style');
57 define('_MD_NOTIFICATIONS_CONFIG_ENABLEINLINE', 'Enable only Inline-style');
58 define('_MD_NOTIFICATIONS_CONFIG_ENABLEBOTH', 'Enable Notification (both styles)');
59 // For notification about comment events
60 define('_MD_NOTIFICATIONS_COMMENT_NOTIFY', 'Comment Added');
61 define('_MD_NOTIFICATIONS_COMMENT_NOTIFYCAP', 'Notify me when a new comment is posted for this item.');
62 define('_MD_NOTIFICATIONS_COMMENT_NOTIFYDSC', 'Receive notification whenever a new comment is posted (or approved) for this item.');
63 define('_MD_NOTIFICATIONS_COMMENT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify: Comment added to {X_ITEM_TYPE}');
64 define('_MD_NOTIFICATIONS_COMMENTSUBMIT_NOTIFY', 'Comment Submitted');
65 define('_MD_NOTIFICATIONS_COMMENTSUBMIT_NOTIFYCAP', 'Notify me when a new comment is submitted (awaiting approval) for this item.');
66 define('_MD_NOTIFICATIONS_COMMENTSUBMIT_NOTIFYDSC', 'Receive notification whenever a new comment is submitted (awaiting approval) for this item.');
67 define('_MD_NOTIFICATIONS_COMMENTSUBMIT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify: Comment submitted for {X_ITEM_TYPE}');
68 // For notification bookmark feature
69 // (Not really notification, but easy to do with this module)
70 define('_MD_NOTIFICATIONS_BOOKMARK_NOTIFY', 'Bookmark');
71 define('_MD_NOTIFICATIONS_BOOKMARK_NOTIFYCAP', 'Bookmark this item (no notification).');
72 define('_MD_NOTIFICATIONS_BOOKMARK_NOTIFYDSC', 'Keep track of this item without receiving any event notifications.');
73 // For user profile
74 // FIXME: These should be reworded a little...
75 //define('_MD_NOTIFICATIONS_NOTIFYMETHOD', 'Notification Method<br /> When you monitor e.g. a forum, how would you like to receive notifications of updates?');
76 //define('_MD_NOTIFICATIONS_METHOD_EMAIL', 'Email (use address in my profile)');
77 //define('_MD_NOTIFICATIONS_METHOD_PM', 'Private Message');
78 //define('_MD_NOTIFICATIONS_METHOD_DISABLE', 'Temporarily Disable');
79 //define('_MD_NOTIFICATIONS_NOTIFYMODE', 'Default Notification Mode');
80 //define('_MD_NOTIFICATIONS_MODE_SENDALWAYS', 'Notify me of all selected updates');
81 //define('_MD_NOTIFICATIONS_MODE_SENDONCE', 'Notify me only once');
82 //define('_MD_NOTIFICATIONS_MODE_SENDONCEPERLOGIN', 'Notify me once then disable until I log in again');
83 define('_MD_NOTIFICATIONS_NOTHINGTODELETE', 'There is nothing to delete.');
84 
85 //added on 2.6.0
86 define('_MD_NOTIFICATIONS_RUSUREDEL', 'Are you sure you want to delete this notification?');
87 
88 define("_MD_NOTIFICATIONS_DELETE","Deleting notifications...");
89 define("_MD_NOTIFICATIONS_DELETE_ERROR","ERROR: Could not delete notifications");
90 define("_MD_NOTIFICATIONS_DELETED","Notifications deleted");