Changeset 1779


Ignore:
Timestamp:
Feb 4, 2007, 9:42:26 PM (17 years ago)
Author:
vdigital
Message:

Evolution request 0000497: Insert information about theme on about.php
To mention Creative Commons pictures, Free for private use, ...
Totally optional.
Just precise what you want in About field (see any template/yoga/theme/.../themeconf.inc.php

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/about.php

    r1082 r1779  
    4949    )
    5050  );
    51  
     51if ( isset( $themeconf['About']) and $themeconf['About']!=='' )
     52{
     53  $template->assign_block_vars(
     54  'theme',
     55  array(
     56    'ABOUT' => l10n($themeconf['About']),
     57    )
     58  );
     59}
    5260$template->assign_vars(
    5361  array(
  • trunk/template/yoga/about.tpl

    r960 r1779  
    1212
    1313  {ABOUT_MESSAGE}
    14 
     14  <!-- BEGIN theme -->
     15  <ul>
     16  <li>{theme.ABOUT}</li>
     17  </ul>
     18  <!-- END theme -->
    1519</div>
  • trunk/template/yoga/theme/clear/themeconf.inc.php

    r1657 r1779  
    11<?php
     2global $themeconf; /* Share $themeconf if About is used */
    23$themeconf = array(
    34  'template' => 'yoga',
     
    78  'admin_icon_dir' => 'template/yoga/icon/admin',
    89  'mime_icon_dir' => 'template/yoga/icon/mimetypes/',
    9   'local_head' => '<!-- no theme specific head content -->'
     10  'local_head' => '<!-- no theme specific head content -->',
     11  'About' => '', /* About text to display on About screen */
    1012);
    1113?>
  • trunk/template/yoga/theme/dark/themeconf.inc.php

    r1657 r1779  
    11<?php
     2global $themeconf; /* Share $themeconf if About is used */
    23$themeconf = array(
    34  'template' => 'yoga',
     
    78  'admin_icon_dir' => 'template/yoga/icon/admin',
    89  'mime_icon_dir' => 'template/yoga/icon/mimetypes/',
    9   'local_head' => '<!-- no theme specific head content -->'
     10  'local_head' => '<!-- no theme specific head content -->',
     11  'About' => '', /* About text to display on About screen */
    1012);
    1113?>
  • trunk/template/yoga/theme/p0w0/themeconf.inc.php

    r1778 r1779  
    11<?php
     2global $themeconf; /* Share $themeconf if About is used */
    23$themeconf = array(
    34  'template' => 'yoga',
     
    78  'admin_icon_dir' => 'template/yoga/icon/admin',
    89  'mime_icon_dir' => 'template/yoga/icon/mimetypes/',
    9   'local_head' => '<!-- no theme specific head content -->'
     10  'local_head' => '<!-- no theme specific head content -->',
     11  'About' => '', /* About text to display on About screen */
    1012);
    1113?>
  • trunk/template/yoga/theme/wipi/themeconf.inc.php

    r1683 r1779  
    11<?php
     2global $themeconf; /* Share $themeconf if About is used */
    23$themeconf = array(
    34  'template' => 'yoga',
     
    78  'admin_icon_dir' => 'template/yoga/icon/admin',
    89  'mime_icon_dir' => 'template/yoga/icon/mimetypes/',
    9   'local_head' => '<!-- no theme specific head content -->'
     10  'local_head' => '<!-- no theme specific head content -->',
     11  'About' => '', /* About text to display on About screen */
    1012);
    1113?>
Note: See TracChangeset for help on using the changeset viewer.