diff options
author | friendica <info@friendica.com> | 2013-10-27 16:30:55 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-10-27 16:30:55 -0700 |
commit | e2988a025388c5ea023a9e3d42b7cc40fa93f780 (patch) | |
tree | 1397b253a8ae9e15c4c5d3743183e6b494635bef /include/comanche.php | |
parent | 91d99213bd74e19d867e99d3dfe82a1a572d49f3 (diff) | |
download | volse-hubzilla-e2988a025388c5ea023a9e3d42b7cc40fa93f780.tar.gz volse-hubzilla-e2988a025388c5ea023a9e3d42b7cc40fa93f780.tar.bz2 volse-hubzilla-e2988a025388c5ea023a9e3d42b7cc40fa93f780.zip |
put comanche widgets in their own file. Added a category tagcloud widget - but the entries aren't going to link to anything until we have a webpage search ability. But this will be a way to exercise and test widget arguments.
Diffstat (limited to 'include/comanche.php')
-rw-r--r-- | include/comanche.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/comanche.php b/include/comanche.php index 4c6ea2f54..4b8a1d170 100644 --- a/include/comanche.php +++ b/include/comanche.php @@ -2,6 +2,7 @@ require_once('include/security.php'); require_once('include/menu.php'); +require_once('include/widgets.php'); // When editing a webpage - a dropdown is needed to select a page layout // On submit, the pdl_select value (which is the mid of an item with item_restrict = ITEM_PDL) is stored in @@ -171,9 +172,3 @@ function comanche_region(&$a,$s) { return $s; } - -function widget_profile($args) { - $a = get_app(); - $block = (((get_config('system','block_public')) && (! local_user()) && (! remote_user())) ? true : false); - return profile_sidebar($a->profile, $block, true); -} |