From 55e727de648cc932fb849f01c5dbda350ad7ad5e Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 1 Jun 2011 22:06:53 -0700 Subject: make 'visible to everybody' warning toggle correctly in photos and settings --- mod/photos.php | 26 ++++++++++++++++++++++++++ mod/settings.php | 26 ++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) (limited to 'mod') diff --git a/mod/photos.php b/mod/photos.php index 71d00ed25..926b33dbe 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -45,6 +45,32 @@ function photos_init(&$a) { if(! x($a->page,'aside')) $a->page['aside'] = ''; $a->page['aside'] .= $o; + + + $a->page['htmlhead'] .= " +EOT; } return; diff --git a/mod/settings.php b/mod/settings.php index f898f171c..86d1ae015 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -6,6 +6,32 @@ function settings_init(&$a) { profile_load($a,$a->user['nickname']); } + $a->page['htmlhead'] .= " +EOT; + + } -- cgit v1.2.3