You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(183) |
Dec
(82) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(16) |
Feb
(3) |
Mar
|
Apr
(8) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Matt M. <pro...@us...> - 2004-11-20 01:51:07
|
Update of /cvsroot/webschool/webschool/theme/templates/mods In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6791/theme/templates/mods Modified Files: articles.read.tpl articles.tpl Log Message: My last commit of the night. Index: articles.tpl =================================================================== RCS file: /cvsroot/webschool/webschool/theme/templates/mods/articles.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** articles.tpl 30 Oct 2004 02:59:36 -0000 1.2 --- articles.tpl 20 Nov 2004 01:50:52 -0000 1.3 *************** *** 12,16 **** {include file="tablehead.tpl" title="$tbheader"} ! {$content} {include file="tablefoot.tpl"} --- 12,22 ---- {include file="tablehead.tpl" title="$tbheader"} ! {foreach from=$articlelist item=v} ! {$v.lastupdate|date_format}: <a href="mod.php?mod=Articles&op=view&id={$v.id}">{$v.prettytitle}</a> <i>by: {ResolveUserID ID=$v.owner pretty=true}</i> ! {if $v.lastupdate != $v.published} ! (Updated) ! {/if} ! <br> ! {/foreach} {include file="tablefoot.tpl"} Index: articles.read.tpl =================================================================== RCS file: /cvsroot/webschool/webschool/theme/templates/mods/articles.read.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** articles.read.tpl 27 Oct 2004 00:56:44 -0000 1.1 --- articles.read.tpl 20 Nov 2004 01:50:52 -0000 1.2 *************** *** 12,16 **** {include file="tablehead.tpl" title="$tbheader"} <font size=+3>{$prettytitle}</font><br> ! By: {$author.fname} {$author.lname} <br> Published: {$published|date_format:"%A, %B %d, %Y"} <hr> --- 12,16 ---- {include file="tablehead.tpl" title="$tbheader"} <font size=+3>{$prettytitle}</font><br> ! By: {ResolveUserID ID=$author} <br> Published: {$published|date_format:"%A, %B %d, %Y"} <hr> |
From: Matt M. <pro...@us...> - 2004-11-20 01:51:07
|
Update of /cvsroot/webschool/webschool/mods/Articles In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6791/mods/Articles Modified Files: index.php Log Message: My last commit of the night. Index: index.php =================================================================== RCS file: /cvsroot/webschool/webschool/mods/Articles/index.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.php 20 Nov 2004 01:34:12 -0000 1.1 --- index.php 20 Nov 2004 01:50:51 -0000 1.2 *************** *** 20,27 **** if( !isset($_GET['op']) ){ ! db(__FILE__,__LINE__,"Select * From articles Where published !='' ORDER BY lastupdate DESC"); while($row = dbr() ) { ! $content .= date("m/d/y" , $row['lastupdate']).": <a href=\"mod.php?mod=Article&op=view&id=".$row['id']."\">".$row['prettytitle']."</a> <i>by: ".ResolveUserID($row['owner'], true)."</i><br>"; } $smarty->assign("header", "Articles"); --- 20,28 ---- if( !isset($_GET['op']) ){ ! db(__FILE__,__LINE__,"Select * From "._ARTICLES_." Where published !='' ORDER BY lastupdate DESC"); while($row = dbr() ) { ! $smarty->append("articlelist", array("lastupdate"=>$row['lastupdate'], "id"=>$row['id'], "prettytitle"=>$row['prettytitle'], "owner"=>$row['owner'], "published"=>$row['published']) ); ! //$content .= date("m/d/y" , $row['lastupdate']).": <a href=\"mod.php?mod=Article&op=view&id=".$row['id']."\">".$row['prettytitle']."</a> <i>by: ".ResolveUserID($row['owner'], true)."</i><br>"; } $smarty->assign("header", "Articles"); *************** *** 29,44 **** $smarty->assign("content", $content); $smarty->display("mods/articles.tpl"); ! } elseif ( $_GET['op'] == "view") { ! db(__FILE__,__LINE__,"Select * From articles Where id='".$_GET['id']."' && published != ''"); $result = dbr(); - $smarty->assign("header", $result['title']); - $smarty->assign("tbheader", $result['title']); - $smarty->assign("prettytitle", $result['prettytitle']); ! db(__FILE__,__LINE__, "Select fname, lname FROM users WHERE id='".$result['owner'] ."'"); ! $authorname = dbr(); ! $smarty->assign("author", ARRAY( "fname" => $authorname['fname'], "lname" => $authorname['lname']) ); $smarty->assign("published", $result['published']); $smarty->assign("content", $result['content']); --- 30,40 ---- $smarty->assign("content", $content); $smarty->display("mods/articles.tpl"); ! } elseif ( $_GET['op'] == "view") { ! db(__FILE__,__LINE__,"Select * From "._ARTICLES_." Where id='".$_GET['id']."' && published != ''"); $result = dbr(); $smarty->assign("prettytitle", $result['prettytitle']); ! $smarty->assign("author", $result['owner'] ); $smarty->assign("published", $result['published']); $smarty->assign("content", $result['content']); |
From: Matt M. <pro...@us...> - 2004-11-20 01:51:07
|
Update of /cvsroot/webschool/webschool/mysql In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6791/mysql Modified Files: webschool.sql Log Message: My last commit of the night. Index: webschool.sql =================================================================== RCS file: /cvsroot/webschool/webschool/mysql/webschool.sql,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** webschool.sql 20 Nov 2004 01:27:37 -0000 1.48 --- webschool.sql 20 Nov 2004 01:50:51 -0000 1.49 *************** *** 265,269 **** INSERT INTO `table_mods` VALUES (1, 'Academia', 'The Academia Module', 'Academia', 0, 0); ! INSERT INTO `table_mods` VALUES (2, 'Articles', 'The Articles Module', 'Article', 0 , 0); INSERT INTO `table_mods` VALUES (3, 'Pages', 'The Pages Module', 'Pages', 0, 0); INSERT INTO `table_mods` VALUES (4, 'SOTM', 'The SOTM Module', 'SOTM', 0, 0); --- 265,269 ---- INSERT INTO `table_mods` VALUES (1, 'Academia', 'The Academia Module', 'Academia', 0, 0); ! INSERT INTO `table_mods` VALUES (2, 'Articles', 'The Articles Module', 'Articles', 0 , 0); INSERT INTO `table_mods` VALUES (3, 'Pages', 'The Pages Module', 'Pages', 0, 0); INSERT INTO `table_mods` VALUES (4, 'SOTM', 'The SOTM Module', 'SOTM', 0, 0); |
From: Matt M. <pro...@us...> - 2004-11-20 01:51:05
|
Update of /cvsroot/webschool/webschool/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6791/docs Modified Files: roadmap.html Log Message: My last commit of the night. Index: roadmap.html =================================================================== RCS file: /cvsroot/webschool/webschool/docs/roadmap.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** roadmap.html 19 Nov 2004 03:26:59 -0000 1.3 --- roadmap.html 20 Nov 2004 01:50:50 -0000 1.4 *************** *** 18,23 **** <li>Begin work on the Sports Amod and Mod</li> <li>Begin work on the Calander Amod and Mod</li> ! <li>Wrap up development on News Amod and Mod</li> ! <li>Wrap up development on Articles Amod and Mod</li> <li>Implement features in the menu such as trees</li> <li>Continue development of Newsletter Amod and Mod</li> --- 18,23 ---- <li>Begin work on the Sports Amod and Mod</li> <li>Begin work on the Calander Amod and Mod</li> ! <li><strike>Wrap up development on News Amod and Mod</strike></li> ! <li><strike>Wrap up development on Articles Amod and Mod</strike></li> <li>Implement features in the menu such as trees</li> <li>Continue development of Newsletter Amod and Mod</li> |
From: Matt M. <pro...@us...> - 2004-11-20 01:51:05
|
Update of /cvsroot/webschool/webschool/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6791/lib Modified Files: mainfile.php Log Message: My last commit of the night. Index: mainfile.php =================================================================== RCS file: /cvsroot/webschool/webschool/lib/mainfile.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mainfile.php 19 Nov 2004 03:26:59 -0000 1.7 --- mainfile.php 20 Nov 2004 01:50:50 -0000 1.8 *************** *** 117,121 **** ! while ($curr_user = $dbr4()){ //See if this is supposed to be selected... if ($args['selected'] == $curr_user['id']){ --- 117,121 ---- ! while ($curr_user = dbr4()){ //See if this is supposed to be selected... if ($args['selected'] == $curr_user['id']){ |
From: Matt M. <pro...@us...> - 2004-11-20 01:34:21
|
Update of /cvsroot/webschool/webschool/mods/Articles In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2966/mods/Articles Added Files: index.php Log Message: --- NEW FILE: index.php --- <?PHP /* Webschool Copyright (C) 2004 ProgrammerMatt Developers & Contributors: ProgrammerMatt Pro...@bl... jsvoyager Gen...@gm... 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. (license.txt) */ global $smarty, $user, $perm; if( !isset($_GET['op']) ){ db(__FILE__,__LINE__,"Select * From articles Where published !='' ORDER BY lastupdate DESC"); while($row = dbr() ) { $content .= date("m/d/y" , $row['lastupdate']).": <a href=\"mod.php?mod=Article&op=view&id=".$row['id']."\">".$row['prettytitle']."</a> <i>by: ".ResolveUserID($row['owner'], true)."</i><br>"; } $smarty->assign("header", "Articles"); $smarty->assign("tbheader", "WebSchool Articles"); $smarty->assign("content", $content); $smarty->display("mods/articles.tpl"); } elseif ( $_GET['op'] == "view") { db(__FILE__,__LINE__,"Select * From articles Where id='".$_GET['id']."' && published != ''"); $result = dbr(); $smarty->assign("header", $result['title']); $smarty->assign("tbheader", $result['title']); $smarty->assign("prettytitle", $result['prettytitle']); db(__FILE__,__LINE__, "Select fname, lname FROM users WHERE id='".$result['owner'] ."'"); $authorname = dbr(); $smarty->assign("author", ARRAY( "fname" => $authorname['fname'], "lname" => $authorname['lname']) ); $smarty->assign("published", $result['published']); $smarty->assign("content", $result['content']); $smarty->assign("updated", $result['lastupdate'] ); $smarty->display("mods/articles.read.tpl"); } ?> |
From: Matt M. <pro...@us...> - 2004-11-20 01:34:05
|
Update of /cvsroot/webschool/webschool/mods/Articles In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2883/Articles Log Message: Directory /cvsroot/webschool/webschool/mods/Articles added to the repository |
From: Matt M. <pro...@us...> - 2004-11-20 01:33:03
|
Update of /cvsroot/webschool/webschool/mods/Article In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2675/mods/Article Removed Files: index.php Log Message: --- index.php DELETED --- |
From: Matt M. <pro...@us...> - 2004-11-20 01:28:17
|
Update of /cvsroot/webschool/webschool/mods/News In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1580/mods/News Modified Files: index.php Log Message: Index: index.php =================================================================== RCS file: /cvsroot/webschool/webschool/mods/News/index.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** index.php 31 Oct 2004 04:21:47 -0000 1.14 --- index.php 20 Nov 2004 01:27:36 -0000 1.15 *************** *** 20,47 **** if( !isset($_GET['op']) ){ ! db(__FILE__,__LINE__,"Select * From news Where published!='' ORDER BY lastupdate DESC"); while($row = dbr() ) { ! $content .= date("m/d/y" , $row['lastupdate']).": <a href=\"mod.php?mod=News&op=view&id=".$row['id']."\">".$row['prettytitle']."</a> <i>by: ".ResolveUserID($row['owner'], true)."</i><br>"; } $smarty->assign("header", "News"); $smarty->assign("tbheader", "WebSchool News"); ! $smarty->assign("content", $content); } elseif ( $_GET['op'] == "view") { ! db(__FILE__,__LINE__,"Select * From news Where id='".$_GET['id']."' && published != ''"); $result = dbr(); $smarty->assign("show", "1"); $smarty->assign("header", $result['title']); ! $smarty->assign("tbheader", $result['title']); $smarty->assign("prettytitle", $result['prettytitle']); ! $smarty->assign("author", ResolveUserID($result['owner'], true) ); $smarty->assign("published", $result['published']); $smarty->assign("content", $result['content']); $smarty->assign("updated", $result['lastupdate'] ); } ! $smarty->display("mods/news.tpl"); ?> \ No newline at end of file --- 20,49 ---- if( !isset($_GET['op']) ){ ! db(__FILE__,__LINE__,"Select * From "._NEWS_." Where published!='' ORDER BY lastupdate DESC"); while($row = dbr() ) { ! $smarty->append("newslist", array("lastupdate"=>$row['lastupdate'], "id"=>$row['id'], "prettytitle"=>$row['prettytitle'], "owner"=>$row['owner'], "published"=>$row['published']) ); ! //$content .= date("m/d/y" , $row['lastupdate']).": <a href=\"mod.php?mod=News&op=view&id=".$row['id']."\">".$row['prettytitle']."</a> <i>by: ".ResolveUserID($row['owner'], true)."</i><br>"; } $smarty->assign("header", "News"); $smarty->assign("tbheader", "WebSchool News"); ! $smarty->display("mods/news.tpl"); } elseif ( $_GET['op'] == "view") { ! db(__FILE__,__LINE__,"Select * From "._NEWS_." Where id='".$_GET['id']."' && published != ''"); $result = dbr(); $smarty->assign("show", "1"); $smarty->assign("header", $result['title']); ! $smarty->assign("tbheader", $result['title']); $smarty->assign("prettytitle", $result['prettytitle']); ! $smarty->assign("author", $result['owner'] ); $smarty->assign("published", $result['published']); $smarty->assign("content", $result['content']); $smarty->assign("updated", $result['lastupdate'] ); + $smarty->display("mods/news.view.tpl"); } ! ?> \ No newline at end of file |
From: Matt M. <pro...@us...> - 2004-11-20 01:28:16
|
Update of /cvsroot/webschool/webschool/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1580/lib Modified Files: auth.php Log Message: Index: auth.php =================================================================== RCS file: /cvsroot/webschool/webschool/lib/auth.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** auth.php 18 Nov 2004 01:30:21 -0000 1.7 --- auth.php 20 Nov 2004 01:27:36 -0000 1.8 *************** *** 150,153 **** --- 150,158 ---- //extract $pretty from the passed array $ID from smarty extract($ID); + if($pretty) { + return $users[$ID['id']]['fname']." ".$users[$ID['id']]['lname']; + } else { + return $users[$ID['id']]['username']; + } } if($pretty) { |
From: Matt M. <pro...@us...> - 2004-11-20 01:27:51
|
Update of /cvsroot/webschool/webschool/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1580/admin Added Files: modules.php Log Message: --- NEW FILE: modules.php --- <?PHP /* Webschool Copyright (C) 2004 ProgrammerMatt Developers & Contributors: ProgrammerMatt Pro...@bl... jsvoyager Gen...@gm... 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. (license.txt) */ if( !defined("_AUTHLOADED_") ){ die(); } define("_AMOD_", "admin.php?amod=Modules"); $smarty->assign("AMOD", "admin.php?amod=Modules"); include(_fileroot_."/lang/".$config['lang']."/admin/modules.lang.php"); $smarty->assign("lang", $lang); if( $perm['modules'] > 0 ) { db(__FILE__,__LINE__,"SELECT * FROM "._MODS_); while( $row = dbr() ){ $smarty->append("mods", $row); } $smarty->display("admin/modules.tpl"); if( $_GET['op'] == "disable" ){ db(__FILE__,__LINE_, "SELECT disabled FROM "._MODS_." WHERE id='".$_GET['id']."'"); $row = dbr(); if( $row['disabled'] == 0 ) { dbn(__FILE__,__LINE__, "UPDATE "._MODS_." SET disabled='1' WHERE id='".$_GET['id']."'"); } else { dbn(__FILE__,__LINE__, "UPDATE "._MODS_." SET disabled='0' WHERE id='".$_GET['id']."'"); } header("Location: "._AMOD_); } } ?> |
From: Matt M. <pro...@us...> - 2004-11-20 01:27:51
|
Update of /cvsroot/webschool/webschool/lang/english/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1580/lang/english/admin Added Files: modules.lang.php Log Message: --- NEW FILE: modules.lang.php --- <? ?> |
From: Matt M. <pro...@us...> - 2004-11-20 01:27:50
|
Update of /cvsroot/webschool/webschool/theme/templates/mods In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1580/theme/templates/mods Modified Files: news.tpl Added Files: news.view.tpl Log Message: Index: news.tpl =================================================================== RCS file: /cvsroot/webschool/webschool/theme/templates/mods/news.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** news.tpl 27 Oct 2004 00:56:44 -0000 1.1 --- news.tpl 20 Nov 2004 01:27:37 -0000 1.2 *************** *** 9,30 **** <!-- Begin Main Section --> ! <td> ! {if $show != 1} ! {include file="tablehead.tpl" title="$tbheader"} ! {$content} ! {include file="tablefoot.tpl"} ! {else} {include file="tablehead.tpl" title="$tbheader"} ! <font size=+3>{$prettytitle}</font><br> ! By: {$author} <br> ! Published: {$published|date_format:"%A, %B %d, %Y"} ! <hr> ! <br> ! ! {$content} <br> ! <center><font size=-1>Last Update: {$updated|date_format:"%A, %B %d, %Y"}</font></center> {include file="tablefoot.tpl"} ! {/if} </td> --- 9,24 ---- <!-- Begin Main Section --> ! <td valign="top"> ! {include file="tablehead.tpl" title="$tbheader"} ! {foreach from=$newslist item=v} ! {$v.lastupdate|date_format}: <a href="mod.php?mod=News&op=view&id={$v.id}">{$v.prettytitle}</a> <i>by: {ResolveUserID ID=$v.owner pretty=true}</i> ! {if $v.lastupdate != $v.published} ! (Updated) ! {/if} <br> ! {/foreach} {include file="tablefoot.tpl"} ! </td> --- NEW FILE: news.view.tpl --- {include file="header.tpl" title="$header"} <table summary="Main Table"> <tr> <!-- Begin the menu section on right --> <td valign="top"> {include file="menu.tpl"} </td> <!-- Begin Main Section --> <td> {include file="tablehead.tpl" title="$tbheader"} <font size=+3>{$prettytitle}</font><br> By: {ResolveUserID ID=$author} <br> Published: {$published|date_format:"%A, %B %d, %Y"} <hr> <br> {$content} <br> <center><font size=-1>Last Update: {$updated|date_format:"%A, %B %d, %Y"}</font></center> {include file="tablefoot.tpl"} </td> </tr> |
From: Matt M. <pro...@us...> - 2004-11-20 01:27:50
|
Update of /cvsroot/webschool/webschool/theme/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1580/theme/templates Added Files: systemmessage.tpl Log Message: --- NEW FILE: systemmessage.tpl --- {include file="tablehead.tpl" tbtitle="An error has occured"} {$error_msg} {include file="tablefoot.tpl"} |
From: Matt M. <pro...@us...> - 2004-11-20 01:27:50
|
Update of /cvsroot/webschool/webschool/mysql In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1580/mysql Modified Files: webschool.sql Log Message: Index: webschool.sql =================================================================== RCS file: /cvsroot/webschool/webschool/mysql/webschool.sql,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** webschool.sql 18 Nov 2004 01:30:21 -0000 1.47 --- webschool.sql 20 Nov 2004 01:27:37 -0000 1.48 *************** *** 26,30 **** ) TYPE=MyISAM AUTO_INCREMENT=2 ; ! INSERT INTO `table_articles` VALUES (1, 'Introduction to WebSchool', '2', '\r\n<html><head></head> \r\n<body style="visibility: visible;">I''m working on it.<br /><br />Comming soon.<span style="background-color: rgb(0, 255, 0);"></span><script language="JavaScript">t</script>\r\n\r\n<script language="JavaScript">\r\n&amp;lt!--\r\n\r\nwindow.open = SymRealWinOpen\r\n\r\n//--&amp;gt\r\n</script>\r\n\r\n </body></html>', '1095390146', '1097898346'); --- 26,30 ---- ) TYPE=MyISAM AUTO_INCREMENT=2 ; ! INSERT INTO `table_articles` VALUES (1, 'Introduction to WebSchool', '2', 'I''m working on it.<br /><br />Comming soon.', '1095390146', '1097898346'); *************** *** 103,107 **** ) TYPE=MyISAM AUTO_INCREMENT=2 ; ! INSERT INTO `table_pages` VALUES (1, 'WebSchool Installed Successfully!', 2, '\r\n<html><head></head>\r\n<body><span>Congratulations, WebSchool has been installed successfully!</span><br /><br />Welcome to WebSchool version 0.0.6. Please note that this version of WebSchool is a <b>alpha</b> and is accordingly not designed for production environments.<br /><br />Limited documentation is available from the <a href="mod.php?mod=Articles&op=view&id=1"><span style="font-style: italic;">Introduction to WebSchool</span> </a>article. Further documentation is planed for our full release, but until then, fell free to visit our <a href="http://dev.bluemavid.net" title="WebSchool Forums">forums</a> for support. Please also note the following important information:<br /><ul><li>The username to get into the administration area is <span style="font-weight: bold;">Administrator</span> and the password is what you set it to in the setup. Please change this as soon as possible.</li><li>Limited documentation is available from the <a href="mod.php?mod=Articles&op=view&id=1"><span style="font-style: italic;">Introduction to WebSchool</span></a> article. This includes basic features and how to administer them.</li><li>The debug information below can be turned off by changing the "debug" option in the Config area of the Admin Control Panel.<br /></li></ul><br />We hope you enjoy this beta release of WebSchool.<br /><br /><span style="font-family: arial,helvetica,sans-serif;">The WebSchool Development Team</span>\r\n\r\n\r\n\r\n\r\n\r\n</body></html>', '127', '1099153213', '0', 2, ''); DROP TABLE IF EXISTS `table_permissions`; --- 103,107 ---- ) TYPE=MyISAM AUTO_INCREMENT=2 ; ! INSERT INTO `table_pages` VALUES (1, 'WebSchool Installed Successfully!', 2, '<span>Congratulations, WebSchool has been installed successfully!</span><br /><br />Welcome to WebSchool version 0.0.6. Please note that this version of WebSchool is a <b>alpha</b> and is accordingly not designed for production environments.<br /><br />Limited documentation is available from the <a href="mod.php?mod=Articles&op=view&id=1"><span style="font-style: italic;">Introduction to WebSchool</span> </a>article. Further documentation is planed for our full release, but until then, fell free to visit our <a href="http://dev.bluemavid.net" title="WebSchool Forums">forums</a> for support. Please also note the following important information:<br /><ul><li>The username to get into the administration area is <span style="font-weight: bold;">Administrator</span> and the password is what you set it to in the setup. Please change this as soon as possible.</li><li>Limited documentation is available from the <a href="mod.php?mod=Articles&op=view&id=1"><span style="font-style: italic;">Introduction to WebSchool</span></a> article. This includes basic features and how to administer them.</li><li>The debug information below can be turned off by changing the "debug" option in the Config area of the Admin Control Panel.<br /></li></ul><br />We hope you enjoy this beta release of WebSchool.<br /><br /><span style="font-family: arial,helvetica,sans-serif;">The WebSchool Development Team</span>', '127', '1099153213', '0', 2, ''); DROP TABLE IF EXISTS `table_permissions`; *************** *** 121,130 **** `newsletters` tinyint(1) NOT NULL default '0', `config` tinyint(1) NOT NULL default '0', PRIMARY KEY (`userid`) ) TYPE=MyISAM; ! INSERT INTO `table_permissions` VALUES ('2', 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3); ! INSERT INTO `table_permissions` VALUES ('3', 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); ! INSERT INTO `table_permissions` VALUES ('4', 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); --- 121,131 ---- `newsletters` tinyint(1) NOT NULL default '0', `config` tinyint(1) NOT NULL default '0', + `modules` tinyint(1) NOT NULL default '0', PRIMARY KEY (`userid`) ) TYPE=MyISAM; ! INSERT INTO `table_permissions` VALUES ('2', 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1); ! INSERT INTO `table_permissions` VALUES ('3', 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); ! INSERT INTO `table_permissions` VALUES ('4', 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); *************** *** 235,239 **** PRIMARY KEY (`id`), UNIQUE KEY `id` (`id`) ! ) TYPE=MyISAM AUTO_INCREMENT=11 ; INSERT INTO `table_amods` VALUES (1, 'News', 'The News aModule', 'news', 'news.php'); --- 236,240 ---- PRIMARY KEY (`id`), UNIQUE KEY `id` (`id`) ! ) TYPE=MyISAM AUTO_INCREMENT=12 ; INSERT INTO `table_amods` VALUES (1, 'News', 'The News aModule', 'news', 'news.php'); *************** *** 248,251 **** --- 249,254 ---- INSERT INTO `table_amods` VALUES (10, 'Config', 'The configuration editor', 'config', 'config.php'); INSERT INTO `table_amods` VALUES (11, 'Academia', 'The Academia Editor', 'academia', 'academia.php'); + INSERT INTO `table_amods` VALUES (12, 'Modules', 'The Module Configuration Editor', 'modules', 'modules.php'); + DROP TABLE IF EXISTS `table_mods`; |
From: Matt M. <pro...@us...> - 2004-11-20 01:27:50
|
Update of /cvsroot/webschool/webschool/theme/templates/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1580/theme/templates/admin Added Files: modules.tpl Log Message: --- NEW FILE: modules.tpl --- {include file="tablehead.tpl"} <table width="100%"><tr><td>Module Name</td><td>Disabled</td></tr> {foreach from=$mods item=v} <tr><td>{$v.name}</td><td><input type="checkbox" {if $v.disabled == 1} checked='1' {/if} onchange="location= '{$AMOD}&op=disable&id={$v.id}'"></td></tr> {/foreach} </table> {include file="tablefoot.tpl"} |
From: Matt M. <pro...@us...> - 2004-11-20 01:27:50
|
Update of /cvsroot/webschool/webschool/lang/english/mods In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1580/lang/english/mods Added Files: news.lang.php Log Message: --- NEW FILE: news.lang.php --- |
From: Matt M. <pro...@us...> - 2004-11-20 01:26:35
|
Update of /cvsroot/webschool/webschool/lang/english/mods In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1271/mods Log Message: Directory /cvsroot/webschool/webschool/lang/english/mods added to the repository |
From: Matt M. <pro...@us...> - 2004-11-19 03:27:08
|
Update of /cvsroot/webschool/webschool/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2084/lib Modified Files: mainfile.php Log Message: Index: mainfile.php =================================================================== RCS file: /cvsroot/webschool/webschool/lib/mainfile.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** mainfile.php 10 Nov 2004 05:15:16 -0000 1.6 --- mainfile.php 19 Nov 2004 03:26:59 -0000 1.7 *************** *** 51,55 **** //connect to database require("db.php"); ! $db = db_connect(_db_server_, _db_user_, _db_pass_, _db_, _db_type_, _db_perfmon_, _db_persistent_, _db_debug_) or die();; //load the very important Authentication library! require("auth.php"); --- 51,55 ---- //connect to database require("db.php"); ! $db = db_connect(_db_server_, _db_user_, _db_pass_, _db_, _db_type_, _db_perfmon_, _db_persistent_, _db_debug_) or systemmessage("Could not connect to database");; //load the very important Authentication library! require("auth.php"); *************** *** 78,81 **** --- 78,83 ---- ////////////////////////////////////////////////////////////////////////////////////////// + + //obsolete Function error($file, $line, $error, $errorcode, $inescapable=true){ global $smarty; *************** *** 88,91 **** --- 90,106 ---- } } + //replaces error() + Function systemmessage($msg, $log=false) { + global $smarty; + $smarty->assign("error_msg", $msg); + $smarty->display("systemmessage.tpl"); + include("lib/footer.php"); + + if( $log ) { + //log functionality here + } + + die(); + } ///This function, used in smarty, creates an option list with the names of user with given criteria |
From: Matt M. <pro...@us...> - 2004-11-19 03:27:08
|
Update of /cvsroot/webschool/webschool/theme/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2084/theme/templates Modified Files: admin.tpl Log Message: Index: admin.tpl =================================================================== RCS file: /cvsroot/webschool/webschool/theme/templates/admin.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin.tpl 6 Nov 2004 19:09:22 -0000 1.3 --- admin.tpl 19 Nov 2004 03:26:59 -0000 1.4 *************** *** 31,33 **** --- 31,34 ---- </tr></table> {include file="tablefoot.tpl"} + \ No newline at end of file |
From: Matt M. <pro...@us...> - 2004-11-19 03:27:08
|
Update of /cvsroot/webschool/webschool/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2084/admin Modified Files: newsletters.php Log Message: Index: newsletters.php =================================================================== RCS file: /cvsroot/webschool/webschool/admin/newsletters.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** newsletters.php 18 Nov 2004 01:30:20 -0000 1.5 --- newsletters.php 19 Nov 2004 03:26:58 -0000 1.6 *************** *** 24,28 **** define("_AMOD_", "admin.php?amod=Newsletters"); $smarty->assign("AMOD", "admin.php?amod=Newsletters"); ! include(_fileroot_."/lang/".$config['lang']."/admin/newsletters.lang.php"); $smarty->assign("lang", $lang); --- 24,28 ---- define("_AMOD_", "admin.php?amod=Newsletters"); $smarty->assign("AMOD", "admin.php?amod=Newsletters"); ! systemmessage("H"); include(_fileroot_."/lang/".$config['lang']."/admin/newsletters.lang.php"); $smarty->assign("lang", $lang); |
From: Matt M. <pro...@us...> - 2004-11-19 03:27:07
|
Update of /cvsroot/webschool/webschool/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2084/docs Modified Files: roadmap.html Log Message: Index: roadmap.html =================================================================== RCS file: /cvsroot/webschool/webschool/docs/roadmap.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** roadmap.html 28 Oct 2004 16:34:34 -0000 1.2 --- roadmap.html 19 Nov 2004 03:26:59 -0000 1.3 *************** *** 15,59 **** <h3>Version 0.0.6</h3> <ul> ! <li>Continues XHTML Implementation</li> ! <li>Make sure new security system is set fully into place</li> ! <li>Make sure everything conforms with new directory structure</li> ! <li>Replace 'prettyname' references for the 'users' table with 'fname' and 'lname'</li> ! <li>Implement a 'Lost Password' Feature</li> ! <li>Change the 'Administrator' and 'Guest' Accounts to be 'Built-in' accounts. (IE. Guest has no permissions, Administrator has all, cannot be changed)</li> ! <li>Rewrite Menu system, tree style menu. Better Graphics</li> ! <li>Begin Implementation of constant table names. This will allow for prefixes in tables. (EX: db(__FILE__,__LINE__,"SELECT * FROM ". $USERTABLE ."");</li> ! <li>Begin Rewriting SQL queries, enforce capitalization of SELECT, UPDATE, DELETE, INSERT, FROM, WHERE, etc</li> ! <li>Redraw some of the Admin panel pictures</li> ! <li>Continue New implementation of module loading system **RESTRICTED ACTIVITY TO: PROGRAMMERMATT**</li> ! <li>Begin Sports aMod *Up in the air, who wants it?* (Put off Module untill new module loading system is done)</li> </ul> <br /> <h3>Version 0.0.7</h3> <ul> ! <li>Finish New Module Loading system **RESTRICTED ACTIVITY TO: PROGRAMMERMATT**</li> ! <li>Begin Sports Mod. Continue Sports aMod</li> ! <li>Finish Redrawing Admin panel pictures</li> ! <li>Begin Implementation of user roles</li> ! <li></li> ! <li></li> </ul> <br /> <h3>Version 0.0.8 *MILESTONE*</h3> <ul> ! <li>XHTML Implementation</li> ! <li> </ul> <br /> <h3>Version 0.0.9</h3> <ul> ! <li>XHTML Implementation</li> ! <li> </ul> <br /> <h3>Version 1.0.0 *PRODUCTION RELEASE*</h3> <ul> ! <li>XHTML Implementation</li> ! <li> </ul> <br /> <br /> --- 15,67 ---- <h3>Version 0.0.6</h3> <ul> ! <li>Wrap up the the Academia Amod and Mod: <b>jsvoyager</b></li> ! <li>Begin work on the Sports Amod and Mod</li> ! <li>Begin work on the Calander Amod and Mod</li> ! <li>Wrap up development on News Amod and Mod</li> ! <li>Wrap up development on Articles Amod and Mod</li> ! <li>Implement features in the menu such as trees</li> ! <li>Continue development of Newsletter Amod and Mod</li> </ul> + Projected Finish: November 30, 2004 <br /> <h3>Version 0.0.7</h3> <ul> ! <li>Wrap up Pages aMod and Mod</li> ! <li>Wrap up SOTM aMod and Mod</li> ! <li>Wrap up pictures aMod and Mod</li> ! <li>Continue work on Sports</li> ! <li>Continue work on Calander</li> </ul> + Projected Finish: December 6, 2004 <br /> <h3>Version 0.0.8 *MILESTONE*</h3> <ul> ! <li>Begin searching through files for unimplemented language features</li> ! <li>Submit pages for XHTML validation and correct errors</li> ! <li>Implement 'Find User' Feature</li> ! <li>Implement Pagination in News, Users, Articles, Pictures</li> ! <li>Begin file.php, similar function to pic.php, except files</li> ! <li>Wrap up Sports</li> ! <li>Wrap up Calander</li> </ul> + Projected Finish: December 15, 2004 <br /> <h3>Version 0.0.9</h3> <ul> ! <li>Last chance sweep for SQL injection holes</li> ! <li>Upgrade ADODB and SMARTY to latest versions</li> ! <li>Test for problems resulting from new versions of ADODB and SMARTY</li> ! <li>Wrap up file.php</li> ! <li>Tie up lose ends</li> </ul> + Pojected finish: December 22, 2004 <br /> <h3>Version 1.0.0 *PRODUCTION RELEASE*</h3> <ul> ! <li>Make nicer notices in installation</li> ! <li>Confirm database structure</li> ! <li>Wrap up any noticed bugs.</li> </ul> + Projected Finish: January 1, 2004 <br /> <br /> |
From: Matt M. <pro...@us...> - 2004-11-19 03:27:07
|
Update of /cvsroot/webschool/webschool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2084 Modified Files: admin.php Log Message: Index: admin.php =================================================================== RCS file: /cvsroot/webschool/webschool/admin.php,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** admin.php 18 Nov 2004 01:30:20 -0000 1.30 --- admin.php 19 Nov 2004 03:26:58 -0000 1.31 *************** *** 26,30 **** - //guest are not allowed! let them log on, though. allow certian actions, even //though they are guests. --- 26,29 ---- |
From: Matt M. <pro...@us...> - 2004-11-19 02:03:52
|
Update of /cvsroot/webschool/webschool/theme/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17518/theme/templates Added Files: admin.finduser.tpl Log Message: --- NEW FILE: admin.finduser.tpl --- Not sure how to do this.. |
From: Matt M. <pro...@us...> - 2004-11-18 01:30:32
|
Update of /cvsroot/webschool/webschool/theme/templates/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21773/theme/templates/admin Modified Files: newsletters.add.tpl newsletters.tpl users.changepass.tpl Log Message: Index: newsletters.tpl =================================================================== RCS file: /cvsroot/webschool/webschool/theme/templates/admin/newsletters.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** newsletters.tpl 30 Oct 2004 17:49:56 -0000 1.2 --- newsletters.tpl 18 Nov 2004 01:30:21 -0000 1.3 *************** *** 20,24 **** <td>{$v.shortdescription}</td> {if $perm.newsletters >= 2} ! <td>{ResolveUserID id='2' pretty=true}</td> <td><a href="{$AMOD}&op=delete&id={$v.id}">Delete</a></td> {/if} --- 20,24 ---- <td>{$v.shortdescription}</td> {if $perm.newsletters >= 2} ! <td>{ResolveUserID id=$v.moderator pretty=false}</td> <td><a href="{$AMOD}&op=delete&id={$v.id}">Delete</a></td> {/if} Index: newsletters.add.tpl =================================================================== RCS file: /cvsroot/webschool/webschool/theme/templates/admin/newsletters.add.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** newsletters.add.tpl 31 Oct 2004 04:21:48 -0000 1.2 --- newsletters.add.tpl 18 Nov 2004 01:30:21 -0000 1.3 *************** *** 3,6 **** --- 3,7 ---- <center><h3>Add A Newsletter</h3></center> + <form id="post" method="POST" action="{$AMOD}&op=add"> <table> <tr> *************** *** 17,27 **** </td> <td> ! <select name="moderator" id="moderator"> ! {foreach from=$usersel item=v} ! <option value="$v.id">{$v.username}</option> ! {/foreach} ! <select> </td> </tr> </table> {include file="tablefoot.tpl"} \ No newline at end of file --- 18,37 ---- </td> <td> ! <input type="text" value="{$smarty.get.finduname}" name="moderator" id="moderator" /> ! <a href="javascript:popUp('admin.php?action=finduser&referer={$AMOD}?op=add',300,150)">Find User</a> ! </td> ! </tr> ! <tr> ! <td> ! Description: <br> ! </td> ! <td> ! <textarea name="description" id="description"> </textarea> </td> </tr> + <tr> + <td></td><td><input type="submit" value="Make"></td> + </tr> </table> + </form> {include file="tablefoot.tpl"} \ No newline at end of file Index: users.changepass.tpl =================================================================== RCS file: /cvsroot/webschool/webschool/theme/templates/admin/users.changepass.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** users.changepass.tpl 27 Oct 2004 00:56:44 -0000 1.1 --- users.changepass.tpl 18 Nov 2004 01:30:21 -0000 1.2 *************** *** 1,4 **** {include file=tablehead.tpl tbtitle="Change Password"} ! {if $perm.users >= 0 || $denied == true} {$lang.auth_action_denied} {else} --- 1,4 ---- {include file=tablehead.tpl tbtitle="Change Password"} ! {if $perm.users == 0 || $denied == true} {$lang.auth_action_denied} {else} |