[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm lonsearchcat.pm lonsupportreq.pm

bisitz bisitz@source.lon-capa.org
Thu, 22 Oct 2009 13:41:41 -0000


bisitz		Thu Oct 22 13:41:41 2009 EDT

  Modified files:              
    /loncom/interface	loncommon.pm lonsearchcat.pm lonsupportreq.pm 
  Log:
  Replaced special styles for helpdesk request pages by standard pick_box styles.
  Actual difference was only a limited width which moved directly to lonsupportreq.pm.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.900 loncom/interface/loncommon.pm:1.901
--- loncom/interface/loncommon.pm:1.900	Thu Oct 22 13:13:12 2009
+++ loncom/interface/loncommon.pm	Thu Oct 22 13:41:41 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.900 2009/10/22 13:13:12 bisitz Exp $
+# $Id: loncommon.pm,v 1.901 2009/10/22 13:41:41 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5345,40 +5345,6 @@
   background-color: $data_table_light;
 }
 
-table.LC_helpform_receipt {
-  width: 620px;
-  border-collapse: separate;
-  background: white;
-  border: 1px solid black;
-  border-spacing: 1px;
-}
-
-table.LC_helpform_receipt td.LC_pick_box_title {
-  background: $tabbg;
-  font-weight: bold;
-  text-align: right;
-  width: 184px;
-  padding: 8px;
-}
-
-table.LC_helpform_receipt td.LC_evenrow_value {
-  text-align: left;
-  padding: 8px;
-  background-color: $data_table_light;
-}
-
-table.LC_helpform_receipt td.LC_oddrow_value {
-  text-align: left;
-  padding: 8px;
-  background-color: $data_table_light;
-}
-
-table.LC_helpform_receipt td.LC_pick_box_separator {
-  padding: 0;
-  height: 1px;
-  background: black;
-}
-
 span.LC_helpform_receipt_cat {
   font-weight: bold;
 }
Index: loncom/interface/lonsearchcat.pm
diff -u loncom/interface/lonsearchcat.pm:1.315 loncom/interface/lonsearchcat.pm:1.316
--- loncom/interface/lonsearchcat.pm:1.315	Tue Oct  6 10:31:41 2009
+++ loncom/interface/lonsearchcat.pm	Thu Oct 22 13:41:41 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Search Catalog
 #
-# $Id: lonsearchcat.pm,v 1.315 2009/10/06 10:31:41 bisitz Exp $
+# $Id: lonsearchcat.pm,v 1.316 2009/10/22 13:41:41 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3606,7 +3606,7 @@
     my $link = &display_url($jumpurl,[2,0,1]);
 
     $result.=<<END;
-<a href="$jumpurl?inhibitmenu=yes" 
+SB<a href="$jumpurl?inhibitmenu=yes" 
    target="preview">$values{'title'}</a><br />
 $link<br />
 $values{'author'}, $values{'owner'} -- $values{'lastrevisiondate'}<br />
Index: loncom/interface/lonsupportreq.pm
diff -u loncom/interface/lonsupportreq.pm:1.54 loncom/interface/lonsupportreq.pm:1.55
--- loncom/interface/lonsupportreq.pm:1.54	Thu Oct  1 19:08:29 2009
+++ loncom/interface/lonsupportreq.pm	Thu Oct 22 13:41:41 2009
@@ -1,5 +1,5 @@
 #
-# $Id: lonsupportreq.pm,v 1.54 2009/10/01 19:08:29 raeburn Exp $
+# $Id: lonsupportreq.pm,v 1.55 2009/10/22 13:41:41 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -750,7 +750,8 @@
         unlink($attachmentpath);
     }
     $r->print('<b>'.$lt{'your'}.'</b>:<br /><br />'."\n");
-    $r->print(&Apache::lonhtmlcommon::start_pick_box('LC_helpform_receipt').
+    $r->print('<div style="width:620px;">'.
+              &Apache::lonhtmlcommon::start_pick_box().
               &Apache::lonhtmlcommon::row_title($lt{'info'},undef,'LC_oddrow_value')."\n".$displaymsg."\n".
               &Apache::lonhtmlcommon::row_closure().
               &Apache::lonhtmlcommon::row_title($lt{'adin'},undef,'LC_evenrow_value'));
@@ -776,7 +777,8 @@
     $envmsg =~ s/, $//;
     $r->print($envmsg."\n".
               &Apache::lonhtmlcommon::row_closure(1)."\n".
-              &Apache::lonhtmlcommon::end_pick_box()."\n".
+              &Apache::lonhtmlcommon::end_pick_box().
+              "</div>\n".
               &Apache::loncommon::end_page());
 }