openfirst-cvscommit Mailing List for openFIRST (Page 31)
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: Astronouth7303 <ast...@us...> - 2005-05-15 05:27:34
|
Update of /cvsroot/openfirst/base/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29340/images Added Files: openfirst.info.php Log Message: added basic openfirst.info.php to each module --- NEW FILE: openfirst.info.php --- <?php global $Modules; $Modules['awards']['name'] = 'Awards'; $Modules['awards']['ver'] = 'CVS', $Modules['awards']['inc'] = '', $Modules['awards']['admin'] = '<a href="$basepath/awards/admin/">Manage Awards</a>', $Modules['awards']['nav'] = '<a href="$basepath/awards/">View Awards</a>', if (!isset($Modules['awards']['active']) { $Modules['awards']['active'] = false; } if (!isset($Modules['awards']['show']) { $Modules['awards']['show'] = false; } ?> |
From: Astronouth7303 <ast...@us...> - 2005-05-15 05:27:34
|
Update of /cvsroot/openfirst/guestbook In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29340/guestbook Added Files: openfirst.info.php Log Message: added basic openfirst.info.php to each module --- NEW FILE: openfirst.info.php --- <?php global $Modules; $Modules['guestbook']['name'] = 'Guestbook'; $Modules['guestbook']['ver'] = 'CVS'; $Modules['guestbook']['inc'] = array ( 0 => '', ); $Modules['guestbook']['admin'] = '<a href="$basepath/guestbook/deleteentry.php">Delete Entry</a>'; $Modules['guestbook']['nav'] = '<a href="$basepath/guestbook/">View Guestbook</a> | <a href="$basepath/guestbook/sign.php">Sign Guestbook</a>'; if (!isset($Modules['awards']['active']) { $Modules['awards']['active'] = false; } if (!isset($Modules['awards']['show']) { $Modules['awards']['show'] = false; } ?> |
From: Astronouth7303 <ast...@us...> - 2005-05-15 05:27:34
|
Update of /cvsroot/openfirst/logger In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29340/logger Added Files: openfirst.info.php Log Message: added basic openfirst.info.php to each module --- NEW FILE: openfirst.info.php --- <?php global $Modules; $Modules['logger']['name'] = 'Logger'; $Modules['logger']['ver'] = 'CVS'; $Modules['logger']['inc'] = array ( 0 => 'logger.php', ); $Modules['logger']['admin'] = '<a href="$basepath/logger/index.php">Logger</a> | <a href="$basepath/logger/stats.php">Usage Statistics</a> | <a href="$basepath/logger/reset.php">Reset Logger</a> | <a href="$basepath/logger/rawdata.php">Raw Data</a>'; $Modules['logger']['nav'] = NULL; if (!isset($Modules['awards']['active']) { $Modules['awards']['active'] = false; } if (!isset($Modules['awards']['show']) { $Modules['awards']['show'] = false; } ?> |
From: Astronouth7303 <ast...@us...> - 2005-05-15 05:27:33
|
Update of /cvsroot/openfirst/sidebars In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29340/sidebars Added Files: openfirst.info.php Log Message: added basic openfirst.info.php to each module --- NEW FILE: openfirst.info.php --- <?php global $Modules; $Modules['sidebars']['name'] = 'Sidebars'; $Modules['sidebars']['ver'] = 'CVS'; $Modules['sidebars']['inc'] = array ( 0 => '', ); $Modules['sidebars']['admin'] = NULL; $Modules['sidebars']['nav'] = '<a href="$basepath/sidebars/">Browse Sidebars</a>'; if (!isset($Modules['awards']['active']) { $Modules['awards']['active'] = false; } if (!isset($Modules['awards']['show']) { $Modules['awards']['show'] = false; } ?> |
From: Astronouth7303 <ast...@us...> - 2005-05-15 05:27:33
|
Update of /cvsroot/openfirst/update In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29340/update Added Files: openfirst.info.php Log Message: added basic openfirst.info.php to each module --- NEW FILE: openfirst.info.php --- <?php global $Modules; $Modules['awards']['name'] = 'Awards'; $Modules['awards']['ver'] = 'CVS', $Modules['awards']['inc'] = '', $Modules['awards']['admin'] = '<a href="$basepath/awards/admin/">Manage Awards</a>', $Modules['awards']['nav'] = '<a href="$basepath/awards/">View Awards</a>', if (!isset($Modules['awards']['active']) { $Modules['awards']['active'] = false; } if (!isset($Modules['awards']['show']) { $Modules['awards']['show'] = false; } ?> |
From: Astronouth7303 <ast...@us...> - 2005-05-15 05:26:06
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29179/config Modified Files: globals.php install.php Removed Files: globals-default.php Log Message: -CSS -Syntax error -Beginings of better module support -globals-default.php no longer needed Index: install.php =================================================================== RCS file: /cvsroot/openfirst/base/config/install.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** install.php 3 Apr 2005 00:37:56 -0000 1.19 --- install.php 15 May 2005 05:25:57 -0000 1.20 *************** *** 51,55 **** if(function_exists("glob")) { ! $files = glob("../*/setup/*.$dbasetype"); if (count($files) < 1) { ?> --- 51,55 ---- if(function_exists("glob")) { ! $files = glob("../*/openfirst.info.php"); if (count($files) < 1) { ?> *************** *** 65,72 **** if(isset($_POST[$dir]) == true && $_POST[$dir] == "on") { - $q = ofirst_dbquery("CREATE table IF NOT EXISTS `ofirst_config` (`modulename` CHAR(25) NOT NULL, - `showonmenu` BOOL, `active` BOOL, `adminnavigation` TEXT, - `modulenavigation` TEXT, `includes` TEXT, PRIMARY KEY (`modulename`));"); - $sf = fopen($filename, "r"); $query = ""; --- 65,68 ---- --- globals-default.php DELETED --- Index: globals.php =================================================================== RCS file: /cvsroot/openfirst/base/config/globals.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** globals.php 14 May 2005 22:44:20 -0000 1.9 --- globals.php 15 May 2005 05:25:57 -0000 1.10 *************** *** 40,44 **** } $path = htmlentities($path); ! die( "You'll have to <a href="$path">set openFIRST up</a> first!" ); } --- 40,44 ---- } $path = htmlentities($path); ! die( "You'll have to <a href=\"$path\">set openFIRST up</a> first!" ); } *************** *** 90,93 **** --- 90,108 ---- $incl = ofirst_dbquery('SELECT * FROM ofirst_config'); + + $Modules = array(); + + function AddModule($code, $name, $version, $includes, $adminnav, $modulenav, $active, $show) { + global $Modules; + $Modules[$code] = array( + 'name' => $name, + 'ver' => $version, + 'inc' => $includes, + 'admin' => $adminnav, + 'nav' => $modulenav, + 'active' => (bool)$active, + 'show' => (bool)$show + ); + } // If there is no error then run the module add feature *************** *** 95,98 **** --- 110,122 ---- // Begin to loop through modules from the databaes while($module = ofirst_dbfetch_object($incl)) { + AddModule($module->modulename, + $module->modulename, + '', #Version + explode(',', $module->includes), + $module->adminnavigation, + $module->modulenavigation, + $module->active, + $module->showonmenu + ); // Check if the value is try, if it is then run an include if($module->active == true) { *************** *** 118,122 **** // If it is the current module then color the item if ($currentmodule == $module->modulename){ ! $headers .= " » <font color='red'><u><a class='menu' href='$basepath/$module->modulename'>".ucwords($module->modulename)."</a></u></font> | "; --- 142,146 ---- // If it is the current module then color the item if ($currentmodule == $module->modulename){ ! $headers .= " » <a class='menu selected' href='$basepath/$module->modulename'>".ucwords($module->modulename)."</a> | "; |
From: Astronouth7303 <ast...@us...> - 2005-05-15 05:22:19
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28859/config Modified Files: headers.php Added Files: style.css Log Message: added basic stylesheet --- NEW FILE: style.css --- #adminmenu { color: #ffffff; } #adminmenu a:link { color: #ffffff; } #adminmenu a:visited { color: #ffffff; } #adminmenu a:active { color: #ffffff; } #adminmenu a:hover { color: #ffffff; } a:link { color: #000000; font-size: 12px; font-family: sans-serif; text-decoration: underline; } a:visited { color: #000000; font-size: 12px; font-family: sans-serif; text-decoration: underline; } a:active { color: #0000000; font-size: 12px; font-family: sans-serif; text-decoration: underline; } a:hover { color: #000000; font-size: 12px; font-family: sans-serif; text-decoration: underline; } #topmenu { text-align: left; } #topmenu a:link { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none; } #topmenu a:visited { color: #bebebe; font-size: 12px; font-family: sans-serif; text-decoration: none; } #topmenu a:active { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none; } #topmenu a:hover { color: #bed8ff; font-size: 12px; font-family: sans-serif; text-decoration: none; } table { border-left:solid #999999 1px;border-right:solid #999999 1px;border-bottom:solid #999999 1px; margin-left:auto; margin-right:auto; } td { padding: 5px; } th { padding: 5px; } table.menu { border-left:0px;border-right:0px;border-bottom:0px; } td.menu {border-left:0px;border-right:0px;border-bottom:0px; } body {color: black; font-weight: bolder; font-size: 12px; font-family: sans-serif; text-decoration:none; text-align: center; margin: 0px; } td { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none; } td.navigation { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none; } th { background-color: #999999; color: #333333;background-image: url('<?php echo("$basepath/images/"); ?>back-light.gif'); } td.sub { background-color: #999999; color: #333333;background-image: url('<?php echo("$basepath/images/"); ?>back-lighter.gif'); } .menu.selected { color: red; text-decoration: underline; } Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/headers.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** headers.php 3 Apr 2005 02:02:37 -0000 1.22 --- headers.php 15 May 2005 05:22:10 -0000 1.23 *************** *** 8,12 **** <html> <head> ! <title><?php echo $title; ?></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Language" content="en-CA" /> --- 8,12 ---- <html> <head> ! <title><?php echo htmlentities($title); ?></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Language" content="en-CA" /> *************** *** 14,46 **** <meta name="author" content="OpenFIRST - http://openfirst.sf.net" /> <meta name="generator" content="OpenFIRST - http://openfirst.sf.net" /> ! <style type="text/css"> ! #adminmenu { color: #ffffff; } ! #adminmenu a:link { color: #ffffff; } ! #adminmenu a:visited { color: #ffffff; } ! #adminmenu a:active { color: #ffffff; } ! #adminmenu a:hover { color: #ffffff; } ! ! a:link { color: #000000; font-size: 12px; font-family: sans-serif; text-decoration: underline; } ! a:visited { color: #000000; font-size: 12px; font-family: sans-serif; text-decoration: underline; } ! a:active { color: #0000000; font-size: 12px; font-family: sans-serif; text-decoration: underline; } ! a:hover { color: #000000; font-size: 12px; font-family: sans-serif; text-decoration: underline; } ! ! #topmenu { text-align: left; } ! #topmenu a:link { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none; } ! #topmenu a:visited { color: #bebebe; font-size: 12px; font-family: sans-serif; text-decoration: none; } ! #topmenu a:active { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none; } ! #topmenu a:hover { color: #bed8ff; font-size: 12px; font-family: sans-serif; text-decoration: none; } ! ! table { border-left:solid #999999 1px;border-right:solid #999999 1px;border-bottom:solid #999999 1px; margin-left:auto; margin-right:auto; } ! td { padding: 5px; } ! th { padding: 5px; } ! table.menu { border-left:0px;border-right:0px;border-bottom:0px; } ! td.menu {border-left:0px;border-right:0px;border-bottom:0px; } ! body {color: black; font-weight: bolder; font-size: 12px; font-family: sans-serif; text-decoration:none; text-align: center; margin: 0px; } ! td { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none; } ! td.navigation { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none; } ! th { background-color: #999999; color: #333333;background-image: url('<?php echo("$basepath/images/"); ?>back-light.gif'); } ! td.sub { background-color: #999999; color: #333333;background-image: url('<?php echo("$basepath/images/"); ?>back-lighter.gif'); } ! </style> </head> <body> --- 14,18 ---- <meta name="author" content="OpenFIRST - http://openfirst.sf.net" /> <meta name="generator" content="OpenFIRST - http://openfirst.sf.net" /> ! <link rel="stylesheet" type="text/css" href="<?php echo htmlentities($basepath); ?>/config/style.css"> </head> <body> *************** *** 48,56 **** <table width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> ! <td> <img src="<?php echo("$basepath"); ?>/images/openfirst.png" alt="openFIRST Portal System" /> </td> </tr> <tr> ! <th id="topmenu" style="background-image: url('<?php echo("$basepath"); ?>/images/back.gif');"> <?php if(ISSET($headers)){ --- 20,28 ---- <table width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> ! <td> <img src="<?php echo htmlentities($basepath); ?>/images/openfirst.png" alt="openFIRST Portal System" /> </td> </tr> <tr> ! <th id="topmenu" style="background-image: url('<?php echo htmlentities($basepath); ?>/images/back.gif');"> <?php if(ISSET($headers)){ *************** *** 71,75 **** </tr> <tr> ! <td style="background-image: url('<?php echo("$basepath"); ?>/images/back-light.gif'); "> <table width="100%" border="0" cellspacing="0" cellpadding="0"> --- 43,47 ---- </tr> <tr> ! <td style="background-image: url('<?php echo htmlentities($basepath); ?>/images/back-light.gif'); "> <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
From: Astronouth7303 <ast...@us...> - 2005-05-14 22:44:32
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28620/config Modified Files: globals.php Log Message: Added configuration URL detection. Index: globals.php =================================================================== RCS file: /cvsroot/openfirst/base/config/globals.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** globals.php 14 May 2005 22:25:56 -0000 1.8 --- globals.php 14 May 2005 22:44:20 -0000 1.9 *************** *** 31,35 **** $configdir = dirname(__FILE__); if( !file_exists( "$configdir/sitesettings.php" ) ) { ! die( "You'll have to set openFIRST up first!" ); } --- 31,44 ---- $configdir = dirname(__FILE__); if( !file_exists( "$configdir/sitesettings.php" ) ) { ! $path = "#"; ! if(file_exists("../config/first.php")) { ! $path = "../config/first.php"; ! } elseif(file_exists("config/first.php")) { ! $path = "config/first.php"; ! } elseif(file_exists("../../config/first.php")) { ! $path = "../../config/first.php"; ! } ! $path = htmlentities($path); ! die( "You'll have to <a href="$path">set openFIRST up</a> first!" ); } |
From: Astronouth7303 <ast...@us...> - 2005-05-14 22:26:05
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25080/config Modified Files: .cvsignore first.php globals.php Added Files: sitesettings.tpl Removed Files: globals.tpl Log Message: Moved settings from globals.php to sitesettings.php --- NEW FILE: sitesettings.tpl --- <?php /* * openFIRST base configuration file * This file has been automatically generated by first.php. * it contains the basic configuration options required to * operate the OpenFIRST web portal software. Note, that * most configuration options are now stored in the MySQL * database, in the ofirst_config table. */ $dbasetype = %DBTYPE%; $encryption = %ENCRYPT%; $title = %TITLE%; $version = %VER%; $sqlserver = %DBSERVER%; $sqluser = %DBUSER%; $sqlpassword = %DBPASS%; $sqldatabase = %DBNAME%; $sqlconnection = ofirst_dbconnect("$sqlserver","$sqluser","$sqlpassword"); ofirst_select_db($sqldatabase); $pass_save_disabled=%COOKIE%; $regenabled=%REG%; $home = %HOME%; $header = %HEADER%; $footer = %FOOTER%; $mailnotify = %MASTERMAIL%; $mailfrom = %BOTMAIL%; $server = %SERVER%; $basepath = %BASEPATH%; $fbasepath = %FBASEPATH%; ?> Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** first.php 14 May 2005 20:34:33 -0000 1.53 --- first.php 14 May 2005 22:25:56 -0000 1.54 *************** *** 38,42 **** ! if(isset($_POST["ostype"])) { $sqlserver = $_POST["sqlserver"]; $sqluser = $_POST["sqluser"]; --- 38,42 ---- ! if(isset($_POST["sqlserver"])) { $sqlserver = $_POST["sqlserver"]; $sqluser = $_POST["sqluser"]; *************** *** 60,70 **** // They have submitted the form, write a new globals.php file and test // options. ! if (is_writable("./globals.php")) { ! $file = file_get_contents('./globals.tpl'); $cookielogins = ((isset($_POST["cookielogins"]) && $_POST["cookielogins"]=="yes") ? true : false); $allowreg = ((isset($_POST["allowreg"]) && $_POST["allowreg"]=="yes") ? true : false); $find = array('%DBTYPE%', - '%OS%', '%ENCRYPT%', '%TITLE%', --- 60,69 ---- // They have submitted the form, write a new globals.php file and test // options. ! if (is_writable("./sitesettings.php")) { ! $file = file_get_contents('./sitesettings.tpl'); $cookielogins = ((isset($_POST["cookielogins"]) && $_POST["cookielogins"]=="yes") ? true : false); $allowreg = ((isset($_POST["allowreg"]) && $_POST["allowreg"]=="yes") ? true : false); $find = array('%DBTYPE%', '%ENCRYPT%', '%TITLE%', *************** *** 86,90 **** $replace = array(GetVarValue($_POST['dbasetype']), - GetVarValue($_POST['ostype']), GetVarValue($_POST['encryption']), GetVarValue($_POST['title']), --- 85,88 ---- *************** *** 195,216 **** </tr> <tr> - <td>Operating System of Web Server</td> - <td><select name="ostype"> - <?php - if ($windows) { - echo("<option value='unix'>UNIX</option> - <option value='windows' selected='selected'>Windows</option>"); - } else { - echo("<option value='unix' selected='selected'>UNIX</option> - <option value='windows'>Windows</option>"); - } - ?> - </select> <font size="2">(UNIX includes variants, such as Linux, Mac OS - X, and BeOS) </font></td> - </tr> - <tr> <td>Database Type - <?php - ?> </td> <td> --- 193,197 ---- Index: .cvsignore =================================================================== RCS file: /cvsroot/openfirst/base/config/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** .cvsignore 13 Mar 2005 01:52:02 -0000 1.1 --- .cvsignore 14 May 2005 22:25:56 -0000 1.2 *************** *** 1 **** --- 1,2 ---- Globals.php + sitesettings.php \ No newline at end of file --- globals.tpl DELETED --- Index: globals.php =================================================================== RCS file: /cvsroot/openfirst/base/config/globals.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** globals.php 13 Mar 2005 01:49:26 -0000 1.7 --- globals.php 14 May 2005 22:25:56 -0000 1.8 *************** *** 1,15 **** <?php /* ! * openFIRST globals.php ! * This is a placeholder file. It will be recreated ! * by first.php when you first access and configure ! * your OpenFIRST portal software. ! */ ! if(file_exists("../config/first.php")) { ! header("Location: ../config/first.php"); ! } elseif(file_exists("config/first.php")) { ! header("Location: config/first.php"); ! } elseif(file_exists("../../config/first.php")) { ! header("Location: ../../config/first.php"); } ?> --- 1,131 ---- <?php /* ! * openFIRST.base - config/globals.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Tim Ginn <tim...@po...> ! * ! * 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: Initialize the openFIRST system. ! ! $configdir = dirname(__FILE__); ! if( !file_exists( "$configdir/sitesettings.php" ) ) { ! die( "You'll have to set openFIRST up first!" ); ! } ! ! if (substr(PHP_OS, 0, 3) == 'WIN') { ! $ostype = 'windows'; ! } else { ! $ostype = 'unix'; ! } ! ! if ($ostype == 'windows') { ! set_include_path( get_include_path().";$configdir/;."); ! } else { ! set_include_path( get_include_path().":$configdir/:."); ! } ! unset($configdir); ! ! require_once('dbase.php'); ! ! if(function_exists("ofirst_dbconnect") == false) { ! die("Your version of PHP has not been compiled with SQL support, therefore the openFIRST web portal system cannot run on this system. Please contact your system administrator to request SQL support for your version of PHP."); ! } ! ! require_once('sitesettings.php'); ! ! ! // Determine what module the user is viewing ! $currentmodule = str_replace($basepath, '', $_SERVER['SCRIPT_NAME']); ! $currentmodule = substr($currentmodule, 1, strpos($currentmodule, '/', 2) - 1); ! ! #FIXME: Use $fbasepath instead of getcwd() ! session_start(); ! include('auth.php'); ! if(function_exists('glob')) { ! // Include the functions using glob(); ! if(is_readable(getcwd() . "/../config/functions/")) { ! foreach (glob(getcwd() . "/../config/functions/*.php") as $filename) { ! include($filename); ! } ! } elseif (is_readable(getcwd() . "/../../config/functions/")) { ! foreach (glob(getcwd() . "/../../config/functions/*.php") as $filename) { ! include($filename); ! } ! } ! } else { ! // Include the functions without using glob(); ! } ! ! $headers = ''; ! ! $incl = ofirst_dbquery('SELECT * FROM ofirst_config'); ! ! // If there is no error then run the module add feature ! if(ofirst_dberrno() == 0) { ! // Begin to loop through modules from the databaes ! while($module = ofirst_dbfetch_object($incl)) { ! // Check if the value is try, if it is then run an include ! if($module->active == true) { ! // Check if there are includes that need to be included ! if(!( $module->includes == '')){ ! // If the list is not empty then explode the value and put it into inclist ! $inclist = explode(',',$module->includes); ! // This is to remove an error that you have if you don't check if there are more then 2 ! if(count($inclist) >= 2){ ! ! // Loop through the inclist and add them according to their paths ! foreach($inclist As $inc){ ! include("$fbasepath/$module->modulename/$inc"); ! } ! } else { ! // If there is only 1 include available then use this line to include it instead ! include("$fbasepath/$module->modulename/$module->includes"); ! } ! } ! ! // If the module has requested to be shown on the menu then add it ! if( (bool) $module->showonmenu == true) { ! // If it is the current module then color the item ! if ($currentmodule == $module->modulename){ ! $headers .= " » <font color='red'><u><a class='menu' href='$basepath/$module->modulename'>".ucwords($module->modulename)."</a></u></font> | ! "; ! ! // Declare important variables so that headers can pick them up and preview them ! ! $adminnav = str_replace("\$basepath", $basepath, $module->adminnavigation) . " <a href='http://bugzilla.openfirst.org'>Report Bug</a>"; ! $subnav = str_replace("\$basepath", $basepath, $module->modulenavigation); ! ! } else { ! $headers .= " » <a class='menu' href='$basepath/$module->modulename'>".ucwords($module->modulename)."</a> | ! "; ! } ! } ! } ! } } + + if (!preg_match('/\A[a-zA-Z0-9]+\z/',session_id())) session_regenerate_id(); + + session_write_close(); ?> |
From: Astronouth7303 <ast...@us...> - 2005-05-14 20:34:44
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6993/config Modified Files: first.php Log Message: More reliable OS detection method using PHP_OS Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** first.php 14 Mar 2005 00:50:00 -0000 1.52 --- first.php 14 May 2005 20:34:33 -0000 1.53 *************** *** 149,170 **** chdir('..'); $fbasepath = str_replace("\\", '/', getcwd()); - $windows = (isset($_ENV['OS']) && strpos(' ' . $_ENV['OS'], 'Windows')) ? true : false; - - if (!$windows) { - $windows = (strstr(getcwd(), "\\")) ? true : false; // Contains backslash - } - if (!$windows && isset($_SERVER['SERVER_SIGNATURE'])) { - $windows = (strstr($_SERVER['SERVER_SIGNATURE'], '(win32)')) ? true : false; // contains (win32) - } - if (!$windows && isset($_SERVER['PATH'])) { - $windows = (strstr($_SERVER['PATH'], "\\")) ? true : false; // Contains backslash - } - if (!$windows && isset($_SERVER['SystemRoot'])) { - $windows = (strstr($_SERVER['SystemRoot'], "\\")) ? true : false; // Contains backslash - } - if (!$windows && isset($_SERVER['SystemRoot'])) { - $windows = (substr($_SERVER['SystemRoot'], 1, 1) == ':') ? true : false; // begins with a windows drive - } $sqlhost = 'localhost'; if(ini_get('mysql.default_host') != '') { --- 149,159 ---- chdir('..'); $fbasepath = str_replace("\\", '/', getcwd()); + if (PHP_OS == "WIN32" || PHP_OS == "WINNT") { + $windows = true; + } else { + $windows = false; + } + $sqlhost = 'localhost'; if(ini_get('mysql.default_host') != '') { |
From: <bug...@we...> - 2005-05-14 19:41:36
|
http://bugzilla.openfirst.org/show_bug.cgi?id=248 Summary: An escaping function needs to be used. Product: openFIRST Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: base AssignedTo: de...@op... ReportedBy: ja...@op... An escaping function needs to be written for DB access. The best way to make it is used is to just write a SELECT/INSERT wrapper. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |
From: <bug...@we...> - 2005-05-14 19:29:01
|
http://bugzilla.openfirst.org/show_bug.cgi?id=162 ------- Additional Comments From ja...@op... 2005-05-14 14:28 ------- This problem will now surface in base/config/dbase.php, ofirst_dbcreate() (line 292). The MySQL error for 'Bad host' is 2005. ------- 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-05-14 18:46:17
|
http://bugzilla.openfirst.org/show_bug.cgi?id=158 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED ------- Additional Comments From ja...@op... 2005-05-14 13:46 ------- Appears to be fixed in CVS. Now it won't follow any links. ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-05-14 18:45:30
|
http://bugzilla.openfirst.org/show_bug.cgi?id=158 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|de...@op... |ja...@op... Status|NEW |UNCONFIRMED ------- Additional Comments From ja...@op... 2005-05-14 13:45 ------- Fixed in CVS by me (I think) ------- 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: Tim G. <ti...@op...> - 2005-05-05 23:52:45
|
Hey, This was sent to me since I'm listed as the project admin, but I figure it's important enough that everyone should have a look at it. Tim Begin forwarded message: > From: "SourceForge.net Team" <no...@so...> > Date: May 5, 2005 5:08:11 PM EDT > Subject: SourceForge.net: Notice to project admin of upcoming project > web and statistics changes > > Greetings, > > This message provides an overview of upcoming changes to the > SourceForge.net statistics system and the project web service. > You are receiving this message because you are presently listed as > an administrator of a project hosted on SourceForge.net, and we deem > these changes to be important enough to notify all active project > administrators. This is a one-time mailing. See the BOTTOM of this > message if you are no longer active on SourceForge.net. > > > A. Project Web Service > > A significant amount of recent work has gone in to improvements to > the scalability and security of the project web service. > On 2005-05-23, we will be remounting project group directories > read-only on the project web servers (they will remain read-write > from the shell server). > > This may impact existing project web applications. All projects > are encouraged to review our new documentation and modify their > application configuration as needed. http://sf.net/docs/E07/ > > This change is being made in accordance with the previous site > mailings announcing project web changes, referencing the > Master RFE at: > http://sf.net/tracker/index.php? > func=detail&aid=1109940&group_id=1&atid=350001 > > Additional details regarding the project web service, limitations, > and the best ways to manage project content under this service, > may be found in the recently-released Project Web, Shell and DB > service guide, at: http://sf.net/docs/E07/ > > > B. Statistics > > B0. Introduction and timeline > > The SourceForge.net team has been working for nearly a year to complete > a total replacement of the existing project and site statistics > infrastructure. It is our pleasure to announce that this work is > reaching completion, and to provide some details to manage your > expectations about the launch of the new statistics service. > > We expect to announce no later than 2005-05-16 the timeline > for deployment of the new statistics system. This announcement will > be made via the the Site Status page. > https://sourceforge.net/docs/A04/ > > > B1. Scalability, performance, outage reduction: > > The statistics system has been completely re-engineered as to cope with > the growing size of the site user base, and of our service offering. > With the launch of this new system, there are bound to be a few bugs > (though we've performed extensive QA review of these changes and > systems > to try to reduce the problem set). We ask that all statistics related > bugs found post-launch be submitted to us for review (even if they seem > minor, or duplicative to those previously reported) at: > https://sourceforge.net/tracker/?func=add&group_id=1&atid=200001 > > > B2. Project ranking formula change: > > One of the changes which is expected to most impact projects is the > alteration of the project ranking formula. This change may > significantly alter the top project rankings, giving greater ranking to > those projects who are not just frequently-downloaded, but also those > projects who are active in using the Tracker and communication tools > provided by the site. > > The OLD project ranking formula was: > log (3 * # of forum posts for that week) + log (4 * # of tasks ftw) + > log (3 * # bugs ftw) + log (10 * patches ftw) + log (5 * tracker items > ftw) + log (# commits to CVS ftw) + log (5 * # file releases ftw) + log > (.3 * # downloads ftw) > -- This has been detailed in our older Site Documentation as seen at: > https://sourceforge.net/docman/display_doc.php?docid=14040&group_id=1 > > With the new statistics system launch, we expect to provide new Site > Documentation. The new documentation will include the final form of > the > NEW ranking formula. The new ranking formula splits project rankings > in > to three components: traffic, development, and communication. We > expect > the new ranking formulas to be: > > Traffic: > ( > (log(last 7 days download total) / log(highest project download > total)) > +(log(last 7 days logo hits) / log(highest project logo hits)) > +(log(last 7 days site hits) / log(highest project site hits)) > ) / 3 > > Development: > ( > (log(last 7 days cvs commit total) / log(highest project total)) > +( (100-last file release age (days, max 100)) / 100 ) > +( (100-last admin login age (days, max 100)) / 100 ) > ) / 3 > > Communication: > ( > (log(last 7 days tracker artifact #) / log(highest project total)) > +(log(last 7 days ML post count) / log(highest project total)) > +(log(last 7 days forum post count) / log(highest project total)) > ) / 3 > > Total: > total = traffic + development + communication > > > All of the 'highest' figures reference totals for the last 7 days. > In the case of 'log(last 7 day site hits for this project) / > log(last 7 day site hits for the project with the most site hits)', > for example: If Project X is the busiest site this week with > 10,000,000 hits and Project Y has had 200,000 hits then it's > Y score = log(200,000) / log(10,000,000) > > > We believe that this ranking method gives us the capability to better > evaluate project activity, and to more directly reflect total product > activity in how projects receive site exposure via the top site > rankings. > > > B3. Post-launch components and your feedback > > After the initial launch of the new statistics system, we will be > working to complete the components to track CVS activity and mailing > list activity. These components have not yet been completed, and are > expected to launch at a later date (to be announced after the initial > shake-out of the new system). > > Additional statistics system enhancements are also under consideration > for implementation after the initial launch. Once the initial launch > has occurred and you have had opportunity to examine the new > facilities, > we encourage you to contact us (via our Feature Request Tracker) > regarding enhancements you would like to see. > https://sourceforge.net/tracker/?func=add&group_id=1&atid=350001 > > > B4. Documentation > > The release of new documentation (within the SourceForge.net Site > Documentation collection) is expected to coincide with the new > statistics system launch. Links will be provided to the new > documentation from our Site Status page and Enhancements page. An > itemized overview of the major changes carried by the new statistics > system will be listed on the Enhancements page at time of launch. > https://sourceforge.net/docs/A03/ > https://sourceforge.net/docs/A04/ > > > B5. Existing statistics data > > Existing statistics data (from the old statistics system) has been > carried forward to the new statistics system. For the time period that > the new system has actively been pulling real-time data from our > servers, we plan to recompute project ranking data. All other project > statistics should match those found in the old system. > > > C. Conclusion > > Regarding Project Web: > > As documented here, project group directories will be remounted > read-only on 2005-05-23. All writable files will need to be placed > in the /tmp/persistent directory structure (create a subdirectory for > your project). Additional details may be found in section A, above. > > > Regarding Statistics: > > We are considering the completion of our new statistics system to be > very high priority, and are taking only the time we need to ensure a > highly consistent and functional system has been implemented. > We expect to announce no later than 2005-05-16 the timeline > for deployment of the new statistics system. Additional details > may be found in section B, above. > > > > We hope that your team will find added benefit through our efforts, and > encourage your continued support and feedback. > > Thank you, > > SourceForge.net staff > http://sf.net/tracker/?func=add&group_id=1&atid=200001 > > --------------------------------------------------------- > When the SF.net team sends out a site-wide email, we sometimes see > replies that look like this: "Hey! I didn't ask to be on this list! You > spammer. I hate you! I hate your dog! (insert other colorful phrases > here)." The truth is, we've only sent this mailing to registered > project administrators on SourceForge.net. If you do not believe you > should have received this mailing, use the link above to submit > a Support Request and we'll be glad to assist you. > > . > |
From: <bug...@we...> - 2005-04-27 20:45:26
|
http://bugzilla.openfirst.org/show_bug.cgi?id=215 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED ------- Additional Comments From ja...@op... 2005-04-27 15:45 ------- Fixed in CVS. ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter. |
From: <bug...@we...> - 2005-04-27 20:41:54
|
http://bugzilla.openfirst.org/show_bug.cgi?id=157 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Additional Comments From ja...@op... 2005-04-27 15:41 ------- Fix commited to CVS. Requires reinstall to apply. ------- 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-04-27 20:41:12
|
http://bugzilla.openfirst.org/show_bug.cgi?id=157 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED everconfirmed|0 |1 ------- Additional Comments From ja...@op... 2005-04-27 15:41 ------- Fixing in CVS ------- 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: Astronouth7303 <ast...@us...> - 2005-04-27 20:37:39
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10354/config Modified Files: globals.tpl Log Message: -Replaced double quotes with singles -Fixed Bug#157 Index: globals.tpl =================================================================== RCS file: /cvsroot/openfirst/base/config/globals.tpl,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** globals.tpl 14 Mar 2005 00:50:00 -0000 1.8 --- globals.tpl 27 Apr 2005 20:37:30 -0000 1.9 *************** *** 45,55 **** // Determine what module the user is viewing ! $currentmodule = str_replace($basepath, "", $_SERVER["SCRIPT_NAME"]); ! $currentmodule = substr($currentmodule, 1, strpos($currentmodule, "/", 2) - 1); #FIXME: Use $fbasepath instead of getcwd() session_start(); include('auth.php'); ! if(function_exists("glob")) { // Include the functions using glob(); if(is_readable(getcwd() . "/../config/functions/")) { --- 45,55 ---- // Determine what module the user is viewing ! $currentmodule = str_replace($basepath, '', $_SERVER['SCRIPT_NAME']); ! $currentmodule = substr($currentmodule, 1, strpos($currentmodule, '/', 2) - 1); #FIXME: Use $fbasepath instead of getcwd() session_start(); include('auth.php'); ! if(function_exists('glob')) { // Include the functions using glob(); if(is_readable(getcwd() . "/../config/functions/")) { *************** *** 66,72 **** } ! $headers = ""; ! $incl = ofirst_dbquery("SELECT * FROM ofirst_config"); // If there is no error then run the module add feature --- 66,72 ---- } ! $headers = ''; ! $incl = ofirst_dbquery('SELECT * FROM ofirst_config'); // If there is no error then run the module add feature *************** *** 77,83 **** if( (bool) $module->active == true) { // Check if there are includes that need to be included ! if(! $module->includes == ""){ // If the list is not empty then explode the value and put it into inclist ! $inclist = explode(",",$module->includes); // This is to remove an error that you have if you don't check if there are more then 2 if(count($inclist) >= 2){ --- 77,83 ---- if( (bool) $module->active == true) { // Check if there are includes that need to be included ! if(!( $module->includes == '')){ // If the list is not empty then explode the value and put it into inclist ! $inclist = explode(',',$module->includes); // This is to remove an error that you have if you don't check if there are more then 2 if(count($inclist) >= 2){ *************** *** 97,101 **** // If it is the current module then color the item if ($currentmodule == $module->modulename){ ! $headers .= " » <font color='red'><u><a class='menu' href='$home$basepath/$module->modulename'>".ucwords($module->modulename)."</a></u></font> |"; // Declare important variables so that headers can pick them up and preview them --- 97,102 ---- // If it is the current module then color the item if ($currentmodule == $module->modulename){ ! $headers .= " » <font color='red'><u><a class='menu' href='$basepath/$module->modulename'>".ucwords($module->modulename)."</a></u></font> | ! "; // Declare important variables so that headers can pick them up and preview them *************** *** 105,109 **** } else { ! $headers .= " » <a class='menu' href='$home$basepath/$module->modulename'>".ucwords($module->modulename)."</a> |"; } } --- 106,111 ---- } else { ! $headers .= " » <a class='menu' href='$basepath/$module->modulename'>".ucwords($module->modulename)."</a> | ! "; } } *************** *** 112,115 **** --- 114,119 ---- } + if (!preg_match('/\A[a-zA-Z0-9]+\z/',session_id())) session_regenerate_id(); + session_write_close(); ?> |
From: <bug...@we...> - 2005-04-18 11:15:39
|
http://bugzilla.openfirst.org/show_bug.cgi?id=247 Summary: Alter database tables to have comments Product: openFIRST Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: base AssignedTo: de...@op... ReportedBy: ti...@op... This is a bit of a simple request; basically, what I'd like is for all of the database tables to have a human readable description of what they are for. This can be accomplished by modifying the database setup scripts. The MySQL syntax for adding a table comment is: ALTER TABLE `tablename` COMMENT = 'Description of what table does'; ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |
From: Tim G. <xt...@us...> - 2005-04-17 21:22:08
|
Update of /cvsroot/openfirst/www/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8082 Modified Files: headers.php Log Message: Fix database connections, unhappy iframe Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/www/inc/headers.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** headers.php 13 Mar 2005 21:12:56 -0000 1.11 --- headers.php 17 Apr 2005 21:21:59 -0000 1.12 *************** *** 2,5 **** --- 2,12 ---- if($_SERVER["PHP_SELF"] != "/installer/index.php") { + $sqlserver = 'mysql-o.sourceforge.net'; + $sqluser = 'openfirst'; + $sqlpassword = 'EJBi4NvnFS8'; + $sqldatabase = 'openfirst'; + + $sqlconnection = mysql_connect("$sqlserver","$sqluser","$sqlpassword"); + include("versions.php"); if($_GET["img"] == "") { *************** *** 137,144 **** <!--img src="http://www.openfirst.org/image/powered_pear.png" alt="PEAR"><br>(Pear components are optional)--></center> <p><b>Bugzilla Stats</b> ! <br><iframe src="http://bugzilla.openfirst.org/openfirst/bugcrushers.php?style=yes" ! width=260 height=350 noscroll='noscroll' border=0 ! style="border: 0px;" frameborder=0 scrolling=no allowtransparency> <br> <br> --- 144,153 ---- <!--img src="http://www.openfirst.org/image/powered_pear.png" alt="PEAR"><br>(Pear components are optional)--></center> <p><b>Bugzilla Stats</b> ! <!-- ! <br> <iframe src="http://bugzilla.openfirst.org/openfirst/bugcrushers.php?style=yes" ! width='260' height='350' noscroll='noscroll' border='0' ! style="border: 0px;" frameborder='0' scrolling='no' ! allowtransparency='allowtransparency'> --> <br> <br> |
From: Astronouth7303 <ast...@us...> - 2005-04-08 13:17:21
|
Update of /cvsroot/openfirst/sidebars In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1741/sidebars Modified Files: index.php Log Message: More $server stuff Index: index.php =================================================================== RCS file: /cvsroot/openfirst/sidebars/index.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** index.php 8 Apr 2005 02:19:18 -0000 1.10 --- index.php 8 Apr 2005 13:17:11 -0000 1.11 *************** *** 68,72 **** <td>News</td> <td><a href="preview.php?sidebar=news">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('News Sidebar', '<?php echo "$server$basepath"; ?>/sidebars/sidebar.php?sidebar=news','')">Add</a></td> <td><a href="sidebar.php?sidebar=news&cdf=true">Add</a></td> </tr> --- 68,72 ---- <td>News</td> <td><a href="preview.php?sidebar=news">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('News Sidebar', '<?php echo "$basepath"; ?>/sidebars/sidebar.php?sidebar=news','')">Add</a></td> <td><a href="sidebar.php?sidebar=news&cdf=true">Add</a></td> </tr> *************** *** 78,82 **** <td>Manual</td> <td><a href="preview.php?sidebar=manual">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Manual Sidebar', '<?php echo "$server$basepath"; ?>/sidebars/sidebar.php?sidebar=manual','')">Add</a></td> <td><a href="sidebar.php?sidebar=manual&cdf=true">Add</a></td> </tr> --- 78,82 ---- <td>Manual</td> <td><a href="preview.php?sidebar=manual">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Manual Sidebar', '<?php echo "$basepath"; ?>/sidebars/sidebar.php?sidebar=manual','')">Add</a></td> <td><a href="sidebar.php?sidebar=manual&cdf=true">Add</a></td> </tr> *************** *** 88,92 **** <td>Emoticon</td> <td><a href="preview.php?sidebar=emoticon">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Emoticon Sidebar', '<?php echo "$server$basepath"; ?>/sidebars/sidebar.php?sidebar=emoticon','')">Add</a></td> <td><a href="sidebar.php?sidebar=emoticon&cdf=true">Add</a></td> </tr> --- 88,92 ---- <td>Emoticon</td> <td><a href="preview.php?sidebar=emoticon">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Emoticon Sidebar', '<?php echo "$basepath"; ?>/sidebars/sidebar.php?sidebar=emoticon','')">Add</a></td> <td><a href="sidebar.php?sidebar=emoticon&cdf=true">Add</a></td> </tr> |
From: Astronouth7303 <ast...@us...> - 2005-04-08 02:19:27
|
Update of /cvsroot/openfirst/sidebars In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18856 Modified Files: index.php sidebar.php Log Message: $server undefined Index: sidebar.php =================================================================== RCS file: /cvsroot/openfirst/sidebars/sidebar.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** sidebar.php 14 Mar 2005 00:56:52 -0000 1.11 --- sidebar.php 8 Apr 2005 02:19:18 -0000 1.12 *************** *** 37,41 **** if(isset($_GET["cdf"]) && $_GET["cdf"] == true) { echo("<?xml version=\"1.0\"?> ! <channel base=\"$server$basepath$basepath\" href=\"/sidebars/sidebar.php?sidebar=$sidebar\" self=\"/sidebars/sidebar.php?cdf=true&sidebar=$sidebar\"> <schedule stopdate=\"2005-01-01\"> --- 37,41 ---- if(isset($_GET["cdf"]) && $_GET["cdf"] == true) { echo("<?xml version=\"1.0\"?> ! <channel base=\"$basepath\" href=\"/sidebars/sidebar.php?sidebar=$sidebar\" self=\"/sidebars/sidebar.php?cdf=true&sidebar=$sidebar\"> <schedule stopdate=\"2005-01-01\"> Index: index.php =================================================================== RCS file: /cvsroot/openfirst/sidebars/index.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** index.php 14 Mar 2005 00:56:52 -0000 1.9 --- index.php 8 Apr 2005 02:19:18 -0000 1.10 *************** *** 48,52 **** <td>Guestbook</td> <td><a href="preview.php?sidebar=guestbook">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Guestbook Sidebar', '<?php echo "$server$basepath"; ?>/sidebars/sidebar.php?sidebar=guestbook','')">Add</a></td> <td><a href="sidebar.php?sidebar=guestbook&cdf=true">Add</a></td> </tr> --- 48,52 ---- <td>Guestbook</td> <td><a href="preview.php?sidebar=guestbook">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Guestbook Sidebar', '<?php echo "$basepath"; ?>/sidebars/sidebar.php?sidebar=guestbook','')">Add</a></td> <td><a href="sidebar.php?sidebar=guestbook&cdf=true">Add</a></td> </tr> *************** *** 58,62 **** <td>Messenger</td> <td><a href="preview.php?sidebar=messenger">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Messenger Sidebar', '<?php echo "$server$basepath"; ?>/sidebars/sidebar.php?sidebar=messenger','')">Add</a></td> <td><a href="sidebar.php?sidebar=messenger&cdf=true">Add</a></td> </tr> --- 58,62 ---- <td>Messenger</td> <td><a href="preview.php?sidebar=messenger">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Messenger Sidebar', '<?php echo "$basepath"; ?>/sidebars/sidebar.php?sidebar=messenger','')">Add</a></td> <td><a href="sidebar.php?sidebar=messenger&cdf=true">Add</a></td> </tr> *************** *** 98,102 **** <td>Awards</td> <td><a href="preview.php?sidebar=awards">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Awards Sidebar', '<?php echo "$server$basepath"; ?>/sidebars/sidebar.php?sidebar=awards','')">Add</a></td> <td><a href="sidebar.php?sidebar=awards&cdf=true">Add</a></td> </tr> --- 98,102 ---- <td>Awards</td> <td><a href="preview.php?sidebar=awards">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Awards Sidebar', '<?php echo "$basepath"; ?>/sidebars/sidebar.php?sidebar=awards','')">Add</a></td> <td><a href="sidebar.php?sidebar=awards&cdf=true">Add</a></td> </tr> |
From: Astronouth7303 <ast...@us...> - 2005-04-03 02:17:53
|
Update of /cvsroot/openfirst/base In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14363 Modified Files: index.php Log Message: Added comment. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/base/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** index.php 3 Apr 2005 02:09:43 -0000 1.8 --- index.php 3 Apr 2005 02:17:41 -0000 1.9 *************** *** 76,79 **** --- 76,80 ---- } } + // This is really hackish. echo("<table width=200><tr><th>Features</th></tr><tr><td><div>This portal has the following features: </div> <ul>".str_replace(" |"," ",str_replace("»","<li>",$headers))."</ul></td></tr></table><br />"); |
From: <bug...@we...> - 2005-04-03 02:16:58
|
http://bugzilla.openfirst.org/show_bug.cgi?id=246 Summary: Feature detection hackish Product: openFIRST Version: unspecified Platform: All URL: /base/index.php OS/Version: All Status: NEW Severity: normal Priority: P2 Component: base AssignedTo: de...@op... ReportedBy: ja...@op... The way features are detected (about line 79-80) is very hackish. This should be changed. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |