[LON-CAPA-cvs] cvs: rat / lonwrapper.pm
www
lon-capa-cvs-allow@mail.lon-capa.org
Mon, 03 Mar 2008 19:57:29 -0000
www Mon Mar 3 14:57:29 2008 EDT
Modified files:
/rat lonwrapper.pm
Log:
Bug #5642: Adjust top frame to icon mode
Index: rat/lonwrapper.pm
diff -u rat/lonwrapper.pm:1.27 rat/lonwrapper.pm:1.28
--- rat/lonwrapper.pm:1.27 Tue Jan 15 10:23:28 2008
+++ rat/lonwrapper.pm Mon Mar 3 14:57:28 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Wrapper for external and binary files as standalone resources
#
-# $Id: lonwrapper.pm,v 1.27 2008/01/15 15:23:28 www Exp $
+# $Id: lonwrapper.pm,v 1.28 2008/03/03 19:57:28 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -68,7 +68,11 @@
my %layout = ('border' => 0);
if ($env{'environment.remote'} eq 'off') {
- $layout{'rows'} = "200,*";
+ if ($env{'environment.icons'} eq 'iconsonly') {
+ $layout{'rows'} = "100,*";
+ } else {
+ $layout{'rows'} = "200,*";
+ }
} else {
$layout{'rows'} = "1,*";
$topurl = "/adm/rat/empty.html";