- $shortname = plc_peer_shortname ($peer_hash,$site['peer_id']);
- plc_table_row_start($site['login_base']);
- plc_table_cell($shortname);
- plc_table_cell (l_site_t($site['site_id'],$site['name']));
- plc_table_cell ($site['login_base']);
- plc_table_cell ($site['abbreviated_name']);
+ $peer_id=$site['peer_id'];
+ $site_id=$site['site_id'];
+ $login_base=$site['login_base'];
+ $table->row_start();
+ if (plc_is_admin()) {
+ $table->cell(l_site_t($site_id,$site_id));
+ }
+ $peers->cell($table,$peer_id);
+ $table->cell (l_site_t($site_id,htmlentities(utf8_decode($site['name']))));
+ $table->cell (l_site_t($site_id,$login_base));
+ $table->cell (htmlentities($site['abbreviated_name']));