summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTekimaki <tekimaki_admin@users.sourceforge.net>2009-01-28 17:41:02 +0000
committerTekimaki <tekimaki_admin@users.sourceforge.net>2009-01-28 17:41:02 +0000
commit872ebbe7af94673b33a0ce10587bb1bf13353c14 (patch)
tree4fbd5b95873149f9a183894fca2f141173037428
parent859b4a320d12e606b984c979b8805ce44b7793ff (diff)
downloadtags-872ebbe7af94673b33a0ce10587bb1bf13353c14.tar.gz
tags-872ebbe7af94673b33a0ce10587bb1bf13353c14.tar.bz2
tags-872ebbe7af94673b33a0ce10587bb1bf13353c14.zip
add new search template service
-rwxr-xr-xbit_setup_inc.php3
-rw-r--r--templates/search_inc.tpl7
2 files changed, 9 insertions, 1 deletions
diff --git a/bit_setup_inc.php b/bit_setup_inc.php
index 4113ca7..874c427 100755
--- a/bit_setup_inc.php
+++ b/bit_setup_inc.php
@@ -32,7 +32,8 @@ if( $gBitSystem->isPackageActive( 'tags' ) && $gBitUser->hasPermission( 'p_tags_
'content_view_tpl' => 'bitpackage:tags/view_tags_view.tpl',
'content_nav_tpl' => 'bitpackage:tags/view_tags_nav.tpl',
'content_body_tpl' => 'bitpackage:tags/view_tags_body.tpl',
- 'users_expunge_function' => 'tags_user_expunge'
+ 'users_expunge_function' => 'tags_user_expunge',
+ 'content_search_tpl' => 'bitpackage:tags/search_inc.tpl'
) );
}
?>
diff --git a/templates/search_inc.tpl b/templates/search_inc.tpl
new file mode 100644
index 0000000..8a4d27d
--- /dev/null
+++ b/templates/search_inc.tpl
@@ -0,0 +1,7 @@
+<div class="row">
+ {formlabel label="Tags:" for="tags"}
+ {forminput}
+ <input type="text" name="tags" id="search_tags" value="{$listInfo.tags}" />
+ <div class="formhelp">{jspopup class="popup_link" href=$smarty.const.TAGS_PKG_URL title="View all tags" width="null" height="null"}</div>
+ {/forminput}
+</div>