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.
This commit is contained in:
friendica 2013-12-22 02:16:45 -08:00
parent 0366991b45
commit 7e7b5bfa49
4 changed files with 6 additions and 8 deletions

View File

@ -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')

View File

@ -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) {

View File

@ -0,0 +1,3 @@
[region=aside]
[widget=vcard][/widget]
[/region]

3
view/pdl/mod_connect.pdl Normal file
View File

@ -0,0 +1,3 @@
[region=aside]
[widget=profile][/widget]
[/region]