From 7e7b5bfa4930493a8feae10b0550e29797956c70 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 22 Dec 2013 02:16:45 -0800 Subject: last remaining files to be Comanchified with the exception of mod_admin. Though I should probably take a third look to see if anything else uses widgets. In fact - it appears that the flattrwidget does. --- mod/chanview.php | 4 ---- mod/connect.php | 4 ---- view/pdl/mod_chanview.pdl | 3 +++ view/pdl/mod_connect.pdl | 3 +++ 4 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 view/pdl/mod_chanview.pdl create mode 100644 view/pdl/mod_connect.pdl 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] -- cgit v1.2.3