Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php // $Id: search-theme-form.tpl.php 7156 2010-04-24 16:48:35Z chris $ /** * @file se..
Decoded Output download
<?php
// $Id: search-theme-form.tpl.php 7156 2010-04-24 16:48:35Z chris $
/**
* @file search-theme-form.tpl.php
* Default theme implementation for displaying a search form directly into the
* theme layout. Not to be confused with the search block or the search page.
*
* Available variables:
* - $search_form: The complete search form ready for print.
* - $search: Array of keyed search elements. Can be used to print each form
* element separately.
*
* Default keys within $search:
* - $search['search_theme_form']: Text input area wrapped in a div.
* - $search['submit']: Form submit button.
* - $search['hidden']: Hidden form elements. Used to validate forms when submitted.
*
* Since $search is keyed, a direct print of the form element is possible.
* Modules can add to the search form so it is recommended to check for their
* existance before printing. The default keys will always exist.
*
* <?php if (isset($search['extra_field'])): ?>
* <div class="extra-field">
* <?php print $search['extra_field']; ?>
* </div>
* <?php endif; ?>
*
* To check for all available data within $search, use the code below.
*
* <?php print '<pre>'. check_plain(print_r($search, 1)) .'</pre>'; ?>
*
* @see template_preprocess_search_theme_form()
*/
?>
<div id="search" class="container-inline">
<?php // <label for="edit-search_theme_form">Search</label> ?>
<input class="search-input form-text" type="text" maxlength="128" name="search_theme_form" id="edit-search-theme-form-header" size="15" value="" title="Enter the terms you wish to search for" />
<input class="search-submit" type="submit" name="op" value="<?php print t('Search') ?>"/>
<?php print $search['hidden']; ?>
<?php // <a class="advanced-search-link" href="/search" title="Advanced Search">Advanced Search</a> ?>
</div>
<div class="corner-bottom"><div class="corner-bottom-right corner"></div><div class="corner-bottom-left corner"></div></div>
Did this file decode correctly?
Original Code
<?php
// $Id: search-theme-form.tpl.php 7156 2010-04-24 16:48:35Z chris $
/**
* @file search-theme-form.tpl.php
* Default theme implementation for displaying a search form directly into the
* theme layout. Not to be confused with the search block or the search page.
*
* Available variables:
* - $search_form: The complete search form ready for print.
* - $search: Array of keyed search elements. Can be used to print each form
* element separately.
*
* Default keys within $search:
* - $search['search_theme_form']: Text input area wrapped in a div.
* - $search['submit']: Form submit button.
* - $search['hidden']: Hidden form elements. Used to validate forms when submitted.
*
* Since $search is keyed, a direct print of the form element is possible.
* Modules can add to the search form so it is recommended to check for their
* existance before printing. The default keys will always exist.
*
* <?php if (isset($search['extra_field'])): ?>
* <div class="extra-field">
* <?php print $search['extra_field']; ?>
* </div>
* <?php endif; ?>
*
* To check for all available data within $search, use the code below.
*
* <?php print '<pre>'. check_plain(print_r($search, 1)) .'</pre>'; ?>
*
* @see template_preprocess_search_theme_form()
*/
?>
<div id="search" class="container-inline">
<?php // <label for="edit-search_theme_form">Search</label> ?>
<input class="search-input form-text" type="text" maxlength="128" name="search_theme_form" id="edit-search-theme-form-header" size="15" value="" title="Enter the terms you wish to search for" />
<input class="search-submit" type="submit" name="op" value="<?php print t('Search') ?>"/>
<?php print $search['hidden']; ?>
<?php // <a class="advanced-search-link" href="/search" title="Advanced Search">Advanced Search</a> ?>
</div>
<div class="corner-bottom"><div class="corner-bottom-right corner"></div><div class="corner-bottom-left corner"></div></div>
Function Calls
t | 1 |
Stats
MD5 | 6dc67b9850c89ea48564f39a5f9a2f40 |
Eval Count | 0 |
Decode Time | 99 ms |