diff options
-rw-r--r-- | mod/chanview.php | 4 | ||||
-rw-r--r-- | mod/connect.php | 4 | ||||
-rw-r--r-- | view/pdl/mod_chanview.pdl | 3 | ||||
-rw-r--r-- | view/pdl/mod_connect.pdl | 3 |
4 files changed, 6 insertions, 8 deletions
diff --git a/mod/chanview.php b/mod/chanview.php index c87b85d26..55f7e95d6 100644 --- a/mod/chanview.php +++ b/mod/chanview.php @@ -88,10 +88,6 @@ function chanview_content(&$a) { if(local_user() && get_pconfig(local_user(),'system','chanview_full')) goaway($url); - - if($a->poi['xchan_hash']) - $a->set_widget('vcard',vcard_from_xchan($a->poi,$observer,'chanview')); - $o = replace_macros(get_markup_template('chanview.tpl'),array( '$url' => $url, '$full' => t('toggle full screen mode') diff --git a/mod/connect.php b/mod/connect.php index 93f994af5..f7748bcaf 100644 --- a/mod/connect.php +++ b/mod/connect.php @@ -23,10 +23,6 @@ function connect_init(&$a) { $a->data['channel'] = $r[0]; profile_load($a,$which,''); - - profile_create_sidebar($a,false); - - } function connect_post(&$a) { diff --git a/view/pdl/mod_chanview.pdl b/view/pdl/mod_chanview.pdl new file mode 100644 index 000000000..d8f50ad7a --- /dev/null +++ b/view/pdl/mod_chanview.pdl @@ -0,0 +1,3 @@ +[region=aside] +[widget=vcard][/widget] +[/region] diff --git a/view/pdl/mod_connect.pdl b/view/pdl/mod_connect.pdl new file mode 100644 index 000000000..6b1d2a15e --- /dev/null +++ b/view/pdl/mod_connect.pdl @@ -0,0 +1,3 @@ +[region=aside] +[widget=profile][/widget] +[/region] |