X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=planetlab%2Fsites%2Fsites.php;h=d8632c36779afcdf771108130fd37ed68e28d83a;hb=50a3cc764fc4eb4b9a54f23b97a01077b762181d;hp=8eb5a03430f09c4622c6081db522545f69f55082;hpb=33107ad3b12a52c492dd9b643ee999a9b8533800;p=plewww.git diff --git a/planetlab/sites/sites.php b/planetlab/sites/sites.php index 8eb5a03..d8632c3 100644 --- a/planetlab/sites/sites.php +++ b/planetlab/sites/sites.php @@ -51,7 +51,7 @@ function site_status ($site) { if ( ! $site['enabled']) $messages [] = "Not enabled"; global $PENDING_CONSORTIUM_ID; - if ( $site['ext_consortium_id'] == $PENDING_CONSORTIUM_ID ) + if ( $site['ext_consortium_id'] === $PENDING_CONSORTIUM_ID ) $messages [] = "Pending registration"; // check that site has at least a PI and a tech @@ -149,6 +149,9 @@ if ($sites) foreach ($sites as $site) { $table->cell(l_site_t($site_id,$site_id)); } $peers->cell($table,$peer_id); + // Thomas Dreibholz suggested that utf8_decode could be non-needed + // and maybe even harmful on modern systems like f23 + // $table->cell (l_site_t($site_id,htmlentities(utf8_decode($site['name'])))); $table->cell (l_site_t($site_id,htmlentities($site['name']))); $table->cell (l_site_t($site_id,$login_base)); $table->cell (htmlentities($site['abbreviated_name']));