Subversion Repositories Applications.wikini

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
18 jpm 1
<?php
2
// Partie publique
3
if (!defined("WIKINI_VERSION"))
4
{
5
        die ("acc&egrave;s direct interdit");
6
}
7
$wakkaConfig['menu_page'] = 'PageMenu';
8
$wakkaConfig['menu_page_admin'] = 'PageMenuAdmin';
9
$wakkaConfig['banniere_page'] = 'PageBanniere';
10
 
11
 
12
// Surcharge  fonction  LoadRecentlyChanged : suppression remplissage cache car affecte le rendu de la navigation.
13
$wikiClasses [] = 'Navigation';
14
$wikiClassesContent [] = '
15
    function LoadRecentlyChanged($limit=50)
16
        {
17
                $limit= (int) $limit;
18
                if ($pages = $this->LoadAll("select id, tag, time, user, owner from ".$this->config["table_prefix"]."pages where latest = \'Y\' and comment_on =  \'\' order by time desc limit $limit"))
19
                {
20
                        return $pages;
21
                }
22
        }
23
';
24
?>