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.

Location:
extensions/PaysonsPlaces/template
Files:
1 added
4 edited

Legend:

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

    r11301 r11309  
    1                         </td>
     1<link rel="stylesheet" type="text/css" href="../theme.css">
     2</td>
    23                </tr>
    3   <tr>
    4         <td id="shadow">
    5 <div id="copyright">
     4  <tr><td id="footer">
    65{if isset($debug.TIME)}
    76        {'Page generated in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME}) -
     
    2625{/foreach}
    2726{/if}
    28 </div> {* copyright *}
     27{* copyright *}
    2928{if isset($debug.QUERIES_LIST)}
    3029<div id="debug">
     
    3231</div>
    3332{/if}
    34 </div></td>
     33
     34
     35                        </td>
    3536        </tr>
    36 </table>{* the_page *}
     37</tbody></table>
     38{* the_page *}
    3739</body>
    3840</html>
  • extensions/PaysonsPlaces/template/header.tpl

    r11301 r11309  
    5353        {/foreach}
    5454{/if}
    55 
     55<link rel="stylesheet" type="text/css" href="../theme.css">
    5656</head>
    5757
    5858<body id="{$BODY_ID}">
    59 <div id="the_page">
    60 <table cellspacing="20" cellpadding="5">
    61                 <tr>
    62                   <td id="headercontainer">
     59<table id="fullheight" cellspacing="20" >
     60
     61                <tbody><tr>
     62                  <td id="banner">
     63         
    6364{if not empty($header_msgs)}
    6465<div class="header_msgs">
     
    7879</div>
    7980{/if}
    80                         </td>
     81<div><img src="themes/paysonsplaces/images/banner.png"></div>
     82{$MENUBAR}</td>
    8183                </tr>
    8284                <tr>
    83                         <td id="shadow">
     85                        <td id="main_box">
  • extensions/PaysonsPlaces/template/index.tpl

    r11301 r11309  
    1 {$MENUBAR}
     1
    22{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
    3 <div id="content" class="content">
    4 <div class="titrePage">
     3
     4
    55        <ul class="categoryActions">
    66{if !empty($image_orders)}
     
    6262        </ul>
    6363
    64 <h2>{$TITLE}</h2>
     64<div id="navigation-1">{$TITLE}</div>
    6565
    6666{if isset($chronology_views)}
  • 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.