From: Thierry Parmentelat Date: Fri, 30 Jan 2009 10:28:29 +0000 (+0000) Subject: ckp X-Git-Tag: PLEWWW-4.3-1~71 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7d691243cb80f8888cbf1079fc6ebb488f03292f;p=plewww.git ckp --- diff --git a/planetlab/css/plc_tables.css b/planetlab/css/plc_tables.css index 6d425b6..48f8da0 100644 --- a/planetlab/css/plc_tables.css +++ b/planetlab/css/plc_tables.css @@ -26,7 +26,7 @@ th.plc_table { background: #CAE8EA url(/planetlab/icons/tablesort_header.jpg) no-repeat; vertical-align:middle; } -td.plc_table { +table.plc_table>tbody>tr>td { font: normal 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; border-right: 1px solid #C1DAD7; border-bottom: 1px solid #C1DAD7; @@ -76,7 +76,7 @@ tr.alt { tr[class="alt"]>td { background: #F5FAFA url(/planetlab/icons/tablesort_td_alt.jpg) no-repeat; } -td.plc_table [class~="alt"] { +table.plc_table>tbody>tr>td [class~="alt"] { background: #edf3f3 url(/planetlab/icons/tablesort_col_alt.jpg) no-repeat !important; } /* Poor old Internet Explorer won't see the next two rules either as it doesn't get :first-child */ @@ -89,15 +89,7 @@ table.plc_table>tbody>tr>td:first-child { font-weight:bold; } -/*td.table_flushleft { - text-align:left; - padding-left: 30px; -} -table.table_dialogs { - width:100%; - border:1px; -} -*/ +/* table decorations */ td.search_area { text-align:right; padding-right: 30px; diff --git a/planetlab/includes/plc_forms.php b/planetlab/includes/plc_forms.php index 19052e9..e67a2fd 100644 --- a/planetlab/includes/plc_forms.php +++ b/planetlab/includes/plc_forms.php @@ -59,12 +59,13 @@ function plc_form_textarea_text ($name,$value,$cols,$rows) { } function plc_form_select_text ($name,$values,$label="") { + $encoded=htmlentities($label,ENT_QUOTES); $selector=""; $selector.="