From 212464f788529e9897b6e75669e1a0b20966182b Mon Sep 17 00:00:00 2001 From: Aaron Maturen Date: Wed, 23 May 2012 21:59:07 -0400 Subject: [PATCH] added inline labels --- css/style.css | 4 +- hooks/search.php | 18 +++- js/jquery.infieldlabel.min.js | 153 ++++++++++++++++++++++++++++++++++ 3 files changed, 173 insertions(+), 2 deletions(-) create mode 100644 js/jquery.infieldlabel.min.js diff --git a/css/style.css b/css/style.css index 27fc678..34649b8 100644 --- a/css/style.css +++ b/css/style.css @@ -1,3 +1,5 @@ .ResourcePanel {margin:5px;} .ResourcePanelSmall {margin:5px;} -.chosen .ResourcePanel, .chosen .ResourcePanelSmall{border:5px solid hotPink; margin:1px 0;} \ No newline at end of file +.chosen .ResourcePanel, .chosen .ResourcePanelSmall{border:5px solid hotPink; margin:1px 0;} +form#manipulateKeywords p { position:relative } +form#manipulateKeywords label { position:absolute; top:4px; left:4px; color:#ccc; cursor:text;} \ No newline at end of file diff --git a/hooks/search.php b/hooks/search.php index 51ec74f..aa9d801 100644 --- a/hooks/search.php +++ b/hooks/search.php @@ -11,7 +11,12 @@ function HookInline_keywordsSearchSearchbarbottomtoolbar()

- + +

+ + +

+
"> "> "> @@ -26,8 +31,19 @@ function HookInline_keywordsSearchAdditionalheaderjs() global $baseurl, $inline_keywords_usertype, $inline_keywords_background_colour; if(checkperm($inline_keywords_usertype)) { ?> +