[LON-CAPA-cvs] cvs: loncom /html/adm/help/tex Syllabus_URLs.tex /interface lonbulletin.pm lonsimplepage.pm lonsyllabus.pm

www lon-capa-cvs@mail.lon-capa.org
Thu, 10 Jul 2003 10:53:18 -0000


www		Thu Jul 10 06:53:18 2003 EDT

  Modified files:              
    /loncom/html/adm/help/tex	Syllabus_URLs.tex 
    /loncom/interface	lonbulletin.pm lonsimplepage.pm lonsyllabus.pm 
  Log:
  Bug #1762: Public vs. Student view mess.
  
  
Index: loncom/html/adm/help/tex/Syllabus_URLs.tex
diff -u loncom/html/adm/help/tex/Syllabus_URLs.tex:1.1 loncom/html/adm/help/tex/Syllabus_URLs.tex:1.2
--- loncom/html/adm/help/tex/Syllabus_URLs.tex:1.1	Mon Feb 10 10:19:43 2003
+++ loncom/html/adm/help/tex/Syllabus_URLs.tex	Thu Jul 10 06:53:18 2003
@@ -9,4 +9,4 @@
 /res/foo/author/images/foo.gif
 \end{verbatim}
 
-To check these entries, render the Syllabus in ``Show Student View.''
+To check these entries, render the Syllabus in ``Show Public View.''
Index: loncom/interface/lonbulletin.pm
diff -u loncom/interface/lonbulletin.pm:1.10 loncom/interface/lonbulletin.pm:1.11
--- loncom/interface/lonbulletin.pm:1.10	Fri Jun 20 09:31:46 2003
+++ loncom/interface/lonbulletin.pm	Thu Jul 10 06:53:18 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Bulletin Board Handler
 #
-# $Id: lonbulletin.pm,v 1.10 2003/06/20 13:31:46 www Exp $
+# $Id: lonbulletin.pm,v 1.11 2003/07/10 10:53:18 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -100,7 +100,7 @@
        if ($allowed) {
           $r->print(
 	  '<p>'.
-&Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes','Help with filling in text boxes').'<br /><a href="'.$r->uri.'?forcestudent=1">Show Public View</a>'.
+&Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes','Help with filling in text boxes').'<br /><a href="'.$r->uri.'?forcestudent=1"><font size="+1">Show Student View</font></a>'.
  &Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').'</p>');
       }
       if (($ENV{'form.uploaddoc.filename'}) &&
Index: loncom/interface/lonsimplepage.pm
diff -u loncom/interface/lonsimplepage.pm:1.10 loncom/interface/lonsimplepage.pm:1.11
--- loncom/interface/lonsimplepage.pm:1.10	Fri Jun 20 09:31:46 2003
+++ loncom/interface/lonsimplepage.pm	Thu Jul 10 06:53:18 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Simple Page Editor
 #
-# $Id: lonsimplepage.pm,v 1.10 2003/06/20 13:31:46 www Exp $
+# $Id: lonsimplepage.pm,v 1.11 2003/07/10 10:53:18 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -99,7 +99,7 @@
  
        if ($allowed) {
           $r->print('<p>'.
-&Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes','Help with filling in text boxes').'<br /><a href="'.$r->uri.'?forcestudent=1">Show Public View</a>'.
+&Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes','Help with filling in text boxes').'<br /><a href="'.$r->uri.'?forcestudent=1"><font size="+1">Show Student View</font></a>'.
  &Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').'</p>');
       }
       if (($ENV{'form.uploaddoc.filename'}) &&
Index: loncom/interface/lonsyllabus.pm
diff -u loncom/interface/lonsyllabus.pm:1.20 loncom/interface/lonsyllabus.pm:1.21
--- loncom/interface/lonsyllabus.pm:1.20	Fri Jun 20 09:31:46 2003
+++ loncom/interface/lonsyllabus.pm	Thu Jul 10 06:53:18 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Syllabus
 #
-# $Id: lonsyllabus.pm,v 1.20 2003/06/20 13:31:46 www Exp $
+# $Id: lonsyllabus.pm,v 1.21 2003/07/10 10:53:18 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -127,7 +127,7 @@
 &Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes','Help with filling in text boxes').'</p><p>This syllabus can be publicly viewed at <tt>http://'.
 		    $Apache::lonnet::hostname{$homeserver}.$r->uri.'</tt>'.
                &Apache::loncommon::help_open_topic('Syllabus_ExtLink').'</p>'.
-	  '<p><a href="'.$r->uri.'?forcestudent=1">Show Student View</a>'.
+	  '<p><a href="'.$r->uri.'?forcestudent=1"><font size="+1">Show Public View</font></a>'.
           &Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').
           '</p>');
       }
@@ -210,7 +210,7 @@
                   if ($allowed) {
                      $r->print('<h3>'.$syllabusfields{$_}.
           &Apache::loncommon::help_open_topic('Syllabus_URLs').'</h3>'.
-	  '<p><a href="'.$r->uri.'?forcestudent=1">Show Student View</a>'.
+	  '<p><a href="'.$r->uri.'?forcestudent=1"><font size="+1">Show Public View</font></a>'.
  &Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').'</p>');
 		 } else {
                   $r->print($message);