Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tripal_abims
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
abims
e-infra
tripal_abims
Commits
a18527cc
Commit
a18527cc
authored
7 years ago
by
Anthony Bretaudeau
Browse files
Options
Downloads
Patches
Plain Diff
update for elasticsearch + add welcome text
parent
e7558ee9
No related branches found
Branches containing commit
No related tags found
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/block--tripal-elasticsearch--elasticsearch_website_search_box.tpl.php
+47
-0
47 additions, 0 deletions
...l-elasticsearch--elasticsearch_website_search_box.tpl.php
templates/form/website_search_box_form.tpl.php
+14
-0
14 additions, 0 deletions
templates/form/website_search_box_form.tpl.php
with
61 additions
and
0 deletions
templates/block--tripal-elasticsearch--elasticsearch_website_search_box.tpl.php
0 → 100644
+
47
−
0
View file @
a18527cc
<?php
/**
* @file
* Default theme implementation to display a block.
*
* Available variables:
* - $block->subject: Block title.
* - $content: Block content.
* - $block->module: Module that generated the block.
* - $block->delta: An ID for the block, unique within each module.
* - $block->region: The block region embedding the current block.
* - $classes: String of classes that can be used to style contextually through
* CSS. It can be manipulated through the variable $classes_array from
* preprocess functions. The default values can be one or more of the
* following:
* - block: The current template type, i.e., "theming hook".
* - block-[module]: The module generating the block. For example, the user
* module is responsible for handling the default user navigation block. In
* that case the class would be 'block-user'.
* - $title_prefix (array): An array containing additional output populated by
* modules, intended to be displayed in front of the main title tag that
* appears in the template.
* - $title_suffix (array): An array containing additional output populated by
* modules, intended to be displayed after the main title tag that appears in
* the template.
*
* Helper variables:
* - $classes_array: Array of html class attribute values. It is flattened
* into a string within the variable $classes.
* - $block_zebra: Outputs 'odd' and 'even' dependent on each block region.
* - $zebra: Same output as $block_zebra but independent of any block region.
* - $block_id: Counter dependent on each block region.
* - $id: Same output as $block_id but independent of any block region.
* - $is_front: Flags true when presented in the front page.
* - $logged_in: Flags true when the current user is a logged-in member.
* - $is_admin: Flags true when the current user is an administrator.
* - $block_html_id: A valid HTML ID and guaranteed unique.
*
* @see template_preprocess()
* @see template_preprocess_block()
* @see template_process()
*
* @ingroup themeable
*/
?>
<?php
print
$content
?>
This diff is collapsed.
Click to expand it.
templates/form/website_search_box_form.tpl.php
0 → 100644
+
14
−
0
View file @
a18527cc
<fieldset
id=
"edit-search"
class=
"container-inline form-wrapper"
>
<label>
<span
class=
"screen-reader-text"
>
Search for:
</span>
<input
class=
"search-field"
placeholder=
"Search …"
name=
"search_box"
type=
"search"
>
</label>
<input
class=
"search-submit"
value=
"Search"
name=
"op"
type=
"submit"
>
<?php
hide
(
$form
[
'container'
][
'search_submit'
]);
hide
(
$form
[
'container'
][
'search_box'
]);
hide
(
$form
[
'container'
]);
print
drupal_render_children
(
$form
);
?>
</fieldset>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment