Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS][HTML][PHP]Wyszukiwarka na logo forum
freefragcs
post
Post #1





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 13.01.2014

Ostrzeżenie: (0%)
-----


Witam!
Od niedawna korzystam z skryptu forum jakim jest IPB. Chciałbym dodać wyszukiwarkę na logu.

Kod wyszukiwarki:
  1. <if test="canSearch:|:$this->memberData['g_use_search'] && $this->settings['allow_search']">
  2. {parse template="quickSearch" group="global" params=""}
  3. </if>


Kod, który odpowiada za wyświetlanie logo:
  1. <div id='branding'>
  2. <div class='main_width'>
  3. <div id='logo'>
  4. <if test="brandingBar:|:ipsRegistry::$applications[ $this->registry->getCurrentApplication() ]['hasCustomHeader']">
  5. {parse template="overwriteHeader" group="{current_app}_global" params=""}
  6. <else />
  7. {parse template="defaultHeader" group="global" params=""}
  8. </if>
  9. </div>


CSS:
  1. #branding {
  2. background: #2E2C2A url({style_images_url}/bg.png);
  3. border-bottom: 0px solid #1b3759;
  4. min-height: 60px;
  5. }
  6.  
  7. #logo { display: inline;
  8. -webkit-transition: all 0.4s ease-in-out;
  9. -moz-transition: all 0.4s ease-in-out;
  10. position: relative;
  11. float: left;
  12. z-index: 2;
  13. }
  14.  
  15. #logo:hover {
  16. opacity: 1;
  17. filter:alpha(opacity=70);
  18. }

Myślałem, że jak zrobię tak:

  1. <div id='branding'>
  2. <div class='main_width'>
  3. <div id='logo'>
  4. <if test="canSearch:|:$this->memberData['g_use_search'] && $this->settings['allow_search']">
  5. {parse template="quickSearch" group="global" params=""}
  6. </if>
  7. <if test="brandingBar:|:ipsRegistry::$applications[ $this->registry->getCurrentApplication() ]['hasCustomHeader']">
  8. {parse template="overwriteHeader" group="{current_app}_global" params=""}
  9. <else />
  10. {parse template="defaultHeader" group="global" params=""}
  11. </if>
  12. </div>

to będzie dobrze.... jednak to nie to (IMG:style_emoticons/default/sad.gif)

Proszę o pomoc...

Ten post edytował freefragcs 13.01.2014, 22:15:28
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.08.2025 - 21:00