[LON-CAPA-cvs] cvs: rat / lonpage.pm
bisitz
bisitz at source.lon-capa.org
Tue Jan 15 09:14:31 EST 2013
bisitz Tue Jan 15 14:14:31 2013 EDT
Modified files:
/rat lonpage.pm
Log:
- Applied 2.10 redesign icons -> Bug #5280
- Added img title re-using existing phrases fitting to the underlying function
- XHTML (alt attr. in img tag)
Index: rat/lonpage.pm
diff -u rat/lonpage.pm:1.99 rat/lonpage.pm:1.100
--- rat/lonpage.pm:1.99 Fri Nov 30 20:48:20 2012
+++ rat/lonpage.pm Tue Jan 15 14:14:31 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Page Handler
#
-# $Id: lonpage.pm,v 1.99 2012/11/30 20:48:20 raeburn Exp $
+# $Id: lonpage.pm,v 1.100 2013/01/15 14:14:31 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -612,7 +612,9 @@
|| !$hash->{'encrypted_'.$rid})) {
$metainfo .='<a name="'.&escape($symb).'" />'.
'<a href="'.$hash->{'src_'.$rid}.'.meta'.'" target="LONcatInfo">'.
- '<img src="/adm/lonMisc/cat_button.png" class="LC_icon" />'.
+ '<img src="/res/adm/pages/catalog.png" class="LC_icon"'.
+ ' alt="'.&mt('Show Metadata').'"'.
+ ' title="'.&mt('Show Metadata').'" />'.
'</a>';
}
if (($hash->{'src_'.$rid} !~ m{^/uploaded/}) &&
@@ -620,7 +622,9 @@
$metainfo .= '<a href="/adm/evaluate?postdata='.
&escape($esrc).
'" target="LONcatInfo">'.
- '<img src="/adm/lonMisc/eval_button.png" class="LC_icon" />'.
+ '<img src="/res/adm/pages/eval.png" class="LC_icon"'.
+ ' alt="'.&mt('Provide my evaluation of this resource').'"'.
+ ' title="'.&mt('Provide my evaluation of this resource').'" />'.
'</a>';
}
if (($hash->{'src_'.$rid}=~/$LONCAPA::assess_re/) &&
@@ -631,12 +635,16 @@
'<a href="/adm/grades?symb='.&escape($symb).
# '&command=submission" target="LONcatInfo">'.
'&command=submission">'.
- '<img src="/adm/lonMisc/subm_button.png" class="LC_icon" />'.
+ '<img src="/adm/lonMisc/subm_button.png" class="LC_icon"'.
+ ' alt="'.&mt('View Submissions for a Student or a Group of Students').'"'.
+ ' title="'.&mt('View Submissions for a Student or a Group of Students').'" />'.
'</a>'.
'<a href="/adm/grades?symb='.&escape($symb).
# '&command=gradingmenu" target="LONcatInfo">'.
'&command=gradingmenu">'.
- '<img src="/adm/lonMisc/pgrd_button.png" class="LC_icon" />'.
+ '<img src="/res/adm/pages/pgrd.png" class="LC_icon"'.
+ ' alt="'.&mt('Content Grades').'"'.
+ ' title="'.&mt('Content Grades').'" />'.
'</a>';
}
if (&Apache::lonnet::allowed('opa',$env{'request.course.id'})) {
@@ -644,7 +652,9 @@
'<a href="/adm/parmset?symb='.&escape($symb).
# '" target="LONcatInfo">'.
'" >'.
- '<img src="/adm/lonMisc/pprm_button.png" class="LC_icon" />'.
+ '<img src="/adm/lonMisc/pprm_button.png" class="LC_icon"'.
+ ' alt="'.&mt('Content Settings').'"'.
+ ' title="'.&mt('Content Settings').'" />'.
'</a>';
}
}
More information about the LON-CAPA-cvs
mailing list