Update of /cvsroot/stack/stack-1-0/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28391/doc
Modified Files:
about_develop.php help_popup.php
Log Message:
Hints added
Index: about_develop.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/doc/about_develop.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** about_develop.php 20 Jun 2005 15:42:55 -0000 1.2
--- about_develop.php 27 Jun 2005 08:26:39 -0000 1.3
***************
*** 1,5 ****
<?php
/**
! * Details of how to Develop.
*
* @package documentation
--- 1,5 ----
<?php
/**
! * Details of how to Develop STACK.
*
* @package documentation
***************
*** 195,197 ****
</ol>
<p> </p>
-
--- 195,196 ----
Index: help_popup.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/doc/help_popup.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** help_popup.php 20 Jun 2005 15:42:55 -0000 1.2
--- help_popup.php 27 Jun 2005 08:26:39 -0000 1.3
***************
*** 25,44 ****
include("{$stack_root}/html/htmlstyle.html");
?>
</head>
<body>
- <div id=main>
- <div id=SectionText>
<?php
! $field = $_POST['field'];
$variable = $_POST['variable'];
if (array_key_exists('field',$_GET)) {
! $field = $_GET['field'];
}
if (array_key_exists('variable',$_GET)) {
! $variable = $_GET['variable'];
}
--- 25,48 ----
include("{$stack_root}/html/htmlstyle.html");
+
+ // HACK!
+ $lang = 'en';
+ $disp_opt = 'LaTeX';
+
?>
</head>
<body>
<?php
!
! $field = $_POST['field'];
$variable = $_POST['variable'];
if (array_key_exists('field',$_GET)) {
! $field = $_GET['field'];
}
if (array_key_exists('variable',$_GET)) {
! $variable = $_GET['variable'];
}
***************
*** 46,55 ****
//echo $variable;
! if ('student'==$field) {
! include('student_input.php');
! } else if('all'==$field) {
// Then we would like a lot of documentation.
$filename=$variable.'.php';
--- 50,75 ----
//echo $variable;
! if ('student' == $field) {
! include('student_input.php');
! } else if('fact' == $variable) {
! //<a href="javascript:HelpPopup('calc_product_rule','fact');">A fact!</a>
! // These allow the student to ask for help in the popup window.
! $fn = $stack_root.'/lang/'.$lang.'/doc/student_factsformula.php';
!
! include($fn);
!
! if (array_key_exists($field,$stackFact)) {
! $name = $stackFact[$field]['name'];
! $fact = $stackFact[$field]['fact'];
! $strout = stack_latex_to_html($fact);
!
! echo "<h2><img src='$stack_web_url/pics/logo_sm.png' /> $name</h2><p>$strout</p>";
! }
!
! } else if('all' == $field) {
// Then we would like a lot of documentation.
+ // This needs to come after 'fact'
$filename=$variable.'.php';
***************
*** 82,84 ****
?>
! </div><br /></div></div></body></html>
--- 102,104 ----
?>
! </body></html>
|