From blaine at qs1489.pair.com Fri Aug 1 14:49:00 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Fri, 01 Aug 2008 18:49:00 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin user.php,1.208,1.209 Message-ID: <20080801184901.0C4B4F740E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin In directory qs1489.pair.com:/tmp/cvs-serv97260 Modified Files: user.php Log Message: Added optional parm to the CUSTOM_userCreate function that is used to detect being called from the Admin->user Batch Add feature vs the registration form Required a new parm to be added to function USER_createAccount() Index: user.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/user.php,v retrieving revision 1.208 retrieving revision 1.209 diff -C2 -d -r1.208 -r1.209 *** user.php 8 Jul 2008 18:42:54 -0000 1.208 --- user.php 1 Aug 2008 18:48:58 -0000 1.209 *************** *** 1066,1072 **** if (($ucount == 0) && ($ecount == 0)) { ! // user doesn't already exist $uid = USER_createAccount ($userName, $emailAddr, '', ! $fullName); $result = USER_createAndSendPassword ($userName, $emailAddr, $uid); --- 1066,1072 ---- if (($ucount == 0) && ($ecount == 0)) { ! // user doesn't already exist - pass in optional true for $batchimport parm $uid = USER_createAccount ($userName, $emailAddr, '', ! $fullName,'','','',true); $result = USER_createAndSendPassword ($userName, $emailAddr, $uid); From blaine at qs1489.pair.com Fri Aug 1 14:49:12 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Fri, 01 Aug 2008 18:49:12 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-custom.php, 1.40, 1.41 lib-user.php, 1.46, 1.47 Message-ID: <20080801184912.B6417F740E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv97301 Modified Files: lib-custom.php lib-user.php Log Message: Added optional parm to the CUSTOM_userCreate function that is used to detect being called from the Admin->user Batch Add feature vs the registration form Required a new parm to be added to function USER_createAccount() Index: lib-user.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-user.php,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** lib-user.php 5 May 2008 20:04:38 -0000 1.46 --- lib-user.php 1 Aug 2008 18:49:09 -0000 1.47 *************** *** 238,250 **** * NOTE: Does NOT send out password emails. * ! * @param string $username user name (mandatory) ! * @param string $email user's email address (mandatory) ! * @param string $passwd password (optional, see above) ! * @param string $fullname user's full name (optional) ! * @param string $homepage user's home page (optional) ! * @return int new user's ID * */ ! function USER_createAccount ($username, $email, $passwd = '', $fullname = '', $homepage = '', $remoteusername = '', $service = '') { global $_CONF, $_TABLES; --- 238,251 ---- * NOTE: Does NOT send out password emails. * ! * @param string $username user name (mandatory) ! * @param string $email user's email address (mandatory) ! * @param string $passwd password (optional, see above) ! * @param string $fullname user's full name (optional) ! * @param string $homepage user's home page (optional) ! * @param boolean $batchimport set to true when called from importuser() in admin/users.php (optional) ! * @return int new user's ID * */ ! function USER_createAccount ($username, $email, $passwd = '', $fullname = '', $homepage = '', $remoteusername = '', $service = '',$batchimport=false) { global $_CONF, $_TABLES; *************** *** 324,328 **** // call custom registration function and plugins if ($_CONF['custom_registration'] && (function_exists ('CUSTOM_userCreate'))) { ! CUSTOM_userCreate ($uid); } PLG_createUser ($uid); --- 325,329 ---- // call custom registration function and plugins if ($_CONF['custom_registration'] && (function_exists ('CUSTOM_userCreate'))) { ! CUSTOM_userCreate ($uid,$batchimport); } PLG_createUser ($uid); Index: lib-custom.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-custom.php,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** lib-custom.php 31 May 2008 19:49:36 -0000 1.40 --- lib-custom.php 1 Aug 2008 18:49:09 -0000 1.41 *************** *** 137,140 **** --- 137,143 ---- Sample is provided under /system with the distribution. + Note3: Optional parm $bulkimport added so that if your using the [Batch Add] feature, + you can execute different logic if required. + Functions have been provided that are called from the Core Geeklog user and admin functions - This works with User Moderation as well *************** *** 148,152 **** /* Update any fields in the core GL tables for this user as needed */ /* Called when user is first created */ ! function CUSTOM_userCreate ($uid) { global $_CONF, $_TABLES; --- 151,155 ---- /* Update any fields in the core GL tables for this user as needed */ /* Called when user is first created */ ! function CUSTOM_userCreate ($uid,$bulkimport=false) { global $_CONF, $_TABLES; From blaine at qs1489.pair.com Fri Aug 1 14:55:49 2008 From: blaine at qs1489.pair.com (Blaine Lang) Date: Fri, 01 Aug 2008 18:55:49 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/docs history,1.693,1.694 Message-ID: <20080801185549.B6B48F740E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/docs In directory qs1489.pair.com:/tmp/cvs-serv98144 Modified Files: history Log Message: Add comment for a couple of my changes Index: history =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/history,v retrieving revision 1.693 retrieving revision 1.694 diff -C2 -d -r1.693 -r1.694 *** history 29 Jul 2008 19:06:41 -0000 1.693 --- history 1 Aug 2008 18:55:40 -0000 1.694 *************** *** 3,7 **** ??? ??, 2008 (1.5.1) ------------ ! - Fix for date formatting in RSS fields (bug #0000696) [mystral_kk] - A small tweak to the Professional theme's commentbar to make the "Post a --- 3,8 ---- ??? ??, 2008 (1.5.1) ------------ ! - Change for CUSTOM_usercreate to support passing in $batchimport, ! set true if called via the Admin->Users Batch_Add [Blaine] - Fix for date formatting in RSS fields (bug #0000696) [mystral_kk] - A small tweak to the Professional theme's commentbar to make the "Post a *************** *** 48,51 **** --- 49,53 ---- Other remote users will have to use the form username at servicename for their username [Dirk] + - Fix to template.class to better hanndle full path being passed in [Blaine] - Updated PLG_uninstall to supress errors for table drop. [bug 0000668] [Mike] - Fixed INST_checkTableExists for MS SQL Support. [bug 0000668] [Mike] From mjervis at qs1489.pair.com Fri Aug 1 15:51:45 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Fri, 01 Aug 2008 19:51:45 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/docs history,1.694,1.695 Message-ID: <20080801195145.E142CF740E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/docs In directory qs1489.pair.com:/tmp/cvs-serv6096/public_html/docs Modified Files: history Log Message: Renamed remove() to gl_cfg_remove bug 0000681. Index: history =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/history,v retrieving revision 1.694 retrieving revision 1.695 diff -C2 -d -r1.694 -r1.695 *** history 1 Aug 2008 18:55:40 -0000 1.694 --- history 1 Aug 2008 19:51:43 -0000 1.695 *************** *** 3,6 **** --- 3,8 ---- ??? ??, 2008 (1.5.1) ------------ + + - Moved remove() (config javascript) to gl_cfg_remove (bug #0000681) [Mike] - Change for CUSTOM_usercreate to support passing in $batchimport, set true if called via the Admin->Users Batch_Add [Blaine] From mjervis at qs1489.pair.com Fri Aug 1 15:51:47 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Fri, 01 Aug 2008 19:51:47 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/javascript configmanager.js, 1.2, 1.3 Message-ID: <20080801195147.D603CF7410@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/javascript In directory qs1489.pair.com:/tmp/cvs-serv6096/public_html/javascript Modified Files: configmanager.js Log Message: Renamed remove() to gl_cfg_remove bug 0000681. Index: configmanager.js =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/javascript/configmanager.js,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** configmanager.js 30 Dec 2007 03:06:54 -0000 1.2 --- configmanager.js 1 Aug 2008 19:51:43 -0000 1.3 *************** *** 69,73 **** } ! function remove(self){ cell = self.parentNode.parentNode; cell.parentNode.removeChild(cell); --- 69,73 ---- } ! function gl_cfg_remove(self){ cell = self.parentNode.parentNode; cell.parentNode.removeChild(cell); From mjervis at qs1489.pair.com Fri Aug 1 15:51:47 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Fri, 01 Aug 2008 19:51:47 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/javascript configmanager.js, 1.2, 1.3 Message-ID: <20080801195147.D603CF7410@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/javascript In directory qs1489.pair.com:/tmp/cvs-serv6096/public_html/javascript Modified Files: configmanager.js Log Message: Renamed remove() to gl_cfg_remove bug 0000681. Index: configmanager.js =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/javascript/configmanager.js,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** configmanager.js 30 Dec 2007 03:06:54 -0000 1.2 --- configmanager.js 1 Aug 2008 19:51:43 -0000 1.3 *************** *** 69,73 **** } ! function remove(self){ cell = self.parentNode.parentNode; cell.parentNode.removeChild(cell); --- 69,73 ---- } ! function gl_cfg_remove(self){ cell = self.parentNode.parentNode; cell.parentNode.removeChild(cell); From mjervis at qs1489.pair.com Fri Aug 1 15:51:47 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Fri, 01 Aug 2008 19:51:47 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/layout/professional/admin/config config_element.thtml, 1.6, 1.7 Message-ID: <20080801195147.0B731F7411@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/admin/config In directory qs1489.pair.com:/tmp/cvs-serv6096/public_html/layout/professional/admin/config Modified Files: config_element.thtml Log Message: Renamed remove() to gl_cfg_remove bug 0000681. Index: config_element.thtml =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/admin/config/config_element.thtml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** config_element.thtml 27 Jan 2008 09:02:15 -0000 1.6 --- config_element.thtml 1 Aug 2008 19:51:44 -0000 1.7 *************** *** 1,4 **** ! --- 1,4 ---- ! From mjervis at qs1489.pair.com Fri Aug 1 16:25:21 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Fri, 01 Aug 2008 20:25:21 +0000 Subject: [geeklog-cvs] Geeklog-1.x/language english.php, 1.341, 1.342 english_utf-8.php, 1.125, 1.126 Message-ID: <20080801202521.B7A10F740E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/language In directory qs1489.pair.com:/tmp/cvs-serv10355/language Modified Files: english.php english_utf-8.php Log Message: Bug #0000692, Censormode is not just on and off. Index: english.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/english.php,v retrieving revision 1.341 retrieving revision 1.342 diff -C2 -d -r1.341 -r1.342 *** english.php 27 Jul 2008 09:11:29 -0000 1.341 --- english.php 1 Aug 2008 20:25:19 -0000 1.342 *************** *** 1852,1856 **** 15 => array('By Number' => 'sortnum', 'Alphabetically' => 'alpha'), 16 => array('No Login required' => 0, 'Advanced Search only' => 1, 'Simple + Advanced Search' => 2), ! 17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1) ); --- 1852,1857 ---- 15 => array('By Number' => 'sortnum', 'Alphabetically' => 'alpha'), 16 => array('No Login required' => 0, 'Advanced Search only' => 1, 'Simple + Advanced Search' => 2), ! 17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1), ! 18 => array('Disabled' => 0, 'Enabled (Exact Match)' => 1, 'Enabled (Word Beginning)' => 2, 'Enabled (Word Fragment)' => 3) ); Index: english_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/english_utf-8.php,v retrieving revision 1.125 retrieving revision 1.126 diff -C2 -d -r1.125 -r1.126 *** english_utf-8.php 27 Jul 2008 09:11:29 -0000 1.125 --- english_utf-8.php 1 Aug 2008 20:25:19 -0000 1.126 *************** *** 1852,1856 **** 15 => array('By Number' => 'sortnum', 'Alphabetically' => 'alpha'), 16 => array('No Login required' => 0, 'Advanced Search only' => 1, 'Simple + Advanced Search' => 2), ! 17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1) ); --- 1852,1857 ---- 15 => array('By Number' => 'sortnum', 'Alphabetically' => 'alpha'), 16 => array('No Login required' => 0, 'Advanced Search only' => 1, 'Simple + Advanced Search' => 2), ! 17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1), ! 18 => array('Disabled' => 0, 'Enabled (Exact Match)' => 1, 'Enabled (Word Beginning)' => 2, 'Enabled (Word Fragment)' => 3) ); From mjervis at qs1489.pair.com Fri Aug 1 16:25:22 2008 From: mjervis at qs1489.pair.com (Michael Jervis) Date: Fri, 01 Aug 2008 20:25:22 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/docs config.html, 1.90, 1.91 history, 1.695, 1.696 Message-ID: <20080801202523.0C334F7410@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/docs In directory qs1489.pair.com:/tmp/cvs-serv10355/public_html/docs Modified Files: config.html history Log Message: Bug #0000692, Censormode is not just on and off. Index: config.html =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/config.html,v retrieving revision 1.90 retrieving revision 1.91 diff -C2 -d -r1.90 -r1.91 *** config.html 4 Jul 2008 20:58:32 -0000 1.90 --- config.html 1 Aug 2008 20:25:19 -0000 1.91 *************** *** 1337,1341 **** censormode 1 ! Censor submissions and comments (0=no, 1=yes) censorreplace --- 1337,1341 ---- censormode 1 ! Censor submissions and comments (0 = Disabled, 1 = Enabled, exact matches, 2 = Enabled, match start of word, 3 = Enabled, match fragment) censorreplace Index: history =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/history,v retrieving revision 1.695 retrieving revision 1.696 diff -C2 -d -r1.695 -r1.696 *** history 1 Aug 2008 19:51:43 -0000 1.695 --- history 1 Aug 2008 20:25:19 -0000 1.696 *************** *** 67,70 **** --- 67,71 ---- - Fixed user submission queue (reported by greenteagod) [Dirk] + - Updated Hebrew language file, provided by LWC From dhaun at qs1489.pair.com Sun Aug 3 04:05:52 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Aug 2008 08:05:52 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/docs history,1.696,1.697 Message-ID: <20080803080553.269F1F7414@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/docs In directory qs1489.pair.com:/tmp/cvs-serv53349/public_html/docs Modified Files: history Log Message: Some minor Daily Digest improvements and code for future use Index: history =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/history,v retrieving revision 1.696 retrieving revision 1.697 diff -C2 -d -r1.696 -r1.697 *** history 1 Aug 2008 20:25:19 -0000 1.696 --- history 3 Aug 2008 08:05:50 -0000 1.697 *************** *** 1860,1864 **** ------------ - Added new functionality to [autotags] - New plugin API's added [Blaine] ! - Added [autotag] hooks for stories [Bline] - When a plugin had its icon only in the admin directoy, the plugin editor did not find it and displayed a generic icon instead [Dirk] --- 1860,1864 ---- ------------ - Added new functionality to [autotags] - New plugin API's added [Blaine] ! - Added [autotag] hooks for stories [Blaine] - When a plugin had its icon only in the admin directoy, the plugin editor did not find it and displayed a generic icon instead [Dirk] From dhaun at qs1489.pair.com Sun Aug 3 04:05:52 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Aug 2008 08:05:52 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html lib-common.php, 1.715, 1.716 usersettings.php, 1.173, 1.174 Message-ID: <20080803080554.8CF55F7418@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv53349/public_html Modified Files: lib-common.php usersettings.php Log Message: Some minor Daily Digest improvements and code for future use Index: usersettings.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/usersettings.php,v retrieving revision 1.173 retrieving revision 1.174 diff -C2 -d -r1.173 -r1.174 *** usersettings.php 31 May 2008 19:49:36 -0000 1.173 --- usersettings.php 3 Aug 2008 08:05:50 -0000 1.174 *************** *** 314,344 **** /** - * Build a list of all topics the current user has access to - * - * @return string List of topic IDs, separated by spaces - * - */ - function buildTopicList () - { - global $_TABLES; - - $topics = ''; - - $result = DB_query ("SELECT tid FROM {$_TABLES['topics']}"); - $numrows = DB_numRows ($result); - for ($i = 1; $i <= $numrows; $i++) { - $A = DB_fetchArray ($result); - if (SEC_hasTopicAccess ($A['tid'])) { - if ($i > 1) { - $topics .= ' '; - } - $topics .= $A['tid']; - } - } - - return $topics; - } - - /** * Displays user preferences * --- 314,317 ---- *************** *** 655,659 **** "uid = {$_USER['uid']}"); if (empty ($user_etids)) { // an empty string now means "all topics" ! $user_etids = buildTopicList (); } elseif ($user_etids == '-') { // this means "no topics" $user_etids = ''; --- 628,633 ---- "uid = {$_USER['uid']}"); if (empty ($user_etids)) { // an empty string now means "all topics" ! $etids = USER_getAllowedTopics(); ! $user_etids = implode(' ', $etids); } elseif ($user_etids == '-') { // this means "no topics" $user_etids = ''; *************** *** 1395,1400 **** $etids = ''; if (sizeof ($ETIDS) > 0) { ! $allowed_etids = buildTopicList (); ! $AETIDS = explode (' ', $allowed_etids); $etids = addslashes (implode (' ', array_intersect ($AETIDS, $ETIDS))); } --- 1369,1373 ---- $etids = ''; if (sizeof ($ETIDS) > 0) { ! $AETIDS = USER_getAllowedTopics(); $etids = addslashes (implode (' ', array_intersect ($AETIDS, $ETIDS))); } Index: lib-common.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v retrieving revision 1.715 retrieving revision 1.716 diff -C2 -d -r1.715 -r1.716 *** lib-common.php 27 Jul 2008 09:11:29 -0000 1.715 --- lib-common.php 3 Aug 2008 08:05:50 -0000 1.716 *************** *** 368,373 **** // Handle Who's Online block ! if( COM_isAnonUser() ) ! { // The following code handles anonymous users so they show up properly DB_query( "DELETE FROM {$_TABLES['sessions']} WHERE remote_ip = '{$_SERVER['REMOTE_ADDR']}' AND uid = 1" ); --- 368,372 ---- // Handle Who's Online block ! if (COM_isAnonUser() && isset($_SERVER['REMOTE_ADDR']) { // The following code handles anonymous users so they show up properly DB_query( "DELETE FROM {$_TABLES['sessions']} WHERE remote_ip = '{$_SERVER['REMOTE_ADDR']}' AND uid = 1" ); *************** *** 3993,3996 **** --- 3992,3999 ---- global $_CONF, $_TABLES, $LANG04, $LANG08, $LANG24; + if ($_CONF['emailstories'] == 0) { + return; + } + $subject = strip_tags( $_CONF['site_name'] . $LANG08[30] . strftime( '%Y-%m-%d', time() )); *************** *** 4008,4012 **** // For each user, pull the stories they want and email it to them ! for( $x = 1; $x <= $nrows; $x++ ) { $U = DB_fetchArray( $users ); --- 4011,4015 ---- // For each user, pull the stories they want and email it to them ! for( $x = 0; $x < $nrows; $x++ ) { $U = DB_fetchArray( $users ); *************** *** 4031,4035 **** $TIDS = array(); ! for( $i = 1; $i <= $trows; $i++ ) { $T = DB_fetchArray( $tresult ); --- 4034,4038 ---- $TIDS = array(); ! for( $i = 0; $i < $trows; $i++ ) { $T = DB_fetchArray( $tresult ); From dhaun at qs1489.pair.com Sun Aug 3 04:05:54 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Aug 2008 08:05:54 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-user.php,1.47,1.48 Message-ID: <20080803080554.B7EE7F7419@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv53349/system Modified Files: lib-user.php Log Message: Some minor Daily Digest improvements and code for future use Index: lib-user.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-user.php,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** lib-user.php 1 Aug 2008 18:49:09 -0000 1.47 --- lib-user.php 3 Aug 2008 08:05:50 -0000 1.48 *************** *** 9,13 **** // | User-related functions needed in more than one place. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2007 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | --- 9,13 ---- // | User-related functions needed in more than one place. | // +---------------------------------------------------------------------------+ ! // | Copyright (C) 2000-2008 by the following authors: | // | | // | Authors: Tony Bibbs - tony AT tonybibbs DOT com | *************** *** 675,677 **** --- 675,830 ---- } + /** + * Subscribe user to a topic (for the Daily Digest) + * + * @param string $tid Topic ID + * + */ + function USER_subscribeToTopic($tid) + { + global $_CONF, $_TABLES, $_USER; + + if ($_CONF['emailstories'] == 0) { + return; + } + + if (COM_isAnonUser()) { + return; + } + + if (!SEC_hasTopicAccess($tid)) { + return; + } + + $user_etids = DB_getItem($_TABLES['userindex'], 'etids', + "uid = {$_USER['uid']}"); + if (empty($user_etids)) { + return; // already subscribed to all topics + } + + if ($user_etids == '-') { + $user_etids = $tid; // first topic user subscribed to + } else { + $etids = explode(' ', $user_etids); + if (in_array($tid, $etids)) { + return; // already subscribed + } + $etids[] = $tid; + $user_etids = implode(' ', $etids); + } + $user_etids = addslashes($user_etids); + + DB_query("UPDATE {$_TABLES['userindex']} SET etids = '$user_etids' WHERE uid = {$_USER['uid']}"); + } + + /** + * Unsubscribe user from a topic (for the Daily Digest) + * + * @param string $tid Topic ID + * + */ + function USER_unsubscribeFromTopic($tid) + { + global $_CONF, $_TABLES, $_USER; + + if ($_CONF['emailstories'] == 0) { + return; + } + + if (COM_isAnonUser()) { + return; + } + + // no check for SEC_hasTopicAccess here to unsubscribe user "just in case" + + $user_etids = DB_getItem($_TABLES['userindex'], 'etids', + "uid = {$_USER['uid']}"); + if ($user_etids == '-') { + return; // not subscribed to any topics + } + + if (empty($user_etids)) { + // subscribed to all topics - get list + $etids = USER_getAllowedTopics(); + } else { + $etids = explode(' ', $user_etids); + } + + $key = array_search($tid, $etids); + if ($key === false) { + return; // not subscribed to this topic + } + + unset($etids[$key]); + + if (count($etids) == 0) { + $user_etids = '-'; + } else { + $user_etids = implode(' ', $etids); + } + $user_etids = addslashes($user_etids); + + DB_query("UPDATE {$_TABLES['userindex']} SET etids = '$user_etids' WHERE uid = {$_USER['uid']}"); + } + + /** + * Check if user is subscribed to a topic + * + * @param string $tid Topic ID + * @return boolean true: subscribed, false: not subscribed + * + */ + function USER_isSubscribedToTopic($tid) + { + global $_CONF, $_TABLES, $_USER; + + if ($_CONF['emailstories'] == 0) { + return false; + } + + if (COM_isAnonUser()) { + return false; + } + + if (!SEC_hasTopicAccess($tid)) { + return false; + } + + $user_etids = DB_getItem($_TABLES['userindex'], 'etids', + "uid = {$_USER['uid']}"); + if (empty($user_etids)) { + return true; // subscribed to all topics + } elseif ($user_etids == '-') { + return false; // not subscribed to any topics + } + + $etids = explode(' ', $user_etids); + + return in_array($tid, $etids); + } + + /** + * Get topics the current user has access to + * + * @return array Array of topic IDs + * + */ + function USER_getAllowedTopics() + { + global $_TABLES; + + $topics = array(); + + $result = DB_query("SELECT tid FROM {$_TABLES['topics']}"); + $numrows = DB_numRows($result); + for ($i = 0; $i < $numrows; $i++) { + $A = DB_fetchArray($result); + if (SEC_hasTopicAccess($A['tid'])) { + $topics[] = $A['tid']; + } + } + + return $topics; + } + ?> From dhaun at qs1489.pair.com Sun Aug 3 07:04:24 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Aug 2008 11:04:24 +0000 Subject: [geeklog-cvs] Geeklog-1.x/language german.php, 1.198, 1.199 german_formal.php, 1.103, 1.104 german_formal_utf-8.php, 1.56, 1.57 german_utf-8.php, 1.87, 1.88 Message-ID: <20080803110427.74663F740F@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/language In directory qs1489.pair.com:/tmp/cvs-serv76048 Modified Files: german.php german_formal.php german_formal_utf-8.php german_utf-8.php Log Message: Synced with English language file Index: german_formal_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/german_formal_utf-8.php,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** german_formal_utf-8.php 27 Jul 2008 09:11:29 -0000 1.56 --- german_formal_utf-8.php 3 Aug 2008 11:04:20 -0000 1.57 *************** *** 1857,1861 **** 15 => array('Nummerisch' => 'sortnum', 'Alphabetisch' => 'alpha'), 16 => array('Kein Login ben??tigt' => 0, 'Nur erweiterte Suche' => 1, 'Einfache und erweiterte Suche' => 2), ! 17 => array('Kommentare eingeschaltet' => 0, 'Kommentare ausgeschaltet' => -1) ); --- 1857,1862 ---- 15 => array('Nummerisch' => 'sortnum', 'Alphabetisch' => 'alpha'), 16 => array('Kein Login ben??tigt' => 0, 'Nur erweiterte Suche' => 1, 'Einfache und erweiterte Suche' => 2), ! 17 => array('Kommentare eingeschaltet' => 0, 'Kommentare ausgeschaltet' => -1), ! 18 => array('Aus' => 0, 'Ein (Exakte ??bereinstimmung)' => 1, 'Ein (Wortanfang)' => 2, 'Ein (Teilwort)' => 3) ); Index: german_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/german_utf-8.php,v retrieving revision 1.87 retrieving revision 1.88 diff -C2 -d -r1.87 -r1.88 *** german_utf-8.php 27 Jul 2008 09:11:29 -0000 1.87 --- german_utf-8.php 3 Aug 2008 11:04:20 -0000 1.88 *************** *** 1856,1860 **** 15 => array('Nummerisch' => 'sortnum', 'Alphabetisch' => 'alpha'), 16 => array('Kein Login ben??tigt' => 0, 'Nur erweiterte Suche' => 1, 'Einfache und erweiterte Suche' => 2), ! 17 => array('Kommentare eingeschaltet' => 0, 'Kommentare ausgeschaltet' => -1) ); --- 1856,1861 ---- 15 => array('Nummerisch' => 'sortnum', 'Alphabetisch' => 'alpha'), 16 => array('Kein Login ben??tigt' => 0, 'Nur erweiterte Suche' => 1, 'Einfache und erweiterte Suche' => 2), ! 17 => array('Kommentare eingeschaltet' => 0, 'Kommentare ausgeschaltet' => -1), ! 18 => array('Aus' => 0, 'Ein (Exakte ??bereinstimmung)' => 1, 'Ein (Wortanfang)' => 2, 'Ein (Teilwort)' => 3) ); Index: german_formal.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/german_formal.php,v retrieving revision 1.103 retrieving revision 1.104 diff -C2 -d -r1.103 -r1.104 *** german_formal.php 27 Jul 2008 09:11:29 -0000 1.103 --- german_formal.php 3 Aug 2008 11:04:20 -0000 1.104 *************** *** 1857,1861 **** 15 => array('Nummerisch' => 'sortnum', 'Alphabetisch' => 'alpha'), 16 => array('Kein Login ben?tigt' => 0, 'Nur erweiterte Suche' => 1, 'Einfache und erweiterte Suche' => 2), ! 17 => array('Kommentare eingeschaltet' => 0, 'Kommentare ausgeschaltet' => -1) ); --- 1857,1862 ---- 15 => array('Nummerisch' => 'sortnum', 'Alphabetisch' => 'alpha'), 16 => array('Kein Login ben?tigt' => 0, 'Nur erweiterte Suche' => 1, 'Einfache und erweiterte Suche' => 2), ! 17 => array('Kommentare eingeschaltet' => 0, 'Kommentare ausgeschaltet' => -1), ! 18 => array('Aus' => 0, 'Ein (Exakte ?bereinstimmung)' => 1, 'Ein (Wortanfang)' => 2, 'Ein (Teilwort)' => 3) ); Index: german.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/german.php,v retrieving revision 1.198 retrieving revision 1.199 diff -C2 -d -r1.198 -r1.199 *** german.php 27 Jul 2008 09:11:29 -0000 1.198 --- german.php 3 Aug 2008 11:04:20 -0000 1.199 *************** *** 1856,1860 **** 15 => array('Nummerisch' => 'sortnum', 'Alphabetisch' => 'alpha'), 16 => array('Kein Login ben?tigt' => 0, 'Nur erweiterte Suche' => 1, 'Einfache und erweiterte Suche' => 2), ! 17 => array('Kommentare eingeschaltet' => 0, 'Kommentare ausgeschaltet' => -1) ); --- 1856,1861 ---- 15 => array('Nummerisch' => 'sortnum', 'Alphabetisch' => 'alpha'), 16 => array('Kein Login ben?tigt' => 0, 'Nur erweiterte Suche' => 1, 'Einfache und erweiterte Suche' => 2), ! 17 => array('Kommentare eingeschaltet' => 0, 'Kommentare ausgeschaltet' => -1), ! 18 => array('Aus' => 0, 'Ein (Exakte ?bereinstimmung)' => 1, 'Ein (Wortanfang)' => 2, 'Ein (Teilwort)' => 3) ); From dhaun at qs1489.pair.com Sun Aug 3 13:43:58 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Aug 2008 17:43:58 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/calendar functions.inc, 1.93, 1.94 Message-ID: <20080803174359.AF4D0F740E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/calendar In directory qs1489.pair.com:/tmp/cvs-serv22685/plugins/calendar Modified Files: functions.inc Log Message: Be more fault-tolerant in case $_CA_CONF['event_types'] was not set properly (for bug #0000690) Index: functions.inc =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/calendar/functions.inc,v retrieving revision 1.93 retrieving revision 1.94 diff -C2 -d -r1.93 -r1.94 *** functions.inc 6 Jul 2008 20:16:59 -0000 1.93 --- functions.inc 3 Aug 2008 17:43:55 -0000 1.94 *************** *** 1792,1796 **** $retval = ''; ! $event_types = $_CA_CONF['event_types']; asort($event_types); --- 1792,1801 ---- $retval = ''; ! if (!isset($_CA_CONF['event_types']) || ! !is_array($_CA_CONF['event_types'])) { ! $event_types = array(); ! } else { ! $event_types = $_CA_CONF['event_types']; ! } asort($event_types); From dhaun at qs1489.pair.com Sun Aug 3 15:15:44 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Aug 2008 19:15:44 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.716,1.717 Message-ID: <20080803191544.9046AF7410@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv33179/public_html Modified Files: lib-common.php Log Message: Another error handling fix Index: lib-common.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v retrieving revision 1.716 retrieving revision 1.717 diff -C2 -d -r1.716 -r1.717 *** lib-common.php 3 Aug 2008 08:05:50 -0000 1.716 --- lib-common.php 3 Aug 2008 19:15:41 -0000 1.717 *************** *** 1944,1947 **** --- 1944,1951 ---- $timestamp = strftime( '%c' ); + if (!isset($_CONF['path_layout']) && + (($actionid == 2) || empty($actionid))) { + $actionid = 1; + } if (!isset($_CONF['path_log']) && ($actionid != 2)) { $actionid = 3; From dhaun at qs1489.pair.com Sun Aug 3 15:35:47 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 03 Aug 2008 19:35:47 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.46, 1.47 Message-ID: <20080803193547.E66ADF740E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system/classes In directory qs1489.pair.com:/tmp/cvs-serv35400/system/classes Modified Files: config.class.php Log Message: Catch and log problems unserializing config entries (related to bug #0000690) Index: config.class.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** config.class.php 7 Jul 2008 10:10:01 -0000 1.46 --- config.class.php 3 Aug 2008 19:35:44 -0000 1.47 *************** *** 109,112 **** --- 109,114 ---- global $_TABLES; + $false_str = serialize(false); + $sql = "SELECT name, value, group_name FROM {$_TABLES['conf_values']} WHERE (type <> 'subgroup') AND (type <> 'fieldset')"; $result = DB_query($sql); *************** *** 115,119 **** if (!array_key_exists($row[2], $this->config_array) || !array_key_exists($row[0], $this->config_array[$row[2]])) { ! $this->config_array[$row[2]][$row[0]] = unserialize($row[1]); } } --- 117,126 ---- if (!array_key_exists($row[2], $this->config_array) || !array_key_exists($row[0], $this->config_array[$row[2]])) { ! $value = @unserialize($row[1]); ! if (($value === false) && ($row[1] != $false_str)) { ! COM_errorLog("Unable to unserialize {$row[1]} for {$row[2]}:{$row[0]}"); ! } else { ! $this->config_array[$row[2]][$row[0]] = $value; ! } } } From dhaun at qs1489.pair.com Mon Aug 4 05:34:46 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Mon, 04 Aug 2008 09:34:46 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.717,1.718 Message-ID: <20080804093446.E4C00F740F@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html In directory qs1489.pair.com:/tmp/cvs-serv31209/public_html Modified Files: lib-common.php Log Message: Whoops, missing ')' ... Index: lib-common.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v retrieving revision 1.717 retrieving revision 1.718 diff -C2 -d -r1.717 -r1.718 *** lib-common.php 3 Aug 2008 19:15:41 -0000 1.717 --- lib-common.php 4 Aug 2008 09:34:43 -0000 1.718 *************** *** 368,372 **** // Handle Who's Online block ! if (COM_isAnonUser() && isset($_SERVER['REMOTE_ADDR']) { // The following code handles anonymous users so they show up properly DB_query( "DELETE FROM {$_TABLES['sessions']} WHERE remote_ip = '{$_SERVER['REMOTE_ADDR']}' AND uid = 1" ); --- 368,372 ---- // Handle Who's Online block ! if (COM_isAnonUser() && isset($_SERVER['REMOTE_ADDR'])) { // The following code handles anonymous users so they show up properly DB_query( "DELETE FROM {$_TABLES['sessions']} WHERE remote_ip = '{$_SERVER['REMOTE_ADDR']}' AND uid = 1" ); From dhaun at qs1489.pair.com Tue Aug 5 13:52:18 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Tue, 05 Aug 2008 17:52:18 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin/install config-install.php, 1.31, 1.32 Message-ID: <20080805175219.10D9DF740E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install In directory qs1489.pair.com:/tmp/cvs-serv42296/public_html/admin/install Modified Files: config-install.php Log Message: $_CONF['have_pear'] was initialized with an emtpy string - should be "false" Index: config-install.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/config-install.php,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** config-install.php 21 Mar 2008 15:38:05 -0000 1.31 --- config-install.php 5 Aug 2008 17:52:16 -0000 1.32 *************** *** 77,81 **** $c->add('fs_pear', NULL, 'fieldset', 0, 4, NULL, 0, TRUE); ! $c->add('have_pear','','select',0,4,1,135,TRUE); $c->add('path_pear','','text',0,4,NULL,140,TRUE); --- 77,81 ---- $c->add('fs_pear', NULL, 'fieldset', 0, 4, NULL, 0, TRUE); ! $c->add('have_pear',FALSE,'select',0,4,1,135,TRUE); $c->add('path_pear','','text',0,4,NULL,140,TRUE); From dhaun at qs1489.pair.com Tue Aug 5 13:52:18 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Tue, 05 Aug 2008 17:52:18 +0000 Subject: [geeklog-cvs] Geeklog-1.x/sql/updates mssql_1.4.1_to_1.5.0.php, 1.21, 1.22 mysql_1.4.1_to_1.5.0.php, 1.73, 1.74 Message-ID: <20080805175219.0E44FF7410@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/sql/updates In directory qs1489.pair.com:/tmp/cvs-serv42296/sql/updates Modified Files: mssql_1.4.1_to_1.5.0.php mysql_1.4.1_to_1.5.0.php Log Message: $_CONF['have_pear'] was initialized with an emtpy string - should be "false" Index: mssql_1.4.1_to_1.5.0.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/updates/mssql_1.4.1_to_1.5.0.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** mssql_1.4.1_to_1.5.0.php 24 May 2008 15:42:26 -0000 1.21 --- mssql_1.4.1_to_1.5.0.php 5 Aug 2008 17:52:16 -0000 1.22 *************** *** 127,131 **** $c->add('fs_pear', NULL, 'fieldset', 0, 4, NULL, 0, TRUE); ! $c->add('have_pear','','select',0,4,1,135,TRUE); $c->add('path_pear','','text',0,4,NULL,140,TRUE); --- 127,131 ---- $c->add('fs_pear', NULL, 'fieldset', 0, 4, NULL, 0, TRUE); ! $c->add('have_pear',FALSE,'select',0,4,1,135,TRUE); $c->add('path_pear','','text',0,4,NULL,140,TRUE); Index: mysql_1.4.1_to_1.5.0.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/sql/updates/mysql_1.4.1_to_1.5.0.php,v retrieving revision 1.73 retrieving revision 1.74 diff -C2 -d -r1.73 -r1.74 *** mysql_1.4.1_to_1.5.0.php 25 May 2008 09:47:04 -0000 1.73 --- mysql_1.4.1_to_1.5.0.php 5 Aug 2008 17:52:16 -0000 1.74 *************** *** 96,100 **** $c->add('fs_pear', NULL, 'fieldset', 0, 4, NULL, 0, TRUE); ! $c->add('have_pear','','select',0,4,1,135,TRUE); $c->add('path_pear','','text',0,4,NULL,140,TRUE); --- 96,100 ---- $c->add('fs_pear', NULL, 'fieldset', 0, 4, NULL, 0, TRUE); ! $c->add('have_pear',FALSE,'select',0,4,1,135,TRUE); $c->add('path_pear','','text',0,4,NULL,140,TRUE); From dhaun at qs1489.pair.com Thu Aug 7 15:54:38 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Thu, 07 Aug 2008 19:54:38 +0000 Subject: [geeklog-cvs] Geeklog-1.x/system lib-story.php,1.128,1.129 Message-ID: <20080807195438.BA959F740F@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/system In directory qs1489.pair.com:/tmp/cvs-serv66712/system Modified Files: lib-story.php Log Message: Define {story_introtext_only} on the index page Index: lib-story.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-story.php,v retrieving revision 1.128 retrieving revision 1.129 diff -C2 -d -r1.128 -r1.129 *** lib-story.php 28 Jul 2008 19:35:46 -0000 1.128 --- lib-story.php 7 Aug 2008 19:54:35 -0000 1.129 *************** *** 306,309 **** --- 306,310 ---- $article->set_var( 'story_introtext', $introtext ); $article->set_var( 'story_text_no_br', $introtext ); + $article->set_var( 'story_introtext_only', $introtext ); if( !empty( $bodytext )) From dhaun at qs1489.pair.com Sat Aug 9 16:19:12 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sat, 09 Aug 2008 20:19:12 +0000 Subject: [geeklog-cvs] Geeklog-1.x/language hebrew_utf-8.php,1.11,1.12 Message-ID: <20080809201912.84CA7F740E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/language In directory qs1489.pair.com:/tmp/cvs-serv73595 Modified Files: hebrew_utf-8.php Log Message: Updated Hebrew language file, provided by LWC Index: hebrew_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/language/hebrew_utf-8.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** hebrew_utf-8.php 4 Jul 2008 15:03:11 -0000 1.11 --- hebrew_utf-8.php 9 Aug 2008 20:19:09 -0000 1.12 *************** *** 2,6 **** ############################################################################### ! # hebrew.php # last Update 29/6/2008 # Version 1.5.0 #1.0 # Copyright (C) http://lior.weissbrod.com --- 2,6 ---- ############################################################################### ! # hebrew.php # last Update 11/7/2008 # Version 1.5.0 #1.0 # Copyright (C) http://lior.weissbrod.com *************** *** 1209,1213 **** 'no' => '????', 'corerightsdescr' => "?????????? ???? ?????? ?????????? ?????????? ???? {$_CONF['site_name']}. ?????????? ?????????????? ???? ?????????? ???? ???? ???????????? ??????????????. ???????? ?????????? ???????????? ???????? ???? ?????????????? ?????????????? ???? ???? ???????? ??????????.", ! 'groupmsg' => '???????????? ???????????? ???????? ???? ???? ????????????????. ?????????? ?????????? ???? ?????? ?????? ???? ?????????????? ?????????? ???????? ???????? ?????????? ?????????? ???????????? ???????? ???????? ?????? ?????????????? ??????. ???????? ?????????????? ?????????? ?????????????? ?????????????? ?????????? ?????? ?????? ???????????? ????????????. ???? ???????? ???????????? ???????????? ???? ???????? ???????????? ?????????????? ???? ?????????? ?????????? ???????????? ???????????? ???????????? ???????? ?????????? ?????????? \'????????????\'. ?????? ???????????? ?????????? ???? ?????? ?????? ???????? ?????????? ???????? ???????? ???? ?????????? ???????? ????????????/???? ???????????? ?????????????????? ????/??.', 'coregroupmsg' => "?????????? ???? ?????? ?????????? ?????????? ???? {$_CONF['site_name']}. ?????????? ?????????????? ???????????? ???? ?????????? ?????????? ???? ???????????? ??????????????. ???????? ?????????? ???????????? ???????? ???? ?????????????? ???????????? ???? ?????????? ??????????.", 'rightsdescr' => '???????? ???? ?????????? ???????????? ???????????? ???????? ?????????? ???????????? ???????????? ???????????? *????* ???????????? ???????? ???????????? ???? ?????????? ????????. ?????? ?????????? ?????????? ???????? ???????? ?????? ?????????? ?????????? ???? ?????????????? ???????????? ???????????? ???? ???????? ?????? ???????????? ???????????? ???????? ???? ???????? ????????????. ?????????????? ?????? ?????? ?????????? ?????????? ???????? ???? ???????????? ?????????????? ???????????? ???????????? ???????????? ????.', --- 1209,1213 ---- 'no' => '????', 'corerightsdescr' => "?????????? ???? ?????? ?????????? ?????????? ???? {$_CONF['site_name']}. ?????????? ?????????????? ???? ?????????? ???? ???? ???????????? ??????????????. ???????? ?????????? ???????????? ???????? ???? ?????????????? ?????????????? ???? ???? ???????? ??????????.", ! 'groupmsg' => '???????????? ???????????? ???????? ???? ???? ????????????????. ?????????? ?????????? ???? ?????? ?????? ???? ?????????????? ?????????? ???????? ???????????? ?????? ???????????? ???????? ???????? ?????? ?????????????? ??????. ???????? ?????????????? ?????????? ?????????????? ?????????????? ?????????? ?????? ?????? ???????????? ????????????. ???? ???????? ???????????? ???????????? ???? ???????? ???????????? ?????????????? ???? ?????????? ?????????? ???????????? ???????????? ???????????? ???????? ?????????? ?????????? ?????????? \'????????????\'. ?????? ???????????? ?????????? ???? ?????? ?????? ???????? ?????????? ???????? ???????? ???? ?????????? ???????? ????????????/???? ???????????? ?????????????????? ????/??.', 'coregroupmsg' => "?????????? ???? ?????? ?????????? ?????????? ???? {$_CONF['site_name']}. ?????????? ?????????????? ???????????? ???? ?????????? ?????????? ???? ???????????? ??????????????. ???????? ?????????? ???????????? ???????? ???? ?????????????? ???????????? ???? ?????????? ??????????.", 'rightsdescr' => '???????? ???? ?????????? ???????????? ???????????? ???????? ?????????? ???????????? ???????????? ???????????? *????* ???????????? ???????? ???????????? ???? ?????????? ????????. ?????? ?????????? ?????????? ???????? ???????? ?????? ?????????? ?????????? ???? ?????????????? ???????????? ???????????? ???? ???????? ?????? ???????????? ???????????? ???????? ???? ???????? ????????????. ?????????????? ?????? ?????? ?????????? ?????????? ???????? ???? ???????????? ?????????????? ???????????? ???????????? ???????????? ????.', *************** *** 1222,1226 **** 'storydenialmsg' => "?????? ?????? ???????? ?????????? ?????????? ????. ???????? ???????????? ?????? ?????? ???????????? ?????????? ??-{$_CONF['site_name']}. ?????? ?????????? ???????????? ??-{$_CONF['site_name']} ?????? ???????? ???????? ???????? ???? ??????????!", 'nogroupsforcoregroup' => '?????????? ???? ???? ?????????? ???????? ?????????? ???????????????? ????????????', ! 'grouphasnorights' => '???????????? ???? ?????? ???????? ?????? ?????? ?????????????? ???????????? ???? ???????? ??????', 'newgroup' => '?????????? ????????', 'adminhome' => '???????? ????????????', --- 1222,1226 ---- 'storydenialmsg' => "?????? ?????? ???????? ?????????? ?????????? ????. ???????? ???????????? ?????? ?????? ???????????? ?????????? ??-{$_CONF['site_name']}. ?????? ?????????? ???????????? ??-{$_CONF['site_name']} ?????? ???????? ???????? ???????? ???? ??????????!", 'nogroupsforcoregroup' => '?????????? ???? ???? ?????????? ???????? ?????????? ???????????????? ????????????', ! 'grouphasnorights' => '???????????? ???? ?????? ???????? ?????? ?????? ?????????????? ???????????? ???? ?????? ????', 'newgroup' => '?????????? ????????', 'adminhome' => '???????? ????????????', From dhaun at qs1489.pair.com Sun Aug 10 05:05:41 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Aug 2008 09:05:41 +0000 Subject: [geeklog-cvs] Geeklog-1.x/plugins/links/language hebrew_utf-8.php, 1.1, 1.2 Message-ID: <20080810090541.E7A55F740E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/plugins/links/language In directory qs1489.pair.com:/tmp/cvs-serv58706/plugins/links/language Modified Files: hebrew_utf-8.php Log Message: Updated Hebrew language file, provided by LWC Index: hebrew_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/links/language/hebrew_utf-8.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** hebrew_utf-8.php 3 Jun 2008 18:09:32 -0000 1.1 --- hebrew_utf-8.php 10 Aug 2008 09:05:38 -0000 1.2 *************** *** 183,187 **** 27 => '?????? HTML', 28 => '?????????? ??????????????', ! 29 => '???????? ???? ?????????? ???? ?????????????? ??????????.', 30 => '??????????????', 31 => '??????????', --- 183,187 ---- 27 => '?????? HTML', 28 => '?????????? ??????????????', ! 29 => '???????????? ???? ?????????? ???? ?????????????? ??????????.', 30 => '??????????????', 31 => '??????????', From dhaun at qs1489.pair.com Sun Aug 10 05:05:41 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Aug 2008 09:05:41 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/admin/install/language hebrew_utf-8.php, 1.1, 1.2 Message-ID: <20080810090541.6F819F740F@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/language In directory qs1489.pair.com:/tmp/cvs-serv58706/public_html/admin/install/language Modified Files: hebrew_utf-8.php Log Message: Updated Hebrew language file, provided by LWC Index: hebrew_utf-8.php =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/language/hebrew_utf-8.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** hebrew_utf-8.php 3 Jun 2008 19:35:26 -0000 1.1 --- hebrew_utf-8.php 10 Aug 2008 09:05:38 -0000 1.2 *************** *** 86,90 **** 37 => 'Microsoft SQL', 38 => '', ! 39 => '???? ?????? ??-host ???? ???????? ??????????', 40 => '???? ???????? ??????????', 41 => '???? ???????????? ???? ???????? ??????????', --- 86,90 ---- 37 => 'Microsoft SQL', 38 => '', ! 39 => '???? ???????? ???? ???????? ??????????', 40 => '???? ???????? ??????????', 41 => '???? ???????????? ???? ???????? ??????????', From dhaun at qs1489.pair.com Sun Aug 10 07:02:00 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Aug 2008 11:02:00 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/layout/professional archivestorytext.thtml, 1.17, 1.18 featuredstorytext.thtml, 1.23, 1.24 storytext.thtml, 1.24, 1.25 Message-ID: <20080810110200.4A652F740E@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional In directory qs1489.pair.com:/tmp/cvs-serv69821/public_html/layout/professional Modified Files: archivestorytext.thtml featuredstorytext.thtml storytext.thtml Log Message: Use {story_text_no_br} in the story templates Index: storytext.thtml =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/storytext.thtml,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** storytext.thtml 17 Sep 2007 02:44:29 -0000 1.24 --- storytext.thtml 10 Aug 2008 11:01:57 -0000 1.25 *************** *** 13,17 ****
! {story_anchortag_and_image}{story_introtext}
--- 13,17 ----
! {story_anchortag_and_image}{story_text_no_br}
Index: featuredstorytext.thtml =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/featuredstorytext.thtml,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** featuredstorytext.thtml 17 Sep 2007 02:44:29 -0000 1.23 --- featuredstorytext.thtml 10 Aug 2008 11:01:57 -0000 1.24 *************** *** 13,17 ****
! {story_anchortag_and_image}{story_introtext}{story_bodytext}
--- 13,17 ----
! {story_anchortag_and_image}{story_text_no_br}
Index: archivestorytext.thtml =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/archivestorytext.thtml,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** archivestorytext.thtml 17 Sep 2007 02:44:29 -0000 1.17 --- archivestorytext.thtml 10 Aug 2008 11:01:57 -0000 1.18 *************** *** 13,17 ****
! {story_anchortag_and_image}{story_introtext}
--- 13,17 ----
! {story_anchortag_and_image}{story_text_no_br}
From dhaun at qs1489.pair.com Sun Aug 10 07:02:00 2008 From: dhaun at qs1489.pair.com (Dirk Haun) Date: Sun, 10 Aug 2008 11:02:00 +0000 Subject: [geeklog-cvs] Geeklog-1.x/public_html/docs theme.html, 1.90, 1.91 themevars.html, 1.23, 1.24 Message-ID: <20080810110201.B9F67F7410@qs1489.pair.com> Update of /cvsroot/geeklog/Geeklog-1.x/public_html/docs In directory qs1489.pair.com:/tmp/cvs-serv69821/public_html/docs Modified Files: theme.html themevars.html Log Message: Use {story_text_no_br} in the story templates Index: themevars.html =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/themevars.html,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** themevars.html 27 Jul 2008 16:50:44 -0000 1.23 --- themevars.html 10 Aug 2008 11:01:58 -0000 1.24 *************** *** 208,211 **** --- 208,220 ---- single page, it contains both the intro text and the body text of the story. + story_text_no_br + Welcome and let me be the first to congratulate you on installing Geeklog ... + When displayed on the index page, this variable contains The "intro + text" part of a story. However, when displayed as an article on a + single page, it contains both the intro text and the + body text of the story. The difference between story_introtext + and story_text_no_br is that story_introtext inserts + two HTML <br> tags between the intro and the body text + whereas story_text_no_br does not do that (hence the name). lang_todays_featured_article Today's Featured Article Index: theme.html =================================================================== RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/docs/theme.html,v retrieving revision 1.90 retrieving revision 1.91 diff -C2 -d -r1.90 -r1.91 *** theme.html 27 Jul 2008 16:50:44 -0000 1.90 --- theme.html 10 Aug 2008 11:01:58 -0000 1.91 *************** *** 199,206 ****

Theme changes in Geeklog 1.5.1

!

Note: Themes made for Geeklog 1.5.0 should be compatible with Geeklog 1.5.1. ! We only made a few optional additions and a few adjustments for special setups ! (e.g. multi-language sites, right-to-left languages) which are detailed ! below.

Multilingual blocks

--- 199,207 ----

Theme changes in Geeklog 1.5.1

!

Note: Themes made for Geeklog 1.5.0 are mostly compatible with Geeklog 1.5.1. We only made one mandatory change (for the Configuration admin panel) - all the other changes listed below are optional or adjustments for special setups (e.g. multi-language sites, right-to-left languages). See details below.

! !

Important change: Configuration

! !

The JavaScript code used for the Configuration admin panel used a generic name which caused conflicts with other JavaScript code. You should update the file admin/config/config_element.thtml to make sure your theme works with Geeklog 1.5.1.

Multilingual blocks

*************** *** 226,234 ****