Ignore:
Timestamp:
Jun 11, 2011, 4:33:07 AM (13 years ago)
Author:
tearran
Message:

Changed The menu to a horizontal placement in the header.tpl
added some css id's for the menu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PaysonsPlaces/template/menubar.tpl

    r11301 r11309  
    11{if !empty($blocks) }
    2 <div id="menubar">
     2<ul id="navigation-1"><li id="search_box">
     3        <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;">
     4                <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}>
     5                        <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" style="width:90%">
     6                </p>
     7        </form>
     8        <script type="text/javascript">var qsearch_prompt="{'Quick search'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>
     9</li>
    310        {foreach from=$blocks key=id item=block}
    4         <dl id="{$id}">
     11        <li>
    512                {if not empty($block->template)}
    613                {include file=$block->template|@get_extent:$id }
     
    815                {$block->raw_content}
    916                {/if}
    10         </dl>
     17        </li>
    1118        {/foreach}
    12 </div>
     19</ul>
    1320{/if}
Note: See TracChangeset for help on using the changeset viewer.