Changeset 844
- Timestamp:
- 03/08/09 10:54:32 (15 years ago)
- Location:
- plugins/infoBlog
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/infoBlog/_admin.php
r635 r844 1 1 <?php 2 2 # -- BEGIN LICENSE BLOCK ---------------------------------- 3 # 4 # This file is part of plugin infoBlog for Dotclear 2. 5 # Copyright (c) 2008 Thomas Bouron. 6 # 3 # This file is part of infoBlog, a plugin for Dotclear. 4 # 5 # Copyright (c) 2009 Tomtom 6 # http://blog.zesntyle.fr/ 7 # 7 8 # Licensed under the GPL version 2.0 license. 8 # See LICENSE file or9 # A copy of this license is available in LICENSE file or at 9 10 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 10 #11 11 # -- END LICENSE BLOCK ------------------------------------ 12 12 13 if (!defined('DC_CONTEXT_ADMIN')) { return; } 13 14 -
plugins/infoBlog/_define.php
r635 r844 1 1 <?php 2 2 # -- BEGIN LICENSE BLOCK ---------------------------------- 3 # 4 # This file is part of plugin infoBlog for Dotclear 2. 5 # Copyright (c) 2008 Thomas Bouron. 6 # 3 # This file is part of infoBlog, a plugin for Dotclear. 4 # 5 # Copyright (c) 2009 Tomtom 6 # http://blog.zesntyle.fr/ 7 # 7 8 # Licensed under the GPL version 2.0 license. 8 # See LICENSE file or9 # A copy of this license is available in LICENSE file or at 9 10 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 10 #11 11 # -- END LICENSE BLOCK ------------------------------------ 12 12 13 if (!defined('DC_RC_PATH')) { return; } 13 14 14 15 $this->registerModule( 15 /* Name */ 16 /* Name */ 'infoBlog', 16 17 /* Description */ 'Display all information about your blog', 17 18 /* Author */ 'Tomtom (http://plugins.zenstyle.fr/)', 18 /* Version */ '1.0 -RC3',19 /* Version */ '1.0', 19 20 /* Permissions */ 'admin' 20 21 ); -
plugins/infoBlog/_public.php
r635 r844 1 1 <?php 2 2 # -- BEGIN LICENSE BLOCK ---------------------------------- 3 # 4 # This file is part of plugin infoBlog for Dotclear 2. 5 # Copyright (c) 2008 Thomas Bouron. 6 # 3 # This file is part of infoBlog, a plugin for Dotclear. 4 # 5 # Copyright (c) 2009 Tomtom 6 # http://blog.zesntyle.fr/ 7 # 7 8 # Licensed under the GPL version 2.0 license. 8 # See LICENSE file or9 # A copy of this license is available in LICENSE file or at 9 10 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 10 #11 11 # -- END LICENSE BLOCK ------------------------------------ 12 12 13 /**14 * Class infoBlogPublic15 */16 13 class infoBlogPublic 17 14 { … … 33 30 $mask = '<li class="%1$s">%2$s</li>'; 34 31 35 $title = (strlen($w->title) > 0)? '<h2>'.html::escapeHTML($w->title).'</h2>' : '';32 $title = strlen($w->title) > 0 ? '<h2>'.html::escapeHTML($w->title).'</h2>' : ''; 36 33 37 34 $res = ''; -
plugins/infoBlog/_widgets.php
r635 r844 1 1 <?php 2 2 # -- BEGIN LICENSE BLOCK ---------------------------------- 3 # 4 # This file is part of plugin infoBlog for Dotclear 2. 5 # Copyright (c) 2008 Thomas Bouron. 6 # 3 # This file is part of infoBlog, a plugin for Dotclear. 4 # 5 # Copyright (c) 2009 Tomtom 6 # http://blog.zesntyle.fr/ 7 # 7 8 # Licensed under the GPL version 2.0 license. 8 # See LICENSE file or9 # A copy of this license is available in LICENSE file or at 9 10 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 10 #11 11 # -- END LICENSE BLOCK ------------------------------------ 12 12 13 if (!defined('DC_RC_PATH')) { return; } 13 14 14 15 $core->addBehavior('initWidgets',array('infoBlogWidgets','initWidgets')); 15 16 16 /**17 * Class infoBlogWidgets18 */19 17 class infoBlogWidgets 20 18 {
Note: See TracChangeset
for help on using the changeset viewer.