You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Jon O. <jon...@us...> - 2005-10-02 20:39:10
|
Update of /cvsroot/mxbb/mx_calsnails/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv778/modules/mx_calsnails/language/lang_english Modified Files: lang_admin.php lang_main.php Log Message: updated all file headers Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/language/lang_english/lang_main.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lang_main.php 20 Aug 2005 18:21:43 -0000 1.2 --- lang_main.php 1 Oct 2005 14:12:12 -0000 1.3 *************** *** 1,15 **** <?php ! /********************************************* ! * Calendar Language Pack ! * ! * Language: English ! * Last Updated: $Date$ ! * Revision No.: $Revision$ ! * ! *********************************************/ ! ! // Version 2.0.1 (needs translating for other language versions!) ! // Calendar Addon MOD Language fields $lang['Calendar'] = "Calendar"; --- 1,21 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, WebSnail < Martin Smallridge > ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ $lang['Calendar'] = "Calendar"; Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/language/lang_english/lang_admin.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** lang_admin.php 20 Aug 2005 18:21:43 -0000 1.8 --- lang_admin.php 1 Oct 2005 14:12:12 -0000 1.9 *************** *** 1,16 **** <?php ! /*************************************************************************** ! * mx_calsnails Module ! * lang_admin.php [English] ! * ------------------------ ! * copyright : (C) 2003 Mx System ! * email : su...@mx... ! * translated by: : ! * ! * module version : v 1.05 2003/07/05 by markus_petrux ! * ! * $Id$ ! * ! ****************************************************************************/ // --- 1,21 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, WebSnail < Martin Smallridge > ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ // |
Update of /cvsroot/mxbb/mx_calsnails In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv778/modules/mx_calsnails Modified Files: calendar.php db_install.php db_uninstall.php db_upgrade.php mx_calendar_events.php mx_calendar_mini.php mx_calendar_query.php Log Message: updated all file headers Index: mx_calendar_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/mx_calendar_mini.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mx_calendar_mini.php 9 Jan 2005 21:31:28 -0000 1.7 --- mx_calendar_mini.php 1 Oct 2005 14:12:12 -0000 1.8 *************** *** 1,11 **** <?php ! /** ! * mx_calendar_mini.php ! * -------------------- ! * begin : May, 2003 ! * copyright : (C) 2002-2003 MX-System ! * email : su...@mx... ! * ! * module version : v 1.05 2003/07/05 by markus_petrux * * $Id$ --- 1,11 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, WebSnail < Martin Smallridge > ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ Index: mx_calendar_query.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/mx_calendar_query.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** mx_calendar_query.php 17 Mar 2005 12:04:26 -0000 1.6 --- mx_calendar_query.php 1 Oct 2005 14:12:12 -0000 1.7 *************** *** 1,11 **** <?php ! /** ! * mx_calendar_query.php ! * --------------------- ! * begin : May, 2003 ! * copyright : (C) 2002-2003 MX-System ! * email : su...@mx... ! * ! * module version : v 1.05 2003/07/05 by markus_petrux * * $Id$ --- 1,11 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, WebSnail < Martin Smallridge > ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/db_uninstall.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** db_uninstall.php 22 Sep 2005 10:08:05 -0000 1.8 --- db_uninstall.php 1 Oct 2005 14:12:12 -0000 1.9 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, WebSnail < Martin Smallridge > ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/db_upgrade.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** db_upgrade.php 22 Sep 2005 10:08:05 -0000 1.8 --- db_upgrade.php 1 Oct 2005 14:12:12 -0000 1.9 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, WebSnail < Martin Smallridge > ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/db_install.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** db_install.php 22 Sep 2005 10:08:05 -0000 1.14 --- db_install.php 1 Oct 2005 14:12:12 -0000 1.15 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, WebSnail < Martin Smallridge > ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: mx_calendar_events.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/mx_calendar_events.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** mx_calendar_events.php 1 Oct 2005 08:52:05 -0000 1.10 --- mx_calendar_events.php 1 Oct 2005 14:12:12 -0000 1.11 *************** *** 1,28 **** <?php ! /** ! * mx_calendar_events.php ! * ---------------------- ! * begin : May, 2003 ! * copyright : (C) 2002-2003 MX-System ! * email : su...@mx... ! * ! * module version : v 1.05 2003/07/05 by markus_petrux * * $Id$ - * - * history: - * - * v 1.05 - * - Fix formula used to apply events_prev/next offsets to selected range. - * - Added feature: highlight today events using different style. - * - Added parameter check if the module is not correctly installed. - * - Use & instead of simply & for http get variables. - * - * v 1.04.002 - * - Implemented CALRANGE_THIS_WEEK and CALRANGE_NEXT_WEEK. - * - Major simplification of date calculations. - * - * v 1.04 - * - First time released. */ --- 1,13 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, WebSnail < Martin Smallridge > ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ */ Index: calendar.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/calendar.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** calendar.php 22 Sep 2005 10:08:05 -0000 1.16 --- calendar.php 1 Oct 2005 14:12:12 -0000 1.17 *************** *** 1,3 **** --- 1,22 ---- <?php + /** ------------------------------------------------------------------------ + * Subject : mxBB - a fully modular portal and CMS (for phpBB) + * Author : Jon Ohlsson and the mxBB Team + * Credits : The phpBB Group & Marc Morisette, WebSnail < Martin Smallridge > + * Copyright : (C) 2002-2005 mxBB Portal + * Email : jo...@mx... + * Project site : www.mxbb-portal.com + * ------------------------------------------------------------------------- + * + * $Id$ + */ + + /** + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + /** * MX-System changes to original source: |
|
From: Jon O. <jon...@us...> - 2005-10-02 20:36:18
|
Update of /cvsroot/mxbb/mx_forum In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv892/modules/mx_forum_ Modified Files: db_install.php db_upgrade.php index.php mx_forum.php mx_install_readme.htm viewtopic.php Log Message: updated all file headers Index: index.php =================================================================== RCS file: /cvsroot/mxbb/mx_forum/index.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** index.php 15 Sep 2005 17:59:19 -0000 1.5 --- index.php 1 Oct 2005 14:12:41 -0000 1.6 *************** *** 91,94 **** --- 91,97 ---- // removing them // + //+mxbb_module + /* + //-mxbb_module $total_posts = get_db_stat('postcount'); $total_users = get_db_stat('usercount'); *************** *** 122,126 **** $l_total_user_s = $lang['Registered_users_total']; } ! // --- 125,131 ---- $l_total_user_s = $lang['Registered_users_total']; } ! //+mxbb_module ! */ ! //-mxbb_module // *************** *** 284,291 **** $template->assign_vars(array( ! 'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts), ! 'TOTAL_USERS' => sprintf($l_total_user_s, $total_users), ! 'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . $mx_forum->append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'), ! 'FORUM_IMG' => $mx_forum->images['forum'], 'FORUM_NEW_IMG' => $mx_forum->images['forum_new'], --- 289,298 ---- $template->assign_vars(array( ! //+mxbb_module ! //'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts), ! //'TOTAL_USERS' => sprintf($l_total_user_s, $total_users), ! //'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . $mx_forum->append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'), ! //-mxbb_module ! 'FORUM_IMG' => $mx_forum->images['forum'], 'FORUM_NEW_IMG' => $mx_forum->images['forum_new'], Index: mx_install_readme.htm =================================================================== RCS file: /cvsroot/mxbb/mx_forum/mx_install_readme.htm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_install_readme.htm 15 Jan 2005 23:45:37 -0000 1.2 --- mx_install_readme.htm 1 Oct 2005 14:12:41 -0000 1.3 *************** *** 219,227 **** <table> <tr> ! <td colspan="2"><p><b><font size="5">MX Module - mx_forum<br> ! <font size="2">v. 0.9x BETA</font></font></b></p> <p><span style="font-weight: bold"><span style="font-size: 16px; line-height: normal">Module</span></span> <br /> ! - for Mx Portal v. 2.7.5+</p> <p><strong>Author</strong><br /> Haplo<br /> --- 219,227 ---- <table> <tr> ! <td colspan="2"><p><b><font size="5">mxBB Module - phpBB Integration<br> ! <font size="2">v. 1.0.3</font></font></b></p> <p><span style="font-weight: bold"><span style="font-size: 16px; line-height: normal">Module</span></span> <br /> ! - for Mx Portal v. 2.8.1+</p> <p><strong>Author</strong><br /> Haplo<br /> Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_forum/db_upgrade.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** db_upgrade.php 15 Sep 2005 17:59:19 -0000 1.6 --- db_upgrade.php 1 Oct 2005 14:12:41 -0000 1.7 *************** *** 42,55 **** } ! $mx_module_version = 'mxBB phpBB Module 1.0.0'; $mx_module_copy = 'Based on <a href="http://www.phpbb.com/" target="_phpbb" >phpBB</a>'; $sql = array(); // Precheck ! if ( $result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "phpbb_plugin_config" ) ) { // Upgrade checks $upgrade_101 = 0; $upgrade_102 = 0; --- 42,58 ---- } ! $mx_module_version = 'mxBB - phpBB Integration Module 1.0.3'; $mx_module_copy = 'Based on <a href="http://www.phpbb.com/" target="_phpbb" >phpBB</a>'; $sql = array(); + // // Precheck ! // if ( $result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "phpbb_plugin_config" ) ) { + // // Upgrade checks + // $upgrade_101 = 0; $upgrade_102 = 0; *************** *** 59,76 **** $upgrade_106 = 0; $upgrade_107 = 0; ! /* ! // validate before 1.01 ! if( !$result = $db->sql_query("SELECT article_rating from ".$mx_table_prefix."kb_articles")) ! { ! $upgrade_105 = 1; ! } ! ! // validate before 1.02 ! if( !$result = $db->sql_query("SELECT votes_userid from ".$mx_table_prefix."kb_votes")) ! { ! $upgrade_106 = 1; ! } ! */ // validate before 1.01 $result = $db->sql_query( "SELECT config_value from " . $mx_table_prefix . "phpbb_plugin_config WHERE config_name = 'override_default_pages'" ); if ( $db->sql_numrows( $result ) == 0 ) --- 62,69 ---- $upgrade_106 = 0; $upgrade_107 = 0; ! ! // // validate before 1.01 + // $result = $db->sql_query( "SELECT config_value from " . $mx_table_prefix . "phpbb_plugin_config WHERE config_name = 'override_default_pages'" ); if ( $db->sql_numrows( $result ) == 0 ) *************** *** 106,112 **** $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('profile', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('search', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewforum', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewonline', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewtopic', '0')"; } else if ( $upgrade_102 == 1 ) --- 99,105 ---- $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('profile', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('search', '0')"; ! //$sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewforum', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewonline', '0')"; ! //$sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewtopic', '0')"; } else if ( $upgrade_102 == 1 ) *************** *** 142,148 **** else { ! // If not installed ! $message = "<b>Module is not installed...and thus cannot be upgraded ;)</b><br/><br/>"; } --- 135,141 ---- else { ! // // If not installed ! // $message = "<b>Module is not installed...and thus cannot be upgraded ;)</b><br/><br/>"; } Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_forum/db_install.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** db_install.php 15 Sep 2005 17:59:19 -0000 1.7 --- db_install.php 1 Oct 2005 14:12:41 -0000 1.8 *************** *** 42,46 **** } ! $mx_module_version = 'mxBB phpBB Module 1.0.0'; $mx_module_copy = 'Based on <a href="http://www.phpbb.com/" target="_phpbb">phpBB</a>'; --- 42,46 ---- } ! $mx_module_version = 'mxBB - phpBB Integration Module 1.0.3'; $mx_module_copy = 'Based on <a href="http://www.phpbb.com/" target="_phpbb">phpBB</a>'; *************** *** 72,78 **** $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('profile', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('search', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewforum', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewonline', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewtopic', '0')"; $sql[] = "CREATE TABLE " . $mx_table_prefix . "topic_add_type ( --- 72,78 ---- $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('profile', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('search', '0')"; ! //$sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewforum', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewonline', '0')"; ! //$sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewtopic', '0')"; $sql[] = "CREATE TABLE " . $mx_table_prefix . "topic_add_type ( Index: viewtopic.php =================================================================== RCS file: /cvsroot/mxbb/mx_forum/viewtopic.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** viewtopic.php 15 Sep 2005 17:59:19 -0000 1.7 --- viewtopic.php 1 Oct 2005 14:12:41 -0000 1.8 *************** *** 1063,1067 **** 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_POLL_ACTION' => $mx_forum->append_sid("posting.$phpEx?mode=vote&" . POST_TOPIC_URL . "=$topic_id")) ); --- 1063,1067 ---- 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_POLL_ACTION' => $mx_forum->append_sid("posting.$phpEx?mode=vote&" . POST_TOPIC_URL . "=$topic_id",false, true)) ); *************** *** 1410,1413 **** --- 1410,1418 ---- // + // Do some text formatting - fixup (truncates) urls, images and words (wrapping) for a narrow column layout + // + $message = $mx_forum->mxbb_magic( $message ); + + // // Again this will be handled by the templating // code at some point Index: mx_forum.php =================================================================== RCS file: /cvsroot/mxbb/mx_forum/mx_forum.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_forum.php 15 Sep 2005 17:59:19 -0000 1.1 --- mx_forum.php 1 Oct 2005 14:12:41 -0000 1.2 *************** *** 40,43 **** --- 40,46 ---- include($mx_root_path . "modules/mx_forum/viewtopic.$phpEx"); break; + case 'posting': + include($mx_root_path . "modules/mx_forum/posting.$phpEx"); + break; } ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2005-10-02 20:31:02
|
Update of /cvsroot/mxbb/mx_calsnails/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv778/modules/mx_calsnails/includes Modified Files: cal_settings.php mx_common.php Log Message: updated all file headers Index: cal_settings.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/includes/cal_settings.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** cal_settings.php 12 Apr 2005 19:37:11 -0000 1.9 --- cal_settings.php 1 Oct 2005 14:12:12 -0000 1.10 *************** *** 1,39 **** ! <?php ! /** ! * MX-System changes to original source: ! * ! * MX001: See mx_calsnails/includes/mx_common.php for details. ! */ ! ! /** ! * Calendar Lite ! * note: following info added by CVS ! * original author: WebSnail < Martin Smallridge > ! * ! * $Author$ ! * $Date$ ! * $Revision$ ! */ ! ! /*############################################################### ! ## Mod Title: phpBB2 Calendar ! ## Mod Version: 1.4.1b ! ## Author: WebSnail < Martin Smallridge > ! ## SUPPORT: http://www.snailsource.com/forum/ ! ## Description: Variable settings for Calendar.php ! ## ! ## ! ## NOTE: Please read readme.txt ! ###############################################################*/ ! ! /*########################################## ! ## STOP # ! ## DO NOT MODIFY ANYTHING IN THIS FILE # ! ##########################################*/ ! ! $cal_version = "1.4.1c"; ! // MX001: $cal_lang_file = "lang_main.php"; ! // MX001: $tablename = 'calendar'; ! $mxbb_footer_addup[] = 'mxBB Calsnails Module'; ! ?> \ No newline at end of file --- 1,26 ---- ! <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, WebSnail < Martin Smallridge > ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! $cal_version = "1.4.1c"; ! // MX001: $cal_lang_file = "lang_main.php"; ! // MX001: $tablename = 'calendar'; ! $mxbb_footer_addup[] = 'mxBB Calsnails Module'; ! ?> \ No newline at end of file Index: mx_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/includes/mx_common.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** mx_common.php 12 Apr 2005 19:37:11 -0000 1.6 --- mx_common.php 1 Oct 2005 14:12:12 -0000 1.7 *************** *** 1,185 **** ! <?php ! /** ! * mx_common.php ! * ------------- ! * begin : May, 2003 ! * copyright : (C) 2002-2003 MX-System ! * email : su...@mx... ! * ! * module version : v 1.05 2003/07/05 by markus_petrux ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! // Include common scripts. ! ! include_once( $module_root_path . 'includes/cal_settings.' . $phpEx ); ! ! // Load language files. ! ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) ! { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); ! } ! else ! { ! include( $module_root_path . 'language/lang_english/lang_main.' . $phpEx ); ! } ! ! // Define table names. ! ! define( 'CALLITE_CONFIG_TABLE', $mx_table_prefix . 'callite_config' ); ! define( 'CALLITE_EVENTS_TABLE', $mx_table_prefix . 'callite_events' ); ! ! if ( !defined( 'DB_INSTALL' ) ) ! { ! ! // Get Calendar Settings from Cal_config table ! ! $cal_config = array(); ! ! $sql = "SELECT * FROM " . CALLITE_CONFIG_TABLE; ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! message_die( GENERAL_ERROR, "Couldn't query calendar config table", "", __LINE__, __FILE__, $sql ); ! } ! else ! { ! while ( $row = $db->sql_fetchrow( $result ) ) ! { ! $cal_config[$row['config_name']] = $row['config_value']; ! } ! } ! $cal_dateformat = !empty( $cal_config['cal_dateformat'] ) ? $cal_config['cal_dateformat'] : $board_config['default_dateformat']; ! // Timezone off 1 day fix ! // $cal_timezone = $board_config['board_timezone']; ! $userdata['calsnails_timezone'] = 0; ! } ! ! // Prepare some other common variables ! ! define( 'SECONDS_PER_DAY', 86400 ); // 24h * 60m * 60s ! ! // -------------------------------------------------------------------------------- ! // [ FUNCTIONS ] ! // -------------------------------------------------------------------------------- ! ! // my_dateformat comes from calendar.php, so it can be reused. ! // Also, we try to solve 2 bugs in one step: ! // a) Martin's mydateformat() does not translate weekdays. ! // b) Solve the phpBB collision with $lang['datetime']['May']. ! ! function my_dateformat( $thisdate, $dateformat = 'd M Y G:i', $span = 0 ) ! { ! global $cal_dateformat, $cal_timezone, $userdata; ! // date comes in as the following: ! $myr = substr( $thisdate, 0, 4 ); ! $mym = substr( $thisdate, 5, 2 ); ! $myd = substr( $thisdate, 8, 2 ); ! $myh = substr( $thisdate, 11, 2 ); ! $myn = substr( $thisdate, 14, 2 ); ! $mys = substr( $thisdate, 17, 2 ); ! ! if ( $span || ( $myh == '00' && $myn == '00' && $mys == '00' ) ) ! { ! // Need to strip out any TIME references so... ! $timerefs = array ( 'a', 'A', 'B', 'g', 'G', 'h', 'H', 'i', 'I', 's' ); ! while ( list( , $val ) = each ( $timerefs ) ) ! { ! $dateformat = ereg_replace( $val, "", $dateformat ); ! } ! // strip out any characters used for time ! $dateformat = ereg_replace( '[:\.]', " ", $dateformat ); ! } ! ! // Ok, this is problem (a). No translation occurs :( ! ! // $returndate = gmdate($dateformat, gmmktime ($myh,$myn,$mys,$mym,$myd,$myr)); ! // Fix for time off 1 day ! // $returndate = my_create_date($dateformat, gmmktime ($myh,$myn,$mys,$mym,$myd,$myr), $cal_timezone); ! $returndate = my_create_date( $dateformat, gmmktime( $myh, $myn, $mys, $mym, $myd, $myr ), $userdata['calsnails_timezone'] ); ! return $returndate; ! } ! ! // This is about problem (b). Using our own version of phpbb.functions_php.create_date() ! // we can use our own copy of $lang['datetime']['May'] (see lang_main.php files). ! ! function my_create_date( $format, $gmepoch, $tz ) ! { ! global $board_config, $lang; ! static $translate; ! ! if ( empty( $translate ) && $board_config['default_lang'] != 'english' ) ! { ! @reset( $lang['datetime'] ); ! while ( list( $match, $replace ) = @each( $lang['datetime'] ) ) ! { ! $translate[$match] = $replace; ! } ! } ! ! return ( !empty( $translate ) ) ? strtr( @gmdate( $format, $gmepoch + ( 3600 * $tz ) ), $translate ) : @gmdate( $format, $gmepoch + ( 3600 * $tz ) ); ! } ! ! // The easiest way I found to decode BBText. ! ! function my_decode_bbtext( $bbtext, $bbcode_uid ) ! { ! global $board_config; ! ! $mytext = stripslashes( $bbtext ); ! if ( $board_config['allow_bbcode'] ) ! { ! $mytext = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass( $mytext, $bbcode_uid ) : preg_replace( "/\:[0-9a-z\:]+\]/si", "]", $mytext ); ! } ! if ( $board_config['allow_smilies'] ) ! { ! $smilies_path = $board_config['smilies_path']; ! $board_config['smilies_path'] = PHPBB_URL . $board_config['smilies_path']; ! $mytext = smilies_pass( $mytext ); ! $board_config['smilies_path'] = $smilies_path; ! } ! return $mytext; ! } ! ! // Truncate words on a string to specified length and append '...' if necesary. ! ! function my_truncate_words( $text, $length ) ! { ! $mytext = stripslashes( $text ); ! if ( strlen( $mytext ) > $length ) ! { ! $mytext = substr( $mytext, 0, $length ); ! $mytext = substr( $mytext, 0, strrpos( $mytext, ' ' ) ); ! $mytext .= '...'; ! } ! return $mytext; ! } ! // Get week number of year ! function week_of_year( $day, $month, $year ) ! { ! global $cal_config; ! ! $timestamp = gmmktime( 0, 0, 0, $month, $day, $year ); ! $date = getdate( $timestamp ); ! $woy = gmdate( 'W', $timestamp ); ! ! if ( $cal_config['week_start'] != 1 ) ! { ! if ( $date['wday'] == 0 ) ! { ! $woy++; ! } ! } ! ! return $woy; ! } ! ?> \ No newline at end of file --- 1,185 ---- ! <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, WebSnail < Martin Smallridge > ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! // Include common scripts. ! ! include_once( $module_root_path . 'includes/cal_settings.' . $phpEx ); ! ! // Load language files. ! ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) ! { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); ! } ! else ! { ! include( $module_root_path . 'language/lang_english/lang_main.' . $phpEx ); ! } ! ! // Define table names. ! ! define( 'CALLITE_CONFIG_TABLE', $mx_table_prefix . 'callite_config' ); ! define( 'CALLITE_EVENTS_TABLE', $mx_table_prefix . 'callite_events' ); ! ! if ( !defined( 'DB_INSTALL' ) ) ! { ! ! // Get Calendar Settings from Cal_config table ! ! $cal_config = array(); ! ! $sql = "SELECT * FROM " . CALLITE_CONFIG_TABLE; ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! message_die( GENERAL_ERROR, "Couldn't query calendar config table", "", __LINE__, __FILE__, $sql ); ! } ! else ! { ! while ( $row = $db->sql_fetchrow( $result ) ) ! { ! $cal_config[$row['config_name']] = $row['config_value']; ! } ! } ! $cal_dateformat = !empty( $cal_config['cal_dateformat'] ) ? $cal_config['cal_dateformat'] : $board_config['default_dateformat']; ! // Timezone off 1 day fix ! // $cal_timezone = $board_config['board_timezone']; ! $userdata['calsnails_timezone'] = 0; ! } ! ! // Prepare some other common variables ! ! define( 'SECONDS_PER_DAY', 86400 ); // 24h * 60m * 60s ! ! // -------------------------------------------------------------------------------- ! // [ FUNCTIONS ] ! // -------------------------------------------------------------------------------- ! ! // my_dateformat comes from calendar.php, so it can be reused. ! // Also, we try to solve 2 bugs in one step: ! // a) Martin's mydateformat() does not translate weekdays. ! // b) Solve the phpBB collision with $lang['datetime']['May']. ! ! function my_dateformat( $thisdate, $dateformat = 'd M Y G:i', $span = 0 ) ! { ! global $cal_dateformat, $cal_timezone, $userdata; ! // date comes in as the following: ! $myr = substr( $thisdate, 0, 4 ); ! $mym = substr( $thisdate, 5, 2 ); ! $myd = substr( $thisdate, 8, 2 ); ! $myh = substr( $thisdate, 11, 2 ); ! $myn = substr( $thisdate, 14, 2 ); ! $mys = substr( $thisdate, 17, 2 ); ! ! if ( $span || ( $myh == '00' && $myn == '00' && $mys == '00' ) ) ! { ! // Need to strip out any TIME references so... ! $timerefs = array ( 'a', 'A', 'B', 'g', 'G', 'h', 'H', 'i', 'I', 's' ); ! while ( list( , $val ) = each ( $timerefs ) ) ! { ! $dateformat = ereg_replace( $val, "", $dateformat ); ! } ! // strip out any characters used for time ! $dateformat = ereg_replace( '[:\.]', " ", $dateformat ); ! } ! ! // Ok, this is problem (a). No translation occurs :( ! ! // $returndate = gmdate($dateformat, gmmktime ($myh,$myn,$mys,$mym,$myd,$myr)); ! // Fix for time off 1 day ! // $returndate = my_create_date($dateformat, gmmktime ($myh,$myn,$mys,$mym,$myd,$myr), $cal_timezone); ! $returndate = my_create_date( $dateformat, gmmktime( $myh, $myn, $mys, $mym, $myd, $myr ), $userdata['calsnails_timezone'] ); ! return $returndate; ! } ! ! // This is about problem (b). Using our own version of phpbb.functions_php.create_date() ! // we can use our own copy of $lang['datetime']['May'] (see lang_main.php files). ! ! function my_create_date( $format, $gmepoch, $tz ) ! { ! global $board_config, $lang; ! static $translate; ! ! if ( empty( $translate ) && $board_config['default_lang'] != 'english' ) ! { ! @reset( $lang['datetime'] ); ! while ( list( $match, $replace ) = @each( $lang['datetime'] ) ) ! { ! $translate[$match] = $replace; ! } ! } ! ! return ( !empty( $translate ) ) ? strtr( @gmdate( $format, $gmepoch + ( 3600 * $tz ) ), $translate ) : @gmdate( $format, $gmepoch + ( 3600 * $tz ) ); ! } ! ! // The easiest way I found to decode BBText. ! ! function my_decode_bbtext( $bbtext, $bbcode_uid ) ! { ! global $board_config; ! ! $mytext = stripslashes( $bbtext ); ! if ( $board_config['allow_bbcode'] ) ! { ! $mytext = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass( $mytext, $bbcode_uid ) : preg_replace( "/\:[0-9a-z\:]+\]/si", "]", $mytext ); ! } ! if ( $board_config['allow_smilies'] ) ! { ! $smilies_path = $board_config['smilies_path']; ! $board_config['smilies_path'] = PHPBB_URL . $board_config['smilies_path']; ! $mytext = smilies_pass( $mytext ); ! $board_config['smilies_path'] = $smilies_path; ! } ! return $mytext; ! } ! ! // Truncate words on a string to specified length and append '...' if necesary. ! ! function my_truncate_words( $text, $length ) ! { ! $mytext = stripslashes( $text ); ! if ( strlen( $mytext ) > $length ) ! { ! $mytext = substr( $mytext, 0, $length ); ! $mytext = substr( $mytext, 0, strrpos( $mytext, ' ' ) ); ! $mytext .= '...'; ! } ! return $mytext; ! } ! // Get week number of year ! function week_of_year( $day, $month, $year ) ! { ! global $cal_config; ! ! $timestamp = gmmktime( 0, 0, 0, $month, $day, $year ); ! $date = getdate( $timestamp ); ! $woy = gmdate( 'W', $timestamp ); ! ! if ( $cal_config['week_start'] != 1 ) ! { ! if ( $date['wday'] == 0 ) ! { ! $woy++; ! } ! } ! ! return $woy; ! } ! ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2005-10-02 20:25:10
|
Update of /cvsroot/mxbb/mx_forum/templates/subSilver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv892/modules/mx_forum_/templates/subSilver Modified Files: viewforum_body.tpl viewtopic_body.tpl Log Message: updated all file headers Index: viewforum_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_forum/templates/subSilver/viewforum_body.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** viewforum_body.tpl 15 Sep 2005 17:59:19 -0000 1.4 --- viewforum_body.tpl 1 Oct 2005 14:12:41 -0000 1.5 *************** *** 49,53 **** <tr> <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td> ! <td align="left" colspan="2" valign="middle" width="100%"><span class="nav"> <a href="{U_INDEX}{UU_INDEX}" class="nav">{LL_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td> </tr> <tr> --- 49,53 ---- <tr> <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td> ! <td align="left" colspan="2" valign="middle" width="100%"><span class="nav"> <a href="{UU_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td> </tr> <tr> Index: viewtopic_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_forum/templates/subSilver/viewtopic_body.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** viewtopic_body.tpl 15 Sep 2005 17:59:19 -0000 1.4 --- viewtopic_body.tpl 1 Oct 2005 14:12:41 -0000 1.5 *************** *** 71,75 **** <tr> <td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a> <a target="_blank" href="{U_PRINTER_TOPIC}"><img src="{PRINTER_IMG}" border="0" alt="{L_PRINTER_TOPIC}" align="middle" /></a></span></td> ! <td align="left" colspan="2" valign="middle" width="100%"><span class="nav"> <a href="{U_INDEX}{UU_INDEX}" class="nav">{LL_INDEX}</a> » <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td> </tr> --- 71,75 ---- <tr> <td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a> <a target="_blank" href="{U_PRINTER_TOPIC}"><img src="{PRINTER_IMG}" border="0" alt="{L_PRINTER_TOPIC}" align="middle" /></a></span></td> ! <td align="left" colspan="2" valign="middle" width="100%"><span class="nav"> <a href="{UU_INDEX}" class="nav">{L_INDEX}</a> » <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td> </tr> |
|
From: Jon O. <jon...@us...> - 2005-10-02 20:04:35
|
Update of /cvsroot/mxbb/mx_phpbb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1898/modules/mx_phpbb Modified Files: db_install.php db_uninstall.php db_upgrade.php mx_phpbb.php Log Message: updated all file headers Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/db_uninstall.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_uninstall.php 20 Sep 2005 15:40:17 -0000 1.1 --- db_uninstall.php 1 Oct 2005 14:15:50 -0000 1.2 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Markus ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: mx_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/mx_phpbb.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_phpbb.php 21 Sep 2005 20:25:27 -0000 1.2 --- mx_phpbb.php 1 Oct 2005 14:15:50 -0000 1.3 *************** *** 1,23 **** <?php ! /*************************************************************************** ! * mx_index.php ! * ------------------- ! * begin : Saturday, Feb 13, 2001 ! * copyright : (C) 2001 The phpBB Group ! * email : su...@ph... ! * ! * $Id$ ! * ! * ! ***************************************************************************/ ! /*************************************************************************** ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! ***************************************************************************/ if( !defined('IN_PORTAL') ) { --- 1,22 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Markus ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! if( !defined('IN_PORTAL') ) { Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/db_install.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_install.php 20 Sep 2005 15:40:17 -0000 1.1 --- db_install.php 1 Oct 2005 14:15:50 -0000 1.2 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Markus ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/db_upgrade.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_upgrade.php 20 Sep 2005 15:40:17 -0000 1.1 --- db_upgrade.php 1 Oct 2005 14:15:50 -0000 1.2 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Markus ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ |
|
From: Jon O. <jon...@us...> - 2005-10-02 20:02:21
|
Update of /cvsroot/mxbb/mx_kb/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1260/modules/mx_kb/language/lang_english Modified Files: lang_admin_rebuild_search.php lang_main.php Log Message: updated all file headers Index: lang_admin_rebuild_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/language/lang_english/lang_admin_rebuild_search.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lang_admin_rebuild_search.php 9 Apr 2005 21:41:28 -0000 1.2 --- lang_admin_rebuild_search.php 1 Oct 2005 14:13:47 -0000 1.3 *************** *** 1,4 **** --- 1,22 ---- <?php + /** ------------------------------------------------------------------------ + * Subject : mxBB - a fully modular portal and CMS (for phpBB) + * Author : Jon Ohlsson and the mxBB Team + * Credits : The phpBB Group & Marc Morisette, wGeric + * Copyright : (C) 2002-2005 mxBB Portal + * Email : jo...@mx... + * Project site : www.mxbb-portal.com + * ------------------------------------------------------------------------- + * + * $Id$ + */ + /** + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + $lang['Rebuild_search'] = 'Rebuild Search'; $lang['Rebuild_search_desc'] = 'This will index every post in your Knowledge Base, rebuilding the search tables. It may take a long time to process, so please do not move from this page until it is complete.'; Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/language/lang_english/lang_main.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lang_main.php 12 Apr 2005 19:30:56 -0000 1.1 --- lang_main.php 1 Oct 2005 14:13:47 -0000 1.2 *************** *** 1,398 **** ! <?php ! /*************************************************************************** ! * lang_main.php ! * ------------------- ! * begin : Sunday, Mar 31, 2003 ! * copyright : (C) 2001 The phpBB Group ! * email : su...@ph... ! * ! * $Id$ ! * ! * ! ***************************************************************************/ ! ! /*************************************************************************** ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! ***************************************************************************/ ! ! $lang['KB_title'] = 'Knowledge Base'; ! $lang['Article'] = 'Article'; ! $lang['Category'] = 'Category'; ! $lang['Article_description'] = 'Description'; ! $lang['Article_type'] = 'Type'; ! $lang['Article_keywords'] = 'Keywords'; ! $lang['Articles'] = 'Articles'; ! $lang['Add_article'] = 'Add Article'; ! $lang['Click_cat_to_add'] = 'Click on Category to add Article'; ! $lang['KB_Home'] = 'KB Home'; ! $lang['No_articles'] = 'No Articles'; ! $lang['Article_title'] = 'Article Name'; ! $lang['Article_text'] = 'Article text'; ! $lang['Add_article'] = 'Submit Article'; ! $lang['Read_article'] = 'Reading Article'; ! $lang['Article_not_exsist'] = 'Article doesn\'t exsist'; ! $lang['Category_not_exsist'] = 'Category doesn\'t exsist'; ! ! $lang['Edit'] = 'Edit'; ! ! $lang['Article_submitted_Approve'] = 'Article Submitted Successfully.<br />An Administrator will review your article and decide whether to let user\'s view it or not.'; ! $lang['Article_submitted'] = 'Article Submitted Successfully.'; ! $lang['Click_return_kb'] = 'Click %sHere%s to return to the ' . $lang['KB_title']; ! $lang['Click_return_article'] = 'Click %sHere%s to return to the ' . $lang['Article']; ! ! $lang['Article_Edited_Approve'] = 'Article Edited Successfully.<br />It need to be approved again before user\'s can view it.'; ! $lang['Article_Edited'] = 'Article Edited Successfully.'; ! $lang['Edit_article'] = 'Edit Article'; ! ! $lang['KB_title'] = 'Knowledge Base'; ! $lang['KB_art_description'] = 'Here you can approve articles so users can view them or you can delete articles.'; ! $lang['Art_man'] = 'Article Manager'; ! $lang['Cat_man'] = 'Category Manager'; ! $lang['KB_cat_description'] = 'Here you can add, edit, or delete categories in the Knowledge Base'; ! $lang['Art_action'] = 'Action'; ! ! //approve ! $lang['Art_edit'] = 'Edited Articles'; ! $lang['Art_not_approved'] = 'Not Approved'; ! $lang['Art_approved'] = 'Approved'; ! $lang['Approve'] = 'Approve'; ! $lang['Un_approve'] = 'Un-Approve'; ! $lang['Article_approved'] = 'Article is now Approved.'; ! $lang['Article_unapproved'] = 'Article is now Not Approved.'; ! ! //delete ! $lang['Delete'] = 'Delete'; ! $lang['Confirm_art_delete'] = 'Are you sure you want to delete this article?'; ! $lang['Confirm_art_delete_yes'] = '%sYes, I want to delete this article%s'; ! $lang['Confirm_art_delete_no'] = '%sNo, I don\'t want to delete this article%s'; ! $lang['Article_deleted'] = 'Article Deleted Successfully.'; ! ! $lang['Click_return_article_manager'] = 'Click %sHere%s to return to the Article Manager'; ! ! //cat manager ! $lang['Create_cat'] = 'Create New Category:'; ! $lang['Create'] = 'Create'; ! $lang['Cat_settings'] = 'Category Settings'; ! $lang['Create_description'] = 'Here you can change the name of the category and add a description to the new category.'; ! $lang['Cat_created'] = 'Category Created Successfully.'; ! $lang['Click_return_cat_manager'] = 'Click %sHere%s to return to the ' . $lang['Cat_man']; ! $lang['Edit_description'] = 'Here you can edit the settings of your category'; ! $lang['Edit_cat'] = 'Edit Category'; ! $lang['Cat_edited'] = 'Category Edited Successfully.'; ! $lang['Parent'] = 'Parent'; ! ! $lang['Cat_delete_title'] = 'Delete Category'; ! $lang['Cat_delete_desc'] = 'Here you can delete a category and move all of the articles in it to a new category'; ! $lang['Cat_deleted'] = 'Category Deleted Successfully.'; ! $lang['Delete_all_articles'] = 'Delete Articles'; ! ! //configuration ! $lang['KB_config'] = 'KB Configuration'; ! $lang['Art_types'] = 'Article Types'; ! $lang['KB_config_title'] = 'Knowledge Base Configuration'; ! $lang['KB_config_explain'] = 'Change the configuration of your Knowledge Base'; ! $lang['New_title'] = 'Allow New Articles'; ! $lang['New_explain'] = 'Let users post new articles on in your Knowledge Base'; ! $lang['Edit_name'] = 'Allow Editing'; ! $lang['Edit_explain'] = 'Allow users to edit their articles after posting them'; ! $lang['Notify_name'] = 'Notify me by'; ! $lang['Notify_explain'] = 'Choose which way to receive notices that new articles have been posted'; ! $lang['PM'] = 'PM'; ! $lang['Click_return_kb_config'] = 'Click %sHere%s to return to Knowledge Base Configuration'; ! $lang['Admin_id_name'] = 'Admin ID'; ! $lang['Admin_id_explain'] = 'This is the user id number that PM notifications will be sent to.'; ! $lang['Approve_new_name'] = 'Approve new Articles'; ! $lang['Approve_new_explain'] = 'Change whether <b />new</b /> articles need to be approved or not'; ! $lang['Approve_edit_name'] = 'Approve Edited Articles'; ! $lang['Approve_edit_explain'] = 'Change whether <b />edited</b /> articles need to be approved or not'; ! $lang['Allow_anon_name'] = 'Allow anonymous posting of Articles'; ! $lang['Allow_anon_explain'] = 'Change whether <b />new</b /> articles can be submitted anonymously'; ! $lang['Del_topic'] = 'Delete Topic'; ! $lang['Del_topic_explain'] = 'When you delete an article, do you want its comments topic to be deleted also?'; ! ! $lang['Use_comments'] = 'Comments'; ! $lang['Use_comments_explain'] = 'Enable comments for articles, to be inserted in the phpbb forum'; ! $lang['Use_ratings'] = 'Ratings'; ! $lang['Use_ratings_explain'] = 'Enable ratings for articles'; ! ! $lang['Forum_id'] = 'Forum ID'; ! $lang['Forum_id_explain'] = 'This is the forum that the article\'s comments will be kept'; ! ! ! // ! // Permissions ! // ! $lang['KB_Auth_Title'] = 'KB Permissions'; ! $lang['KB_Auth_Explain'] = 'Here you can choose which usergroup(s) can be the moderators for each kb category or just has the private access'; ! $lang['Select_a_Category'] = 'Select a Category'; ! $lang['Look_up_Category'] = 'Look up Category'; ! $lang['KB_Auth_successfully'] = 'Auth has been updated successfully'; ! $lang['Click_return_KB_auth'] = 'Click %sHere%s to return to the KB Permissions'; ! ! $lang['Upload'] = 'Upload'; ! $lang['Rate'] = 'Rate'; ! $lang['Comment'] = 'Comment'; ! $lang['Approval'] = 'Approval'; ! $lang['Approval_edit'] = 'Approval Edit'; ! ! $lang['Allow_rating'] = 'Allow ratings'; ! $lang['Allow_rating_explain'] = 'Users are allowed to rate articles.'; ! ! $lang['Allow_anonymos_rating'] = 'Allow anonymos ratings'; ! $lang['Allow_anonymos_rating_explain'] = 'If ratings is activated, allow anonymos users to add ratings to your articles'; ! ! $lang['KB_config_updated'] = 'Knowledge Base Configuration Updated Successfully.'; ! ! $lang['KB_notify_subject_new'] = 'New Article!'; ! $lang['KB_notify_subject_edited'] = 'Edited Article!'; ! $lang['KB_notify_subject_approved'] = 'Approved Article!'; ! $lang['KB_notify_subject_unapproved'] = 'Unapproved Article!'; ! $lang['KB_notify_body'] = 'An article has been submitted or modified:'; ! ! $lang['Category_Permissions'] = 'Category Permissions'; ! $lang['Category_Title'] = 'Category Title'; ! $lang['Category_Desc'] = 'Category Description'; ! $lang['View_level'] = 'View Level'; ! $lang['Upload_level'] = 'Upload Level'; ! $lang['Rate_level'] = 'Rate Level'; ! $lang['Comment_level'] = 'Comment Level'; ! $lang['Edit_level'] = ' Edit Level'; ! $lang['Delete_level'] = 'Delete Level'; ! $lang['Approval_level'] = 'Approval Level'; ! $lang['Approval_edit_level'] = 'Approval Edit Level'; ! ! $lang['KB_Rules_post_can'] = 'You <b>can</b> post new articles in this category'; ! $lang['KB_Rules_post_cannot'] = 'You <b>cannot</b> post new articles in this category'; ! $lang['KB_Rules_comment_can'] = 'You <b>can</b> comment articles in this category'; ! $lang['KB_Rules_comment_cannot'] = 'You <b>cannot</b> comment articles in this category'; ! $lang['KB_Rules_edit_can'] = 'You <b>can</b> edit your articles in this category'; ! $lang['KB_Rules_edit_cannot'] = 'You <b>cannot</b> edit your articles in this category'; ! $lang['KB_Rules_delete_can'] = 'You <b>can</b> delete your articles in this category'; ! $lang['KB_Rules_delete_cannot'] = 'You <b>cannot</b> delete your articles in this category'; ! $lang['KB_Rules_rate_can'] = 'You <b>can</b> rate articles in this category'; ! $lang['KB_Rules_rate_cannot'] = 'You <b>cannot</b> rate articles in this category'; ! $lang['KB_Rules_approval_can'] = 'Articles <b>need no</b> approval in this category'; ! $lang['KB_Rules_approval_cannot'] = 'Articles <b>need</b> approval in this category'; ! $lang['KB_Rules_approval_edit_can'] = 'Article edits <b>need no</b> approval in this category'; ! $lang['KB_Rules_approval_edit_cannot'] = 'Article edits <b>need</b> approval in this category'; ! $lang['KB_Rules_moderate'] = 'You <b>can</b> %smoderate this category%s'; // %s replaced by a href links, do not remove! ! $lang['KB_Rules_moderate_can'] = 'You <b>can</b> moderate this category'; // %s replaced by a href links, do not remove! ! ! $lang['Comments_show'] = 'Display article comments.'; ! $lang['Comments_show_explain'] = '- also displays comments in the article page'; ! $lang['Comments_show_title'] = 'User comments'; ! ! $lang['Mod_group'] = 'KB Moderator Group'; ! $lang['Mod_group_explain'] = '- with KB Admin permissions!'; ! ! $lang['Bump_post'] = 'Bumping article post'; ! $lang['Bump_post_explain'] = 'When editing an article, a reply is posted in the article topic notifying of the updated article.'; ! ! $lang['Stats_list'] = 'Show KB Stats'; ! $lang['Stats_list_explain'] = 'Show KB stats in the header.'; ! ! $lang['Header_banner'] = 'Show Top Logo'; ! $lang['Header_banner_explain'] = 'Show KB logo in the header.'; ! ! $lang['Comment_info'] = 'Comments settings'; ! $lang['Rating_info'] = 'Ratings settings'; ! ! ! //types ! $lang['Types_man'] = 'Types Manager'; ! $lang['KB_types_description'] = 'Here you can add delete and edit the different article types'; ! $lang['Create_type'] = 'Create new Article Type:'; ! $lang['Type_created'] = 'Article Type Created Successfully.'; ! $lang['Click_return_type_manager'] = 'Click %sHere%s to return to the Types Manager'; ! ! $lang['Edit_type'] = 'Edit Type'; ! $lang['Edit_type_description'] = 'Here you can edit the name of the type'; ! $lang['Type_edited'] = 'Article Type Edited Successfully.'; ! ! $lang['Type_delete_title'] = 'Delete Article Type'; ! $lang['Type_delete_desc'] = 'Here you can change what the article type is of the articles that have the type you are deleting.'; ! $lang['Change_type'] = 'Change article\'s type to'; ! $lang['Change_and_Delete'] = 'Change and Delete'; ! $lang['Type_deleted'] = 'Article Type Deleted Successfully.'; ! ! $lang['Pre_text_name'] = 'Article Submission Instructions'; ! $lang['Pre_text_header'] = 'Article Submission Instructions Header'; ! $lang['Pre_text_body'] = 'Article Submission Instructions Body'; ! $lang['Pre_text_explain'] = 'This is text instructions displayed to users at the top of the submission forum.'; ! ! $lang['Show'] = 'Show'; ! $lang['Hide'] = 'Hide'; ! ! $lang['Empty_fields'] ='Please fill out all parts of the form.'; ! $lang['Empty_fields_return'] ='Click %sHere%s to return to the form.'; ! $lang['Empty_category'] ='You must choose a category'; ! $lang['Empty_type']='You must choose a type'; ! $lang['Empty_article_name'] = 'You must fill out the article name'; ! $lang['Empty_article_desc'] = 'You must fill out the article description'; ! ! $lang['Read_full_article'] = '>>Read Full Article'; ! $lang['Comments'] = 'Comments'; ! ! $lang['No_add'] = 'You can\'t add a new article'; ! $lang['No_edit'] = 'You can\'t edit this article!'; ! $lang['Post_comments'] = 'Post your comments'; ! ! $lang['Category_sub'] = 'Sub-Categories'; ! $lang['Quick_stats'] = 'Quick Stats'; ! ! // added ! ! $lang['Edited_Article_info'] = 'Article updated by '; ! $lang['No_Articles'] = 'This category is empty!'; ! $lang['Not_authorized'] = 'Sorry, you are not authorized!'; ! $lang['TOC'] = 'Contents'; ! ! // Rate ! $lang['Votes_label'] = 'Rating '; ! $lang['Votes'] = 'vote(s)'; ! $lang['No_votes'] = 'No votes'; ! $lang['Rate'] = 'Rate Article'; ! $lang['ADD_RATING'] = '[Rate Article]'; ! $lang['Rerror'] = 'Sorry, you have already rated this article.'; ! $lang['Rateinfo'] = 'You are about to rate the article <i>{filename}</i>.<br />Please select a rating. 1 is the worst, 10 is the best.'; ! $lang['Rconf'] = 'You have given <i>{filename}</i> a rating of {rate}.<br />This makes the files new rating {newrating}/10.'; ! $lang['R1'] = '1'; ! $lang['R2'] = '2'; ! $lang['R3'] = '3'; ! $lang['R4'] = '4'; ! $lang['R5'] = '5'; ! $lang['R6'] = '6'; ! $lang['R7'] = '7'; ! $lang['R8'] = '8'; ! $lang['R9'] = '9'; ! $lang['R10'] = '10'; ! $lang['Click_return_rate'] = 'Click %sHere%s to return to article'; ! ! // Print version ! $lang['Print_version'] = '[Printable version]'; ! ! // Stats ! $lang['Top_toprated'] = 'Toprated Articles'; ! $lang['Top_most_popular'] = 'Most Popular'; ! $lang['Top_latest'] = 'Latest Articles'; ! ! // Votes check ! $lang['Votes_check_ip'] = 'Validate ratings - ip'; ! $lang['Votes_check_ip_explain'] = 'Only one vote per IP-adress is permitted.'; ! ! $lang['Votes_check_userid'] = 'Validate ratings - user'; ! $lang['Votes_check_userid_explain'] = 'Users may only vote once.'; ! ! $lang['Article_pag'] = 'Article pagination'; ! $lang['Article_pag_explain'] = 'The number of articles to show in a (stats) category before pagination.'; ! ! $lang['Comments_pag'] = 'Comments pagination'; ! $lang['Comments_pag_explain'] = 'The number of comments to show for the article before pagination.'; ! ! $lang['News_sort'] = 'Article sort method'; ! $lang['News_sort_explain'] = 'Define how articles are sorted within its category.'; ! ! $lang['News_sort_par'] = 'ASC or DESC sorting'; ! $lang['News_sort_par_explain'] = ''; ! ! // ! // General strings from the news admin panel ! // ! ! $lang['News_settings'] = "KB Block Settings"; ! $lang['News_settings_short_explain'] = "Configure some options for the front-page news."; ! $lang['News_settings_explain'] = "Here you can edit the configuration for the KB Block. This panel lets you extract what categories the block will display, thus you'll create subinstances of the module."; ! ! // ! // Update result messages ! // ! ! $lang['News_updated_return_settings'] = "KB block configuration updated successfully.<br /><br />Click %shere%s to return to main page."; // %s's for URI params - DO NOT REMOVE ! $lang['News_update_error'] = "Couldn't update KB block configuration.<br /><br />This mod is designed for MySQL so please contact the author if you have troubles. If you can offer a translation of the SQL into other database formats, please send them to:<br />"; ! ! // Custom Field ! $lang['Fieldselecttitle'] = 'Select what to do'; ! $lang['Afield'] = 'Custom Field: Add'; ! $lang['Efield'] = 'Custom Field: Edit'; ! $lang['Dfield'] = 'Custom Field: Delete'; ! $lang['Mfieldtitle'] = 'Custom Fields'; ! $lang['Afieldtitle'] = 'Add Field'; ! $lang['Efieldtitle'] = 'Edit Field'; ! $lang['Dfieldtitle'] = 'Delete Field'; ! $lang['Fieldexplain'] = 'You can use the custom fields management section to add, edit, and delete custom fields. You can use custom fields to add more information about an article.'; ! $lang['Fieldname'] = 'Field Name'; ! $lang['Fieldnameinfo'] = 'This is the name of the field, for example \'File Size\''; ! $lang['Fielddesc'] = 'Field Description'; ! $lang['Fielddescinfo'] = 'This is a description of the field, for example \'File Size in Megabytes\''; ! $lang['Fieldadded'] = 'The custom field has been successfully added'; ! $lang['Fieldedited'] = 'The custom field you selected has been successfully edited'; ! $lang['Dfielderror'] = 'You didn\'t select any fields to delete'; ! $lang['Fieldsdel'] = 'The custom fields you selected have been successfully deleted'; ! ! $lang['Field_data'] = 'Options'; ! $lang['Field_data_info'] = 'Enter the options that the user can choose from. Separate each option with a new-line (carriage return).'; ! $lang['Field_regex'] = 'Regular Expression'; ! $lang['Field_regex_info'] = 'You may require the input field to match a regular expression %s(PCRE)%s.'; ! $lang['Field_order'] = 'Display Order'; ! ! //Fields Types ! ! $lang['Field_Input'] = 'Single-Line Text Box'; ! $lang['Field_Textarea'] = 'Multiple-Line Text Box'; ! $lang['Field_Radio'] = 'Single-Selection Radio Buttons'; ! $lang['Field_Select'] = 'Single-Selection Menu'; ! $lang['Field_Select_multiple'] = 'Multiple-Selection Menu'; ! $lang['Field_Checkbox'] = 'Multiple-Selection Checkbox'; ! ! $lang['Click_return'] = 'Click %sHere%s to return to the previous page'; ! ! // added ! $lang['Cat_all'] = "All"; ! ! $lang['L_Pages'] = "Pages"; ! $lang['L_Pages_explain'] = "Use the '[pages]' command to split the article into pages"; ! $lang['L_Toc'] = "Table of contents (TOC)"; ! $lang['L_Toc_explain'] = "Use the '[toc]' command to add entry in the TOC"; ! $lang['L_Abstract'] = "Abstract"; ! $lang['L_Abstract_explain'] = "Use the '[abstract]...[/abstract]' environment to insert an abstract"; ! ! $lang['L_Title_Format'] = "Title"; ! $lang['L_Title_Format_explain'] = "Use the '[title]...[/title]' environment to insert a main title"; ! ! $lang['L_Subtitle_Format'] = "Subtitle"; ! $lang['L_Subtitle_Format_explain'] = "Use the '[subtitle]...[/subtitle]' environment to insert a subtitle"; ! ! $lang['L_Subsubtitle_Format'] = "Subsubtitle"; ! $lang['L_Subsubtitle_Format'] = "Use the '[subsubtitle]...[/subsubtitle]' environment to insert a small header"; ! ! $lang['L_Options'] = "Options:"; ! $lang['L_Formatting'] = "Formatting:"; ! ! $lang['Default_article_id'] = "Set default article, for the article viewer"; ! ! // Added for v. 2.0 ! $lang['KB_comment_prefix'] = '[ KB ] '; ! ! $lang['Wysiwyg'] = 'Use wysiwyg editor'; ! $lang['Wysiwyg_explain'] = 'If enabled, the standard bbcode/html/smilies input dialog is replaced by a wysiwyg editor.'; ! ! $lang['Wysiwyg_path'] = 'Path to wysiwyg software'; ! $lang['Wysiwyg_path_explain'] = 'This is the path (from mxBB/phpBB root) to the wysiwyg software folder, eg \'modules/\' if you have uploaded for example tinemce in modules/tinymce.'; ! ! $lang['Formatting_fixup'] = 'Fixup formatting'; ! $lang['Formatting_fixup_explain'] = 'I enabled, the article text is reformatted: wordwrapping, url truncates, img resizing, some bbcode reformatting etc'; ! ! $lang['Addtional_field'] = 'More information (optional)'; ! ! $lang['No_cat_comments_forum_id'] = 'Comments are enabled but you have not specified the target phpBB forum category in the KB adminCP - Cateogries'; ! ! // Quick Nav ! $lang['Quick_nav'] = 'Quick KB Navigation'; ! $lang['Quick_jump'] = 'Go'; ! ?> \ No newline at end of file --- 1,396 ---- ! <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! $lang['KB_title'] = 'Knowledge Base'; ! $lang['Article'] = 'Article'; ! $lang['Category'] = 'Category'; ! $lang['Article_description'] = 'Description'; ! $lang['Article_type'] = 'Type'; ! $lang['Article_keywords'] = 'Keywords'; ! $lang['Articles'] = 'Articles'; ! $lang['Add_article'] = 'Add Article'; ! $lang['Click_cat_to_add'] = 'Click on Category to add Article'; ! $lang['KB_Home'] = 'KB Home'; ! $lang['No_articles'] = 'No Articles'; ! $lang['Article_title'] = 'Article Name'; ! $lang['Article_text'] = 'Article text'; ! $lang['Add_article'] = 'Submit Article'; ! $lang['Read_article'] = 'Reading Article'; ! $lang['Article_not_exsist'] = 'Article doesn\'t exsist'; ! $lang['Category_not_exsist'] = 'Category doesn\'t exsist'; ! ! $lang['Edit'] = 'Edit'; ! ! $lang['Article_submitted_Approve'] = 'Article Submitted Successfully.<br />An Administrator will review your article and decide whether to let user\'s view it or not.'; ! $lang['Article_submitted'] = 'Article Submitted Successfully.'; ! $lang['Click_return_kb'] = 'Click %sHere%s to return to the ' . $lang['KB_title']; ! $lang['Click_return_article'] = 'Click %sHere%s to return to the ' . $lang['Article']; ! ! $lang['Article_Edited_Approve'] = 'Article Edited Successfully.<br />It need to be approved again before user\'s can view it.'; ! $lang['Article_Edited'] = 'Article Edited Successfully.'; ! $lang['Edit_article'] = 'Edit Article'; ! ! $lang['KB_title'] = 'Knowledge Base'; ! $lang['KB_art_description'] = 'Here you can approve articles so users can view them or you can delete articles.'; ! $lang['Art_man'] = 'Article Manager'; ! $lang['Cat_man'] = 'Category Manager'; ! $lang['KB_cat_description'] = 'Here you can add, edit, or delete categories in the Knowledge Base'; ! $lang['Art_action'] = 'Action'; ! ! //approve ! $lang['Art_edit'] = 'Edited Articles'; ! $lang['Art_not_approved'] = 'Not Approved'; ! $lang['Art_approved'] = 'Approved'; ! $lang['Approve'] = 'Approve'; ! $lang['Un_approve'] = 'Un-Approve'; ! $lang['Article_approved'] = 'Article is now Approved.'; ! $lang['Article_unapproved'] = 'Article is now Not Approved.'; ! ! //delete ! $lang['Delete'] = 'Delete'; ! $lang['Confirm_art_delete'] = 'Are you sure you want to delete this article?'; ! $lang['Confirm_art_delete_yes'] = '%sYes, I want to delete this article%s'; ! $lang['Confirm_art_delete_no'] = '%sNo, I don\'t want to delete this article%s'; ! $lang['Article_deleted'] = 'Article Deleted Successfully.'; ! ! $lang['Click_return_article_manager'] = 'Click %sHere%s to return to the Article Manager'; ! ! //cat manager ! $lang['Create_cat'] = 'Create New Category:'; ! $lang['Create'] = 'Create'; ! $lang['Cat_settings'] = 'Category Settings'; ! $lang['Create_description'] = 'Here you can change the name of the category and add a description to the new category.'; ! $lang['Cat_created'] = 'Category Created Successfully.'; ! $lang['Click_return_cat_manager'] = 'Click %sHere%s to return to the ' . $lang['Cat_man']; ! $lang['Edit_description'] = 'Here you can edit the settings of your category'; ! $lang['Edit_cat'] = 'Edit Category'; ! $lang['Cat_edited'] = 'Category Edited Successfully.'; ! $lang['Parent'] = 'Parent'; ! ! $lang['Cat_delete_title'] = 'Delete Category'; ! $lang['Cat_delete_desc'] = 'Here you can delete a category and move all of the articles in it to a new category'; ! $lang['Cat_deleted'] = 'Category Deleted Successfully.'; ! $lang['Delete_all_articles'] = 'Delete Articles'; ! ! //configuration ! $lang['KB_config'] = 'KB Configuration'; ! $lang['Art_types'] = 'Article Types'; ! $lang['KB_config_title'] = 'Knowledge Base Configuration'; ! $lang['KB_config_explain'] = 'Change the configuration of your Knowledge Base'; ! $lang['New_title'] = 'Allow New Articles'; ! $lang['New_explain'] = 'Let users post new articles on in your Knowledge Base'; ! $lang['Edit_name'] = 'Allow Editing'; ! $lang['Edit_explain'] = 'Allow users to edit their articles after posting them'; ! $lang['Notify_name'] = 'Notify me by'; ! $lang['Notify_explain'] = 'Choose which way to receive notices that new articles have been posted'; ! $lang['PM'] = 'PM'; ! $lang['Click_return_kb_config'] = 'Click %sHere%s to return to Knowledge Base Configuration'; ! $lang['Admin_id_name'] = 'Admin ID'; ! $lang['Admin_id_explain'] = 'This is the user id number that PM notifications will be sent to.'; ! $lang['Approve_new_name'] = 'Approve new Articles'; ! $lang['Approve_new_explain'] = 'Change whether <b />new</b /> articles need to be approved or not'; ! $lang['Approve_edit_name'] = 'Approve Edited Articles'; ! $lang['Approve_edit_explain'] = 'Change whether <b />edited</b /> articles need to be approved or not'; ! $lang['Allow_anon_name'] = 'Allow anonymous posting of Articles'; ! $lang['Allow_anon_explain'] = 'Change whether <b />new</b /> articles can be submitted anonymously'; ! $lang['Del_topic'] = 'Delete Topic'; ! $lang['Del_topic_explain'] = 'When you delete an article, do you want its comments topic to be deleted also?'; ! ! $lang['Use_comments'] = 'Comments'; ! $lang['Use_comments_explain'] = 'Enable comments for articles, to be inserted in the phpbb forum'; ! $lang['Use_ratings'] = 'Ratings'; ! $lang['Use_ratings_explain'] = 'Enable ratings for articles'; ! ! $lang['Forum_id'] = 'Forum ID'; ! $lang['Forum_id_explain'] = 'This is the forum that the article\'s comments will be kept'; ! ! ! // ! // Permissions ! // ! $lang['KB_Auth_Title'] = 'KB Permissions'; ! $lang['KB_Auth_Explain'] = 'Here you can choose which usergroup(s) can be the moderators for each kb category or just has the private access'; ! $lang['Select_a_Category'] = 'Select a Category'; ! $lang['Look_up_Category'] = 'Look up Category'; ! $lang['KB_Auth_successfully'] = 'Auth has been updated successfully'; ! $lang['Click_return_KB_auth'] = 'Click %sHere%s to return to the KB Permissions'; ! ! $lang['Upload'] = 'Upload'; ! $lang['Rate'] = 'Rate'; ! $lang['Comment'] = 'Comment'; ! $lang['Approval'] = 'Approval'; ! $lang['Approval_edit'] = 'Approval Edit'; ! ! $lang['Allow_rating'] = 'Allow ratings'; ! $lang['Allow_rating_explain'] = 'Users are allowed to rate articles.'; ! ! $lang['Allow_anonymos_rating'] = 'Allow anonymos ratings'; ! $lang['Allow_anonymos_rating_explain'] = 'If ratings is activated, allow anonymos users to add ratings to your articles'; ! ! $lang['KB_config_updated'] = 'Knowledge Base Configuration Updated Successfully.'; ! ! $lang['KB_notify_subject_new'] = 'New Article!'; ! $lang['KB_notify_subject_edited'] = 'Edited Article!'; ! $lang['KB_notify_subject_approved'] = 'Approved Article!'; ! $lang['KB_notify_subject_unapproved'] = 'Unapproved Article!'; ! $lang['KB_notify_body'] = 'An article has been submitted or modified:'; ! ! $lang['Category_Permissions'] = 'Category Permissions'; ! $lang['Category_Title'] = 'Category Title'; ! $lang['Category_Desc'] = 'Category Description'; ! $lang['View_level'] = 'View Level'; ! $lang['Upload_level'] = 'Upload Level'; ! $lang['Rate_level'] = 'Rate Level'; ! $lang['Comment_level'] = 'Comment Level'; ! $lang['Edit_level'] = ' Edit Level'; ! $lang['Delete_level'] = 'Delete Level'; ! $lang['Approval_level'] = 'Approval Level'; ! $lang['Approval_edit_level'] = 'Approval Edit Level'; ! ! $lang['KB_Rules_post_can'] = 'You <b>can</b> post new articles in this category'; ! $lang['KB_Rules_post_cannot'] = 'You <b>cannot</b> post new articles in this category'; ! $lang['KB_Rules_comment_can'] = 'You <b>can</b> comment articles in this category'; ! $lang['KB_Rules_comment_cannot'] = 'You <b>cannot</b> comment articles in this category'; ! $lang['KB_Rules_edit_can'] = 'You <b>can</b> edit your articles in this category'; ! $lang['KB_Rules_edit_cannot'] = 'You <b>cannot</b> edit your articles in this category'; ! $lang['KB_Rules_delete_can'] = 'You <b>can</b> delete your articles in this category'; ! $lang['KB_Rules_delete_cannot'] = 'You <b>cannot</b> delete your articles in this category'; ! $lang['KB_Rules_rate_can'] = 'You <b>can</b> rate articles in this category'; ! $lang['KB_Rules_rate_cannot'] = 'You <b>cannot</b> rate articles in this category'; ! $lang['KB_Rules_approval_can'] = 'Articles <b>need no</b> approval in this category'; ! $lang['KB_Rules_approval_cannot'] = 'Articles <b>need</b> approval in this category'; ! $lang['KB_Rules_approval_edit_can'] = 'Article edits <b>need no</b> approval in this category'; ! $lang['KB_Rules_approval_edit_cannot'] = 'Article edits <b>need</b> approval in this category'; ! $lang['KB_Rules_moderate'] = 'You <b>can</b> %smoderate this category%s'; // %s replaced by a href links, do not remove! ! $lang['KB_Rules_moderate_can'] = 'You <b>can</b> moderate this category'; // %s replaced by a href links, do not remove! ! ! $lang['Comments_show'] = 'Display article comments.'; ! $lang['Comments_show_explain'] = '- also displays comments in the article page'; ! $lang['Comments_show_title'] = 'User comments'; ! ! $lang['Mod_group'] = 'KB Moderator Group'; ! $lang['Mod_group_explain'] = '- with KB Admin permissions!'; ! ! $lang['Bump_post'] = 'Bumping article post'; ! $lang['Bump_post_explain'] = 'When editing an article, a reply is posted in the article topic notifying of the updated article.'; ! ! $lang['Stats_list'] = 'Show KB Stats'; ! $lang['Stats_list_explain'] = 'Show KB stats in the header.'; ! ! $lang['Header_banner'] = 'Show Top Logo'; ! $lang['Header_banner_explain'] = 'Show KB logo in the header.'; ! ! $lang['Comment_info'] = 'Comments settings'; ! $lang['Rating_info'] = 'Ratings settings'; ! ! ! //types ! $lang['Types_man'] = 'Types Manager'; ! $lang['KB_types_description'] = 'Here you can add delete and edit the different article types'; ! $lang['Create_type'] = 'Create new Article Type:'; ! $lang['Type_created'] = 'Article Type Created Successfully.'; ! $lang['Click_return_type_manager'] = 'Click %sHere%s to return to the Types Manager'; ! ! $lang['Edit_type'] = 'Edit Type'; ! $lang['Edit_type_description'] = 'Here you can edit the name of the type'; ! $lang['Type_edited'] = 'Article Type Edited Successfully.'; ! ! $lang['Type_delete_title'] = 'Delete Article Type'; ! $lang['Type_delete_desc'] = 'Here you can change what the article type is of the articles that have the type you are deleting.'; ! $lang['Change_type'] = 'Change article\'s type to'; ! $lang['Change_and_Delete'] = 'Change and Delete'; ! $lang['Type_deleted'] = 'Article Type Deleted Successfully.'; ! ! $lang['Pre_text_name'] = 'Article Submission Instructions'; ! $lang['Pre_text_header'] = 'Article Submission Instructions Header'; ! $lang['Pre_text_body'] = 'Article Submission Instructions Body'; ! $lang['Pre_text_explain'] = 'This is text instructions displayed to users at the top of the submission forum.'; ! ! $lang['Show'] = 'Show'; ! $lang['Hide'] = 'Hide'; ! ! $lang['Empty_fields'] ='Please fill out all parts of the form.'; ! $lang['Empty_fields_return'] ='Click %sHere%s to return to the form.'; ! $lang['Empty_category'] ='You must choose a category'; ! $lang['Empty_type']='You must choose a type'; ! $lang['Empty_article_name'] = 'You must fill out the article name'; ! $lang['Empty_article_desc'] = 'You must fill out the article description'; ! ! $lang['Read_full_article'] = '>>Read Full Article'; ! $lang['Comments'] = 'Comments'; ! ! $lang['No_add'] = 'You can\'t add a new article'; ! $lang['No_edit'] = 'You can\'t edit this article!'; ! $lang['Post_comments'] = 'Post your comments'; ! ! $lang['Category_sub'] = 'Sub-Categories'; ! $lang['Quick_stats'] = 'Quick Stats'; ! ! // added ! ! $lang['Edited_Article_info'] = 'Article updated by '; ! $lang['No_Articles'] = 'This category is empty!'; ! $lang['Not_authorized'] = 'Sorry, you are not authorized!'; ! $lang['TOC'] = 'Contents'; ! ! // Rate ! $lang['Votes_label'] = 'Rating '; ! $lang['Votes'] = 'vote(s)'; ! $lang['No_votes'] = 'No votes'; ! $lang['Rate'] = 'Rate Article'; ! $lang['ADD_RATING'] = '[Rate Article]'; ! $lang['Rerror'] = 'Sorry, you have already rated this article.'; ! $lang['Rateinfo'] = 'You are about to rate the article <i>{filename}</i>.<br />Please select a rating. 1 is the worst, 10 is the best.'; ! $lang['Rconf'] = 'You have given <i>{filename}</i> a rating of {rate}.<br />This makes the files new rating {newrating}/10.'; ! $lang['R1'] = '1'; ! $lang['R2'] = '2'; ! $lang['R3'] = '3'; ! $lang['R4'] = '4'; ! $lang['R5'] = '5'; ! $lang['R6'] = '6'; ! $lang['R7'] = '7'; ! $lang['R8'] = '8'; ! $lang['R9'] = '9'; ! $lang['R10'] = '10'; ! $lang['Click_return_rate'] = 'Click %sHere%s to return to article'; ! ! // Print version ! $lang['Print_version'] = '[Printable version]'; ! ! // Stats ! $lang['Top_toprated'] = 'Toprated Articles'; ! $lang['Top_most_popular'] = 'Most Popular'; ! $lang['Top_latest'] = 'Latest Articles'; ! ! // Votes check ! $lang['Votes_check_ip'] = 'Validate ratings - ip'; ! $lang['Votes_check_ip_explain'] = 'Only one vote per IP-adress is permitted.'; ! ! $lang['Votes_check_userid'] = 'Validate ratings - user'; ! $lang['Votes_check_userid_explain'] = 'Users may only vote once.'; ! ! $lang['Article_pag'] = 'Article pagination'; ! $lang['Article_pag_explain'] = 'The number of articles to show in a (stats) category before pagination.'; ! ! $lang['Comments_pag'] = 'Comments pagination'; ! $lang['Comments_pag_explain'] = 'The number of comments to show for the article before pagination.'; ! ! $lang['News_sort'] = 'Article sort method'; ! $lang['News_sort_explain'] = 'Define how articles are sorted within its category.'; ! ! $lang['News_sort_par'] = 'ASC or DESC sorting'; ! $lang['News_sort_par_explain'] = ''; ! ! // ! // General strings from the news admin panel ! // ! ! $lang['News_settings'] = "KB Block Settings"; ! $lang['News_settings_short_explain'] = "Configure some options for the front-page news."; ! $lang['News_settings_explain'] = "Here you can edit the configuration for the KB Block. This panel lets you extract what categories the block will display, thus you'll create subinstances of the module."; ! ! // ! // Update result messages ! // ! ! $lang['News_updated_return_settings'] = "KB block configuration updated successfully.<br /><br />Click %shere%s to return to main page."; // %s's for URI params - DO NOT REMOVE ! $lang['News_update_error'] = "Couldn't update KB block configuration.<br /><br />This mod is designed for MySQL so please contact the author if you have troubles. If you can offer a translation of the SQL into other database formats, please send them to:<br />"; ! ! // Custom Field ! $lang['Fieldselecttitle'] = 'Select what to do'; ! $lang['Afield'] = 'Custom Field: Add'; ! $lang['Efield'] = 'Custom Field: Edit'; ! $lang['Dfield'] = 'Custom Field: Delete'; ! $lang['Mfieldtitle'] = 'Custom Fields'; ! $lang['Afieldtitle'] = 'Add Field'; ! $lang['Efieldtitle'] = 'Edit Field'; ! $lang['Dfieldtitle'] = 'Delete Field'; ! $lang['Fieldexplain'] = 'You can use the custom fields management section to add, edit, and delete custom fields. You can use custom fields to add more information about an article.'; ! $lang['Fieldname'] = 'Field Name'; ! $lang['Fieldnameinfo'] = 'This is the name of the field, for example \'File Size\''; ! $lang['Fielddesc'] = 'Field Description'; ! $lang['Fielddescinfo'] = 'This is a description of the field, for example \'File Size in Megabytes\''; ! $lang['Fieldadded'] = 'The custom field has been successfully added'; ! $lang['Fieldedited'] = 'The custom field you selected has been successfully edited'; ! $lang['Dfielderror'] = 'You didn\'t select any fields to delete'; ! $lang['Fieldsdel'] = 'The custom fields you selected have been successfully deleted'; ! ! $lang['Field_data'] = 'Options'; ! $lang['Field_data_info'] = 'Enter the options that the user can choose from. Separate each option with a new-line (carriage return).'; ! $lang['Field_regex'] = 'Regular Expression'; ! $lang['Field_regex_info'] = 'You may require the input field to match a regular expression %s(PCRE)%s.'; ! $lang['Field_order'] = 'Display Order'; ! ! //Fields Types ! ! $lang['Field_Input'] = 'Single-Line Text Box'; ! $lang['Field_Textarea'] = 'Multiple-Line Text Box'; ! $lang['Field_Radio'] = 'Single-Selection Radio Buttons'; ! $lang['Field_Select'] = 'Single-Selection Menu'; ! $lang['Field_Select_multiple'] = 'Multiple-Selection Menu'; ! $lang['Field_Checkbox'] = 'Multiple-Selection Checkbox'; ! ! $lang['Click_return'] = 'Click %sHere%s to return to the previous page'; ! ! // added ! $lang['Cat_all'] = "All"; ! ! $lang['L_Pages'] = "Pages"; ! $lang['L_Pages_explain'] = "Use the '[pages]' command to split the article into pages"; ! $lang['L_Toc'] = "Table of contents (TOC)"; ! $lang['L_Toc_explain'] = "Use the '[toc]' command to add entry in the TOC"; ! $lang['L_Abstract'] = "Abstract"; ! $lang['L_Abstract_explain'] = "Use the '[abstract]...[/abstract]' environment to insert an abstract"; ! ! $lang['L_Title_Format'] = "Title"; ! $lang['L_Title_Format_explain'] = "Use the '[title]...[/title]' environment to insert a main title"; ! ! $lang['L_Subtitle_Format'] = "Subtitle"; ! $lang['L_Subtitle_Format_explain'] = "Use the '[subtitle]...[/subtitle]' environment to insert a subtitle"; ! ! $lang['L_Subsubtitle_Format'] = "Subsubtitle"; ! $lang['L_Subsubtitle_Format'] = "Use the '[subsubtitle]...[/subsubtitle]' environment to insert a small header"; ! ! $lang['L_Options'] = "Options:"; ! $lang['L_Formatting'] = "Formatting:"; ! ! $lang['Default_article_id'] = "Set default article, for the article viewer"; ! ! // Added for v. 2.0 ! $lang['KB_comment_prefix'] = '[ KB ] '; ! ! $lang['Wysiwyg'] = 'Use wysiwyg editor'; ! $lang['Wysiwyg_explain'] = 'If enabled, the standard bbcode/html/smilies input dialog is replaced by a wysiwyg editor.'; ! ! $lang['Wysiwyg_path'] = 'Path to wysiwyg software'; ! $lang['Wysiwyg_path_explain'] = 'This is the path (from mxBB/phpBB root) to the wysiwyg software folder, eg \'modules/\' if you have uploaded for example tinemce in modules/tinymce.'; ! ! $lang['Formatting_fixup'] = 'Fixup formatting'; ! $lang['Formatting_fixup_explain'] = 'I enabled, the article text is reformatted: wordwrapping, url truncates, img resizing, some bbcode reformatting etc'; ! ! $lang['Addtional_field'] = 'More information (optional)'; ! ! $lang['No_cat_comments_forum_id'] = 'Comments are enabled but you have not specified the target phpBB forum category in the KB adminCP - Cateogries'; ! ! // Quick Nav ! $lang['Quick_nav'] = 'Quick KB Navigation'; ! $lang['Quick_jump'] = 'Go'; ! ?> \ No newline at end of file |
Update of /cvsroot/mxbb/mx_kb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1260/modules/mx_kb Modified Files: db_install.php db_uninstall.php db_upgrade.php install_kb_tables.php kb.php kb_article_reader.php kb_search.php upgrade_kb_tables.php Log Message: updated all file headers Index: kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** kb.php 22 Sep 2005 10:09:17 -0000 1.21 --- kb.php 1 Oct 2005 14:13:46 -0000 1.22 *************** *** 1,13 **** <?php /** ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : This kb module is based on wGEric's phpbb mod and ! * adapted for mx. It has been greatly improved and bugfixed ! * and is currently developed independent of original code... * * $Id$ --- 1,11 ---- <?php /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ *************** *** 21,26 **** */ - // Switch for making this run as a phpBB MOD or mxBB module - if ( file_exists( './viewtopic.php' ) ) // -------------------------------------------- phpBB MOD MODE { --- 19,22 ---- Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/db_upgrade.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** db_upgrade.php 22 Sep 2005 10:09:17 -0000 1.25 --- db_upgrade.php 1 Oct 2005 14:13:46 -0000 1.26 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: install_kb_tables.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/install_kb_tables.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** install_kb_tables.php 12 Apr 2005 19:30:42 -0000 1.3 --- install_kb_tables.php 1 Oct 2005 14:13:46 -0000 1.4 *************** *** 1,22 **** <?php ! /*************************************************************************** ! * install_kb_tables.php ! * ------------------- ! * begin : Wednesday, May 16, 2002 ! * copyright : Eric ! * email : er...@eg... ! * ! * $Id: install_kb_tables.php ! * ! ***************************************************************************/ ! /*************************************************************************** ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! ***************************************************************************/ define('IN_PHPBB', 1); --- 1,21 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ define('IN_PHPBB', 1); Index: upgrade_kb_tables.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/upgrade_kb_tables.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** upgrade_kb_tables.php 21 Apr 2005 19:36:16 -0000 1.3 --- upgrade_kb_tables.php 1 Oct 2005 14:13:46 -0000 1.4 *************** *** 1,22 **** <?php ! /*************************************************************************** ! * install_kb_tables.php ! * ------------------- ! * begin : Wednesday, May 16, 2002 ! * copyright : Eric ! * email : er...@eg... ! * ! * $Id: install_kb_tables.php ! * ! ***************************************************************************/ ! /*************************************************************************** ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! ***************************************************************************/ define('IN_PHPBB', 1); --- 1,21 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ define('IN_PHPBB', 1); Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/db_install.php,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** db_install.php 22 Sep 2005 10:09:17 -0000 1.31 --- db_install.php 1 Oct 2005 14:13:46 -0000 1.32 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: kb_article_reader.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_article_reader.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** kb_article_reader.php 22 Sep 2005 10:09:17 -0000 1.7 --- kb_article_reader.php 1 Oct 2005 14:13:46 -0000 1.8 *************** *** 1,13 **** <?php /** ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : This kb module is based on wGEric's phpbb mod and ! * adapted for mx. It has been greatly improved and bugfixed ! * and is currently developed independent of original code... * * $Id$ --- 1,11 ---- <?php /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ Index: kb_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_search.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** kb_search.php 20 Apr 2005 19:30:19 -0000 1.13 --- kb_search.php 1 Oct 2005 14:13:46 -0000 1.14 *************** *** 1,11 **** <?php ! /** ! * kb_search.php ! * ------------------- ! * begin : Sunday, Mar 31, 2003 ! * copyright : (C) 2001 The phpBB Group ! * email : su...@ph... * ! * $Id: kb_search.php,v 1.0.0 */ --- 1,13 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * ! * $Id$ */ *************** *** 17,22 **** */ - // Switch for making this run as a phpBB MOD or mxBB module - if ( file_exists( './viewtopic.php' ) ) // -------------------------------------------- phpBB MOD MODE { --- 19,22 ---- Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/db_uninstall.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** db_uninstall.php 22 Sep 2005 10:09:17 -0000 1.12 --- db_uninstall.php 1 Oct 2005 14:13:46 -0000 1.13 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ |
|
From: Jon O. <jon...@us...> - 2005-10-02 19:51:34
|
Update of /cvsroot/mxbb/mx_kb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1260/modules/mx_kb/admin Modified Files: admin_kb_art.php admin_kb_auth.php admin_kb_cat.php admin_kb_config.php admin_kb_custom.php admin_kb_rebuild_search.php admin_kb_types.php kb_config.php mx_module_defs.php Log Message: updated all file headers Index: admin_kb_art.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/admin_kb_art.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** admin_kb_art.php 1 Oct 2005 08:53:23 -0000 1.23 --- admin_kb_art.php 1 Oct 2005 14:13:46 -0000 1.24 *************** *** 1,11 **** <?php /** ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : * ------------------------------------------------------------------------- * --- 1,10 ---- <?php /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * Index: kb_config.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/kb_config.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** kb_config.php 1 May 2005 20:19:23 -0000 1.10 --- kb_config.php 1 Oct 2005 14:13:46 -0000 1.11 *************** *** 1,11 **** <?php /** ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : * ------------------------------------------------------------------------- * --- 1,10 ---- <?php /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * *************** *** 13,17 **** */ ! /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by --- 12,16 ---- */ ! /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by Index: admin_kb_rebuild_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/admin_kb_rebuild_search.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** admin_kb_rebuild_search.php 1 Oct 2005 08:53:23 -0000 1.9 --- admin_kb_rebuild_search.php 1 Oct 2005 14:13:46 -0000 1.10 *************** *** 1,14 **** <?php ! /*************************************************************************** ! * admin_rebuild_search.php ! * ------------------- ! * begin : Thursday, Jul 12, 2001 ! * copyright : (C) 2001 The phpBB Group ! * email : su...@ph... ! * ! * $Id$ ! * ! * ! ***************************************************************************/ $start_time = time (); --- 1,21 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ $start_time = time (); Index: admin_kb_types.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/admin_kb_types.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** admin_kb_types.php 1 Oct 2005 08:53:23 -0000 1.14 --- admin_kb_types.php 1 Oct 2005 14:13:46 -0000 1.15 *************** *** 1,11 **** <?php /** ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : * ------------------------------------------------------------------------- * --- 1,10 ---- <?php /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/mx_module_defs.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_module_defs.php 22 Sep 2005 10:09:17 -0000 1.3 --- mx_module_defs.php 1 Oct 2005 14:13:46 -0000 1.4 *************** *** 1,11 **** <?php /** ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : * ------------------------------------------------------------------------- * --- 1,10 ---- <?php /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * *************** *** 13,17 **** */ ! /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by --- 12,16 ---- */ ! /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by *************** *** 20,24 **** */ - /********************************************************************************\ | Class: mx_blockcp_parameter --- 19,22 ---- Index: admin_kb_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/admin_kb_auth.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** admin_kb_auth.php 1 Oct 2005 08:53:23 -0000 1.9 --- admin_kb_auth.php 1 Oct 2005 14:13:46 -0000 1.10 *************** *** 1,11 **** <?php /** ------------------------------------------------------------------------ ! * subject : mx-portal module ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : * * $Id$ --- 1,11 ---- <?php /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ Index: admin_kb_config.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/admin_kb_config.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** admin_kb_config.php 1 Oct 2005 08:53:23 -0000 1.22 --- admin_kb_config.php 1 Oct 2005 14:13:46 -0000 1.23 *************** *** 1,11 **** <?php /** ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : * ------------------------------------------------------------------------- * --- 1,10 ---- <?php /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * Index: admin_kb_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/admin_kb_cat.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** admin_kb_cat.php 1 Oct 2005 08:53:23 -0000 1.16 --- admin_kb_cat.php 1 Oct 2005 14:13:46 -0000 1.17 *************** *** 1,11 **** <?php /** ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : * ------------------------------------------------------------------------- * --- 1,10 ---- <?php /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * Index: admin_kb_custom.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/admin_kb_custom.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** admin_kb_custom.php 1 Oct 2005 08:53:23 -0000 1.9 --- admin_kb_custom.php 1 Oct 2005 14:13:46 -0000 1.10 *************** *** 1,14 **** <?php ! /** ! * pafiledb mx module ! * ------------------- ! * copyright : (C) 2002 MX-System ! * begin : oct 23, 2003 ! * email : jon...@ho... ! * based on code by Mohd Basri, and pafilDB * * $Id$ */ if ( file_exists( './../viewtopic.php' ) ) { --- 1,22 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, wGeric ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ */ + /** + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + if ( file_exists( './../viewtopic.php' ) ) { |
|
From: Jon O. <jon...@us...> - 2005-10-02 19:38:56
|
Update of /cvsroot/mxbb/mx_quotations In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2235/modules/mx_quotations Modified Files: db_install.php db_uninstall.php db_upgrade.php mx_last_quotations.php mx_quotations.php mx_random_quotation.php Log Message: updated all file headers Index: mx_quotations.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/mx_quotations.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** mx_quotations.php 6 Mar 2005 01:13:24 -0000 1.6 --- mx_quotations.php 1 Oct 2005 14:16:59 -0000 1.7 *************** *** 1,11 **** <?php /** ! * mx_quotations.php ! * ------------------- ! * begin : August, 2003 ! * copyright : (C) 2003 MX-System ! * email : su...@mx... ! * Author : Jaime (ja...@ci...) ! * credit : based mx_quotes module by alter_knacker */ --- 1,20 ---- <?php + /** ------------------------------------------------------------------------ + * Subject : mxBB - a fully modular portal and CMS (for phpBB) + * Author : Jon Ohlsson and the mxBB Team + * Credits : The phpBB Group & Marc Morisette, Jaime (ja...@ci...) + * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 + * Email : jo...@mx... + * Project site : www.mxbb-portal.com + * ------------------------------------------------------------------------- + * + * $Id$ + */ + /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/db_uninstall.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_uninstall.php 22 Sep 2005 10:16:17 -0000 1.4 --- db_uninstall.php 1 Oct 2005 14:16:59 -0000 1.5 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Jaime (ja...@ci...) ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: mx_last_quotations.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/mx_last_quotations.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_last_quotations.php 9 Jan 2005 21:46:13 -0000 1.3 --- mx_last_quotations.php 1 Oct 2005 14:16:59 -0000 1.4 *************** *** 1,13 **** <?php /** ! * mx_last_quotations.php ! * ------------------- ! * begin : August, 2003 ! * copyright : (C) 2003 MX-System ! * email : su...@mx... ! * Author : Jaime (ja...@ci...) ! * credit : based mx_quotes module by alter_knacker */ // Set $limit to the number of quotes you want to display $limit = '8'; --- 1,25 ---- <?php + /** ------------------------------------------------------------------------ + * Subject : mxBB - a fully modular portal and CMS (for phpBB) + * Author : Jon Ohlsson and the mxBB Team + * Credits : The phpBB Group & Marc Morisette, Jaime (ja...@ci...) + * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 + * Email : jo...@mx... + * Project site : www.mxbb-portal.com + * ------------------------------------------------------------------------- + * + * $Id$ + */ + /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ + + // // Set $limit to the number of quotes you want to display + // $limit = '8'; Index: mx_random_quotation.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/mx_random_quotation.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_random_quotation.php 9 Jan 2005 21:46:13 -0000 1.2 --- mx_random_quotation.php 1 Oct 2005 14:16:59 -0000 1.3 *************** *** 1,15 **** <?php /** ! * mx_random_quotation.php ! * ------------------- ! * begin : August, 2003 ! * copyright : (C) 2003 MX-System ! * email : su...@mx... ! * Author : Jaime (ja...@ci...) ! * credit : based mx_quotes module by alter_knacker */ // Set up for phpBB intergration. ! define ( 'IN_PHPBB', true ); --- 1,25 ---- <?php + /** ------------------------------------------------------------------------ + * Subject : mxBB - a fully modular portal and CMS (for phpBB) + * Author : Jon Ohlsson and the mxBB Team + * Credits : The phpBB Group & Marc Morisette, Jaime (ja...@ci...) + * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 + * Email : jo...@mx... + * Project site : www.mxbb-portal.com + * ------------------------------------------------------------------------- + * + * $Id$ + */ + /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ + // // Set up for phpBB intergration. ! // define ( 'IN_PHPBB', true ); Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/db_upgrade.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** db_upgrade.php 22 Sep 2005 10:16:17 -0000 1.6 --- db_upgrade.php 1 Oct 2005 14:16:59 -0000 1.7 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Jaime (ja...@ci...) ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/db_install.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** db_install.php 22 Sep 2005 10:16:17 -0000 1.5 --- db_install.php 1 Oct 2005 14:16:59 -0000 1.6 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Jaime (ja...@ci...) ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ |
|
From: Jon O. <jon...@us...> - 2005-10-02 19:35:08
|
Update of /cvsroot/mxbb/mx_newssuite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1560/modules/mx_newssuite Modified Files: db_install.php db_uninstall.php db_upgrade.php news.php Log Message: updated all file headers Index: news.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/news.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** news.php 22 Sep 2005 10:10:18 -0000 1.10 --- news.php 1 Oct 2005 14:14:44 -0000 1.11 *************** *** 1,11 **** <?php /** ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : * ------------------------------------------------------------------------- * --- 1,10 ---- <?php /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * *************** *** 13,17 **** */ ! /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by --- 12,16 ---- */ ! /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/db_uninstall.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_uninstall.php 22 Sep 2005 10:10:18 -0000 1.4 --- db_uninstall.php 1 Oct 2005 14:14:44 -0000 1.5 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/db_install.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** db_install.php 22 Sep 2005 10:10:18 -0000 1.6 --- db_install.php 1 Oct 2005 14:14:44 -0000 1.7 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/db_upgrade.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** db_upgrade.php 22 Sep 2005 10:10:18 -0000 1.7 --- db_upgrade.php 1 Oct 2005 14:14:44 -0000 1.8 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ |
|
From: Jon O. <jon...@us...> - 2005-10-02 19:22:53
|
Update of /cvsroot/mxbb/mx_phpbb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1898/modules/mx_phpbb/admin Modified Files: admin_forums_ext.php mx_module_defs.php Log Message: updated all file headers Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/admin/mx_module_defs.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_module_defs.php 20 Sep 2005 15:40:17 -0000 1.1 --- mx_module_defs.php 1 Oct 2005 14:15:50 -0000 1.2 *************** *** 1,11 **** <?php /** ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : * ------------------------------------------------------------------------- * --- 1,10 ---- <?php /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Markus ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * *************** *** 13,17 **** */ ! /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by --- 12,16 ---- */ ! /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by *************** *** 19,23 **** * (at your option) any later version. */ - /********************************************************************************\ --- 18,21 ---- Index: admin_forums_ext.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/admin/admin_forums_ext.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_forums_ext.php 21 Sep 2005 20:25:27 -0000 1.2 --- admin_forums_ext.php 1 Oct 2005 14:15:50 -0000 1.3 *************** *** 1,9 **** <?php ! /** ! * admin_forums_ext.php ! * ------------------- ! * begin : Thursday, Jul 12, 2001 ! * copyright : (C) 2001 The phpBB Group ! * email : su...@ph... * * $Id$ --- 1,11 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Markus ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ |
|
From: Jon O. <jon...@us...> - 2005-10-02 19:22:52
|
Update of /cvsroot/mxbb/mx_phpbb/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1898/modules/mx_phpbb/language/lang_english Modified Files: lang_admin.php Log Message: updated all file headers Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/language/lang_english/lang_admin.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lang_admin.php 20 Sep 2005 15:40:17 -0000 1.1 --- lang_admin.php 1 Oct 2005 14:15:50 -0000 1.2 *************** *** 1,23 **** <?php ! /*************************************************************************** ! * lang_admin.php ! * ------------------- ! * begin : Sunday, Mar 31, 2003 ! * copyright : (C) 2001 The phpBB Group ! * email : su...@ph... ! * ! * $Id$ ! * ! * ! ***************************************************************************/ ! /*************************************************************************** ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! ***************************************************************************/ $lang['mx_forum_admin'] = 'mxBB Forum Integration'; --- 1,21 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Markus ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ $lang['mx_forum_admin'] = 'mxBB Forum Integration'; |
|
From: Jon O. <jon...@us...> - 2005-10-02 19:22:51
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1898/modules/mx_phpbb/includes Modified Files: forum_hack.php phpbb_constants.php phpbb_defs.php phpbb_footer.php Log Message: updated all file headers Index: phpbb_footer.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/phpbb_footer.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** phpbb_footer.php 20 Sep 2005 15:40:17 -0000 1.1 --- phpbb_footer.php 1 Oct 2005 14:15:50 -0000 1.2 *************** *** 1,11 **** <?php /** ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : * ------------------------------------------------------------------------- * --- 1,10 ---- <?php /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Markus ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** forum_hack.php 1 Oct 2005 08:54:04 -0000 1.2 --- forum_hack.php 1 Oct 2005 14:15:50 -0000 1.3 *************** *** 1,11 **** <?php ! /** ! * forum_hack.php ! * -------------- ! * begin : June, 2004 ! * copyright : phpMiX (c) 2004, mxBB (c) 2005 ! * contact : http://www.mx-system.com ! * module : mx_phpbb ! * file contents : Common definitions for the module. */ --- 1,13 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Markus ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ */ Index: phpbb_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/phpbb_defs.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** phpbb_defs.php 20 Sep 2005 15:40:17 -0000 1.1 --- phpbb_defs.php 1 Oct 2005 14:15:50 -0000 1.2 *************** *** 1,19 **** <?php ! /** ! * newssuite_constants.php ! * ------------------- ! * begin : April, 2003 ! * copyright : (C) 2002 MX-System ! * email : su...@mx... ! * description : define constants ! * Author : Haplo (jon...@ho...) ! * credit : Roman Malarev (romutis), MarcMoris * * $Id$ */ ! // ---------------------------------------------------------------------START ! // This file defines specific constants for the module ! // ------------------------------------------------------------------------- ! // PHPBB MODE ------------------------------------------------------------------------------------------- define( 'NEWS_CAT_TABLE', FORUMS_TABLE ); $cat_extract_order = 'cat_id, forum_order'; --- 1,22 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Markus ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! define( 'NEWS_CAT_TABLE', FORUMS_TABLE ); $cat_extract_order = 'cat_id, forum_order'; Index: phpbb_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/phpbb_constants.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** phpbb_constants.php 20 Sep 2005 15:40:17 -0000 1.1 --- phpbb_constants.php 1 Oct 2005 14:15:50 -0000 1.2 *************** *** 1,18 **** <?php ! /** ! * phpbb_constants.php ! * ------------------- ! * begin : April, 2003 ! * copyright : (C) 2002 MX-System ! * email : su...@mx... ! * description : define constants ! * Author : Haplo (jon...@ho...) ! * credit : Roman Malarev (romutis), MarcMoris * * $Id$ */ ! // ---------------------------------------------------------------------START ! // This file defines specific constants for the module ! // ------------------------------------------------------------------------- define( 'PAGE_FORUM', -502 ); define( 'PHPBB_CONFIG_TABLE', $mx_table_prefix . 'phpbb_plugin_config' ); --- 1,22 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Markus ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! define( 'PAGE_FORUM', -502 ); define( 'PHPBB_CONFIG_TABLE', $mx_table_prefix . 'phpbb_plugin_config' ); |
|
From: Jon O. <jon...@us...> - 2005-10-02 19:15:34
|
Update of /cvsroot/mxbb/mx_calsnails In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7078/modules/mx_calsnails Modified Files: mx_calendar_events.php Log Message: badly formatting mxBB parameters...updated Index: mx_calendar_events.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/mx_calendar_events.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** mx_calendar_events.php 22 Sep 2005 10:08:05 -0000 1.9 --- mx_calendar_events.php 1 Oct 2005 08:52:05 -0000 1.10 *************** *** 62,69 **** define( 'CALRANGE_TODAY' , 'today' ); ! define( 'CALRANGE_THIS_WEEK' , 'this day' ); ! define( 'CALRANGE_NEXT_WEEK' , 'next day' ); ! define( 'CALRANGE_THIS_MONTH', 'this week' ); ! define( 'CALRANGE_NEXT_MONTH', 'next week' ); // Check parameters: assign default values if the module is not correctly installed. --- 62,69 ---- define( 'CALRANGE_TODAY' , 'today' ); ! define( 'CALRANGE_THIS_WEEK' , 'this week' ); ! define( 'CALRANGE_NEXT_WEEK' , 'next week' ); ! define( 'CALRANGE_THIS_MONTH', 'this month' ); ! define( 'CALRANGE_NEXT_MONTH', 'next month' ); // Check parameters: assign default values if the module is not correctly installed. *************** *** 97,122 **** $cal_page_filter = $cal_block_config[$cal_block_id]['cal_filter']['parameter_value'] == 'TRUE'; - /* - - $temp_list2 = $_SESSION['mx_pages']; - - while ( list( $page_idd, $page_roww ) = each( $temp_list2 ) ) - { - $block_countt = count( $page_roww['blocks'] ); - - for( $j = 0; $j < $block_countt; $j++ ) - { - $block_idd = $page_roww['blocks'][$j]['block_id']; - - if ( $cal_block_id == $block_idd ) - { - $cal_page_id = str_replace( 'page_', '', $page_idd ); - $cal_page_filter = $_SESSION['block_' . $cal_block_id]['cal_filter']['parameter_value'] == 'TRUE'; - break; - } - } - } - */ - // Security Check --- 97,100 ---- *************** *** 289,293 **** // Compute top label. - switch ( $events_range ) { --- 267,270 ---- |
|
From: Jon O. <jon...@us...> - 2005-10-02 18:52:27
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7419/modules/mx_phpbb/includes Modified Files: forum_hack.php Log Message: minor fixes Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** forum_hack.php 20 Sep 2005 15:40:17 -0000 1.1 --- forum_hack.php 1 Oct 2005 08:54:04 -0000 1.2 *************** *** 369,375 **** function get_portal_url( $url, $non_html_amp = false, $by_http_vars = false ) { ! global $phpEx; $script_name = $this->_validate_redirection( $url, $by_http_vars ); if ( !empty($script_name) && isset( $this->forum_pages[$script_name] ) && $this->forum_pages[$script_name] > 0 ) --- 369,461 ---- function get_portal_url( $url, $non_html_amp = false, $by_http_vars = false ) { ! global $phpEx, $mx_root_path, $HTTP_GET_VARS, $userdata; $script_name = $this->_validate_redirection( $url, $by_http_vars ); + + // + // Support for the ProfileCP Module + // + if (file_exists($mx_root_path . 'modules/mx_profilecp/profile.php')) + { + switch ($script_name) + { + case 'memberlist': + $mx_profilecp_vars = '&mode=buddy&sub=memberlist'; + break; + + case 'privmsg': + + $get_vars = array('folder', 'sid', 'mode', 'start', 'msgdays', POST_POST_URL, POST_USERS_URL); + $s_call = ''; + $newpm = false; + + for ($i = 0; $i < count($get_vars); $i++) + { + $key = $get_vars[$i]; + $val = $HTTP_GET_VARS[$get_vars[$i]]; + + switch ($get_vars[$i]) + { + case POST_USERS_URL: + $key = 'b'; + break; + + case 'mode': + $newpm = ($val == 'newpm'); + + if (!$newpm) + { + $key = 'privmsg_mode'; + } + break; + + case 'folder': + $key = 'sub'; + break; + + default: + $key = $get_vars[$i]; + } + + if (isset($HTTP_GET_VARS[$get_vars[$i]])) + { + $s_call .= '&' . $key . '=' . $HTTP_GET_VARS[$get_vars[$i]]; + } + } + + $mx_profilecp_vars = '&mode=privmsg'.$s_call; + break; + + case 'profile': + + $s_call = ''; + if ( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) ) + { + $mode = ( isset($HTTP_GET_VARS['mode']) ) ? $HTTP_GET_VARS['mode'] : $HTTP_POST_VARS['mode']; + $user_id = ( isset($HTTP_GET_VARS['u']) ) ? $HTTP_GET_VARS['u'] : $userdata['user_id']; + + if ( $mode == 'viewprofile' ) + { + $s_call = "&mode=viewprofile&u=" . $user_id; + } + else if ( $mode == 'editprofile' || $mode == 'register' ) + { + if ( $mode == 'editprofile' ) + { + $s_call = "&mode=profil"; + } + else + { + $s_call = "&mode=register"; + } + } + } + + $mx_profilecp_vars = $s_call; + + break; + } + + } if ( !empty($script_name) && isset( $this->forum_pages[$script_name] ) && $this->forum_pages[$script_name] > 0 ) *************** *** 377,387 **** if (empty($url)) { ! return $this->portal_url . "index.$phpEx?page=" . $this->forum_pages[$script_name] . '&phpbb_script=' . $script_name; } if ( ( $pos = strpos( $url, '?', $pos + 1 ) ) === false ) { ! return $this->portal_url . "index.$phpEx?page=" . $this->forum_pages[$script_name] . '&phpbb_script=' . $script_name; } ! return $this->portal_url . "index.$phpEx?page=" . $this->forum_pages[$script_name] . ( ( $non_html_amp ) ? '&' : '&' ) . substr( $url, $pos + 1 ) . '&phpbb_script=' . $script_name; } return ''; --- 463,473 ---- if (empty($url)) { ! return $this->portal_url . "index.$phpEx?page=" . $this->forum_pages[$script_name] . '&phpbb_script=' . $script_name . $mx_profilecp_vars; } if ( ( $pos = strpos( $url, '?', $pos + 1 ) ) === false ) { ! return $this->portal_url . "index.$phpEx?page=" . $this->forum_pages[$script_name] . '&phpbb_script=' . $script_name . $mx_profilecp_vars; } ! return $this->portal_url . "index.$phpEx?page=" . $this->forum_pages[$script_name] . ( ( $non_html_amp ) ? '&' : '&' ) . substr( $url, $pos + 1 ) . '&phpbb_script=' . $script_name . $mx_profilecp_vars; } return ''; *************** *** 1108,1112 **** function read_file( $phpbb_file, $sub_call = false ) { ! global $phpbb_root_path, $mx_root_path, $phpEx, $template, $HTTP_POST_VARS, $HTTP_GET_VARS, $db, $userdata, $mode, $theme, $lang, $table_prefix, $mx_table_prefix, $board_config, $portal_config; global $html_entities_match, $html_entities_replace; --- 1194,1198 ---- function read_file( $phpbb_file, $sub_call = false ) { ! global $phpbb_root_path, $mx_root_path, $phpEx, $template, $HTTP_POST_VARS, $HTTP_COOKIE_VARS, $HTTP_GET_VARS, $db, $userdata, $mode, $theme, $lang, $table_prefix, $mx_table_prefix, $board_config, $portal_config; global $html_entities_match, $html_entities_replace; |
|
From: Jon O. <jon...@us...> - 2005-10-02 18:46:18
|
Update of /cvsroot/mxbb/mx_import_tools/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1116/modules/mx_import_tools/includes Modified Files: functions_mod_user.php Log Message: updated all file headers Index: functions_mod_user.php =================================================================== RCS file: /cvsroot/mxbb/mx_import_tools/includes/functions_mod_user.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** functions_mod_user.php 22 Sep 2005 10:26:27 -0000 1.2 --- functions_mod_user.php 1 Oct 2005 14:13:17 -0000 1.3 *************** *** 1,14 **** <?php ! /** ! * Filename: functions_mod_user.php ! * Description: A library consisting of a user class and some wrapper ! * functions which can be used by MOD authors to handle ! * user registration ! * Author: Graham Eames (ph...@gr...) ! * Last Modified: 20-Aug-2004 ! * File Version: 1.2 * ! * Acknowlegments: A few pieces of code in this come from usercp_register.php ! * Much of the rest is adapted from my convertors */ --- 1,13 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Graham Eames (ph...@gr...) ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * ! * $Id$ */ *************** *** 19,26 **** * (at your option) any later version. */ ! // This code requires certain functions to be included, so we'll include the ! // files just in case they are not already used on the calling page ! // NB. This requires that the calling script has set the $phpbb_root_path variable ! // and also that the $db object has been initialized include_once( $phpbb_root_path . 'includes/functions_validate.' . $phpEx ); include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); --- 18,22 ---- * (at your option) any later version. */ ! include_once( $phpbb_root_path . 'includes/functions_validate.' . $phpEx ); include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); |
|
From: Jon O. <jon...@us...> - 2005-10-02 18:46:18
|
Update of /cvsroot/mxbb/mx_import_tools/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1116/modules/mx_import_tools/language/lang_english Modified Files: lang_import.php Log Message: updated all file headers Index: lang_import.php =================================================================== RCS file: /cvsroot/mxbb/mx_import_tools/language/lang_english/lang_import.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lang_import.php 9 Jan 2005 21:39:39 -0000 1.1 --- lang_import.php 1 Oct 2005 14:13:17 -0000 1.2 *************** *** 1,11 **** <?php ! /*************************************************************************** ! * Filename: lang_import.php ! * Description: Import Tools Langauge File ! * Author: Graham Eames (ph...@gr...) ! * Last Modified: 28-Feb-2004 ! * File Version: 1.0 ! * ! ***************************************************************************/ // Error Messages --- 1,21 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Graham Eames (ph...@gr...) ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ // Error Messages |
|
From: Jon O. <jon...@us...> - 2005-10-02 18:37:48
|
Update of /cvsroot/mxbb/mx_profilecp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2005/modules/mx_profilecp Modified Files: db_install.php db_uninstall.php db_upgrade.php profile.php profile_avatar.php profile_birthday.php profile_pic.php Log Message: updated all file headers Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/db_uninstall.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** db_uninstall.php 22 Sep 2005 10:11:46 -0000 1.5 --- db_uninstall.php 1 Oct 2005 14:16:27 -0000 1.6 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Ptirhiik (ad...@rp...) ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/db_upgrade.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** db_upgrade.php 22 Sep 2005 10:11:46 -0000 1.5 --- db_upgrade.php 1 Oct 2005 14:16:27 -0000 1.6 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Ptirhiik (ad...@rp...) ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/db_install.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** db_install.php 22 Sep 2005 10:11:46 -0000 1.6 --- db_install.php 1 Oct 2005 14:16:27 -0000 1.7 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Ptirhiik (ad...@rp...) ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: profile_birthday.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profile_birthday.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** profile_birthday.php 29 Jun 2004 22:27:47 -0000 1.2 --- profile_birthday.php 1 Oct 2005 14:16:27 -0000 1.3 *************** *** 1,25 **** <?php ! /*************************************************************************** ! * profile_birthday.php ! * -------------------- ! * begin : 08/05/2003 ! * copyright : Ptirhiik ! * email : ad...@rp... ! * ! * version : 1.0.0 ! ***************************************************************************/ ! /*************************************************************************** ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * ! ***************************************************************************/ ! define('IN_PORTAL', true); ! define('IN_PHPBB', true); ! // $phpbb_root_path = './'; // Added --- 1,24 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Ptirhiik (ad...@rp...) ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! define('IN_PORTAL', true); ! define('IN_PHPBB', true); // Added Index: profile_avatar.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profile_avatar.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** profile_avatar.php 29 Jun 2004 22:27:47 -0000 1.2 --- profile_avatar.php 1 Oct 2005 14:16:27 -0000 1.3 *************** *** 1,29 **** <?php ! /*************************************************************************** ! * profile_avatar.php ! * ------------------ ! * begin : Saturday, Feb 13, 2001 ! * copyright : (C) 2001 The phpBB Group ! * email : su...@ph... ! * ! * $Id$ ! * ! * begin : 08/05/2003 ! * revision : 1.0.0 ! * ! ***************************************************************************/ ! /*************************************************************************** ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * ! ***************************************************************************/ ! define('IN_PORTAL', true); ! define('IN_PHPBB', true); ! // $phpbb_root_path = './'; // Added --- 1,24 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Ptirhiik (ad...@rp...) ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! define('IN_PORTAL', true); ! define('IN_PHPBB', true); // Added Index: profile_pic.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profile_pic.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** profile_pic.php 29 Jun 2004 22:27:47 -0000 1.2 --- profile_pic.php 1 Oct 2005 14:16:27 -0000 1.3 *************** *** 1,23 **** <?php ! /*************************************************************************** ! * profile_pic.php ! * --------------- ! * begin : 08/05/2003 ! * copyright : Ptirhiik ! * email : ad...@rp... ! * ! * version : 1.0.0 ! ***************************************************************************/ ! /*************************************************************************** ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * ! ***************************************************************************/ ! define('IN_PORTAL', true); // Added --- 1,23 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Ptirhiik (ad...@rp...) ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! define('IN_PORTAL', true); // Added *************** *** 28,32 **** include_once($module_root_path . 'includes/profilcp_constants.'.$phpEx); - // // Start session management --- 28,31 ---- Index: profile.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profile.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** profile.php 9 Jan 2005 21:45:32 -0000 1.4 --- profile.php 1 Oct 2005 14:16:27 -0000 1.5 *************** *** 1,14 **** <?php ! /*************************************************************************** ! * profile.php ! * ----------- ! * begin : 08/05/2003 ! * copyright : Ptirhiik ! * email : ad...@rp... ! * ! * version : 1.0.7 - 22/06/2003 ! * ! ***************************************************************************/ ! // MX if( !function_exists('read_block_config') ) { --- 1,22 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Ptirhiik (ad...@rp...) ! * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! if( !function_exists('read_block_config') ) { |
|
From: Jon O. <jon...@us...> - 2005-10-02 18:30:46
|
Update of /cvsroot/mxbb/mx_gallery2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7161/modules/mx_gallery2 Modified Files: gallery2.php mx_gallery2.pak Added Files: gallery2_toplist.php Log Message: added support for imageBlock (random, recent) Index: gallery2.php =================================================================== RCS file: /cvsroot/mxbb/mx_gallery2/gallery2.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** gallery2.php 27 Sep 2005 18:56:13 -0000 1.1 --- gallery2.php 1 Oct 2005 08:52:41 -0000 1.2 *************** *** 30,34 **** $block_config = read_block_config($block_id); $title = $block_config[$block_id]['block_title']; ! $xtra_gallery_get_pars = !empty($block_config[$block_id]['xtra_get_vars']) ? '&g2_view=core.ShowItem&g2_itemId=' . $block_config[$block_id]['xtra_get_vars'] : ''; // // Includes --- 30,35 ---- $block_config = read_block_config($block_id); $title = $block_config[$block_id]['block_title']; ! $xtra_gallery_get_pars = !empty($block_config[$block_id]['base_album']) ? '&g2_view=core.ShowItem&g2_itemId=' . intval($block_config[$block_id]['base_album']) : ''; ! // // Includes *************** *** 48,54 **** // $relativeG2Path = 'modules/gallery2'; ! $fullpath = realpath($mx_root_path).$relativeG2Path; $embedPath = '/'; ! $embedUri = 'index.php?page=' . $page_id . $xtra_gallery_get_pars; $loginRedirect = '/'; $cookiePath = '/'; --- 49,55 ---- // $relativeG2Path = 'modules/gallery2'; ! $fullpath = realpath($mx_root_path).'/'.$relativeG2Path; $embedPath = '/'; ! $embedUri = 'index.php?page=' . $page_id; $loginRedirect = '/'; $cookiePath = '/'; *************** *** 134,138 **** 'BODY' => $bodyHtml, 'CSS' => $links, ! 'JAVASCRIPT' => $jlink)); $template->pparse('body'); --- 135,140 ---- 'BODY' => $bodyHtml, 'CSS' => $links, ! 'JAVASCRIPT' => $jlink ! )); $template->pparse('body'); --- NEW FILE: gallery2_toplist.php --- <?php /*************************************************************************** * gallery2.php * ------------------- * begin : Sep, 2005 * copyright : (C) 2005 mxBB * email : jon...@mx... * * $Id: gallery2_toplist.php,v 1.1 2005/10/01 08:52:41 jonohlsson Exp $ * * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ /* Externt Bildblock Använd ett PHP-block liknande det som visas nedan för att inkludera ett blidblock på en PHP sida utanför Gallery. <?php @readfile('http://www.samskolan.se/modules/gallery2/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=title'); ?> g2_blocks Pipe(|) separate list chosen from: randomImage, recentImage, viewedImage, randomAlbum, recentAlbum, viewedAlbum, dailyImage, weeklyImage, monthlyImage, dailyAlbum, weeklyAlbum, monthlyAlbum, specificItem; default is randomImage g2_show * Pipe(|) separated list chosen from: title, date, views, owner, heading, fullSize; the value can also be: none g2_itemId Limit the item selection to the subtree of the gallery under the album with the given id; or the id of the item to display when used with specificItem block type g2_maxSize Scale images to this maximum size. If maxSize exceeds the thumbnail dimensions, you must also specify g2_show=fullSize g2_linkTarget Add a link target (for example, to open links in a new browser window) g2_itemFrame * Ram att använda runt bilder g2_albumFrame * Ram att använda runt album If a parameter marked with * is omitted then the site default defined above is used. Image frames require CSS to be displayed correctly. Include the following in the <head> section to support image frames. <link rel="stylesheet" href="http://www.samskolan.se/modules/gallery2/main.php?g2_controller=imageblock.ExternalCSS&g2_frames=wood"/> Specify the frame id (or pipe separated list of ids) in the frames parameter. Omit the parameter to support the image frames configured above. Frame ids are the directory names in the modules/imageframe/frames directory. */ if( !defined('IN_PORTAL') ) { die("Hacking attempt !!!"); } // // Read block settings // $block_config = read_block_config($block_id); $title = $block_config[$block_id]['block_title']; // // Includes // include_once($mx_root_path . "modules/mx_gallery2/includes/gallery_constants.$phpEx"); include_once($mx_root_path . "modules/mx_gallery2/includes/gallery_functions.$phpEx"); // // Get vars // $g2_blocks = !empty($block_config[$block_id]['g2_blocks']['parameter_value']) ? $block_config[$block_id]['g2_blocks']['parameter_value'] : 'randomImage'; $g2_num_of_blocks = !empty($block_config[$block_id]['g2_num_of_blocks']['parameter_value']) ? $block_config[$block_id]['g2_num_of_blocks']['parameter_value'] : '1'; $g2_show = !empty($block_config[$block_id]['g2_show']['parameter_value']) ? unserialize($block_config[$block_id]['g2_show']['parameter_value']) : ''; $g2_subtreeId = !empty($block_config[$block_id]['g2_subtreeId']['parameter_value']) ? $block_config[$block_id]['g2_subtreeId']['parameter_value'] : ''; $g2_maxSize = !empty($block_config[$block_id]['g2_maxSize']['parameter_value']) ? intval($block_config[$block_id]['g2_maxSize']['parameter_value']) : ''; $g2_linkTarget = !empty($block_config[$block_id]['g2_linkTarget']['parameter_value']) ? $block_config[$block_id]['g2_linkTarget']['parameter_value'] : ''; $g2_itemFrame = !empty($block_config[$block_id]['g2_itemFrame']['parameter_value']) ? $block_config[$block_id]['g2_itemFrame']['parameter_value'] : ''; $g2_albumFrame = !empty($block_config[$block_id]['g2_albumFrame']['parameter_value']) ? $block_config[$block_id]['g2_albumFrame']['parameter_value'] : ''; $gallery_block_id = !empty($block_config[$block_id]['target_block']['parameter_value']) ? $block_config[$block_id]['target_block']['parameter_value'] : ''; $g2_page_id = get_page_id( $gallery_block_id ); // // Format the GalleryEmbed::getImageBlock args // /* * @param array ('blocks' => string, 'show' => string, (optional)'heading' => int, * (optional)'itemId' => int, (optional)'maxSize' => int, * (optional)'itemFrame' => frameId, (optional)'albumFrame' => frameId) */ $getImageBlockargs = array(); $getImageBlockargs['heading'] = 1; $g2_blocks_var = ''; for ($i=0;$i<$g2_num_of_blocks;$i++) { $g2_blocks_var .= $i == 0 ? $g2_blocks : '|' . $g2_blocks; } $getImageBlockargs['blocks'] = $g2_blocks_var; $g2_show_var = ''; foreach($g2_show as $key => $value) { $g2_show_var .= empty($g2_show_var) ? $key : '|' . $key; } $getImageBlockargs['show'] = $g2_show_var; $getImageBlockargs['maxSize'] = $g2_maxSize; //$g2_linkTarget_var = $g2_linkTarget != 'none' ? '&g2_linkTarget=' . $g2_linkTarget : ''; if (!empty($g2_subtreeId)) { $getImageBlockargs['itemId'] = $g2_subtreeId; } if ( !empty($g2_itemFrame) ) { $$getImageBlockargs['itemFrame'] = $g2_itemFrame; $g2_frames = 'g2_frames=' . $g2_itemFrame; } else if ( !empty($g2_albumFrame) ) { $getImageBlockargs['albumFrame'] = $g2_albumFrame; $g2_frames = 'g2_frames=' . $g2_albumFrame; } else { $g2_frames = ''; } // // Start template // $template->set_filenames(array( 'body' => 'gallery2.tpl') ); // // Environment variables // $relativeG2Path = 'modules/gallery2'; $fullpath = realpath($mx_root_path).'/'.$relativeG2Path; $embedPath = '/'; $embedUri = 'index.php?page=' . $g2_page_id; $loginRedirect = '/'; $cookiePath = '/'; // // Include the gallery embed class // require_once($relativeG2Path . '/embed.php'); // // Instatiate the mxBB to Gallery Class // $mx_gallery = new mx_gallery(); // // Is mxBB user already mapped in Gallery? If not, do it. // if ( !$mx_gallery->do_map() ) { mx_message_die(CRITICAL_ERROR, $map_debug); } // // When in debug mode, output all gallery embed actions // if (MAP_DEBUG) { echo($map_debug); } // // Init the GalleryEmbed class, passing current user_id // if($userdata['user_id'] != ANONYMOUS) { $ret = GalleryEmbed::init(array( 'embedUri' => $embedUri, 'embedPath' => $embedPath, 'relativeG2Path' => $relativeG2Path, 'loginRedirect' => $loginRedirect, 'activeUserId' => $userdata['user_id'])); if ($ret->isError()) { echo $ret->getAsHtml(); exit; } } else { $ret = GalleryEmbed::init(array( 'embedUri' => $embedUri, 'embedPath' => $embedPath, 'relativeG2Path' => $relativeG2Path, 'loginRedirect' => $loginRedirect, 'activeUserId' => 0)); if ($ret->isError()) { echo $ret->getAsHtml(); exit; } } $links = !empty($g2_frames) ? '<link rel="stylesheet" href="'.PORTAL_URL.'modules/gallery2/main.php?g2_controller=imageblock.ExternalCSS&'.$g2_frames.'"/>' : ''; // // If this is not the main gallery page itself, do NOT send utf-8 header // Note: this is a temp solution to avoid weird characters for mxBB if the imageBlock is used // /* Set the appropriate charset in our HTTP header */ if (!headers_sent() && $g2_page_id != $page_id) { header('Content-Type: text/html; charset=' . $lang['ENCODING']); } // // Hook up with ImageAlbum // $g2data = GalleryEmbed::getImageBlock($getImageBlockargs); $bodyHtml = GalleryUtilities::utf8ToUnicodeEntities($g2data[1]); // // Send to template // $template->assign_vars(array( 'BODY' => $bodyHtml, 'CSS' => $links)); $template->pparse('body'); // // End of code // ?> Index: mx_gallery2.pak =================================================================== RCS file: /cvsroot/mxbb/mx_gallery2/mx_gallery2.pak,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_gallery2.pak 27 Sep 2005 18:58:05 -0000 1.1 --- mx_gallery2.pak 1 Oct 2005 08:52:41 -0000 1.2 *************** *** 5,7 **** --- 5,20 ---- parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - GalleryBlock=+:Demo block=+:102=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 + New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 + function=+:58=+:103=+:Toplist=+:Recent - random - block=+:gallery2_toplist.php=+: + parameter=+:103=+:345=+:g2_albumFrame=+:Text=+:=+: + parameter=+:103=+:338=+:g2_blocks=+:Menu_single_select=+:randomImage=+:a:10:{i:0;s:11:"randomImage";i:1;s:11:"recentImage";i:2;s:11:"viewedImage";i:3;s:11:"randomAlbum";i:4;s:11:"recentAlbum";i:5;s:11:"viewedAlbum";i:6;s:10:"dailyImage";i:7;s:11:"weeklyImage";i:8;s:10:"dailyAlbum";i:9;s:11:"weeklyAlbum";} + parameter=+:103=+:344=+:g2_itemFrame=+:Text=+:=+: + parameter=+:103=+:343=+:g2_linkTarget=+:Radio_single_select=+:none=+:a:2:{i:0;s:4:"none";i:1;s:6:"_blank";} + parameter=+:103=+:342=+:g2_maxSize=+:Number=+:150=+: + parameter=+:103=+:339=+:g2_num_of_blocks=+:Number=+:3=+: + parameter=+:103=+:340=+:g2_show=+:Checkbox_multiple_select=+:=+:a:7:{i:0;s:4:"none";i:1;s:5:"title";i:2;s:4:"date";i:3;s:5:"views";i:4;s:5:"owner";i:5;s:7:"heading";i:6;s:8:"fullSize";} + parameter=+:103=+:341=+:g2_subtreeId=+:Number=+:=+: + parameter=+:103=+:346=+:target_block=+:Function=+:=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "gallery2.php") + parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 + block=+:=+:Demo - Toplist=+:Demo block=+:103=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: Jon O. <jon...@us...> - 2005-10-02 17:55:50
|
Update of /cvsroot/mxbb/mx_gallery2/templates/subSilver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7161/modules/mx_gallery2/templates/subSilver Added Files: gallery2_toplist.tpl Log Message: added support for imageBlock (random, recent) --- NEW FILE: gallery2_toplist.tpl --- <!-- /* * $RCSfile: gallery2_toplist.tpl,v $ * * Gallery - a web based photo album viewer and editor * Copyright (C) 2000-2005 Bharat Mediratta * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /** * Gallery 2 integration for phpBB2. * @version $Revision: 1.1 $ $Date: 2005/10/01 08:52:41 $ * @author Dariush Molavi <da...@nu...> */ --> {CSS} {BODY} |
|
From: Jon O. <jon...@us...> - 2005-10-02 17:52:09
|
Update of /cvsroot/mxbb/mx_profilecp/includes/mods_settings In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2005/modules/mx_profilecp/includes/mods_settings Modified Files: mod_profile_control_panel.php Log Message: updated all file headers Index: mod_profile_control_panel.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/includes/mods_settings/mod_profile_control_panel.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mod_profile_control_panel.php 29 Jun 2004 22:27:47 -0000 1.1 --- mod_profile_control_panel.php 1 Oct 2005 14:16:27 -0000 1.2 *************** *** 1,23 **** <?php ! /*************************************************************************** ! * mod_profile_control_panel.php ! * ----------------------------- ! * begin : 10/08/2003 ! * copyright : Ptirhiik ! * email : ad...@rp... ! * ! * version : 1.0.3 - 31/10/2003 ! * ! ***************************************************************************/ ! ! /*************************************************************************** ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! ***************************************************************************/ if ( !defined('IN_PORTAL') ) --- 1,21 ---- <?php + /** ------------------------------------------------------------------------ + * Subject : mxBB - a fully modular portal and CMS (for phpBB) + * Author : Jon Ohlsson and the mxBB Team + * Credits : The phpBB Group & Marc Morisette, Ptirhiik (ad...@rp...) + * Copyright : (C) 2002-2005 mxBB Portal, phpMiX (c) 2004 + * Email : jo...@mx... + * Project site : www.mxbb-portal.com + * ------------------------------------------------------------------------- + * + * $Id$ + */ ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ if ( !defined('IN_PORTAL') ) |
|
From: Jon O. <jon...@us...> - 2005-10-02 17:32:54
|
Update of /cvsroot/mxbb/mx_pafiledb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1668/modules/mx_pafiledb Modified Files: db_install.php db_uninstall.php db_upgrade.php dload.php dload_lists.php dload_quickdl.php Log Message: updated all file headers Index: dload.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** dload.php 22 Sep 2005 10:11:02 -0000 1.12 --- dload.php 1 Oct 2005 14:15:19 -0000 1.13 *************** *** 1,9 **** <?php ! /** ! * dload.php ! * ------------------- ! * begin : Saturday, Feb 13, 2001 ! * copyright : (C) 2001 The phpBB Group ! * email : su...@ph... * * $Id$ --- 1,11 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ *************** *** 16,22 **** * (at your option) any later version. */ ! ! // Switch for making this run as a phpBB MOD or mxBB module ! if ( file_exists( './viewtopic.php' ) ) // -------------------------------------------- phpBB MOD MODE { --- 18,22 ---- * (at your option) any later version. */ ! if ( file_exists( './viewtopic.php' ) ) // -------------------------------------------- phpBB MOD MODE { Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/db_upgrade.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** db_upgrade.php 22 Sep 2005 10:11:02 -0000 1.9 --- db_upgrade.php 1 Oct 2005 14:15:19 -0000 1.10 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/db_uninstall.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** db_uninstall.php 22 Sep 2005 10:11:02 -0000 1.9 --- db_uninstall.php 1 Oct 2005 14:15:19 -0000 1.10 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/db_install.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** db_install.php 22 Sep 2005 10:11:02 -0000 1.15 --- db_install.php 1 Oct 2005 14:15:19 -0000 1.16 *************** *** 1,21 **** <?php ! /** ! * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal ! * email : jon...@ho... ! * project site : www.mx-system.com ! * * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * ! * $Id$ */ /** * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: dload_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_lists.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** dload_lists.php 21 Apr 2005 20:55:42 -0000 1.9 --- dload_lists.php 1 Oct 2005 14:15:19 -0000 1.10 *************** *** 1,9 **** <?php ! /** ! * album.php ! * ------------------- ! * begin : Tuesday, February 04, 2003 ! * copyright : (C) 2003 Smartor, MX Portal ! * email : jon...@ho... * * $Id$ --- 1,11 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ *************** *** 16,22 **** * (at your option) any later version. */ ! // MX add-on ! // Generate paths for page and standalone mode ! // ...function based on original function written by Markus :-) function this_pa_mxurl( $args = '', $force_standalone_mode = false, $page_id = 1 ) { --- 18,22 ---- * (at your option) any later version. */ ! function this_pa_mxurl( $args = '', $force_standalone_mode = false, $page_id = 1 ) { Index: dload_quickdl.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_quickdl.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** dload_quickdl.php 6 Mar 2005 15:17:50 -0000 1.2 --- dload_quickdl.php 1 Oct 2005 14:15:19 -0000 1.3 *************** *** 1,9 **** <?php ! /** ! * dload.php ! * ------------------- ! * begin : Saturday, Feb 13, 2001 ! * copyright : (C) 2001 The phpBB Group ! * email : su...@ph... * * $Id$ --- 1,11 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Mohd Basri & paFileDB 3.0 ©2001/2002 PHP Arena ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ *************** *** 16,27 **** * (at your option) any later version. */ ! /* - orig ! define('IN_PHPBB', true); ! define('IN_DOWNLOAD', true); ! $phpbb_root_path = './'; ! include($phpbb_root_path . 'extension.inc'); ! include($phpbb_root_path . 'common.'.$phpEx); ! */ ! // MX if ( !function_exists( 'read_block_config' ) ) { --- 18,22 ---- * (at your option) any later version. */ ! if ( !function_exists( 'read_block_config' ) ) { |
|
From: Jon O. <jon...@us...> - 2005-10-02 17:32:51
|
Update of /cvsroot/mxbb/mx_linkdb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1398/modules/mx_linkdb/admin Modified Files: admin_linkdb.php Log Message: updated all file headers Index: admin_linkdb.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/admin/admin_linkdb.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_linkdb.php 9 Jan 2005 21:41:59 -0000 1.1 --- admin_linkdb.php 1 Oct 2005 14:14:17 -0000 1.2 *************** *** 1,21 **** <?php /** ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : * ------------------------------------------------------------------------- - * begin : Saturday, Feb 13, 2001 - * copyright : (C) 2001 The phpBB Group - * email : su...@ph... - * credits to : CRLin * * $Id$ */ ! /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by --- 1,16 ---- <?php /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, pafiledb ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com * ------------------------------------------------------------------------- * * $Id$ */ ! /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by |
Update of /cvsroot/mxbb/mx_smartor/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2352/modules/mx_smartor/admin Modified Files: admin_album_auth.php admin_album_cat.php admin_album_clearcache.php admin_album_clown_SP.php admin_album_config.php admin_album_personal.php Log Message: updated all file headers Index: admin_album_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_auth.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_album_auth.php 12 Apr 2005 19:51:46 -0000 1.4 --- admin_album_auth.php 1 Oct 2005 14:17:36 -0000 1.5 *************** *** 1,206 **** ! <?php ! /** ------------------------------------------------------------------------ ! * subject : mx-portal module ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : ! * ------------------------------------------------------------------------- ! * begin : Tuesday, February 04, 2003 ! * copyright : (C) 2003 Smartor ! * email : sma...@ho... ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! define( 'IN_PORTAL', 1 ); ! ! if ( !empty( $setmodules ) ) ! { ! $filename = basename( __FILE__ ); ! $module['Smartor_Album']['Permissions'] = "modules/mx_smartor/admin/" . $filename; ! return; ! } ! ! // Let's set the root dir for phpBB ! ! $module_root_path = '../'; ! $mx_root_path = '../../../'; ! require( $mx_root_path . 'extension.inc' ); ! require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_constants.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! require( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); ! ! $album_user_id = ALBUM_PUBLIC_GALLERY; ! ! if ( !isset( $HTTP_POST_VARS['submit'] ) ) ! { ! /* // Build the category selector ! $sql = "SELECT cat_id, cat_title, cat_order ! FROM ". ALBUM_CAT_TABLE ." ! ORDER BY cat_order ASC"; ! if( !$result = $db->sql_query($sql) ) ! { ! mx_message_die(GENERAL_ERROR, 'Could not get Category list', '', __LINE__, __FILE__, $sql); ! } ! ! while( $row = $db->sql_fetchrow($result) ) ! { ! $catrows[] = $row; ! } ! ! for ($i = 0; $i < count($catrows); $i++) ! { ! $template->assign_block_vars('catrow', array( ! 'CAT_ID' => $catrows[$i]['cat_id'], ! 'CAT_TITLE' => $catrows[$i]['cat_title']) ! ); ! } ! */ ! album_read_tree(); ! $s_album_cat_list = album_get_tree_option( ALBUM_ROOT_CATEGORY, ALBUM_AUTH_VIEW, ALBUM_SELECTBOX_INCLUDE_ALL | ALBUM_SELECTBOX_INCLUDE_ROOT ); ! // --- Album Category Hierarchy : end ! $template->set_filenames( array( 'body' => 'admin/album_cat_select_body.tpl' ) ! ); ! ! $template->assign_vars( array( 'L_ALBUM_AUTH_TITLE' => $lang['Album_Auth_Title'], ! 'L_ALBUM_AUTH_EXPLAIN' => $lang['Album_Auth_Explain'], ! 'L_SELECT_CAT' => $lang['Select_a_Category'], ! 'S_ALBUM_ACTION' => append_sid( "admin_album_auth.$phpEx" ), ! 'L_LOOK_UP_CAT' => $lang['Look_up_Category'], ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0 ! 'CAT_SELECT_TITLE' => $s_album_cat_list ) ! // --- Album Category Hierarchy : end ! ); ! ! $template->pparse( 'body' ); ! ! include( $mx_root_path . 'admin/page_footer_admin.' . $phpEx ); ! } ! else ! { ! if ( !isset( $HTTP_GET_VARS['cat_id'] ) ) ! { ! $cat_id = intval( $HTTP_POST_VARS['cat_id'] ); ! ! $template->set_filenames( array( 'body' => 'admin/album_auth_body.tpl' ) ! ); ! ! $template->assign_vars( array( 'L_ALBUM_AUTH_TITLE' => $lang['Album_Auth_Title'], ! 'L_ALBUM_AUTH_EXPLAIN' => $lang['Album_Auth_Explain'], ! 'L_SUBMIT' => $lang['Submit'], ! 'L_RESET' => $lang['Reset'], ! ! 'L_GROUPS' => $lang['Usergroups'], ! ! 'L_VIEW' => $lang['View'], ! 'L_UPLOAD' => $lang['Upload'], ! 'L_RATE' => $lang['Rate'], ! 'L_COMMENT' => $lang['Comment'], ! 'L_EDIT' => $lang['Edit'], ! 'L_DELETE' => $lang['Delete'], ! ! 'L_IS_MODERATOR' => $lang['Is_Moderator'], ! 'S_ALBUM_ACTION' => append_sid( "admin_album_auth.$phpEx?cat_id=$cat_id" ), ! ) ! ); ! // Get the list of phpBB usergroups ! $sql = "SELECT group_id, group_name ! FROM " . GROUPS_TABLE . " ! WHERE group_single_user <> " . true . " ! ORDER BY group_name ASC"; ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not get group list', '', __LINE__, __FILE__, $sql ); ! } ! ! while ( $row = $db->sql_fetchrow( $result ) ) ! { ! $groupdata[] = $row; ! } ! // Get info of this cat ! $sql = "SELECT cat_id, cat_title, cat_view_groups, cat_upload_groups, cat_rate_groups, cat_comment_groups, cat_edit_groups, cat_delete_groups, cat_moderator_groups ! FROM " . ALBUM_CAT_TABLE . " ! WHERE cat_id = '$cat_id'"; ! if ( !$result = $db->sql_query( $sql ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not get Category information', '', __LINE__, __FILE__, $sql ); ! } ! ! $thiscat = $db->sql_fetchrow( $result ); ! ! $view_groups = @explode( ',', $thiscat['cat_view_groups'] ); ! $upload_groups = @explode( ',', $thiscat['cat_upload_groups'] ); ! $rate_groups = @explode( ',', $thiscat['cat_rate_groups'] ); ! $comment_groups = @explode( ',', $thiscat['cat_comment_groups'] ); ! $edit_groups = @explode( ',', $thiscat['cat_edit_groups'] ); ! $delete_groups = @explode( ',', $thiscat['cat_delete_groups'] ); ! ! $moderator_groups = @explode( ',', $thiscat['cat_moderator_groups'] ); ! ! for ( $i = 0; $i < count( $groupdata ); $i++ ) ! { ! $template->assign_block_vars( 'grouprow', array( 'GROUP_ID' => $groupdata[$i]['group_id'], ! 'GROUP_NAME' => $groupdata[$i]['group_name'], ! ! 'VIEW_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $view_groups ) ) ? 'checked="checked"' : '', ! ! 'UPLOAD_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $upload_groups ) ) ? 'checked="checked"' : '', ! ! 'RATE_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $rate_groups ) ) ? 'checked="checked"' : '', ! ! 'COMMENT_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $comment_groups ) ) ? 'checked="checked"' : '', ! ! 'EDIT_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $edit_groups ) ) ? 'checked="checked"' : '', ! ! 'DELETE_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $delete_groups ) ) ? 'checked="checked"' : '', ! ! 'MODERATOR_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $moderator_groups ) ) ? 'checked="checked"' : '' ) ! ); ! } ! ! $template->pparse( 'body' ); ! ! include( $mx_root_path . 'admin/page_footer_admin.' . $phpEx ); ! } ! else ! { ! $cat_id = intval( $HTTP_GET_VARS['cat_id'] ); ! ! $view_groups = @implode( ',', $HTTP_POST_VARS['view'] ); ! $upload_groups = @implode( ',', $HTTP_POST_VARS['upload'] ); ! $rate_groups = @implode( ',', $HTTP_POST_VARS['rate'] ); ! $comment_groups = @implode( ',', $HTTP_POST_VARS['comment'] ); ! $edit_groups = @implode( ',', $HTTP_POST_VARS['edit'] ); ! $delete_groups = @implode( ',', $HTTP_POST_VARS['delete'] ); ! ! $moderator_groups = @implode( ',', $HTTP_POST_VARS['moderator'] ); ! ! $sql = "UPDATE " . ALBUM_CAT_TABLE . " ! SET cat_view_groups = '$view_groups', cat_upload_groups = '$upload_groups', cat_rate_groups = '$rate_groups', cat_comment_groups = '$comment_groups', cat_edit_groups = '$edit_groups', cat_delete_groups = '$delete_groups', cat_moderator_groups = '$moderator_groups' ! WHERE cat_id = '$cat_id'"; ! if ( !$result = $db->sql_query( $sql ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not update Album config table', '', __LINE__, __FILE__, $sql ); ! } ! // okay, return a message... ! $message = $lang['Album_Auth_successfully'] . '<br /><br />' . sprintf( $lang['Click_return_album_auth'], '<a href="' . append_sid( "admin_album_auth.$phpEx" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); ! ! mx_message_die( GENERAL_MESSAGE, $message ); ! } ! } ! ! /* Powered by Photo Album v2.x.x (c) 2002-2003 Smartor */ ! ?> \ No newline at end of file --- 1,202 ---- ! <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Smartor (sma...@ho...), Volodymyr (CLowN) Skoryk ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! define( 'IN_PORTAL', 1 ); ! ! if ( !empty( $setmodules ) ) ! { ! $filename = basename( __FILE__ ); ! $module['Smartor_Album']['Permissions'] = "modules/mx_smartor/admin/" . $filename; ! return; ! } ! ! // Let's set the root dir for phpBB ! ! $module_root_path = '../'; ! $mx_root_path = '../../../'; ! require( $mx_root_path . 'extension.inc' ); ! require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_constants.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! require( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); ! ! $album_user_id = ALBUM_PUBLIC_GALLERY; ! ! if ( !isset( $HTTP_POST_VARS['submit'] ) ) ! { ! /* // Build the category selector ! $sql = "SELECT cat_id, cat_title, cat_order ! FROM ". ALBUM_CAT_TABLE ." ! ORDER BY cat_order ASC"; ! if( !$result = $db->sql_query($sql) ) ! { ! mx_message_die(GENERAL_ERROR, 'Could not get Category list', '', __LINE__, __FILE__, $sql); ! } ! ! while( $row = $db->sql_fetchrow($result) ) ! { ! $catrows[] = $row; ! } ! ! for ($i = 0; $i < count($catrows); $i++) ! { ! $template->assign_block_vars('catrow', array( ! 'CAT_ID' => $catrows[$i]['cat_id'], ! 'CAT_TITLE' => $catrows[$i]['cat_title']) ! ); ! } ! */ ! album_read_tree(); ! $s_album_cat_list = album_get_tree_option( ALBUM_ROOT_CATEGORY, ALBUM_AUTH_VIEW, ALBUM_SELECTBOX_INCLUDE_ALL | ALBUM_SELECTBOX_INCLUDE_ROOT ); ! // --- Album Category Hierarchy : end ! $template->set_filenames( array( 'body' => 'admin/album_cat_select_body.tpl' ) ! ); ! ! $template->assign_vars( array( 'L_ALBUM_AUTH_TITLE' => $lang['Album_Auth_Title'], ! 'L_ALBUM_AUTH_EXPLAIN' => $lang['Album_Auth_Explain'], ! 'L_SELECT_CAT' => $lang['Select_a_Category'], ! 'S_ALBUM_ACTION' => append_sid( "admin_album_auth.$phpEx" ), ! 'L_LOOK_UP_CAT' => $lang['Look_up_Category'], ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0 ! 'CAT_SELECT_TITLE' => $s_album_cat_list ) ! // --- Album Category Hierarchy : end ! ); ! ! $template->pparse( 'body' ); ! ! include( $mx_root_path . 'admin/page_footer_admin.' . $phpEx ); ! } ! else ! { ! if ( !isset( $HTTP_GET_VARS['cat_id'] ) ) ! { ! $cat_id = intval( $HTTP_POST_VARS['cat_id'] ); ! ! $template->set_filenames( array( 'body' => 'admin/album_auth_body.tpl' ) ! ); ! ! $template->assign_vars( array( 'L_ALBUM_AUTH_TITLE' => $lang['Album_Auth_Title'], ! 'L_ALBUM_AUTH_EXPLAIN' => $lang['Album_Auth_Explain'], ! 'L_SUBMIT' => $lang['Submit'], ! 'L_RESET' => $lang['Reset'], ! ! 'L_GROUPS' => $lang['Usergroups'], ! ! 'L_VIEW' => $lang['View'], ! 'L_UPLOAD' => $lang['Upload'], ! 'L_RATE' => $lang['Rate'], ! 'L_COMMENT' => $lang['Comment'], ! 'L_EDIT' => $lang['Edit'], ! 'L_DELETE' => $lang['Delete'], ! ! 'L_IS_MODERATOR' => $lang['Is_Moderator'], ! 'S_ALBUM_ACTION' => append_sid( "admin_album_auth.$phpEx?cat_id=$cat_id" ), ! ) ! ); ! // Get the list of phpBB usergroups ! $sql = "SELECT group_id, group_name ! FROM " . GROUPS_TABLE . " ! WHERE group_single_user <> " . true . " ! ORDER BY group_name ASC"; ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not get group list', '', __LINE__, __FILE__, $sql ); ! } ! ! while ( $row = $db->sql_fetchrow( $result ) ) ! { ! $groupdata[] = $row; ! } ! // Get info of this cat ! $sql = "SELECT cat_id, cat_title, cat_view_groups, cat_upload_groups, cat_rate_groups, cat_comment_groups, cat_edit_groups, cat_delete_groups, cat_moderator_groups ! FROM " . ALBUM_CAT_TABLE . " ! WHERE cat_id = '$cat_id'"; ! if ( !$result = $db->sql_query( $sql ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not get Category information', '', __LINE__, __FILE__, $sql ); ! } ! ! $thiscat = $db->sql_fetchrow( $result ); ! ! $view_groups = @explode( ',', $thiscat['cat_view_groups'] ); ! $upload_groups = @explode( ',', $thiscat['cat_upload_groups'] ); ! $rate_groups = @explode( ',', $thiscat['cat_rate_groups'] ); ! $comment_groups = @explode( ',', $thiscat['cat_comment_groups'] ); ! $edit_groups = @explode( ',', $thiscat['cat_edit_groups'] ); ! $delete_groups = @explode( ',', $thiscat['cat_delete_groups'] ); ! ! $moderator_groups = @explode( ',', $thiscat['cat_moderator_groups'] ); ! ! for ( $i = 0; $i < count( $groupdata ); $i++ ) ! { ! $template->assign_block_vars( 'grouprow', array( 'GROUP_ID' => $groupdata[$i]['group_id'], ! 'GROUP_NAME' => $groupdata[$i]['group_name'], ! ! 'VIEW_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $view_groups ) ) ? 'checked="checked"' : '', ! ! 'UPLOAD_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $upload_groups ) ) ? 'checked="checked"' : '', ! ! 'RATE_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $rate_groups ) ) ? 'checked="checked"' : '', ! ! 'COMMENT_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $comment_groups ) ) ? 'checked="checked"' : '', ! ! 'EDIT_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $edit_groups ) ) ? 'checked="checked"' : '', ! ! 'DELETE_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $delete_groups ) ) ? 'checked="checked"' : '', ! ! 'MODERATOR_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $moderator_groups ) ) ? 'checked="checked"' : '' ) ! ); ! } ! ! $template->pparse( 'body' ); ! ! include( $mx_root_path . 'admin/page_footer_admin.' . $phpEx ); ! } ! else ! { ! $cat_id = intval( $HTTP_GET_VARS['cat_id'] ); ! ! $view_groups = @implode( ',', $HTTP_POST_VARS['view'] ); ! $upload_groups = @implode( ',', $HTTP_POST_VARS['upload'] ); ! $rate_groups = @implode( ',', $HTTP_POST_VARS['rate'] ); ! $comment_groups = @implode( ',', $HTTP_POST_VARS['comment'] ); ! $edit_groups = @implode( ',', $HTTP_POST_VARS['edit'] ); ! $delete_groups = @implode( ',', $HTTP_POST_VARS['delete'] ); ! ! $moderator_groups = @implode( ',', $HTTP_POST_VARS['moderator'] ); ! ! $sql = "UPDATE " . ALBUM_CAT_TABLE . " ! SET cat_view_groups = '$view_groups', cat_upload_groups = '$upload_groups', cat_rate_groups = '$rate_groups', cat_comment_groups = '$comment_groups', cat_edit_groups = '$edit_groups', cat_delete_groups = '$delete_groups', cat_moderator_groups = '$moderator_groups' ! WHERE cat_id = '$cat_id'"; ! if ( !$result = $db->sql_query( $sql ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not update Album config table', '', __LINE__, __FILE__, $sql ); ! } ! // okay, return a message... ! $message = $lang['Album_Auth_successfully'] . '<br /><br />' . sprintf( $lang['Click_return_album_auth'], '<a href="' . append_sid( "admin_album_auth.$phpEx" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); ! ! mx_message_die( GENERAL_MESSAGE, $message ); ! } ! } ! ! /* Powered by Photo Album v2.x.x (c) 2002-2003 Smartor */ ! ?> \ No newline at end of file Index: admin_album_clearcache.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_clearcache.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_album_clearcache.php 12 Apr 2005 19:51:47 -0000 1.4 --- admin_album_clearcache.php 1 Oct 2005 14:17:36 -0000 1.5 *************** *** 1,88 **** ! <?php ! /** ------------------------------------------------------------------------ ! * subject : mx-portal module ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : ! * ------------------------------------------------------------------------- ! * begin : Thursday, February 06, 2003 ! * copyright : (C) 2003 Smartor ! * email : sma...@ho... ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! define( 'IN_PORTAL', 1 ); ! ! if ( !empty( $setmodules ) ) ! { ! $filename = basename( __FILE__ ); ! $module['Smartor_Album']['Clear_Cache'] = "modules/mx_smartor/admin/" . $filename; ! return; ! } ! ! // Let's set the root dir for phpBB ! ! $module_root_path = '../'; ! $mx_root_path = '../../../'; ! require( $mx_root_path . 'extension.inc' ); ! require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_constants.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! require( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); ! ! if ( !isset( $HTTP_POST_VARS['confirm'] ) ) ! { ! ! // Start output of page ! ! $template->set_filenames( array( 'body' => 'confirm_body.tpl' ) ! ); ! ! $template->assign_vars( array( 'MESSAGE_TITLE' => $lang['Confirm'], ! ! 'MESSAGE_TEXT' => $lang['Album_clear_cache_confirm'], ! ! 'L_NO' => $lang['No'], ! 'L_YES' => $lang['Yes'], ! ! 'S_CONFIRM_ACTION' => append_sid( "admin_album_clearcache.$phpEx" ), ! ) ! ); ! ! // Generate the page ! ! $template->pparse( 'body' ); ! ! include( $mx_root_path . 'admin/page_footer_admin.' . $phpEx ); ! } ! else ! { ! $cache_dir = @opendir( '../' . ALBUM_CACHE_PATH ); ! ! while ( $cache_file = @readdir( $cache_dir ) ) ! { ! if ( preg_match( '/(\.gif$|\.png$|\.jpg|\.jpeg)$/is', $cache_file ) ) ! { ! @unlink( '../' . ALBUM_CACHE_PATH . $cache_file ); ! } ! } ! ! @closedir( $cache_dir ); ! ! mx_message_die( GENERAL_MESSAGE, $lang['Thumbnail_cache_cleared_successfully'] ); ! } ! ! /* Powered by Photo Album v2.x.x (c) 2002-2003 Smartor */ ! ?> \ No newline at end of file --- 1,84 ---- ! <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Smartor (sma...@ho...), Volodymyr (CLowN) Skoryk ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! define( 'IN_PORTAL', 1 ); ! ! if ( !empty( $setmodules ) ) ! { ! $filename = basename( __FILE__ ); ! $module['Smartor_Album']['Clear_Cache'] = "modules/mx_smartor/admin/" . $filename; ! return; ! } ! ! // Let's set the root dir for phpBB ! ! $module_root_path = '../'; ! $mx_root_path = '../../../'; ! require( $mx_root_path . 'extension.inc' ); ! require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_constants.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! require( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); ! ! if ( !isset( $HTTP_POST_VARS['confirm'] ) ) ! { ! ! // Start output of page ! ! $template->set_filenames( array( 'body' => 'confirm_body.tpl' ) ! ); ! ! $template->assign_vars( array( 'MESSAGE_TITLE' => $lang['Confirm'], ! ! 'MESSAGE_TEXT' => $lang['Album_clear_cache_confirm'], ! ! 'L_NO' => $lang['No'], ! 'L_YES' => $lang['Yes'], ! ! 'S_CONFIRM_ACTION' => append_sid( "admin_album_clearcache.$phpEx" ), ! ) ! ); ! ! // Generate the page ! ! $template->pparse( 'body' ); ! ! include( $mx_root_path . 'admin/page_footer_admin.' . $phpEx ); ! } ! else ! { ! $cache_dir = @opendir( '../' . ALBUM_CACHE_PATH ); ! ! while ( $cache_file = @readdir( $cache_dir ) ) ! { ! if ( preg_match( '/(\.gif$|\.png$|\.jpg|\.jpeg)$/is', $cache_file ) ) ! { ! @unlink( '../' . ALBUM_CACHE_PATH . $cache_file ); ! } ! } ! ! @closedir( $cache_dir ); ! ! mx_message_die( GENERAL_MESSAGE, $lang['Thumbnail_cache_cleared_successfully'] ); ! } ! ! /* Powered by Photo Album v2.x.x (c) 2002-2003 Smartor */ ! ?> \ No newline at end of file Index: admin_album_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_cat.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_album_cat.php 12 Apr 2005 19:51:47 -0000 1.4 --- admin_album_cat.php 1 Oct 2005 14:17:36 -0000 1.5 *************** *** 1,604 **** ! <?php ! /** ------------------------------------------------------------------------ ! * subject : mx-portal module ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : ! * ------------------------------------------------------------------------- [...1177 lines suppressed...] ! $sql = "DELETE FROM " . ALBUM_CAT_TABLE . " ! WHERE cat_id = '$cat_id'"; ! if ( !$result = $db->sql_query( $sql ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not delete this Category', '', __LINE__, __FILE__, $sql ); ! } ! // Re-order the rest of categories ! reorder_cat(); ! // Return a message... ! $message = $lang['Category_deleted'] . "<br /><br />" . sprintf( $lang['Click_return_album_category'], "<a href=\"" . append_sid( "admin_album_cat.$phpEx" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . append_sid( "index.$phpEx?pane=right" ) . "\">", "</a>" ); ! ! mx_message_die( GENERAL_MESSAGE, $message ); ! } ! } ! } ! ! /* Powered by Photo Album v2.x.x (c) 2002-2003 Smartor */ ! ?> \ No newline at end of file Index: admin_album_personal.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_personal.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_album_personal.php 12 Apr 2005 19:51:47 -0000 1.4 --- admin_album_personal.php 1 Oct 2005 14:17:36 -0000 1.5 *************** *** 1,205 **** ! <?php ! /** ------------------------------------------------------------------------ ! * subject : mx-portal module ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : ! * ------------------------------------------------------------------------- ! * begin : Sunday, February 02, 2003 ! * copyright : (C) 2003 Smartor ! * email : sma...@ho... ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! define( 'IN_PORTAL', 1 ); ! ! if ( !empty( $setmodules ) ) ! { ! $filename = basename( __FILE__ ); ! $module['Smartor_Album']['Personal_Galleries'] = "modules/mx_smartor/admin/" . $filename; ! return; ! } ! ! // Let's set the root dir for phpBB ! ! $module_root_path = '../'; ! $mx_root_path = '../../../'; ! require( $mx_root_path . 'extension.inc' ); ! require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_constants.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! require( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); ! ! if ( !isset( $HTTP_POST_VARS['submit'] ) ) ! { ! $template->set_filenames( array( 'body' => 'admin/album_personal_body.tpl' ) ! ); ! // Get the list of phpBB usergroups ! $sql = "SELECT group_id, group_name ! FROM " . GROUPS_TABLE . " ! WHERE group_single_user <> " . true . " ! ORDER BY group_name ASC"; ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! mx_message_die( GENERAL_ERROR, "Couldn't get group list", "", __LINE__, __FILE__, $sql ); ! } ! ! while ( $row = $db->sql_fetchrow( $result ) ) ! { ! $groupdata[] = $row; ! } ! // Get the current album settings for non created personal galleries ! $sql = "SELECT * ! FROM " . ALBUM_CONFIG_TABLE . " ! WHERE config_name = 'personal_gallery_private'"; ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! mx_message_die( GENERAL_ERROR, "Couldn't get Album info", "", __LINE__, __FILE__, $sql ); ! } ! $row = $db->sql_fetchrow( $result ); ! $private_groups = explode( ',', $row['config_value'] ); ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0beta6 ! // Since all personal galleries have the same private/moderator settings we fetch the first ! // personal gallery and not all. ! $sql = "SELECT cat_id, cat_title, cat_view_groups, cat_upload_groups, cat_rate_groups, cat_comment_groups, cat_edit_groups, cat_delete_groups, cat_moderator_groups ! FROM " . ALBUM_CAT_TABLE . " ! WHERE cat_parent = 0 and cat_user_id != 0 ! LIMIT 1"; ! ! if ( !$result = $db->sql_query( $sql ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not get Category information', '', __LINE__, __FILE__, $sql ); ! } ! ! $thiscat = $db->sql_fetchrow( $result ); ! ! $view_groups = @explode( ',', $thiscat['cat_view_groups'] ); ! $upload_groups = @explode( ',', $thiscat['cat_upload_groups'] ); ! $rate_groups = @explode( ',', $thiscat['cat_rate_groups'] ); ! $comment_groups = @explode( ',', $thiscat['cat_comment_groups'] ); ! $edit_groups = @explode( ',', $thiscat['cat_edit_groups'] ); ! $delete_groups = @explode( ',', $thiscat['cat_delete_groups'] ); ! ! $moderator_groups = @explode( ',', $thiscat['cat_moderator_groups'] ); ! // --- Album Category Hierarchy : end ! for( $i = 0; $i < count( $groupdata ); $i++ ) ! { ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0beta6 ! // --- removed ! // $template->assign_block_vars('grouprow', array( ! // --- added ! $template->assign_block_vars( 'creation_grouprow', array( ! // --- Album Category Hierarchy : end ! 'GROUP_ID' => $groupdata[$i]['group_id'], ! 'GROUP_NAME' => $groupdata[$i]['group_name'], ! 'PRIVATE_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $private_groups ) ) ? 'checked="checked"' : '' ! ) // end array ! ); ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0beta6 ! $template->assign_block_vars( 'grouprow', array( 'GROUP_ID' => $groupdata[$i]['group_id'], ! 'GROUP_NAME' => $groupdata[$i]['group_name'], ! ! 'VIEW_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $view_groups ) ) ? 'checked="checked"' : '', ! ! 'UPLOAD_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $upload_groups ) ) ? 'checked="checked"' : '', ! ! 'RATE_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $rate_groups ) ) ? 'checked="checked"' : '', ! ! 'COMMENT_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $comment_groups ) ) ? 'checked="checked"' : '', ! ! 'EDIT_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $edit_groups ) ) ? 'checked="checked"' : '', ! ! 'DELETE_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $delete_groups ) ) ? 'checked="checked"' : '', ! ! 'MODERATOR_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $moderator_groups ) ) ? 'checked="checked"' : '' ) ! ); ! // --- Album Category Hierarchy : end ! } ! ! $template->assign_vars( array( 'L_ALBUM_PERSONAL_TITLE' => $lang['Album_personal_gallery_title'], ! 'L_ALBUM_PERSONAL_EXPLAIN' => $lang['Album_personal_gallery_explain'], ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0beta6 ! 'L_ALBUM_AUTH_EXPLAIN' => $lang['Album_Personal_Auth_Explain'], ! // --- Album Category Hierarchy : end ! 'L_SUBMIT' => $lang['Submit'], ! 'L_RESET' => $lang['Reset'], ! 'L_GROUP_CONTROL' => $lang['Auth_Control_Group'], ! 'L_GROUPS' => $lang['Usergroups'], ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0beta6 ! 'L_VIEW' => $lang['View'], ! 'L_UPLOAD' => $lang['Upload'], ! 'L_RATE' => $lang['Rate'], ! 'L_COMMENT' => $lang['Comment'], ! 'L_EDIT' => $lang['Edit'], ! 'L_DELETE' => $lang['Delete'], ! ! 'L_IS_MODERATOR' => $lang['Is_Moderator'], ! // --- Album Category Hierarchy : end ! 'L_PRIVATE_ACCESS' => $lang['Private_access'], ! 'S_ALBUM_ACTION' => append_sid( 'admin_album_personal.' . $phpEx ) ! ) ! ); ! ! $template->pparse( 'body' ); ! ! include( $mx_root_path . 'admin/page_footer_admin.' . $phpEx ); ! } ! else ! { ! // Now we update the datatabase ! $private_groups = @implode( ',', $HTTP_POST_VARS['private'] ); ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0beta6 ! $view_groups = @implode( ',', $HTTP_POST_VARS['view'] ); ! $upload_groups = @implode( ',', $HTTP_POST_VARS['upload'] ); ! $rate_groups = @implode( ',', $HTTP_POST_VARS['rate'] ); ! $comment_groups = @implode( ',', $HTTP_POST_VARS['comment'] ); ! $edit_groups = @implode( ',', $HTTP_POST_VARS['edit'] ); ! $delete_groups = @implode( ',', $HTTP_POST_VARS['delete'] ); ! ! $moderator_groups = @implode( ',', $HTTP_POST_VARS['moderator'] ); ! // --- Album Category Hierarchy : end ! // album config for non created personal galleries ! $sql = "UPDATE " . ALBUM_CONFIG_TABLE . " ! SET config_value = '$private_groups' ! WHERE config_name = 'personal_gallery_private'"; ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not update Album config table', '', __LINE__, __FILE__, $sql ); ! } ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0beta6 ! $sql = "UPDATE " . ALBUM_CAT_TABLE . " ! SET cat_view_groups = '$view_groups', cat_upload_groups = '$upload_groups', cat_rate_groups = '$rate_groups', cat_comment_groups = '$comment_groups', cat_edit_groups = '$edit_groups', cat_delete_groups = '$delete_groups', cat_moderator_groups = '$moderator_groups' ! WHERE cat_user_id != 0"; ! ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not update personal gallery group information table', '', __LINE__, __FILE__, $sql ); ! } ! // --- Album Category Hierarchy : end ! // okay, return a message... ! $message = $lang['Album_personal_successfully'] . '<br /><br />' . sprintf( $lang['Click_return_album_personal'], '<a href="' . append_sid( "admin_album_personal.$phpEx" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); ! ! mx_message_die( GENERAL_MESSAGE, $message ); ! } ! ! /* Powered by Photo Album v2.x.x (c) 2002-2003 Smartor */ ! ?> \ No newline at end of file --- 1,201 ---- ! <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Smartor (sma...@ho...), Volodymyr (CLowN) Skoryk ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! define( 'IN_PORTAL', 1 ); ! ! if ( !empty( $setmodules ) ) ! { ! $filename = basename( __FILE__ ); ! $module['Smartor_Album']['Personal_Galleries'] = "modules/mx_smartor/admin/" . $filename; ! return; ! } ! ! // Let's set the root dir for phpBB ! ! $module_root_path = '../'; ! $mx_root_path = '../../../'; ! require( $mx_root_path . 'extension.inc' ); ! require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_constants.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! require( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); ! ! if ( !isset( $HTTP_POST_VARS['submit'] ) ) ! { ! $template->set_filenames( array( 'body' => 'admin/album_personal_body.tpl' ) ! ); ! // Get the list of phpBB usergroups ! $sql = "SELECT group_id, group_name ! FROM " . GROUPS_TABLE . " ! WHERE group_single_user <> " . true . " ! ORDER BY group_name ASC"; ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! mx_message_die( GENERAL_ERROR, "Couldn't get group list", "", __LINE__, __FILE__, $sql ); ! } ! ! while ( $row = $db->sql_fetchrow( $result ) ) ! { ! $groupdata[] = $row; ! } ! // Get the current album settings for non created personal galleries ! $sql = "SELECT * ! FROM " . ALBUM_CONFIG_TABLE . " ! WHERE config_name = 'personal_gallery_private'"; ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! mx_message_die( GENERAL_ERROR, "Couldn't get Album info", "", __LINE__, __FILE__, $sql ); ! } ! $row = $db->sql_fetchrow( $result ); ! $private_groups = explode( ',', $row['config_value'] ); ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0beta6 ! // Since all personal galleries have the same private/moderator settings we fetch the first ! // personal gallery and not all. ! $sql = "SELECT cat_id, cat_title, cat_view_groups, cat_upload_groups, cat_rate_groups, cat_comment_groups, cat_edit_groups, cat_delete_groups, cat_moderator_groups ! FROM " . ALBUM_CAT_TABLE . " ! WHERE cat_parent = 0 and cat_user_id != 0 ! LIMIT 1"; ! ! if ( !$result = $db->sql_query( $sql ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not get Category information', '', __LINE__, __FILE__, $sql ); ! } ! ! $thiscat = $db->sql_fetchrow( $result ); ! ! $view_groups = @explode( ',', $thiscat['cat_view_groups'] ); ! $upload_groups = @explode( ',', $thiscat['cat_upload_groups'] ); ! $rate_groups = @explode( ',', $thiscat['cat_rate_groups'] ); ! $comment_groups = @explode( ',', $thiscat['cat_comment_groups'] ); ! $edit_groups = @explode( ',', $thiscat['cat_edit_groups'] ); ! $delete_groups = @explode( ',', $thiscat['cat_delete_groups'] ); ! ! $moderator_groups = @explode( ',', $thiscat['cat_moderator_groups'] ); ! // --- Album Category Hierarchy : end ! for( $i = 0; $i < count( $groupdata ); $i++ ) ! { ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0beta6 ! // --- removed ! // $template->assign_block_vars('grouprow', array( ! // --- added ! $template->assign_block_vars( 'creation_grouprow', array( ! // --- Album Category Hierarchy : end ! 'GROUP_ID' => $groupdata[$i]['group_id'], ! 'GROUP_NAME' => $groupdata[$i]['group_name'], ! 'PRIVATE_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $private_groups ) ) ? 'checked="checked"' : '' ! ) // end array ! ); ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0beta6 ! $template->assign_block_vars( 'grouprow', array( 'GROUP_ID' => $groupdata[$i]['group_id'], ! 'GROUP_NAME' => $groupdata[$i]['group_name'], ! ! 'VIEW_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $view_groups ) ) ? 'checked="checked"' : '', ! ! 'UPLOAD_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $upload_groups ) ) ? 'checked="checked"' : '', ! ! 'RATE_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $rate_groups ) ) ? 'checked="checked"' : '', ! ! 'COMMENT_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $comment_groups ) ) ? 'checked="checked"' : '', ! ! 'EDIT_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $edit_groups ) ) ? 'checked="checked"' : '', ! ! 'DELETE_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $delete_groups ) ) ? 'checked="checked"' : '', ! ! 'MODERATOR_CHECKED' => ( in_array( $groupdata[$i]['group_id'], $moderator_groups ) ) ? 'checked="checked"' : '' ) ! ); ! // --- Album Category Hierarchy : end ! } ! ! $template->assign_vars( array( 'L_ALBUM_PERSONAL_TITLE' => $lang['Album_personal_gallery_title'], ! 'L_ALBUM_PERSONAL_EXPLAIN' => $lang['Album_personal_gallery_explain'], ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0beta6 ! 'L_ALBUM_AUTH_EXPLAIN' => $lang['Album_Personal_Auth_Explain'], ! // --- Album Category Hierarchy : end ! 'L_SUBMIT' => $lang['Submit'], ! 'L_RESET' => $lang['Reset'], ! 'L_GROUP_CONTROL' => $lang['Auth_Control_Group'], ! 'L_GROUPS' => $lang['Usergroups'], ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0beta6 ! 'L_VIEW' => $lang['View'], ! 'L_UPLOAD' => $lang['Upload'], ! 'L_RATE' => $lang['Rate'], ! 'L_COMMENT' => $lang['Comment'], ! 'L_EDIT' => $lang['Edit'], ! 'L_DELETE' => $lang['Delete'], ! ! 'L_IS_MODERATOR' => $lang['Is_Moderator'], ! // --- Album Category Hierarchy : end ! 'L_PRIVATE_ACCESS' => $lang['Private_access'], ! 'S_ALBUM_ACTION' => append_sid( 'admin_album_personal.' . $phpEx ) ! ) ! ); ! ! $template->pparse( 'body' ); ! ! include( $mx_root_path . 'admin/page_footer_admin.' . $phpEx ); ! } ! else ! { ! // Now we update the datatabase ! $private_groups = @implode( ',', $HTTP_POST_VARS['private'] ); ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0beta6 ! $view_groups = @implode( ',', $HTTP_POST_VARS['view'] ); ! $upload_groups = @implode( ',', $HTTP_POST_VARS['upload'] ); ! $rate_groups = @implode( ',', $HTTP_POST_VARS['rate'] ); ! $comment_groups = @implode( ',', $HTTP_POST_VARS['comment'] ); ! $edit_groups = @implode( ',', $HTTP_POST_VARS['edit'] ); ! $delete_groups = @implode( ',', $HTTP_POST_VARS['delete'] ); ! ! $moderator_groups = @implode( ',', $HTTP_POST_VARS['moderator'] ); ! // --- Album Category Hierarchy : end ! // album config for non created personal galleries ! $sql = "UPDATE " . ALBUM_CONFIG_TABLE . " ! SET config_value = '$private_groups' ! WHERE config_name = 'personal_gallery_private'"; ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not update Album config table', '', __LINE__, __FILE__, $sql ); ! } ! // --- Album Category Hierarchy : begin ! // --- version : 1.1.0beta6 ! $sql = "UPDATE " . ALBUM_CAT_TABLE . " ! SET cat_view_groups = '$view_groups', cat_upload_groups = '$upload_groups', cat_rate_groups = '$rate_groups', cat_comment_groups = '$comment_groups', cat_edit_groups = '$edit_groups', cat_delete_groups = '$delete_groups', cat_moderator_groups = '$moderator_groups' ! WHERE cat_user_id != 0"; ! ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not update personal gallery group information table', '', __LINE__, __FILE__, $sql ); ! } ! // --- Album Category Hierarchy : end ! // okay, return a message... ! $message = $lang['Album_personal_successfully'] . '<br /><br />' . sprintf( $lang['Click_return_album_personal'], '<a href="' . append_sid( "admin_album_personal.$phpEx" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); ! ! mx_message_die( GENERAL_MESSAGE, $message ); ! } ! ! /* Powered by Photo Album v2.x.x (c) 2002-2003 Smartor */ ! ?> \ No newline at end of file Index: admin_album_config.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_config.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_album_config.php 12 Apr 2005 19:51:47 -0000 1.4 --- admin_album_config.php 1 Oct 2005 14:17:36 -0000 1.5 *************** *** 1,315 **** ! <?php ! /** ------------------------------------------------------------------------ ! * subject : mx-portal module ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : ! * ------------------------------------------------------------------------- ! * begin : Sunday, February 02, 2003 ! * copyright : (C) 2003 Smartor ! * email : sma...@ho... ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! define( 'IN_PORTAL', 1 ); ! ! if ( !empty( $setmodules ) ) ! { ! $filename = basename( __FILE__ ); ! $module['Smartor_Album']['Configuration std'] = "modules/mx_smartor/admin/" . $filename; ! return; ! } ! ! // Let's set the root dir for phpBB ! ! $module_root_path = '../'; ! $mx_root_path = '../../../'; ! require( $mx_root_path . 'extension.inc' ); ! require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_constants.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! require( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); ! ! // Pull all config data ! ! $sql = "SELECT * FROM " . ALBUM_CONFIG_TABLE; ! if ( !$result = $db->sql_query( $sql ) ) ! { ! mx_message_die( CRITICAL_ERROR, "Could not query Album config information", "", __LINE__, __FILE__, $sql ); ! } ! else ! { ! while ( $row = $db->sql_fetchrow( $result ) ) ! { ! $config_name = $row['config_name']; ! $config_value = $row['config_value']; ! $default_config[$config_name] = isset( $HTTP_POST_VARS['submit'] ) ? str_replace( "'", "\'", $config_value ) : $config_value; ! ! $new[$config_name] = ( isset( $HTTP_POST_VARS[$config_name] ) ) ? $HTTP_POST_VARS[$config_name] : $default_config[$config_name]; ! ! if ( isset( $HTTP_POST_VARS['submit'] ) ) ! { ! $sql = "UPDATE " . ALBUM_CONFIG_TABLE . " SET ! config_value = '" . str_replace( "\'", "''", $new[$config_name] ) . "' ! WHERE config_name = '$config_name'"; ! if ( !$db->sql_query( $sql ) ) ! { ! mx_message_die( GENERAL_ERROR, "Failed to update Album configuration for $config_name", "", __LINE__, __FILE__, $sql ); ! } ! } ! } ! ! if ( isset( $HTTP_POST_VARS['submit'] ) ) ! { ! $message = $lang['Album_config_updated'] . "<br /><br />" . sprintf( $lang['Click_return_album_config'], "<a href=\"" . append_sid( "admin_album_config.$phpEx" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . "\">", "</a>" ); ! ! mx_message_die( GENERAL_MESSAGE, $message ); ! } ! } ! ! $template->set_filenames( array( "body" => "admin/album_config_body.tpl" ) ! ); ! ! $template->assign_vars( array( 'L_ALBUM_CONFIG' => $lang['Album_config'], ! 'L_ALBUM_CONFIG_EXPLAIN' => $lang['Album_config_explain'], ! 'S_ALBUM_CONFIG_ACTION' => append_sid( 'admin_album_config.' . $phpEx ), ! ! 'MAX_PICS' => $new['max_pics'], ! 'MAX_FILE_SIZE' => $new['max_file_size'], ! 'MAX_WIDTH' => $new['max_width'], ! 'MAX_HEIGHT' => $new['max_height'], ! 'ROWS_PER_PAGE' => $new['rows_per_page'], ! 'COLS_PER_PAGE' => $new['cols_per_page'], ! 'THUMBNAIL_QUALITY' => $new['thumbnail_quality'], ! 'THUMBNAIL_SIZE' => $new['thumbnail_size'], ! 'PERSONAL_GALLERY_LIMIT' => $new['personal_gallery_limit'], ! ! 'USER_PICS_LIMIT' => $new['user_pics_limit'], ! 'MOD_PICS_LIMIT' => $new['mod_pics_limit'], ! ! 'THUMBNAIL_CACHE_ENABLED' => ( $new['thumbnail_cache'] == 1 ) ? 'checked="checked"' : '', ! 'THUMBNAIL_CACHE_DISABLED' => ( $new['thumbnail_cache'] == 0 ) ? 'checked="checked"' : '', ! // --- Album Category Hierarchy : begin ! // --- version : <= 1.1.0 ! 'INDEX_SHOW_SUBCATS_ENABLED' => ( $new['show_index_subcats'] == 1 ) ? 'checked="checked"' : '', ! 'INDEX_SHOW_SUBCATS_DISABLED' => ( $new['show_index_subcats'] == 0 ) ? 'checked="checked"' : '', ! 'INDEX_THUMB_ENABLED' => ( $new['show_index_thumb'] == 1 ) ? 'checked="checked"' : '', ! 'INDEX_THUMB_DISABLED' => ( $new['show_index_thumb'] == 0 ) ? 'checked="checked"' : '', ! 'INDEX_TOTAL_PICS_ENABLED' => ( $new['show_index_total_pics'] == 1 ) ? 'checked="checked"' : '', ! 'INDEX_TOTAL_PICS_DISABLED' => ( $new['show_index_total_pics'] == 0 ) ? 'checked="checked"' : '', ! 'INDEX_TOTAL_COMMENTS_ENABLED' => ( $new['show_index_total_comments'] == 1 ) ? 'checked="checked"' : '', ! 'INDEX_TOTAL_COMMENTS_DISABLED' => ( $new['show_index_total_comments'] == 0 ) ? 'checked="checked"' : '', ! 'INDEX_PICS_ENABLED' => ( $new['show_index_pics'] == 1 ) ? 'checked="checked"' : '', ! 'INDEX_PICS_DISABLED' => ( $new['show_index_pics'] == 0 ) ? 'checked="checked"' : '', ! 'INDEX_COMMENTS_ENABLED' => ( $new['show_index_comments'] == 1 ) ? 'checked="checked"' : '', ! 'INDEX_COMMENTS_DISABLED' => ( $new['show_index_comments'] == 0 ) ? 'checked="checked"' : '', ! 'INDEX_LAST_COMMENT_ENABLED' => ( $new['show_index_last_comment'] == 1 ) ? 'checked="checked"' : '', ! 'INDEX_LAST_COMMENT_DISABLED' => ( $new['show_index_last_comment'] == 0 ) ? 'checked="checked"' : '', ! 'INDEX_LAST_PIC_ENABLED' => ( $new['show_index_last_pic'] == 1 ) ? 'checked="checked"' : '', ! 'INDEX_LAST_PIC_DISABLED' => ( $new['show_index_last_pic'] == 0 ) ? 'checked="checked"' : '', ! 'INDEX_LINEBREAK_ENABLED' => ( $new['line_break_subcats'] == 1 ) ? 'checked="checked"' : '', ! 'INDEX_LINEBREAK_DISABLED' => ( $new['line_break_subcats'] == 0 ) ? 'checked="checked"' : '', ! 'SHOW_RECENT_IN_SUBCATS_ENABLED' => ( $new['show_recent_in_subcats'] == 1 ) ? 'checked="checked"' : '', ! 'SHOW_RECENT_IN_SUBCATS_DISABLED' => ( $new['show_recent_in_subcats'] == 0 ) ? 'checked="checked"' : '', ! 'SHOW_RECENT_INSTEAD_OF_NOPICS_ENABLED' => ( $new['show_recent_instead_of_nopics'] == 1 ) ? 'checked="checked"' : '', ! 'SHOW_RECENT_INSTEAD_OF_NOPICS_DISABLED' => ( $new['show_recent_instead_of_nopics'] == 0 ) ? 'checked="checked"' : '', ! ! 'INDEX_SHOW_PERSONAL_GALLERY_LINK_ENABLED' => ( $new['show_personal_gallery_link'] == 1 ) ? 'checked="checked"' : '', ! 'INDEX_SHOW_PERSONAL_GALLERY_LINK_DISABLED' => ( $new['show_personal_gallery_link'] == 0 ) ? 'checked="checked"' : '', ! ! 'ALBUM_CATEGORY_SORTING_ID' => ( $new['album_category_sorting'] == 'cat_id' ) ? 'checked="checked"' : '', ! 'ALBUM_CATEGORY_SORTING_NAME' => ( $new['album_category_sorting'] == 'cat_title' ) ? 'checked="checked"' : '', ! 'ALBUM_CATEGORY_SORTING_ORDER' => ( $new['album_category_sorting'] == 'cat_order' ) ? 'checked="checked"' : '', ! ! 'ALBUM_CATEGORY_SORTING_ASC' => ( $new['album_category_sorting_direction'] == 'ASC' ) ? 'checked="checked"' : '', ! 'ALBUM_CATEGORY_SORTING_DESC' => ( $new['album_category_sorting_direction'] == 'DESC' ) ? 'checked="checked"' : '', ! ! 'PERSONAL_SHOW_RECENT_IN_SUBCATS_ENABLED' => ( $new['personal_show_recent_in_subcats'] == 1 ) ? 'checked="checked"' : '', ! 'PERSONAL_SHOW_RECENT_IN_SUBCATS_DISABLED' => ( $new['personal_show_recent_in_subcats'] == 0 ) ? 'checked="checked"' : '', ! 'PERSONAL_SHOW_RECENT_INSTEAD_OF_NOPICS_ENABLED' => ( $new['personal_show_recent_instead_of_nopics'] == 1 ) ? 'checked="checked"' : '', ! 'PERSONAL_SHOW_RECENT_INSTEAD_OF_NOPICS_DISABLED' => ( $new['personal_show_recent_instead_of_nopics'] == 0 ) ? 'checked="checked"' : '', ! 'PERSONAL_MOD_ENABLED' => ( $new['personal_allow_gallery_mod'] == 1 ) ? 'checked="checked"' : '', ! 'PERSONAL_MOD_DISABLED' => ( $new['personal_allow_gallery_mod'] == 0 ) ? 'checked="checked"' : '', ! 'PERSONAL_SUBCAT_ENABLED' => ( $new['personal_allow_sub_categories'] == 1 ) ? 'checked="checked"' : '', ! 'PERSONAL_SUBCAT_DISABLED' => ( $new['personal_allow_sub_categories'] == 0 ) ? 'checked="checked"' : '', ! 'PERSONAL_SUB_GALLERY_LIMIT' => $new['personal_sub_category_limit'], ! 'PERSONAL_SHOW_SUBCATS_ENABLED' => ( $new['personal_show_subcats_in_index'] == 1 ) ? 'checked="checked"' : '', ! 'PERSONAL_SHOW_SUBCATS_DISABLED' => ( $new['personal_show_subcats_in_index'] == 0 ) ? 'checked="checked"' : '', ! // --- version : 1.2.0 ! 'ALBUM_DEBUG_MODE_ENABLED' => ( $new['album_debug_mode'] == 1 ) ? 'checked="checked"' : '', ! 'ALBUM_DEBUG_MODE_DISABLED' => ( $new['album_debug_mode'] == 0 ) ? 'checked="checked"' : '', ! 'PERSONAL_SHOW_ALL_PICS_ENABLED' => ( $new['show_all_in_personal_gallery'] == 1 ) ? 'checked="checked"' : '', ! 'PERSONAL_SHOW_ALL_PICS_DISABLED' => ( $new['show_all_in_personal_gallery'] == 0 ) ? 'checked="checked"' : '', ! 'NEW_PIC_CHECK_INTERVAL' => $new['new_pic_check_interval'], ! // --- version : 1.3.0 ! 'INDEX_SUPERCELLS_ENABLED' => ( $new['index_enable_supercells'] == 1 ) ? 'checked="checked"' : '', ! 'INDEX_SUPERCELLS_DISABLED' => ( $new['index_enable_supercells'] == 0 ) ? 'checked="checked"' : '', ! // --- Album Category Hierarchy : end ! 'JPG_ENABLED' => ( $new['jpg_allowed'] == 1 ) ? 'checked="checked"' : '', ! 'JPG_DISABLED' => ( $new['jpg_allowed'] == 0 ) ? 'checked="checked"' : '', ! ! 'PNG_ENABLED' => ( $new['png_allowed'] == 1 ) ? 'checked="checked"' : '', ! 'PNG_DISABLED' => ( $new['png_allowed'] == 0 ) ? 'checked="checked"' : '', ! ! 'GIF_ENABLED' => ( $new['gif_allowed'] == 1 ) ? 'checked="checked"' : '', ! 'GIF_DISABLED' => ( $new['gif_allowed'] == 0 ) ? 'checked="checked"' : '', ! ! 'PIC_DESC_MAX_LENGTH' => $new['desc_length'], ! ! 'HOTLINK_PREVENT_ENABLED' => ( $new['hotlink_prevent'] == 1 ) ? 'checked="checked"' : '', ! 'HOTLINK_PREVENT_DISABLED' => ( $new['hotlink_prevent'] == 0 ) ? 'checked="checked"' : '', ! ! 'HOTLINK_ALLOWED' => $new['hotlink_allowed'], ! ! 'PERSONAL_GALLERY_USER' => ( $new['personal_gallery'] == ALBUM_USER ) ? 'checked="checked"' : '', ! 'PERSONAL_GALLERY_PRIVATE' => ( $new['personal_gallery'] == ALBUM_PRIVATE ) ? 'checked="checked"' : '', ! 'PERSONAL_GALLERY_ADMIN' => ( $new['personal_gallery'] == ALBUM_ADMIN ) ? 'checked="checked"' : '', ! ! 'PERSONAL_GALLERY_VIEW_ALL' => ( $new['personal_gallery_view'] == ALBUM_GUEST ) ? 'checked="checked"' : '', ! 'PERSONAL_GALLERY_VIEW_REG' => ( $new['personal_gallery_view'] == ALBUM_USER ) ? 'checked="checked"' : '', ! 'PERSONAL_GALLERY_VIEW_PRIVATE' => ( $new['personal_gallery_view'] == ALBUM_PRIVATE ) ? 'checked="checked"' : '', ! ! 'RATE_ENABLED' => ( $new['rate'] == 1 ) ? 'checked="checked"' : '', ! 'RATE_DISABLED' => ( $new['rate'] == 0 ) ? 'checked="checked"' : '', ! ! 'RATE_SCALE' => $new['rate_scale'], ! ! 'COMMENT_ENABLED' => ( $new['comment'] == 1 ) ? 'checked="checked"' : '', ! 'COMMENT_DISABLED' => ( $new['comment'] == 0 ) ? 'checked="checked"' : '', ! ! 'NO_GD' => ( $new['gd_version'] == 0 ) ? 'checked="checked"' : '', ! 'GD_V1' => ( $new['gd_version'] == 1 ) ? 'checked="checked"' : '', ! 'GD_V2' => ( $new['gd_version'] == 2 ) ? 'checked="checked"' : '', ! ! 'SORT_TIME' => ( $new['sort_method'] == 'pic_time' ) ? 'selected="selected"' : '', ! 'SORT_PIC_TITLE' => ( $new['sort_method'] == 'pic_title' ) ? 'selected="selected"' : '', ! 'SORT_USERNAME' => ( $new['sort_method'] == 'pic_user_id' ) ? 'selected="selected"' : '', ! 'SORT_VIEW' => ( $new['sort_method'] == 'pic_view_count' ) ? 'selected="selected"' : '', ! 'SORT_RATING' => ( $new['sort_method'] == 'rating' ) ? 'selected="selected"' : '', ! 'SORT_COMMENTS' => ( $new['sort_method'] == 'comments' ) ? 'selected="selected"' : '', ! 'SORT_NEW_COMMENT' => ( $new['sort_method'] == 'new_comment' ) ? 'selected="selected"' : '', ! ! 'SORT_ASC' => ( $new['sort_order'] == 'ASC' ) ? 'selected="selected"' : '', ! 'SORT_DESC' => ( $new['sort_order'] == 'DESC' ) ? 'selected="selected"' : '', ! ! 'FULLPIC_POPUP_ENABLED' => ( $new['fullpic_popup'] == 1 ) ? 'checked="checked"' : '', ! 'FULLPIC_POPUP_DISABLED' => ( $new['fullpic_popup'] == 0 ) ? 'checked="checked"' : '', ! ! 'S_GUEST' => ALBUM_GUEST, ! 'S_USER' => ALBUM_USER, ! 'S_PRIVATE' => ALBUM_PRIVATE, ! 'S_MOD' => ALBUM_MOD, ! 'S_ADMIN' => ALBUM_ADMIN, ! ! 'L_MAX_PICS' => $lang['Max_pics'], ! 'L_MAX_FILE_SIZE' => $lang['Max_file_size'], ! 'L_MAX_WIDTH' => $lang['Max_width'], ! 'L_MAX_HEIGHT' => $lang['Max_height'], ! 'L_USER_PICS_LIMIT' => $lang['User_pics_limit'], ! 'L_MOD_PICS_LIMIT' => $lang['Moderator_pics_limit'], ! 'L_ROWS_PER_PAGE' => $lang['Rows_per_page'], ! 'L_COLS_PER_PAGE' => $lang['Cols_per_page'], ! 'L_MANUAL_THUMBNAIL' => $lang['Manual_thumbnail'], ! 'L_THUMBNAIL_QUALITY' => $lang['Thumbnail_quality'], ! 'L_THUMBNAIL_SIZE' => $lang['Thumbnail_size'], ! 'L_THUMBNAIL_CACHE' => $lang['Thumbnail_cache'], ! 'L_JPG_ALLOWED' => $lang['JPG_allowed'], ! 'L_PNG_ALLOWED' => $lang['PNG_allowed'], ! 'L_GIF_ALLOWED' => $lang['GIF_allowed'], ! 'L_PIC_DESC_MAX_LENGTH' => $lang['Pic_Desc_Max_Length'], ! 'L_HOTLINK_PREVENT' => $lang['Hotlink_prevent'], ! 'L_HOTLINK_ALLOWED' => $lang['Hotlink_allowed'], ! 'L_PERSONAL_GALLERY' => $lang['Personal_gallery'], ! 'L_PERSONAL_GALLERY_LIMIT' => $lang['Personal_gallery_limit'], ! 'L_PERSONAL_GALLERY_VIEW' => $lang['Personal_gallery_view'], ! 'L_RATE_SYSTEM' => $lang['Rate_system'], ! 'L_RATE_SCALE' => $lang['Rate_Scale'], ! 'L_COMMENT_SYSTEM' => $lang['Comment_system'], ! 'L_GD_VERSION' => $lang['GD_version'], ! 'L_THUMBNAIL_SETTINGS' => $lang['Thumbnail_Settings'], ! 'L_EXTRA_SETTINGS' => $lang['Extra_Settings'], ! 'L_DEFAULT_SORT_METHOD' => $lang['Default_Sort_Method'], ! 'L_TIME' => $lang['Time'], ! 'L_PIC_TITLE' => $lang['Pic_Title'], ! 'L_USERNAME' => $lang['Sort_Username'], ! 'L_VIEW' => $lang['View'], ! 'L_RATING' => $lang['Rating'], ! 'L_COMMENTS' => $lang['Comments'], ! 'L_NEW_COMMENT' => $lang['New_Comment'], ! 'L_DEFAULT_SORT_ORDER' => $lang['Default_Sort_Order'], ! 'L_ASC' => $lang['Sort_Ascending'], ! 'L_DESC' => $lang['Sort_Descending'], ! 'L_FULLPIC_POPUP' => $lang['Fullpic_Popup'], ! 'L_GUEST' => $lang['Forum_ALL'], ! 'L_REG' => $lang['Forum_REG'], ! 'L_PRIVATE' => $lang['Forum_PRIVATE'], ! 'L_MOD' => $lang['Forum_MOD'], ! 'L_ADMIN' => $lang['Forum_ADMIN'], ! // --- Album Category Hierarchy : begin ! // --- version : <= 1.1.0 ! 'L_ALBUM_INDEX_SETTINGS' => $lang['Album_Index_Settings'], ! 'L_INDEX_SHOW_SUBCATS' => $lang['Show_Index_Subcats'], ! 'L_INDEX_THUMB' => $lang['Show_Index_Thumb'], ! 'L_INDEX_TOTAL_PICS' => $lang['Show_Index_Total_Pics'], ! 'L_INDEX_TOTAL_COMMENTS' => $lang['Show_Index_Total_Comments'], ! 'L_INDEX_PICS' => $lang['Show_Index_Pics'], ! 'L_INDEX_COMMENTS' => $lang['Show_Index_Comments'], ! 'L_INDEX_LAST_COMMENT' => $lang['Show_Index_Last_Comment'], ! 'L_INDEX_LAST_PIC' => $lang['Show_Index_Last_Pic'], ! 'L_INDEX_LINEBREAK_SUBCATS' => $lang['Line_Break_Subcats'], ! 'L_SHOW_RECENT_IN_SUBCATS' => $lang['Show_Recent_In_Subcats'], ! 'L_SHOW_RECENT_INSTEAD_OF_NOPICS' => $lang['Show_Recent_Instead_of_NoPics'], ! ! 'L_SHOW_PERSONAL_GALLERY_LINK' => $lang['Show_Personal_Gallery_Link'], ! ! 'L_ALBUM_CATEGORY_SORTING' => $lang['Album_Category_Sorting'], ! 'L_ALBUM_CATEGORY_SORTING_ID' => $lang['Album_Category_Sorting_Id'], ! 'L_ALBUM_CATEGORY_SORTING_NAME' => $lang['Album_Category_Sorting_Name'], ! 'L_ALBUM_CATEGORY_SORTING_ORDER' => $lang['Album_Category_Sorting_Order'], ! ! 'L_ALBUM_CATEGORY_DIRECTION' => $lang['Album_Category_Sorting_Direction'], ! 'L_ALBUM_CATEGORY_SORTING_ASC' => $lang['Album_Category_Sorting_Asc'], ! 'L_ALBUM_CATEGORY_SORTING_DESC' => $lang['Album_Category_Sorting_Desc'], ! ! 'L_ALBUM_PERSONAL_GALLERY_SETTINGS' => $lang['Album_Personal_Settings'], ! 'L_ALBUM_PERSONAL_MODERATOR' => $lang['Personal_Gallery_MOD'], ! 'L_PERSONAL_SUB_GALLERY_LIMIT' => $lang['Personal_Sub_Cat_Limit'], ! 'L_PERSONAL_ALLOW_SUB_GATTEGORY' => $lang['User_Can_Create_Personal_SubCats'], ! 'L_PERSONAL_SHOW_SUBCATS' => $lang['Show_Personal_Sub_Cats'], ! 'L_PERSONAL_SHOW_RECENT_IN_SUBCATS' => $lang['Show_Recent_In_Personal_Subcats'], ! 'L_PERSONAL_SHOW_RECENT_INSTEAD_OF_NOPICS' => $lang['Show_Recent_Instead_of_Personal_NoPics'], ! // --- version : 1.2.0 ! 'L_ALBUM_DEBUG_MODE' => $lang['Album_debug_mode'], ! 'L_PERSONAL_SHOW_ALL_PICS' => $lang['Enable_Show_All_Pics'], ! ! 'L_NEW_PIC_CHECK_INTERVAL' => $lang['New_Pic_Check_Interval'], ! 'L_NEW_PIC_CHECK_INTERVAL_DESC' => $lang['New_Pic_Check_Interval_Desc'], ! // --- version : 1.3.0 ! 'L_ENABLE_SUPERCELLS' => $lang['Enable_Index_Supercells'], ! // --- Album Category Hierarchy : end ! 'L_DISABLED' => $lang['Disabled'], ! 'L_ENABLED' => $lang['Enabled'], ! 'L_YES' => $lang['Yes'], ! 'L_NO' => $lang['No'], ! 'L_SUBMIT' => $lang['Submit'], ! 'L_RESET' => $lang['Reset'] ) ! ); ! ! $template->pparse( "body" ); ! ! include( $mx_root_path . 'admin/page_footer_admin.' . $phpEx ); ! ! /* Powered by Photo Album v2.x.x (c) 2002-2003 Smartor */ ! ?> \ No newline at end of file --- 1,311 ---- ! <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, Smartor (sma...@ho...), Volodymyr (CLowN) Skoryk ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! define( 'IN_PORTAL', 1 ); ! ! if ( !empty( $setmodules ) ) ! {... [truncated message content] |