[LON-CAPA-cvs] cvs: loncom /html/res/adm/pages menu.html /interface lonmenu.pm
bisitz
bisitz@source.lon-capa.org
Thu, 23 Apr 2009 17:28:59 -0000
bisitz Thu Apr 23 17:28:59 2009 EDT
Modified files:
/loncom/html/res/adm/pages menu.html
/loncom/interface lonmenu.pm
Log:
- Corrected color values (Added missing #)
- Use double quotes for HTML attribute values
Index: loncom/html/res/adm/pages/menu.html
diff -u loncom/html/res/adm/pages/menu.html:1.126 loncom/html/res/adm/pages/menu.html:1.127
--- loncom/html/res/adm/pages/menu.html:1.126 Fri Mar 27 05:13:04 2009
+++ loncom/html/res/adm/pages/menu.html Thu Apr 23 17:28:55 2009
@@ -4,7 +4,7 @@
Remote Control
//
-// $Id: menu.html,v 1.126 2009/03/27 05:13:04 raeburn Exp $
+// $Id: menu.html,v 1.127 2009/04/23 17:28:55 bisitz Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -336,16 +336,16 @@
w_bmquery_flag=1;
bmquery=window.open('','bmquery','width=365,height=165,scrollbars=0');
bmquery.document.write(
- "<html><body bgcolor='bbbbbb'><center><form method='post'"
- +" name='newlink' action='/adm/bookmarks' target='bmquery' "
- +">\n <table width=340 height=150 "
- +"bgcolor='ffffff' align=center><tr><td>Link Name:<br /><input "
- +"type='text' name='title' size=45 value='"+clienttitle+"'>"
- +"<br />Address:<br /><input type='text' name='address' size='45' "
- +"value='"+clienthref+"' /><br /><center><input type='submit' "
- +"value='Save' /> <input type='button' value='Close' "
- +"onclick='javascript:window.close();' /><\/center><\/td>"
- +"<\/tr><\/table><\/form><\/center><\/body><\/html>");
+ '<html><body bgcolor="#BBBBBB"><center><form method="post"'
+ +' name="newlink" action="/adm/bookmarks" target="bmquery" '
+ +'>'+"\n"+' <table width="340" height="150" '
+ +'bgcolor="#FFFFFF" align="center"><tr><td>Link Name:<br /><input '
+ +'type="text" name="title" size="45" value="'+clienttitle+'">'
+ +'<br />Address:<br /><input type="text" name="address" size="45" '
+ +'value="'+clienthref+'" /><br /><center><input type="submit" '
+ +'value="Save" /> <input type="button" value="Close" '
+ +'onclick="javascript:window.close();" /><\/center><\/td>'
+ +'<\/tr><\/table><\/form><\/center><\/body><\/html>');
bmquery.document.close();
}
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.259 loncom/interface/lonmenu.pm:1.260
--- loncom/interface/lonmenu.pm:1.259 Fri Apr 17 15:54:59 2009
+++ loncom/interface/lonmenu.pm Thu Apr 23 17:28:59 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.259 2009/04/17 15:54:59 bisitz Exp $
+# $Id: lonmenu.pm,v 1.260 2009/04/23 17:28:59 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1543,16 +1543,16 @@
bmquery=window.open('','bmquery','width=365,height=165,scrollbars=0');
bmquery.document.write(
'$start_page_bookmark'
- +"<center><form method='post'"
- +" name='newlink' action='/adm/bookmarks' target='bmquery' "
- +">\\n <table width=340 height=150 "
- +"bgcolor='ffffff' align=center><tr><td>Link Name:<br /><input "
- +"type='text' name='title' size=45 value='"+clienttitle+"' />"
- +"<br />Address:<br /><input type='text' name='address' size='45' "
- +"value='"+clienthref+"' /><br /><center><input type='submit' "
- +"value='Save' /> <input type='button' value='Close' "
- +"onclick='javascript:window.close();' /><\\/center><\\/td>"
- +"<\\/tr><\\/table><\\/form><\\/center>"
+ +'<center><form method="post"'
+ +' name="newlink" action="/adm/bookmarks" target="bmquery" '
+ +'> <table width="340" height="150" '
+ +'bgcolor="#FFFFFF" align="center"><tr><td>Link Name:<br /><input '
+ +'type="text" name="title" size="45" value="'+clienttitle+'" />'
+ +'<br />Address:<br /><input type="text" name="address" size="45" '
+ +'value="'+clienthref+'" /><br /><center><input type="submit" '
+ +'value="Save" /> <input type="button" value="Close" '
+ +'onclick="javascript:window.close();" /></center></td>'
+ +'</tr></table></form></center>'
+'$end_page_bookmark' );
bmquery.document.close();
}