Changeset 2390


Ignore:
Timestamp:
Jun 22, 2008, 10:45:28 AM (16 years ago)
Author:
vdigital
Message:

Admin isolation: Copy of admin templates in admin folder.
(Before previous admin templates removal).
Some of css simplification (in admin only currently.

Location:
trunk
Files:
95 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/common.inc.php

    r2299 r2390  
    196196{
    197197  // Admin template
    198   $template = new Template(PHPWG_ROOT_PATH.'template/'.$user['admin_template'], $user['admin_theme'] );
     198  //$template = new Template(PHPWG_ROOT_PATH.'template/'.$user['admin_template'], $user['admin_theme'] );
     199  $template = new Template(PHPWG_ROOT_PATH.'admin/template/'.$user['admin_template'], $user['admin_theme'] );
    199200}
    200201else
  • trunk/plugins/admin_advices/admin_advices.tpl

    r2266 r2390  
    11{if isset($ADVICE_ABOUT)}
    22<div class="content">
    3   <h2>{'An_advice_about'|@translate} {$ADVICE_ABOUT}</h2>
    4     <h3>{$ADVICE_TEXT}</h3>
     3  <h3>{'An_advice_about'|@translate} {$ADVICE_ABOUT}</h3>
     4    <h4>{$ADVICE_TEXT}</h4>
    55    <table summary="Admin advices summary">
    66    <tr><td style="text-align: left; width: 50%;">
  • trunk/plugins/admin_advices/default-layout.css

    r1912 r2390  
    1 .content {
     1/*.content {
    22  list-style-type:none;
    33  margin: 0 1em 0 14.5em;
    44  padding: 0 0 15px 0;
    5 }
     5} */
    66.content h2 {
    77  font-weight: bold;
  • trunk/template-common/default-layout.css

    r2352 r2390  
    1515BODY#thePopuphelpPage {
    1616  min-width: 0;
    17 }
    18 
    19 /* Set the width of the menubar for the admin section */
    20 BODY#theAdminPage #menubar {
    21   width: 12.5em;
    22 }
    23 BODY#theAdminPage .content {
    24   margin-left: 14.5em;  /* = #menubar width + 2em */
    2517}
    2618
Note: See TracChangeset for help on using the changeset viewer.