|
From: Florin C B. <ory...@us...> - 2012-10-25 12:58:25
|
Update of /cvsroot/mxbb/core/includes
In directory vz-cvs-4.sog:/tmp/cvs-serv5664
Modified Files:
mx_constants.php
Log Message:
constants
Index: mx_constants.php
===================================================================
RCS file: /cvsroot/mxbb/core/includes/mx_constants.php,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** mx_constants.php 28 Sep 2009 11:24:28 -0000 1.33
--- mx_constants.php 25 Oct 2012 12:58:23 -0000 1.34
***************
*** 45,48 ****
--- 45,195 ----
!defined('PAGE_TOPIC_OFFSET') ? define('PAGE_TOPIC_OFFSET', 5000) : false;
+ /*
+ // Page numbers for session handling <- this values by MJ, Fully Modded phpBBFM , and OryNider, MXP CMS
+ define('PAGE_INDEX', 0);
+ define('PAGE_HOME', 0);
+ define('PAGE_VIEWFORUM', 0);
+ define('PAGE_VIEWFORUMLIST', 0);
+ define('PAGE_VIEWTOPIC', 0);
+ define('PAGE_LOGIN', -1);
+ define('PAGE_SEARCH', -2);
+ define('PAGE_REGISTER', -3);
+ define('PAGE_PROFILE', -4);
+ define('PAGE_PROFILE_MAIN', -4);
+ define('PAGE_UCP', -4);
+ define('PAGE_VIEWPROFILE', -5);
+ define('PAGE_VIEWONLINE', -6);
+ define('PAGE_VIEWMEMBERS', -7);
+ define('PAGE_MEMBERLIST', -7);
+ define('PAGE_FAQ', -8);
+ define('PAGE_RULES', -8);
+ define('PAGE_POSTING', -9);
+ define('PAGE_PRIVMSGS', -10);
+ define('PAGE_PRIVMSG', -10);
+ define('PAGE_GROUPCP', -11);
+ define('PAGE_GROUP_CP', -11);
+ define('PAGE_SMILES', -12);
+ define('PAGE_TELLFRIEND', -13);
+ // 14 defined in linksdb_constants.php
+ // 15 defined in pafiledb_constants.php
+ define('PAGE_TOPIC_VIEW', -16);
+ define('PAGE_DIGEST', -17);
+ define('PAGE_STAFF', -18);
+ // 19 - 22 defined in music/music_constants.php
+ define('PAGE_ATTACHMENTS', -23);
+ define('PAGE_BOOKIES', -24);
+ define('PAGE_BOOKIE_ALLSTATS', -25);
+ define('PAGE_BOOKIE_YOURSTATS', -26);
+ define('PAGE_CALENDAR', -27);
+ define('PAGE_BANK', -28);
+ define('PAGE_SHOP', -29);
+ define('PAGE_STATISTICS', -30);
+ define('PAGE_CARD', -31);
+ define('PAGE_RATINGS', -32);
+ define('PAGE_PORTAL', -33);
+ define('PAGE_CHATROOM', -34);
+ define('PAGE_IMLIST', -35);
+ define('PAGE_TOPLIST', -36);
+ define('PAGE_LOTTERY', -37);
+ define('PAGE_ACTIVITY', -38);
+ define('PAGE_PLAYING_GAMES', -39);
+ define('PAGE_CHARTS', -40);
+ define('PAGE_RSS', -41);
+ define('PAGE_BANLIST', -43);
+ define('PAGE_TOPICS_STARTED', -44);
+ define('PAGE_MEETING', -45);
+ define('PAGE_FORUM_TOUR', -46);
+ define('PAGE_HELPDESK', -47);
+ define('PAGE_THREAD_KICKER', -48);
+ define('PAGE_SHOUTBOX', -49);
+ define('PAGE_SHOUTBOX_MAX', -49);
+ // 50 - 53 defined in album/album_constants.php
+ // 53 - 54 defined in attachments/constants.php change them if have conflict with album constants
+ define('PAGE_AUCTIONS', -55);
+ define('PAGE_MEDALS', -56);
+ define('PAGE_JOBS', -57);
+ define('PAGE_AVATAR_TOPLIST', -58);
+ define('PAGE_AVATAR_LIST', -59);
+ define('PAGE_GUESTBOOK', -60);
+ define('PAGE_SITEMAP', -61);
+ define('PAGE_REDIRECT', -62);
+ define('PAGE_LEXICON', -63);
+ define('PAGE_DRAFTS', -64);
+ define('PAGE_ERRORS', -65);
+
+ // Portal modules page numbers for session handling
+ define('PAGE_LINKS', -14);
+ define('PAGE_LINKDB', -14); // If this id generates a conflict with other mods, change it ;);
+
+ define('PAGE_DL_DEFAULT', -15);
+ define('PAGE_DLOAD', -15);
+ define('PAGE_DOWNLOAD', -15); // If this id generates a conflict with other mods, change it ;);
+
+ define('PAGE_MUSIC_DEFAULT', -19);
+ define('PAGE_MUSIC', -19); // for Session Handling
+ define('PAGE_MUSIC_PERSONAL', -20);
+ define('PAGE_MUSIC_PICTURE', -21);
+ define('PAGE_MUSIC_SEARCH', -22);
+
+ define('PAGE_KB_DEFAULT', -42);
+ define('PAGE_KB', -42); // If this id generates a conflict with other mods, change it ;);
+
+ define('PAGE_ALBUM_DEFAULT', -50);
+ define('PAGE_ALBUM', -50); // for Session Handling
+ define('PAGE_ALBUM_PERSONAL', -51);
+ define('PAGE_IMAGES', -52);
+ define('PAGE_ALBUM_PICTURE', -52);
+ define('PAGE_IMAGE_THUMBNAIL', -52);
+ define('PAGE_IMAGE_THUMBNAIL_S', -52);
+ define('PAGE_ALBUM_SEARCH', -53);
+ define('PAGE_ALBUM_RSS', -54);
+
+ define('PAGE_NEWS', -77);
+ define('PAGE_NEWSSUITE', -77);
+
+ define('PAGE_MODULE_ADMIN', -78);
+ define('PAGE_PORTAL_ADMIN', -79);
+ define('PAGE_META_ADMIN', -80);
+ define('PAGE_ADS', -81);
+ define('PAGE_ADS_POST' , -82);
+ define('PAGE_ADS_ADMIN' , -83);
+
+ define('PAGE_WELCOME' , -84);
+ define('PAGE_WELCOME_ADMIN', -85);
+
+ define('PAGE_WEATHER', -86);
+ define('PAGE_WEATHER_EDIT', -87);
+
+ define('PAGE_URL', -88);
+
+ define('PAGE_CALENDAR', -91);
+
+ define('PAGE_RECENT', -92);
+ define('PAGE_REFERERS', -93);
+
+ define('PAGE_AJAX_CHAT', -94); // for Session Handling
+ define('PAGE_AJAX_SHOUTBOX', -95);
+
+ define('PAGE_ANNOUNCEMENT', -75);
+ define('PAGE_ANNOUNCEMENT_ADMIN' , -76);
+
+ define('PAGE_CONTACT_US', -98);
+
+ // Portal page numbers for session handling
+ define('PAGE_FORUM', -70);
+ define('PAGE_MENU_NAV', -71);
+ define('PAGE_MENU_ADMIN', -72);
+ define('PAGE_POLL', -73);
+ define('PAGE_LAST_MSG', -74);
+ define('PAGE_STATISTICS', -90);
+ define('PAGE_CREDITS', -99);
+ define('PAGE_TAGS', -100);
+
+ define('PAGE_TOPIC_OFFSET', 5000);
+
+
+ // You can customize this page
+ */
+
// Auth settings (blockCP)
!defined('AUTH_LIST_ALL') ? define('AUTH_LIST_ALL', 0) : false;
|