Changeset 535


Ignore:
Timestamp:
Apr 14, 2013, 11:57:19 AM (11 years ago)
Author:
chronos
Message:
  • Přidáno: Zobrazení reklamního banneru pro nepřihlášené uživatele.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/DefaultConfig.php

    r524 r535  
    3131    'GameVersion' => '3.3.5a',
    3232    'VisiblePagingItems' => 20,
     33    'Timezone' => 'Europe/Prague',
    3334    'WebCounter' => '',
    34     'Timezone' => 'Europe/Prague',
     35    'Advertisement' => '',
    3536  ),
    3637  'ForbiddedUserNames' => array('addon', 'admin', 'administrator'),
  • trunk/includes/Page.php

    r530 r535  
    2121 
    2222  $Output = '<div class="Menu">';
     23  if(!$User->Licence(LICENCE_USER))
     24    $Output .= '<div class="advert">'.$Config['Web']['Advertisement'].'</div>';
    2325  $Output .= '<span class="MenuItem"></span>';
    2426  if($User->Licence(LICENCE_USER))
  • trunk/includes/Version.php

    r532 r535  
    11<?php
    22
    3 $Revision = 532; // Subversion revision
     3$Revision = 535; // Subversion revision
    44$DatabaseRevision = 524;
    55$ReleaseTime = '2013-02-24';
  • trunk/style/style.css

    r469 r535  
    505505  vertical-align: middle;
    506506}
     507
     508.advert
     509{
     510  text-align: center;
     511}
Note: See TracChangeset for help on using the changeset viewer.