Changeset 7823


Ignore:
Timestamp:
Nov 19, 2010, 9:27:24 PM (10 years ago)
Author:
rvelices
Message:

homogenuous popuphelp and search_rules templates with the rest of pages
simplification of CSS rules

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/popuphelp.php

    r6363 r7823  
    3737$page['body_id'] = 'thePopuphelpPage';
    3838$title = l10n('Piwigo Help');
    39 $page['page_banner'] = '<h1>'.$title.'</h1>';
     39$page['page_banner'] = '';
    4040$page['meta_robots']=array('noindex'=>1, 'nofollow'=>1);
    4141include(PHPWG_ROOT_PATH.'include/page_header.php');
  • trunk/search_rules.php

    r6363 r7823  
    4545$page['body_id'] = 'thePopuphelpPage';
    4646$title = l10n('Piwigo Help');
    47 $page['page_banner'] = '<h1>'.$title.'</h1>';
     47$page['page_banner'] = '';
    4848$page['meta_robots']=array('noindex'=>1, 'nofollow'=>1);
    4949include(PHPWG_ROOT_PATH.'include/page_header.php');
  • trunk/themes/default/template/month_calendar.tpl

    r5178 r7823  
    7575                        <td class="calDayCellEmpty">{$day.DAY}
    7676                {/if}
    77         {else}
    78                 <td class="calDayCellBlank">
     77        {else}{*blank cell first or last row only*}
     78                <td>
    7979        {/if}
    8080        </td>
  • trunk/themes/default/template/popuphelp.tpl

    r5920 r7823  
    11<div id="content" class="content">
     2  <div class="titrePage">
     3        <ul class="categoryActions">
     4          <li>
     5                <a href="#" onclick="window.close();" title="{'Close this window'|@translate}">
     6                  <img src="{$ROOT_URL}{$themeconf.icon_dir}/exit.png" class="button" alt="exit">
     7                </a>
     8          </li>
     9        </ul>
     10  <h2>{$PAGE_TITLE}</h2>
     11  </div>
     12
    213{$HELP_CONTENT}
     14
     15<p>
     16    <a href="#" onclick="window.close();">{'Close this window'|@translate}</a>
     17</p>
     18
    319</div> <!-- content -->
    420
    5 <ul class="categoryActions">
    6   <li>
    7     <a href="#" onclick="window.close();" title="{'Close this window'|@translate}">
    8       <img src="{$ROOT_URL}{$themeconf.icon_dir}/exit.png" class="button" alt="exit">
    9     </a>
    10   </li>
    11 </ul>
    1221
  • trunk/themes/default/template/search_rules.tpl

    r6993 r7823  
    11<div id="content" class="content">
    2 <h2>{'Search rules'|@translate}</h2>
     2  <div class="titrePage">
     3        <ul class="categoryActions">
     4          <li>
     5                <a href="#" onclick="window.close();" title="{'Close this window'|@translate}">
     6                  <img src="{$ROOT_URL}{$themeconf.icon_dir}/exit.png" class="button" alt="exit">
     7                </a>
     8          </li>
     9        </ul>
     10  <h2>{'Search rules'|@translate}</h2>
     11  </div>
    312
    413{if isset($INTRODUCTION) }
     
    4756</ul>
    4857
     58<p>
     59    <a href="#" onclick="window.close();">{'Close this window'|@translate}</a>
     60</p>
     61
    4962</div> <!-- content -->
    5063
    51 <ul class="categoryActions">
    52         <li>
    53                 <a href="#" onclick="window.close();" title="{'Close this window'|@translate}">
    54                         <img src="{$ROOT_URL}{$themeconf.icon_dir}/exit.png" class="button" alt="exit">
    55                 </a>
    56         </li>
    57 </ul>
  • trunk/themes/default/theme.css

    r6577 r7823  
    140140        list-style: none;
    141141        text-align: center;
    142 }
    143 
    144 .content DIV.titrePage UL.categoryActions {
    145142        float: right;
    146         text-align: center;
    147143}
    148144
     
    156152
    157153.content UL.categoryActions A IMG, UL.categoryActions A {
    158         border: none;
     154        border: 0;
    159155        margin-bottom: -5px;
    160156}
     
    170166        font-weight: bold;
    171167        margin: 0 1px;
     168        border: 1px solid gray;
    172169}
    173170
     
    194191}
    195192
    196 TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank {
     193TD.calDayCellFull, TD.calDayCellEmpty {
    197194        vertical-align: top;
    198   font-weight: bold;
    199   font-size: 18px;
     195        font-weight: bold;
     196        font-size: 18px;
     197        border: 1px solid gray;
    200198}
    201199
     
    851849}
    852850
    853 /*calendar*/
    854 SPAN.calItem, SPAN.calItemEmpty,
    855 TD.calDayCellEmpty, TD.calDayCellFull {
    856         border: 1px solid gray;
    857 }
    858 
    859851#piwigoAbout {width:600px;margin:0 auto;}
    860852#linkToPiwigo {text-align:center;}
Note: See TracChangeset for help on using the changeset viewer.