Changeset 65 for www/index.php


Ignore:
Timestamp:
Apr 4, 2008, 8:16:56 AM (17 years ago)
Author:
george
Message:

Implicitní nastavení parametrů zobrazování aktualit podle configuračního souboru.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • www/index.php

    r64 r65  
    221221while($NewsCategory = $DbResult->fetch_array())
    222222{
    223   $NewsSetting[] = array('CategoryId' => $NewsCategory['id'], 'Index' => $I, 'Enabled' => 1, 'ItemCount' => 5, 'DaysAgo' => 14);
     223  $NewsSetting[] = array('CategoryId' => $NewsCategory['id'], 'Index' => $I, 'Enabled' => 1, 'ItemCount' => $Config['Web']['News']['Count'], 'DaysAgo' => $Config['Web']['News']['DaysAgo']);
    224224  $I++;
    225225}
Note: See TracChangeset for help on using the changeset viewer.