[geeklog-cvs] geeklog-1.3/public_html usersettings.php,1.93,1.93.2.1

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Mon May 31 06:44:54 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv13447/public_html

Modified Files:
      Tag: geeklog_1_3_9_1
	usersettings.php 
Log Message:
It was possible to subscribe to the Daily Digest for all topics, even if the user did not have access to certain topics.
Added a missing piece of code that prevented the plugin_profileblocksedit_<plugin-name> Plugin API function from working.


Index: usersettings.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/usersettings.php,v
retrieving revision 1.93
retrieving revision 1.93.2.1
diff -C2 -d -r1.93 -r1.93.2.1
*** usersettings.php	28 Feb 2004 09:29:51 -0000	1.93
--- usersettings.php	31 May 2004 10:44:52 -0000	1.93.2.1
***************
*** 922,926 ****
      $etids = '';
      if (sizeof ($ETIDS) > 0) {
!         $etids = addslashes (implode (' ', $ETIDS));
      }
  
--- 922,928 ----
      $etids = '';
      if (sizeof ($ETIDS) > 0) {
!         $allowed_etids = buildTopicList ();
!         $AETIDS = explode (' ', $allowed_etids);
!         $etids = addslashes (implode (' ', array_intersect ($AETIDS, $ETIDS)));
      }
  
***************
*** 1044,1047 ****
--- 1046,1054 ----
          }
          break;
+     case 'plugin':
+         PLG_profileExtrasSave ($HTTP_POST_VARS['plugin']);
+         $display = COM_refresh ($_CONF['site_url']
+                                 . '/usersettings.php?mode=edit&msg=5');
+         break;
      }
  } else {




More information about the geeklog-cvs mailing list