version 1.240.2.16, 2010/09/03 19:20:51
|
version 1.240.2.17, 2010/10/04 17:43:24
|
Line 138 use Apache::lonannounce;
|
Line 138 use Apache::lonannounce;
|
use Apache::lonlocal; |
use Apache::lonlocal; |
use Apache::lonpageflip(); |
use Apache::lonpageflip(); |
use Apache::lonnavdisplay(); |
use Apache::lonnavdisplay(); |
use Apache::lonmainmenu(); |
|
use Apache::loncoursequeueadmin; |
use Apache::loncoursequeueadmin; |
use GDBM_File; |
use GDBM_File; |
use LONCAPA qw(:DEFAULT :match); |
use LONCAPA qw(:DEFAULT :match); |
Line 595 ENDENTERKEY
|
Line 594 ENDENTERKEY
|
my ($crumbtext,$pagetitle,$recent,$show_course); |
my ($crumbtext,$pagetitle,$recent,$show_course); |
my $noscript='<span class="LC_error">'.&mt('Use of LON-CAPA requires Javascript to be enabled in your web browser.').'<br />'.&mt('As this is not the case, most functionality in the system will be unavailable.').'</span><br />'; |
my $noscript='<span class="LC_error">'.&mt('Use of LON-CAPA requires Javascript to be enabled in your web browser.').'<br />'.&mt('As this is not the case, most functionality in the system will be unavailable.').'</span><br />'; |
if ($custommenu) { |
if ($custommenu) { |
my $start_page = &Apache::loncommon::start_page('Main Menu',undef, |
my $brcrum = {'bread_crumbs' => 1}; |
{'bread_crumbs' => 1}); |
if ($env{'form.destinationurl'} eq '/adm/gci_info') { |
|
undef($brcrum); |
|
} |
|
my $start_page = &Apache::loncommon::start_page('Main Menu',undef,$brcrum); |
$r->print(<<"ENDCUSTOM"); |
$r->print(<<"ENDCUSTOM"); |
$start_page |
$start_page |
<br /> |
<br /> |
Line 748 ENDHEADER
|
Line 750 ENDHEADER
|
my $numcourses = keys(%courses); |
my $numcourses = keys(%courses); |
my $switcher; |
my $switcher; |
if ($numcourses > 0) { |
if ($numcourses > 0) { |
$switcher = &Apache::lonmainmenu::gcitest_switcher('cc',%courses); |
$switcher = &Apache::loncommon::gcitest_switcher('cc',%courses); |
my $current; |
my $current; |
if ($env{'request.course.id'}) { |
if ($env{'request.course.id'}) { |
$current = 'cc./'.$env{'course.'.$env{'request.course.id'}.'.domain'}. |
$current = 'cc./'.$env{'course.'.$env{'request.course.id'}.'.domain'}. |
'/'.$env{'course.'.$env{'request.course.id'}.'.num'}; |
'/'.$env{'course.'.$env{'request.course.id'}.'.num'}; |
} |
} |
my $switcher_js = &Apache::lonmainmenu::gcitest_switcher_js($current,$numcourses); |
my $switcher_js = &Apache::loncommon::gcitest_switcher_js($current,$numcourses); |
$r->print(<<"ENDSCRIPT"); |
$r->print(<<"ENDSCRIPT"); |
<script type="text/javascript"> |
<script type="text/javascript"> |
// <![CDATA[ |
// <![CDATA[ |
Line 970 sub gci_info_page {
|
Line 972 sub gci_info_page {
|
Use the tabs to navigate the WebCenter and... |
Use the tabs to navigate the WebCenter and... |
<ul> |
<ul> |
<li>Review and comment on existing GCI questions</li> |
<li>Review and comment on existing GCI questions</li> |
<li>Submit a GCI question of your own</li> |
<li>Submit GCI questions of your own</li> |
<li>Create an online test for your students</li> |
<li>Create an online test for your students</li> |
<li>View tutorials on creating online tests</li> |
<li>View tutorials on creating online tests</li> |
</ul> |
</ul> |