aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/theme.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-28 14:55:06 -0700
committerfriendica <info@friendica.com>2012-03-28 14:55:06 -0700
commita2b1aca27c936991d02ab10d97f1f7980500c460 (patch)
treeb1eab291f198d97fae35c1ed96b8b7c26fec3c30 /view/theme/diabook/theme.php
parent4fe0b56d765d98b79592cf855d72e823d4478854 (diff)
parentaa26517cdcb70fd110372cf35fdefdd3357059e6 (diff)
downloadvolse-hubzilla-a2b1aca27c936991d02ab10d97f1f7980500c460.tar.gz
volse-hubzilla-a2b1aca27c936991d02ab10d97f1f7980500c460.tar.bz2
volse-hubzilla-a2b1aca27c936991d02ab10d97f1f7980500c460.zip
Merge branch 'pull'
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-xview/theme/diabook/theme.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php
index a3f0ca0d4..5d6173918 100755
--- a/view/theme/diabook/theme.php
+++ b/view/theme/diabook/theme.php
@@ -147,6 +147,13 @@ function diabook_community_info(){
$nv['suggest'] = Array('suggest', t('Friend Suggestions'), "", "");
$nv['invite'] = Array('invite', t('Invite Friends'), "", "");
+ $nv['search'] = '<form name="simple_bar" method="get" action="http://dir.friendika.com/directory">
+ <span class="sbox_l"></span>
+ <span class="sbox">
+ <input type="text" name="search" size="13" maxlength="50">
+ </span>
+ <span class="sbox_r" id="srch_clear"></span>';
+
$aside['$nv'] = $nv;
};
@@ -243,17 +250,18 @@ if ($a->argv[0] === "network" && local_user()){
//right_aside at profile pages
-if ($a->argv[0] === "profile"){
+if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname']){
if($ccCookie != "8") {
// COMMUNITY
diabook_community_info();
// CUSTOM CSS
$cssFile = $a->get_baseurl($ssl_state)."/view/theme/diabook/style-profile.css";
+
+
}
}
-
// custom css
if (!is_null($cssFile)) $a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);