From: Chris S. <san...@us...> - 2005-09-04 19:25:05
|
Update of /cvsroot/stack/stack-1-0/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12073/html Modified Files: admin-menu.txt pagehead.php student-menu.txt Added Files: subjectjava.html Log Message: **MAJOR** changes: added the Subject layer over the top, Index: student-menu.txt =================================================================== RCS file: /cvsroot/stack/stack-1-0/html/student-menu.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** student-menu.txt 22 Jun 2005 13:14:35 -0000 1.4 --- student-menu.txt 4 Sep 2005 19:24:57 -0000 1.5 *************** *** 2,5 **** --- 2,6 ---- // level // text // link // target // + .menu_SelectS|index.php?action=choose_subject .menu_SelectQ|index.php?action=choose_quiz .menu_Update|index.php?action=update_info Index: admin-menu.txt =================================================================== RCS file: /cvsroot/stack/stack-1-0/html/admin-menu.txt,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** admin-menu.txt 26 Aug 2005 08:44:56 -0000 1.15 --- admin-menu.txt 4 Sep 2005 19:24:57 -0000 1.16 *************** *** 8,11 **** --- 8,14 ---- ..menu_New|editquiz.php?action=quiz_new ..menu_Import|import.php?action=import + .menu_Subjects|editsubject.php?action=subject_choose + ..menu_New|editsubject.php?action=subject_new + .menu_Zone|editzone.php .menu_Reporting|analysis.php .menu_User|user.php --- NEW FILE: subjectjava.html --- <script language="javascript"> function takeaction(c,n) { document.forms.subjectform.action.value = c; document.forms.subjectform.subjectID.value = n; document.forms.subjectform.submit(); } function addquiz() { document.forms.stacksubjecteditform.action.value = "subject_edit_add_quiz"; document.forms.stacksubjecteditform.submit(); } </script> Index: pagehead.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/html/pagehead.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** pagehead.php 25 Aug 2005 16:06:16 -0000 1.12 --- pagehead.php 4 Sep 2005 19:24:57 -0000 1.13 *************** *** 1,140 **** <?php - /** - * - * STACK standard page header. - * - * @package frontend - * @subpackage Stack - */ - - /** - * - */ - ?> - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> - <html> - <head> - <title>STACK - System for Teaching and Assessment using a Computer algebra Kernel</title> - <link rel="shortcut icon" href="pics/logo_sm.gif" /> - <style type="text/css"> - @import url(html/stack.css); - </style> - </head> - <body> - <table width="100%" border="0" cellpadding="0" cellspacing="0"> - <tr align="left" valign="top"> - <td colspan="2" id="header"> - <table width="95%" border="0" cellpadding="0" cellspacing="5"> - <tr align="left" valign="top"> - <td align="left"><h1>STACK</h1> - <font size='+2'>S</font><em>ystem for </em><font size='+2'>T</font><em>eaching and </em><font size='+2'>A</font><em>ssessment using a </em><font size='+2'>C</font><em>omputer algebra </em><font size='+2'>K</font><em>ernel</em></em></td> - <td align="right"> - <?php - echo '<br /><font size=-3>'; - if (isset($user['loggedin']) && ($user['loggedin'])) { - echo "<p>Logged in as<br />{$user['username']}.</p>"; - } else { - echo "<p>Not logged in.</p>"; - } - echo "</font>\n"; - ?> - </tr></table> - </td></tr> - <tr align="left" valign="top"> - <td nowrap width="10%" id="navigation"> - <?php - require_once("{$stack_root}/other/ListMenu.php"); - $username = @nsf($user,'username'); - if ('' !=$stack_basepath) { - $menupath = '/'.$stack_basepath.'/'; - } else { - $menupath = '/'; - } ! ! if (!empty($username)) ! { ! if ('admin' == $username) { ! ! $menu = new ListMenu('/'.$stack_basepath.'/',"html/admin-menu.txt"); ! ! } else if ($user['loggedin']) { ! ! $menu = new ListMenu('/'.$stack_basepath.'/',"html/student-menu.txt"); ! ! } else { ! ! $menu = new ListMenu('/'.$stack_basepath.'/',"html/index-menu.txt"); ! ! } ! } ! ! else ! { ! $menu = new ListMenu('/'.$stack_basepath.'/',"html/index-menu.txt"); ! } ! ! $menu->printMenu(); - - ?> - </td> - - <td width="90%" id="content"> - --- 1,80 ---- <?php /** * * STACK standard page header. * * @package frontend * @subpackage Stack */ /** * */ ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>STACK - System for Teaching and Assessment using a Computer algebra Kernel</title> <link rel="shortcut icon" href="pics/logo_sm.gif" /> <style type="text/css"> @import url(html/stack.css); </style> </head> <body> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr align="left" valign="top"> <td colspan="2" id="header"> <table width="95%" border="0" cellpadding="0" cellspacing="5"> <tr align="left" valign="top"> <td align="left"><h1>STACK</h1> <font size='+2'>S</font><em>ystem for </em><font size='+2'>T</font><em>eaching and </em><font size='+2'>A</font><em>ssessment using a </em><font size='+2'>C</font><em>omputer algebra </em><font size='+2'>K</font><em>ernel</em></em></td> <td align="right"> <?php echo '<br /><font size=-3>'; if (isset($user['loggedin']) && ($user['loggedin'])) { echo "<p>Logged in as<br />{$user['username']}.</p>"; } else { echo "<p>Not logged in.</p>"; } echo "</font>\n"; ?> </tr></table> </td></tr> <tr align="left" valign="top"> <td nowrap width="10%" id="navigation"> <?php require_once("{$stack_root}/other/ListMenu.php"); $username = @nsf($user,'username'); if ('' !=$stack_basepath) { $menupath = '/'.$stack_basepath.'/'; } else { $menupath = '/'; } ! if (!empty($username)) ! { ! if ('admin' == $username) { ! ! $menu = new ListMenu('/'.$stack_basepath.'/',"html/admin-menu.txt"); ! ! } else if ($user['loggedin']) { ! ! $menu = new ListMenu('/'.$stack_basepath.'/',"html/student-menu.txt"); ! ! } else { ! ! $menu = new ListMenu('/'.$stack_basepath.'/',"html/index-menu.txt"); ! ! } ! } ! ! else ! { ! $menu = new ListMenu('/'.$stack_basepath.'/',"html/index-menu.txt"); ! } $menu->printMenu(); ?> </td> <td width="90%" id="content"> |