[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
raeburn
raeburn at source.lon-capa.org
Tue Nov 29 19:27:20 EST 2016
raeburn Wed Nov 30 00:27:20 2016 EDT
Modified files:
/loncom/interface londocs.pm
Log:
- Add punctuation to alerts.
- Prepend javascript: to calls to makenew in onclick attribute when adding
syllabus item.
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.617 loncom/interface/londocs.pm:1.618
--- loncom/interface/londocs.pm:1.617 Tue Nov 29 03:01:04 2016
+++ loncom/interface/londocs.pm Wed Nov 30 00:27:20 2016
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.617 2016/11/29 03:01:04 raeburn Exp $
+# $Id: londocs.pm,v 1.618 2016/11/30 00:27:20 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3823,7 +3823,7 @@
'sv' => 'Save',
'ul' => 'URL',
'ti' => 'Title',
- 'er' => 'Editing rights unavailable for your current role',
+ 'er' => 'Editing rights unavailable for your current role.',
);
my %denied = &action_restrictions($coursenum,$coursedom,$url,
$env{'form.folderpath'},
@@ -5527,7 +5527,7 @@
'webctce4' => 'WebCT 4 Campus Edition',
'yes' => 'Yes',
'no' => 'No',
- 'er' => 'Editing rights unavailable for your current role',
+ 'er' => 'Editing rights unavailable for your current role.',
);
# -----------------------------------------------------------------------------
@@ -6158,7 +6158,7 @@
NGFFORM
@specialdocumentsforma=(
{'<img class="LC_noBorder LC_middle" src="/res/adm/pages/page.png" alt="'.$lt{newp}.'" onclick="javascript:makenewpage(document.newpage,\''.$pageseq.'\');" />'=>$newpageform},
- {'<img class="LC_noBorder LC_middle" src="/res/adm/pages/syllabus.png" alt="'.$lt{syll}.'" onclick="makenew(document.newsyl);" />'=>$newsylform},
+ {'<img class="LC_noBorder LC_middle" src="/res/adm/pages/syllabus.png" alt="'.$lt{syll}.'" onclick="javascript:makenew(document.newsyl);" />'=>$newsylform},
{'<img class="LC_noBorder LC_middle" src="/res/adm/pages/navigation.png" alt="'.$lt{navc}.'" onclick="javascript:makenew(document.newnav);" />'=>$newnavform},
{'<img class="LC_noBorder LC_middle" src="/res/adm/pages/simple.png" alt="'.$lt{sipa}.'" onclick="javascript:makesmppage();" />'=>$newsmppageform},
{'<img class="LC_noBorder LC_middle" src="/res/adm/pages/webpage.png" alt="'.$lt{webp}.'" onclick="javascript:makewebpage();" />'=>$newwebpageform},
@@ -6336,7 +6336,7 @@
my @specialdocs = (
- {'<img class="LC_noBorder LC_middle" src="/res/adm/pages/syllabus.png" alt="'.$lt{syll}.'" onclick="makenew(document.supnewsyl);" />'
+ {'<img class="LC_noBorder LC_middle" src="/res/adm/pages/syllabus.png" alt="'.$lt{syll}.'" onclick="javascript:makenew(document.supnewsyl);" />'
=>$supnewsylform},
{'<img class="LC_noBorder LC_middle" src="/res/adm/pages/myaboutme.png" alt="'.$lt{mypi}.'" onclick="javascript:makenew(document.supnewaboutme);" />'
=>$supnewaboutmeform},
@@ -6803,7 +6803,7 @@
nofi => 'No file selected',
tinc => 'Title in course',
sunm => 'Sub-directory name',
- edri => 'Editing rights unavailable for your current role',
+ edri => 'Editing rights unavailable for your current role.',
);
&js_escape(\%js_lt);
my $crstype = &Apache::loncommon::course_type();
More information about the LON-CAPA-cvs
mailing list