[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm
raeburn
raeburn at source.lon-capa.org
Thu Dec 27 23:12:32 EST 2012
raeburn Fri Dec 28 04:12:32 2012 EDT
Modified files:
/loncom/interface loncreateuser.pm
Log:
- Modify change in rev 1.363, so "Change Log" item is available in
User Management sub-menu in author context.
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.369 loncom/interface/loncreateuser.pm:1.370
--- loncom/interface/loncreateuser.pm:1.369 Fri Dec 21 14:49:50 2012
+++ loncom/interface/loncreateuser.pm Fri Dec 28 04:12:32 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Create a user
#
-# $Id: loncreateuser.pm,v 1.369 2012/12/21 14:49:50 bisitz Exp $
+# $Id: loncreateuser.pm,v 1.370 2012/12/28 04:12:32 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4854,6 +4854,7 @@
);
}
} elsif ($context eq 'author') {
+ push(@{ $menu[2]->{items} }, #Category: Administration
{
linktext => 'Change Log',
icon => 'document-properties.png',
@@ -4862,6 +4863,7 @@
permission => $permission->{'cusr'},
linktitle => 'View change log.',
},
+ );
}
return Apache::lonhtmlcommon::generate_menu(@menu);
# { text => 'View Log-in History',
More information about the LON-CAPA-cvs
mailing list