From ca1e2254c9bbad75d4fa479a6ad7b5f38386a7ef Mon Sep 17 00:00:00 2001 From: Michael Johnston Date: Sun, 25 Mar 2012 16:00:11 -0400 Subject: [PATCH 1/4] typo datarry -> datarray --- mod/item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/item.php b/mod/item.php index fc1c5fd0f4..5baae2bde7 100755 --- a/mod/item.php +++ b/mod/item.php @@ -624,7 +624,7 @@ function item_post(&$a) { dbesc($datarray['attach']), intval($datarray['bookmark']), intval($datarray['origin']), - intval($datarry['moderated']) + intval($datarray['moderated']) ); $r = q("SELECT `id` FROM `item` WHERE `uri` = '%s' LIMIT 1", From 3d62cb97822e0bd9e5be0c404664667cb7cb8d98 Mon Sep 17 00:00:00 2001 From: Simon L'nu Date: Sun, 25 Mar 2012 17:13:24 -0400 Subject: [PATCH 3/4] minor fix to dispy theme.php Signed-off-by: Simon L'nu --- view/theme/dispy/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php index e898346ef5..3fa9a33531 100644 --- a/view/theme/dispy/theme.php +++ b/view/theme/dispy/theme.php @@ -131,7 +131,7 @@ function dispy_community_info() { $a = get_app(); $fostitJS = "javascript: (function() { - the_url = '".$a->get_baseurl($ssl_state)."/view/theme/dispy-dark/fpostit/fpostit.php?url=' + + the_url = '".$a->get_baseurl($ssl_state)."/view/theme/dispy/fpostit/fpostit.php?url=' + encodeURIComponent(window.location.href) + '&title=' + encodeURIComponent(document.title) + '&text=' + encodeURIComponent(''+(window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text)); From 3d11c22b01e1581b4606312dcc38dfd7b7906502 Mon Sep 17 00:00:00 2001 From: Simon L'nu Date: Sun, 25 Mar 2012 22:45:44 -0400 Subject: [PATCH 4/4] add in the search box Signed-off-by: Simon L'nu --- view/theme/dispy-dark/nav.tpl | 16 +++++++++++----- view/theme/dispy-dark/style.css | 11 ++++++++++- view/theme/dispy-dark/theme.php | 2 +- view/theme/dispy/nav.tpl | 16 +++++++++++----- view/theme/dispy/style.css | 9 +++++++++ view/theme/dispy/theme.php | 2 +- 6 files changed, 43 insertions(+), 13 deletions(-) diff --git a/view/theme/dispy-dark/nav.tpl b/view/theme/dispy-dark/nav.tpl index 11469dc661..589d683521 100644 --- a/view/theme/dispy-dark/nav.tpl +++ b/view/theme/dispy-dark/nav.tpl @@ -5,7 +5,7 @@ -