diff options
author | Mario <mario@mariovavti.com> | 2022-02-23 11:52:11 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-02-23 11:52:11 +0000 |
commit | a520063265459a6a02c7e39b64aa7fd83bc0b246 (patch) | |
tree | d7938d1626f51085568bc402564d6939034183ad /Zotlabs/Widget/Portfolio.php | |
parent | 1e171a72a03bfff06888c275b4fc88286ae20c8f (diff) | |
download | volse-hubzilla-a520063265459a6a02c7e39b64aa7fd83bc0b246.tar.gz volse-hubzilla-a520063265459a6a02c7e39b64aa7fd83bc0b246.tar.bz2 volse-hubzilla-a520063265459a6a02c7e39b64aa7fd83bc0b246.zip |
widget descriptions and add content region to all pdl files for convenience
Diffstat (limited to 'Zotlabs/Widget/Portfolio.php')
-rw-r--r-- | Zotlabs/Widget/Portfolio.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Zotlabs/Widget/Portfolio.php b/Zotlabs/Widget/Portfolio.php index 0cd043246..a06f56e30 100644 --- a/Zotlabs/Widget/Portfolio.php +++ b/Zotlabs/Widget/Portfolio.php @@ -1,5 +1,11 @@ <?php +/** + * * Name: Portfolio + * * Description: Display a photo album in a portfolio style + * * Requires: channel, articles, cards, wiki + */ + namespace Zotlabs\Widget; require_once('include/attach.php'); @@ -8,11 +14,9 @@ class Portfolio { function widget($args) { - $owner_uid = \App::$profile_uid; $sql_extra = permissions_sql($owner_uid); - if(! perm_is_allowed($owner_uid,get_observer_hash(),'view_storage')) return ''; @@ -112,7 +116,7 @@ class Portfolio { '$upload_form' => $upload_form, '$usage' => $usage_message )); - + return $o; } } |