aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-22 02:16:45 -0800
committerfriendica <info@friendica.com>2013-12-22 02:16:45 -0800
commit7e7b5bfa4930493a8feae10b0550e29797956c70 (patch)
tree823970af414e5c17ca660fc9cb8d5e6fefa8356d
parent0366991b45a9b54da66850bce44b4b9dc1d939a7 (diff)
downloadvolse-hubzilla-7e7b5bfa4930493a8feae10b0550e29797956c70.tar.gz
volse-hubzilla-7e7b5bfa4930493a8feae10b0550e29797956c70.tar.bz2
volse-hubzilla-7e7b5bfa4930493a8feae10b0550e29797956c70.zip
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.
-rw-r--r--mod/chanview.php4
-rw-r--r--mod/connect.php4
-rw-r--r--view/pdl/mod_chanview.pdl3
-rw-r--r--view/pdl/mod_connect.pdl3
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]