openfirst-cvscommit Mailing List for openFIRST (Page 17)
Brought to you by:
xtimg
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(41) |
Jun
(210) |
Jul
(39) |
Aug
(153) |
Sep
(147) |
Oct
(173) |
Nov
(81) |
Dec
(163) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(33) |
Feb
(18) |
Mar
|
Apr
(62) |
May
|
Jun
(100) |
Jul
(38) |
Aug
(58) |
Sep
(1) |
Oct
|
Nov
(25) |
Dec
(172) |
2005 |
Jan
(31) |
Feb
(12) |
Mar
(67) |
Apr
(92) |
May
(247) |
Jun
(34) |
Jul
(36) |
Aug
(192) |
Sep
(15) |
Oct
(42) |
Nov
(92) |
Dec
(4) |
2006 |
Jan
|
Feb
(21) |
Mar
|
Apr
|
May
|
Jun
(53) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
(4) |
Apr
(4) |
May
|
Jun
(15) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <bug...@we...> - 2005-08-24 18:37:49
|
http://bugzilla.openfirst.org/show_bug.cgi?id=214 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 18:37:48
|
http://bugzilla.openfirst.org/show_bug.cgi?id=76 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 18:37:48
|
http://bugzilla.openfirst.org/show_bug.cgi?id=60 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 18:37:48
|
http://bugzilla.openfirst.org/show_bug.cgi?id=97 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 18:37:47
|
http://bugzilla.openfirst.org/show_bug.cgi?id=252 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |
From: <bug...@we...> - 2005-08-24 18:36:51
|
http://bugzilla.openfirst.org/show_bug.cgi?id=135 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |
From: <bug...@we...> - 2005-08-24 18:00:10
|
http://bugzilla.openfirst.org/show_bug.cgi?id=127 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |
From: <bug...@we...> - 2005-08-24 17:59:52
|
http://bugzilla.openfirst.org/show_bug.cgi?id=231 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 17:59:45
|
http://bugzilla.openfirst.org/show_bug.cgi?id=229 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 17:59:41
|
http://bugzilla.openfirst.org/show_bug.cgi?id=218 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 17:59:38
|
http://bugzilla.openfirst.org/show_bug.cgi?id=222 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 17:59:13
|
http://bugzilla.openfirst.org/show_bug.cgi?id=202 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 17:59:11
|
http://bugzilla.openfirst.org/show_bug.cgi?id=189 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 17:59:01
|
http://bugzilla.openfirst.org/show_bug.cgi?id=186 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 17:58:53
|
http://bugzilla.openfirst.org/show_bug.cgi?id=180 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 17:58:52
|
http://bugzilla.openfirst.org/show_bug.cgi?id=179 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 17:58:42
|
http://bugzilla.openfirst.org/show_bug.cgi?id=176 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 17:58:34
|
http://bugzilla.openfirst.org/show_bug.cgi?id=169 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 17:58:27
|
http://bugzilla.openfirst.org/show_bug.cgi?id=168 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 17:58:23
|
http://bugzilla.openfirst.org/show_bug.cgi?id=164 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-08-24 17:58:10
|
http://bugzilla.openfirst.org/show_bug.cgi?id=162 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |REL1_1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You reported the bug, or are watching the reporter. |
From: Jamie <ast...@us...> - 2005-08-24 02:57:52
|
Update of /cvsroot/openfirst/base/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7485/includes Modified Files: globals.php Log Message: Includes settings.php Index: globals.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/globals.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** globals.php 24 Aug 2005 02:33:27 -0000 1.13 --- globals.php 24 Aug 2005 02:57:44 -0000 1.14 *************** *** 78,81 **** --- 78,82 ---- require_once('slug.php'); require_once('edit.php'); + require_once('settings.php'); } require_once('skin.php'); |
From: Jamie <ast...@us...> - 2005-08-24 02:42:47
|
Update of /cvsroot/openfirst/modules/setup In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4723/modules/setup Removed Files: setup.mssql setup.mysql Log Message: Removing old files --- setup.mysql DELETED --- --- setup.mssql DELETED --- |
From: Jamie <ast...@us...> - 2005-08-24 02:34:55
|
Update of /cvsroot/openfirst/base/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3224/includes Added Files: settings.php Log Message: Objects to store settings. --- NEW FILE: settings.php --- <?php /* * openFIRST.base - includes/settings.php * * Copyright (C) 2003, * openFIRST Project * Original Author: Jamie Bliss <ja...@op...> * * 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. * 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 * */ // Purpose: Define functions for modules to load and save settings /** Handles storing, retrieving, and deleting per-module, site-wide settings. */ class SiteSettings { /*private*/ var $mod; function SiteSettings($module=false) { if ($module == false) { global $ogCurrentModule; $this->mod = $ogCurrentModule->getDir(); } else if (is_object($module) && is_a($module, Module)) { $this->mod = $module->getDir(); } else { $this->mod = $module; } } function get($name, $default=null) { $modname = $this->mod; global $ogDB; $res = $ogDB->select( 'sitesettings', 'ss_value', array( 'ss_module' => $modname, 'ss_setting' => $name) ); $row = $ogDB->fetchObject($res); if (isset($row->ss_value)) return unserialize($row->ss_value); else return $default; } function set($name, $value) { $modname = $this->mod; global $ogDB; $res = $ogDB->replace( 'sitesettings', array( 'ss_module' => $modname, 'ss_setting' => $name, 'ss_value' => serialize($value) ) ); } /* function del($name) { # }*/ } //User settings /** Handles storing, retrieving, and deleting per-module, site-wide settings. */ class UserSettings { /*private*/ var $mod, $user; function UserSettings($module=false,$user=false) { if ($module == false) { global $ogCurrentModule; $this->mod = $ogCurrentModule->getDir(); } else if (is_object($module) && is_a($module, Module)) { global $ogModuleManager; $this->mod = $module->getDir(); } else { $this->mod = $module; } if ($user == false) { $this->user = $GLOBALS['user']->user; } else if (is_object($user)) { $this->user = $user->user; } else { $this->user = $user; } } function get($name, $default=null) { $modname = $this->mod; $username = $this->user; global $ogDB; $res = $ogDB->select( 'usersettings', 'us_value', array( 'us_user' => $username, 'us_module' => $modname, 'us_setting' => $name) ); $row = $ogDB->fetchObject($res); if (isset($row->ss_value)) return unserialize($row->ss_value); else return $default; } function set($name, $value) { $modname = $this->mod; $username = $this->user; global $ogDB; $ogDB->replace( 'usersettings', array( 'us_user' => $username, 'us_module' => $modname, 'us_setting' => $name, 'us_value' => serialize($value) ) ); } /* function del($name) { # }*/ } ?> |
From: Jamie <ast...@us...> - 2005-08-24 02:33:35
|
Update of /cvsroot/openfirst/base/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2937/includes Modified Files: globals.php Log Message: Sets $ogCurrentModule now (oops...) Index: globals.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/globals.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** globals.php 18 Jul 2005 22:34:33 -0000 1.12 --- globals.php 24 Aug 2005 02:33:27 -0000 1.13 *************** *** 127,130 **** --- 127,131 ---- $dir = $mod->dir; $module =& $ogModuleManager->addModuleFromDir($dir); + if ($dir == $curmodule) $ogCurrentModule =& $module; if ($module->getActive()) { $dir = $module->getDir(); |