Dotclear

source: plugins/doTwit/_install.php @ 2230

Revision 2230, 821 bytes checked in by brol, 14 years ago (diff)

Version 1.3
externalisation de la css ; localisation ; refonte du code.

Line 
1<?php
2# ***** BEGIN LICENSE BLOCK *****
3# This file is part of doTwit, a plugin for Dotclear.
4#
5# Copyright (c) 2007 Valentin VAN MEEUWEN
6# <adresse email>
7#
8# Licensed under the GPL version 2.0 license.
9# A copy of this license is available in LICENSE file or at
10# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11# ***** END LICENSE BLOCK *****
12
13# On lit la version du plugin
14$m_version = $core->plugins->moduleInfo('DotFreeWidget','1');
15 
16# On lit la version du plugin dans la table des versions
17$i_version = $core->getVersion('1');
18 
19# La version dans la table est supérieure ou égale à
20# celle du module, on ne fait rien puisque celui-ci
21# est installé
22if (version_compare($i_version,$m_version,'>=')) {
23     return;
24}
25 
26# La procédure d'installation commence vraiment là
27$core->setVersion('doTwit',$m_version);
28?>
Note: See TracBrowser for help on using the repository browser.

Sites map