[LON-CAPA-cvs] cvs: loncom /html/adm/help/tex Syllabus_ExtLink.tex Syllabus_URLs.tex Uploaded_Templates_PublicView.tex /interface lonaboutme.pm lonbulletin.pm lonsimplepage.pm lonsyllabus.pm
www
lon-capa-cvs@mail.lon-capa.org
Mon, 10 Feb 2003 15:19:43 -0000
www Mon Feb 10 10:19:43 2003 EDT
Added files:
/loncom/html/adm/help/tex Syllabus_ExtLink.tex Syllabus_URLs.tex
Uploaded_Templates_PublicView.tex
Modified files:
/loncom/interface lonaboutme.pm lonbulletin.pm lonsimplepage.pm
lonsyllabus.pm
Log:
Help links.
Index: loncom/interface/lonaboutme.pm
diff -u loncom/interface/lonaboutme.pm:1.9 loncom/interface/lonaboutme.pm:1.10
--- loncom/interface/lonaboutme.pm:1.9 Mon Dec 30 09:10:58 2002
+++ loncom/interface/lonaboutme.pm Mon Feb 10 10:19:43 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network
# "About Me" Personal Information
#
-# $Id: lonaboutme.pm,v 1.9 2002/12/30 14:10:58 www Exp $
+# $Id: lonaboutme.pm,v 1.10 2003/02/10 15:19:43 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -89,7 +89,8 @@
if ($allowed) {
$r->print('<p><b>Privacy Note:</b> The information you submit can be viewed by anybody who is logged into LON-CAPA. Do not provide information that you are not ready to share publically.</p>'.
- '<p><a href="'.$r->uri.'?forcestudent=1">Show Public View</a></p>');
+ '<p><a href="'.$r->uri.'?forcestudent=1">Show Public View</a>'.
+ &Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').</p>');
}
if (($ENV{'form.uploaddoc.filename'}) &&
($ENV{'form.storeupl'}) && ($allowed)) {
Index: loncom/interface/lonbulletin.pm
diff -u loncom/interface/lonbulletin.pm:1.3 loncom/interface/lonbulletin.pm:1.4
--- loncom/interface/lonbulletin.pm:1.3 Wed Sep 11 09:36:50 2002
+++ loncom/interface/lonbulletin.pm Mon Feb 10 10:19:43 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Simple Page Editor
#
-# $Id: lonbulletin.pm,v 1.3 2002/09/11 13:36:50 www Exp $
+# $Id: lonbulletin.pm,v 1.4 2003/02/10 15:19:43 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -90,7 +90,8 @@
if ($allowed) {
$r->print(
- '<p><a href="'.$r->uri.'?forcestudent=1">Show Public View</a></p>');
+ '<p><a href="'.$r->uri.'?forcestudent=1">Show Public View</a>'.
+ &Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').</p>');
}
if (($ENV{'form.uploaddoc.filename'}) &&
($ENV{'form.storeupl'}) && ($allowed)) {
Index: loncom/interface/lonsimplepage.pm
diff -u loncom/interface/lonsimplepage.pm:1.2 loncom/interface/lonsimplepage.pm:1.3
--- loncom/interface/lonsimplepage.pm:1.2 Tue Sep 10 16:53:36 2002
+++ loncom/interface/lonsimplepage.pm Mon Feb 10 10:19:43 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Simple Page Editor
#
-# $Id: lonsimplepage.pm,v 1.2 2002/09/10 20:53:36 www Exp $
+# $Id: lonsimplepage.pm,v 1.3 2003/02/10 15:19:43 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -89,7 +89,8 @@
if ($allowed) {
$r->print(
- '<p><a href="'.$r->uri.'?forcestudent=1">Show Public View</a></p>');
+ '<p><a href="'.$r->uri.'?forcestudent=1">Show Public View</a>'.
+ &Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').</p>');
}
if (($ENV{'form.uploaddoc.filename'}) &&
($ENV{'form.storeupl'}) && ($allowed)) {
Index: loncom/interface/lonsyllabus.pm
diff -u loncom/interface/lonsyllabus.pm:1.9 loncom/interface/lonsyllabus.pm:1.10
--- loncom/interface/lonsyllabus.pm:1.9 Mon Feb 10 09:44:36 2003
+++ loncom/interface/lonsyllabus.pm Mon Feb 10 10:19:43 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Syllabus
#
-# $Id: lonsyllabus.pm,v 1.9 2003/02/10 14:44:36 www Exp $
+# $Id: lonsyllabus.pm,v 1.10 2003/02/10 15:19:43 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -97,8 +97,11 @@
}
if ($allowed) {
$r->print('<p>This syllabus can be publically viewed at <tt>http://'.
- $Apache::lonnet::hostname{$homeserver}.$r->uri.'</tt></p>'.
- '<p><a href="'.$r->uri.'?forcestudent=1">Show Student View</a></p>');
+ $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>'.
+ &Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').
+ '</p>');
}
if (($allowed) && ($ENV{'form.storesyl'})) {
foreach (keys %syllabusfields) {
@@ -181,10 +184,9 @@
}
if ($allowed) {
$r->print('<h3>'.$syllabusfields{$_}.
- '</h3>URLs provided will be included into the page output.'.
- '<br />Format:<br /><pre>'.
- "http://www.foo.org/foo.html\n/res/foo/author/foo.html\n</pre>".
- '<p><a href="'.$r->uri.'?forcestudent=1">Show Student View</a></p>');
+ &Apache::loncommon::help_open_topic('Syllabus_URLs').'</h3>'.
+ '<p><a href="'.$r->uri.'?forcestudent=1">Show Student View</a>'.
+ &Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').'</p>');
} else {
$r->print($message);
}
Index: loncom/html/adm/help/tex/Syllabus_ExtLink.tex
+++ loncom/html/adm/help/tex/Syllabus_ExtLink.tex
\label{Syllabus_ExtLink}
In general, resources inside of LON-CAPA are only accessible under login
control. A syllabus, however, can be accessed without logging in, since
students want to be able to access a course syllabus before enrollment.
Copy and paste the link provided for external access to this document.
Index: loncom/html/adm/help/tex/Syllabus_URLs.tex
+++ loncom/html/adm/help/tex/Syllabus_URLs.tex
\label{Syllabus_URLs}
URLs entered into the ``URLs to Include in Syllabus'' field are incorporated
directly into the Syllabus page. URLs can be external (starting with {\tt http://servername/}) or internal to LON-CAPA (starting with {\tt /res/}).
The format for the URL field is (example):
\begin{verbatim}
http://www.foo.org/foo.html
/res/foo/author/foo.html
/res/foo/author/images/foo.gif
\end{verbatim}
To check these entries, render the Syllabus in ``Show Student View.''
Index: loncom/html/adm/help/tex/Uploaded_Templates_PublicView.tex
+++ loncom/html/adm/help/tex/Uploaded_Templates_PublicView.tex
\label{Uploaded_Templates_PublicView}
As you look at this document, since you have editing privileges to it, it
appears in edit mode including the text boxes where information can be entered
or modified. Use this link to see the ``public'' view of your document as it appears to users who do not have editing privileges. Use the browser's ``Back'' button to return to edit mode.