aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-11 19:43:41 -0800
committerfriendica <info@friendica.com>2013-12-11 19:43:41 -0800
commitb4e1e8a4a43721d0134e41944afaa9f45bcd8aa8 (patch)
tree4ad54778112984ced01500e25cb16b44b98f256f /mod/network.php
parent2f46bacded409c86514bc7542a01337c3cbf642a (diff)
downloadvolse-hubzilla-b4e1e8a4a43721d0134e41944afaa9f45bcd8aa8.tar.gz
volse-hubzilla-b4e1e8a4a43721d0134e41944afaa9f45bcd8aa8.tar.bz2
volse-hubzilla-b4e1e8a4a43721d0134e41944afaa9f45bcd8aa8.zip
The affinity tool is not a "traditional" widget. But it is nevertheless a widget. It just makes fewer page layout decisions which are hard-coded. If you want to shrink it down and put it on the sidebar in your theme, go for it.
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/mod/network.php b/mod/network.php
index 754978949..1da5524c9 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -111,33 +111,8 @@ function network_content(&$a, $update = 0, $load = false) {
if(! $update) {
-
- if(feature_enabled(local_user(),'affinity')) {
- $tpl = get_markup_template('main_slider.tpl');
- $x = replace_macros($tpl,array(
- '$val' => intval($cmin) . ';' . intval($cmax),
- '$refresh' => t('Refresh'),
- '$me' => t('Me'),
- '$intimate' => t('Best Friends'),
- '$friends' => t('Friends'),
- '$coworkers' => t('Co-workers'),
- '$oldfriends' => t('Former Friends'),
- '$acquaintances' => t('Acquaintances'),
- '$world' => t('Everybody')
- ));
- $arr = array('html' => $x);
- call_hooks('main_slider',$arr);
- $o .= $arr['html'];
- }
-
-
$o .= network_tabs();
- // --- end item filter tabs
-
-
-
-
// search terms header
if($search)
$o .= '<h2>' . t('Search Results For:') . ' ' . htmlspecialchars($search) . '</h2>';