[LON-CAPA-cvs] cvs: loncom /interface londropadd.pm lonmenu.pm mydesk.tab

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 03 Jul 2006 04:14:21 -0000


albertel		Mon Jul  3 00:14:21 2006 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm mydesk.tab londropadd.pm 
  Log:
  - temp. hide of groups
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.191 loncom/interface/lonmenu.pm:1.192
--- loncom/interface/lonmenu.pm:1.191	Fri Jun 30 20:39:54 2006
+++ loncom/interface/lonmenu.pm	Mon Jul  3 00:14:21 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.191 2006/07/01 00:39:54 www Exp $
+# $Id: lonmenu.pm,v 1.192 2006/07/03 04:14:21 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -129,11 +129,11 @@
 <a href="/adm/coursedocs" target="_top">$lt{'docs'}</a>
 ENDDOCS
             }
-            if ($showgroups) {
-                $groups =(<<ENDGROUPS);
-<a href="/adm/coursegroups" target="_top">$lt{'groups'}</a></td>
-ENDGROUPS
-            }
+#            if ($showgroups) {
+#                $groups =(<<ENDGROUPS);
+#<a href="/adm/coursegroups" target="_top">$lt{'groups'}</a>
+#ENDGROUPS
+#            }
 	}
         my $form=&serverform();
         my $utility=&utilityfunctions();
@@ -198,12 +198,12 @@
 <td><a href="/adm/coursedocs" target="_top">$text</a></td>
 ENDDOCS
             }
-            if ($showgroups) {
-                my $text = ($is_group) ? $lt{'teams'} : $lt{'groups'};
-                $groups =(<<ENDGROUPS);
-<td><a href="/adm/coursegroups" target="_top">$text</a></td>
-ENDGROUPS
-            }
+#            if ($showgroups) {
+#                my $text = ($is_group) ? $lt{'teams'} : $lt{'groups'};
+#                $groups =(<<ENDGROUPS);
+#<td><a href="/adm/coursegroups" target="_top">$text</a></td>
+#ENDGROUPS
+#            }
 	    if (
 		($env{'request.noversionuri'}=~m[^/(res|public)/] &&
 		 $env{'request.symb'} eq '')
Index: loncom/interface/mydesk.tab
diff -u loncom/interface/mydesk.tab:1.73 loncom/interface/mydesk.tab:1.74
--- loncom/interface/mydesk.tab:1.73	Fri Jun 30 20:39:54 2006
+++ loncom/interface/mydesk.tab	Mon Jul  3 00:14:21 2006
@@ -1,5 +1,14 @@
 # 
-# row:col:pro:prt:img:top:bot:act
+# row:col:pro:prt:img:top:bot:act:txt
+# row-> row of remote to appear on
+# col-> col of remote to appear on
+# pro-> when to show the button
+# prt-> parameter to pro
+# img-> img for the button
+# top-> txt for the top row of the remote
+# bot-> txt for the bottom row of the remote
+# act-> javascrtip to excute when clicked
+# txt-> text to display in the extended remote or inline remote
 #
 # pro = clear    clear the button
 # pro = any      any permission level is allowed this button
@@ -34,7 +43,8 @@
 4:3:pvgr:$crs:stat.gif:course[_6]:stats[_1]:gopost('/adm/statistics','Problem Statistics');:View course assessment statistics
 5:1:clear
 5:1:courseenv_student_classlist_view:any:clst.gif:course[_12]:roster[_1]:go('/adm/viewclasslist');:View course roster
-5:1:pcst:$crs:enrl.gif:course[_7]:enroll[_1]:go('/adm/dropadd');:Manage student enrollment and groups in this course
+5:1:pcst:$crs:enrl.gif:course[_7]:enroll[_1]:go('/adm/dropadd');:Manage student enrollment 
+#and groups in this course
 5:1:pmky:$requested_domain:keys.gif:manage[_1]:acc keys[_1]:go('/adm/managekeys');:Manage Access Keys
 5:2:clear
 5:2:pcst:$crs:cprv.gif:user[_1]:roles[_1]:go('/adm/createuser');:Create a user or modify the roles and privileges of a user
@@ -66,9 +76,9 @@
 10:3:ppsa:$requested_domain:mail.gif:bulk[_1]:e-mail[_1]:go('/adm/notify');:Send and display broadcast e-mail
 10:3:course_plc:any:bchat.gif:course[_10]:chat[_1]:chat_win();:Enter the chatroom for the course
 11:1:clear
-11:1:course:any:grps.gif:course[_12]:groups[_1]:go('/adm/coursegroups');:Enter my groups in the course
-11:1:course_vcg:any:grps.gif:course[_12]:groups[_1]:go('/adm/coursegroups');:Enter any group in the course
-11:1:course_mdg:any:grps.gif:course[_12]:groups[_1]:go('/adm/coursegroups');:Edit any group in the course
+#11:1:course:any:grps.gif:course[_12]:groups[_1]:go('/adm/coursegroups');:Enter my groups in the course
+#11:1:course_vcg:any:grps.gif:course[_12]:groups[_1]:go('/adm/coursegroups');:Enter any group in the course
+#11:1:course_mdg:any:grps.gif:course[_12]:groups[_1]:go('/adm/coursegroups');:Edit any group in the course
 11:2:any:any:port.gif:port-[_1]:folio[_1]:go('/adm/portfolio');:Enter my portfolio space
 12:1:clear
 12:1:course:any:src.gif:search[_1]:course[_11]:go('/adm/searchcat');:Search the contents of this course
Index: loncom/interface/londropadd.pm
diff -u loncom/interface/londropadd.pm:1.143 loncom/interface/londropadd.pm:1.144
--- loncom/interface/londropadd.pm:1.143	Wed May 17 21:08:51 2006
+++ loncom/interface/londropadd.pm	Mon Jul  3 00:14:21 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to drop and add students in courses 
 #
-# $Id: londropadd.pm,v 1.143 2006/05/18 01:08:51 raeburn Exp $
+# $Id: londropadd.pm,v 1.144 2006/07/03 04:14:21 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -167,26 +167,26 @@
             permission => &Apache::lonnet::auto_run($cnum,$cdom),
             url  => '/adm/populate',
             },
-          { text => 'Create a new group',
-            help => 'Course_Create_Group',
-            permission => $grp_manage_permission,
-            url => '/adm/coursegroups?refpage=enrl&action=create',
-            },
-          { text => 'Modify an existing group',
-            help => 'Course_Modify_Group',
-            permission => $grp_manage_permission,
-            url => '/adm/coursegroups?refpage=enrl&action=modify',
-            },
-          { text => 'Delete an existing group',
-            help => 'Course_Delete_Group',
-            permission => $grp_manage_permission,
-            url => '/adm/coursegroups?refpage=enrl&action=delete',
-            },
-          { text => 'Enter an existing group',
-            help => 'Course_Display_Group',
-            permission => $grp_view_permission,
-            url => '/adm/coursegroups?refpage=enrl&action=view',
-            },
+#          { text => 'Create a new group',
+#            help => 'Course_Create_Group',
+#            permission => $grp_manage_permission,
+#            url => '/adm/coursegroups?refpage=enrl&action=create',
+#            },
+#          { text => 'Modify an existing group',
+#            help => 'Course_Modify_Group',
+#            permission => $grp_manage_permission,
+#            url => '/adm/coursegroups?refpage=enrl&action=modify',
+#            },
+#          { text => 'Delete an existing group',
+#            help => 'Course_Delete_Group',
+#            permission => $grp_manage_permission,
+#            url => '/adm/coursegroups?refpage=enrl&action=delete',
+#            },
+#          { text => 'Enter an existing group',
+#            help => 'Course_Display_Group',
+#            permission => $grp_view_permission,
+#            url => '/adm/coursegroups?refpage=enrl&action=view',
+#            },
           );
     my $menu_html = '';
     foreach my $menu_item (@menu) {