[LON-CAPA-cvs] cvs: loncom(GCI_3) /interface lonpreferences.pm
raeburn
raeburn@source.lon-capa.org
Mon, 07 Dec 2009 04:23:32 -0000
raeburn Mon Dec 7 04:23:32 2009 EDT
Modified files: (Branch: GCI_3)
/loncom/interface lonpreferences.pm
Log:
- Customization for GCI_3.
Index: loncom/interface/lonpreferences.pm
diff -u loncom/interface/lonpreferences.pm:1.179 loncom/interface/lonpreferences.pm:1.179.2.1
--- loncom/interface/lonpreferences.pm:1.179 Wed Dec 2 18:33:27 2009
+++ loncom/interface/lonpreferences.pm Mon Dec 7 04:23:32 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Preferences
#
-# $Id: lonpreferences.pm,v 1.179 2009/12/02 18:33:27 bisitz Exp $
+# $Id: lonpreferences.pm,v 1.179.2.1 2009/12/07 04:23:32 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1883,13 +1883,6 @@
},
{ categorytitle=>'Content Display Settings',
items =>[
- { linktext => 'Language',
- url => '/adm/preferences?action=changelanguages',
- permission => 'F',
- #help => 'Prefs_Language',
- icon => 'preferences-desktop-locale.png',
- linktitle => 'Choose the default language for this user.'
- },
{ linktext => 'WYSIWYG Editor',
url => '/adm/preferences?action=changewysiwyg',
permission => 'F',
@@ -1897,13 +1890,6 @@
icon => 'edit-select-all.png',
linktitle => 'Enable or disable the WYSIWYG-Editor.'
},
- { linktext => $role.' Page',
- url => '/adm/preferences?action=changerolespref',
- permission => 'F',
- #help => '',
- icon => 'sctr.png',
- linktitle => 'Configure the roles hotlist.'
- },
{ linktext => 'Math display settings',
url => '/adm/preferences?action=changetexenginepref',
permission => 'F',
@@ -1932,15 +1918,7 @@
]
},
{ categorytitle=>'Other',
- items =>[
- { linktext => 'Register Response Devices ("Clickers")',
- url => '/adm/preferences?action=changeclicker',
- permission => 'F',
- #help => '',
- icon => 'network-workgroup.png',
- linktitle => 'Register your clicker.'
- },
- ]
+ items =>[]
},
);
@@ -1954,25 +1932,6 @@
linktitle => 'Change your password.',
});
}
- if ($env{'environment.remote'} eq 'off') {
-push(@{ $menu[1]->{items} }, {
- linktext => 'Launch Remote Control',
- url => '/adm/remote?url=/adm/preferences&action=launch',
- permission => 'F',
- #help => '',
- icon => 'remotecontrol.png',
- linktitle => 'Launch the remote control for LON-CAPA.',
- });
- }else{
-push(@{ $menu[1]->{items} }, {
- linktext => 'Collapse Remote Control',
- url => '/adm/remote?url=/adm/preferences&action=collapse',
- permission => 'F',
- #help => '',
- icon => 'remotecontrol.png',
- linktitle => 'Collapse the remote control for LON-CAPA.',
- });
- }
my %author_roles = &Apache::lonnet::get_my_roles($user,$domain,'userroles','',['au']);
if (keys(%author_roles) > 0) {
push(@{ $menu[4]->{items} }, {