diff options
author | tommy tomson <thomas.bierey@gmx.de> | 2012-05-06 23:26:44 +0200 |
---|---|---|
committer | tommy tomson <thomas.bierey@gmx.de> | 2012-05-06 23:26:44 +0200 |
commit | 66b9b607929c6c406fc814a16f5dcfecb219500c (patch) | |
tree | c0df71937a50a12a42a6f2ee3d6009958aac8df9 /view/theme/diabook/theme.php | |
parent | f09b3cfbf8cd125909552dc5d15fc8844156b60b (diff) | |
download | volse-hubzilla-66b9b607929c6c406fc814a16f5dcfecb219500c.tar.gz volse-hubzilla-66b9b607929c6c406fc814a16f5dcfecb219500c.tar.bz2 volse-hubzilla-66b9b607929c6c406fc814a16f5dcfecb219500c.zip |
diabook-theme: twitterbox-bugfix
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-x | view/theme/diabook/theme.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 6a2e55179..f6c9dd7c1 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -223,6 +223,7 @@ if ($color=="dark") $color_path = "/diabook-dark/"; <script> $(document).ready(function() { $("div#login-submit-wrapper").attr("style","padding-top: 120px;"); + }); </script>'; } @@ -390,7 +391,7 @@ if ($color=="dark") $color_path = "/diabook-dark/"; $a = get_app(); // comunity_profiles if($_COOKIE['close_profiles'] != "1") { - $aside['$comunity_profilest_title'] = t('Community Profiles'); + $aside['$comunity_profiles_title'] = t('Community Profiles'); $aside['$comunity_profiles_items'] = array(); $r = q("select gcontact.* from gcontact left join glink on glink.gcid = gcontact.id where glink.cid = 0 and glink.uid = 0 order by rand() limit 9"); @@ -603,12 +604,13 @@ if ($color=="dark") $color_path = "/diabook-dark/"; $twitter['title'] = Array("", "<a id='twittersettings-link' href='#twittersettings' style='text-decoration:none;' onclick='open_twittersettings(); return false;'>".t('Last Tweets')."</a>", "", ""); $aside['$twitter'] = $twitter; $TSearchTerm = get_pconfig(local_user(), 'diabook', 'TSearchTerm' ); - $aside['$submit'] = t('Submit'); + $aside['$sub'] = t('Submit'); $aside['$TSearchTerm'] = array('diabook_TSearchTerm', t('Set twitter search term'), $TSearchTerm, '', $TSearchTerm); - $baseurl = $a->get_baseurl(); + $baseurl = $a->get_baseurl($ssl_state); $aside['$baseurl'] = $baseurl; - if (isset($_POST['diabook-settings-submit'])){ + if (isset($_POST['diabook-settings-sub']) && $_POST['diabook-settings-sub']!=''){ set_pconfig(local_user(), 'diabook', 'TSearchTerm', $_POST['diabook_TSearchTerm']); + header("Location: network"); } } //end twitter |