Od niedawna korzystam z skryptu forum jakim jest IPB. Chciałbym dodać wyszukiwarkę na logu.
Kod wyszukiwarki:
<if test="canSearch:|:$this->memberData['g_use_search'] && $this->settings['allow_search']"> {parse template="quickSearch" group="global" params=""} </if>
Kod, który odpowiada za wyświetlanie logo:
<div id='branding'> <div class='main_width'> <div id='logo'> <if test="brandingBar:|:ipsRegistry::$applications[ $this->registry->getCurrentApplication() ]['hasCustomHeader']"> {parse template="overwriteHeader" group="{current_app}_global" params=""} <else /> {parse template="defaultHeader" group="global" params=""} </if> </div>
CSS:
#branding { background: #2E2C2A url({style_images_url}/bg.png); border-bottom: 0px solid #1b3759; min-height: 60px; } #logo { display: inline; -webkit-transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; position: relative; float: left; z-index: 2; } #logo:hover { opacity: 1; filter:alpha(opacity=70); }
Myślałem, że jak zrobię tak:
<div id='branding'> <div class='main_width'> <div id='logo'> <if test="canSearch:|:$this->memberData['g_use_search'] && $this->settings['allow_search']"> {parse template="quickSearch" group="global" params=""} </if> <if test="brandingBar:|:ipsRegistry::$applications[ $this->registry->getCurrentApplication() ]['hasCustomHeader']"> {parse template="overwriteHeader" group="{current_app}_global" params=""} <else /> {parse template="defaultHeader" group="global" params=""} </if> </div>
to będzie dobrze.... jednak to nie to

Proszę o pomoc...