Overview
Comment:Les éléments sont dans squelettes/ maintenant
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7c7188625299050aee418e81e800cf335b89cc52
User & Date: bohwaz on 2014-04-15 03:32:54
Other Links: manifest | tags
Context
2014-04-15
05:12
Gestion un peu plus intelligente des transactions check-in: a172283519 user: bohwaz tags: trunk
03:32
Les éléments sont dans squelettes/ maintenant check-in: 7c71886252 user: bohwaz tags: trunk
03:31
ne pas lister les fichiers non éditables check-in: 6d1c13ba49 user: bohwaz tags: trunk
Changes

Modified src/include/class.squelette.php from [f1f380ac62] to [f2c5fff5c8].

206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
        $this->assign('adresse_asso', $config->get('adresse_asso'));
        $this->assign('email_asso', $config->get('email_asso'));
        $this->assign('site_asso', $config->get('site_asso'));

        $this->assign('url_racine', WWW_URL);
        $this->assign('url_site', WWW_URL);
        $this->assign('url_atom', WWW_URL . 'feed/atom/');
        $this->assign('url_elements', WWW_URL . 'elements/');
        $this->assign('url_admin', WWW_URL . 'admin/');
    }

    protected function processInclude($args)
    {
        if (empty($args))
            throw new \miniSkelMarkupException("Le tag INCLURE demande à préciser le fichier à inclure.");







|







206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
        $this->assign('adresse_asso', $config->get('adresse_asso'));
        $this->assign('email_asso', $config->get('email_asso'));
        $this->assign('site_asso', $config->get('site_asso'));

        $this->assign('url_racine', WWW_URL);
        $this->assign('url_site', WWW_URL);
        $this->assign('url_atom', WWW_URL . 'feed/atom/');
        $this->assign('url_elements', WWW_URL . 'squelettes/');
        $this->assign('url_admin', WWW_URL . 'admin/');
    }

    protected function processInclude($args)
    {
        if (empty($args))
            throw new \miniSkelMarkupException("Le tag INCLURE demande à préciser le fichier à inclure.");
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
        while ($file = $dir->read())
        {
            if ($file[0] == '.')
                continue;

            if (!preg_match('/\.(?:css|x?html?|atom|rss|xml|svg|txt)$/i', $file))
                continue;
            
            $sources[] = $file;
        }

        $dir->close();

        $sources = array_unique($sources);
        sort($sources);







|







729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
        while ($file = $dir->read())
        {
            if ($file[0] == '.')
                continue;

            if (!preg_match('/\.(?:css|x?html?|atom|rss|xml|svg|txt)$/i', $file))
                continue;

            $sources[] = $file;
        }

        $dir->close();

        $sources = array_unique($sources);
        sort($sources);