diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-11-22 07:27:44 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-11-22 07:27:44 +0000 |
| commit | 831fd06a3709500a46ff4a1dc90cfae456a5cb02 (patch) | |
| tree | 3cbeff30bba3617b955129b831baa026095bcf65 /templates | |
| parent | 8e3b0e69c145e5d356676988e8af397ae1157f83 (diff) | |
| download | search-831fd06a3709500a46ff4a1dc90cfae456a5cb02.tar.gz search-831fd06a3709500a46ff4a1dc90cfae456a5cb02.tar.bz2 search-831fd06a3709500a46ff4a1dc90cfae456a5cb02.zip | |
merge recent changes into HEAD
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/global_mini_search.tpl | 33 | ||||
| -rw-r--r-- | templates/search.tpl | 32 |
2 files changed, 5 insertions, 60 deletions
diff --git a/templates/global_mini_search.tpl b/templates/global_mini_search.tpl index 2f93493..cc2c19a 100644 --- a/templates/global_mini_search.tpl +++ b/templates/global_mini_search.tpl @@ -1,38 +1,11 @@ {strip} {form method="get" ipackage=search ifile="index.php"} <div class="row"> - <input id="fuser" name="highlight" size="14" type="text" accesskey="s" value="{tr}search{/tr}" onfocus="this.value=''" /> + <input id="fuser" name="highlight" size="20" type="text" accesskey="s" value="{tr}search{/tr}" onfocus="this.value=''" /> + <br /> <select name="where"> <option value="pages">{tr}Entire Site{/tr}</option> - {if $gBitSystem->isFeatureActive( 'feature_wiki' )} - <option value="wikis">{tr}Wiki Pages{/tr}</option> - {/if} - {if $gBitSystem->isFeatureActive( 'feature_directory' )} - <option value="directory">{tr}Directory{/tr}</option> - {/if} - {if $gBitSystem->isFeatureActive( 'feature_galleries' )} - <option value="galleries">{tr}Image Gals{/tr}</option> - <option value="images">{tr}Images{/tr}</option> - {/if} - {if $gBitSystem->isFeatureActive( 'feature_file_galleries' )} - <option value="files">{tr}Files{/tr}</option> - {/if} - {if $gBitSystem->isFeatureActive( 'feature_articles' )} - <option value="articles">{tr}Articles{/tr}</option> - {/if} - {if $gBitSystem->isFeatureActive( 'feature_tiki_forums' )} - <option value="forums">{tr}Forums{/tr}</option> - {/if} - {if $gBitSystem->isFeatureActive( 'feature_blogs' )} - <option value="blogs">{tr}Blogs{/tr}</option> - <option value="posts">{tr}Blog Posts{/tr}</option> - {/if} - {if $gBitSystem->isFeatureActive( 'feature_faqs' )} - <option value="faqs">{tr}FAQs{/tr}</option> - {/if} - {if $gBitSystem->isFeatureActive( 'feature_trackers' )} - <option value="trackers">{tr}Tracker{/tr}</option> - {/if} + {html_options output=$contentTypes values=$contentTypes selected=$perms[user].level} </select> </div> diff --git a/templates/search.tpl b/templates/search.tpl index 3255dff..52068d0 100644 --- a/templates/search.tpl +++ b/templates/search.tpl @@ -11,37 +11,9 @@ {forminput} <select name="where" id="where"> <option value="pages">{tr}Entire Site{/tr}</option> - {if $gBitSystem->isPackageActive( 'wiki' )} - <option value="wikis">{tr}Wiki Pages{/tr}</option> - {/if} - {if $gBitSystem->isPackageActive( 'directory' )} - <option value="directory">{tr}Directory{/tr}</option> - {/if} - {if $gBitSystem->isPackageActive( 'galleries' )} - <option value="galleries">{tr}Image Gals{/tr}</option> - <option value="images">{tr}Images{/tr}</option> - {/if} - {if $gBitSystem->isPackageActive( 'file_galleries' )} - <option value="files">{tr}Files{/tr}</option> - {/if} - {if $gBitSystem->isPackageActive( 'articles' )} - <option value="articles">{tr}Articles{/tr}</option> - {/if} - {if $gBitSystem->isPackageActive( 'bitforums' )} - <option value="forums">{tr}Forums{/tr}</option> - {/if} - {if $gBitSystem->isPackageActive( 'blogs' )} - <option value="blogs">{tr}Blogs{/tr}</option> - <option value="posts">{tr}Blog Posts{/tr}</option> - {/if} - {if $gBitSystem->isPackageActive( 'faqs' )} - <option value="faqs">{tr}FAQs{/tr}</option> - {/if} - {if $gBitSystem->isPackageActive( 'trackers' )} - <option value="trackers">{tr}Tracker{/tr}</option> - {/if} + {html_options output=$contentTypes values=$contentTypes} </select> - {formhelp note=""} + {formhelp note="Limit search to the selected Liberty package"} {/forminput} </div> |
