mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:55:19 +00:00
define js profile_uid in photos module
This commit is contained in:
parent
592c24e162
commit
c2274403c7
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ function photos_init(&$a) {
|
|||
$a->set_widget('photo_albums',photos_album_widget($a->data['channel'],$observer,$a->data['albums']));
|
||||
}
|
||||
|
||||
$a->page['htmlhead'] .= "<script> var ispublic = '" . t('everybody') . "';</script>" ;
|
||||
$a->page['htmlhead'] .= "<script> var ispublic = '" . t('everybody') . "'; var profile_uid = " . (($a->data['channel']) ? $a->data['channel']['channel_id'] : 0) . "; </script>" ;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue