Changeset 459
- Timestamp:
- 06/27/08 10:30:18 (15 years ago)
- Location:
- plugins
- Files:
-
- 139 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/arlequin/_admin.php
r355 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $_menu['Plugins']->addItem(__('Theme switcher'),'plugin.php?p=arlequin', -
plugins/arlequin/_define.php
r391 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $this->registerModule( 18 /* Name */ "Arlequin",19 /* Description*/ "Allows visitors choose a theme",20 /* Author */ "Oleksandr Syenchuk",19 /* Name */ 'Arlequin', 20 /* Description*/ 'Allows visitors choose a theme', 21 /* Author */ 'Oleksandr Syenchuk', 21 22 /* Version */ '1.0', 22 23 /* Permissions */ 'contentadmin' -
plugins/arlequin/_public.php
r353 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 /** @doc -
plugins/arlequin/forms.php
r353 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $mt_forms = array(); -
plugins/arlequin/index.php
r308 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 try -
plugins/arlequin/models.php
r272 r459 21 21 $mt_models[] = array( 22 22 'name'=>__('Model name'), // Nom du modèle prédéfini, éventuellement 23 24 's_html'=>'[HTML code]', // Code HTML du sélecteur de thème25 'e_html'=>'[HTML code]', // Code HTML d'un item pouvant être sélectionné23 // traduit dans un fichier de langue 24 's_html'=>'[HTML code]', // Code HTML du sélecteur de thème 25 'e_html'=>'[HTML code]', // Code HTML d'un item pouvant être sélectionné 26 26 'a_html'=>'[HTML code]' // Code HTML d'un item actif (thème sélectionné) 27 27 ); -
plugins/blocNotes/_admin.php
r455 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_CONTEXT_ADMIN')) { return; } 23 24 24 25 require_once(dirname(__FILE__).'/lib.blocNotes.php'); 25 26 26 # dashboard 27 if ($core->auth->check('usage,contentadmin',$core->blog->id)) 28 { 29 # <= 2.0-beta7 30 if (isset($__dashboard_icons)) { 31 $__dashboard_icons[] = array(__('Notebook'),'plugin.php?p=blocNotes','index.php?pf=blocNotes/icon-big.png'); 32 } 33 # > 2.0-beta7 34 $core->addBehavior('adminDashboardIcons',array('blocNotes','adminDashboardIcons')); 27 # dashboard 28 if ($core->auth->check('usage,contentadmin',$core->blog->id)) 29 { 30 # <= 2.0-beta7 31 if (isset($__dashboard_icons)) { 32 $__dashboard_icons[] = array(__('Notebook'),'plugin.php?p=blocNotes','index.php?pf=blocNotes/icon-big.png'); 35 33 } 34 # > 2.0-beta7 35 $core->addBehavior('adminDashboardIcons',array('blocNotes','adminDashboardIcons')); 36 } 36 37 37 38 39 40 41 38 # post 39 $core->addBehavior('adminPostForm',array('blocNotes','form')); 40 $core->addBehavior('adminAfterPostCreate',array('blocNotes','putSettings')); 41 $core->addBehavior('adminAfterPostUpdate',array('blocNotes','putSettings')); 42 $core->addBehavior('adminPostHeaders',array('blocNotes','adminPostHeaders')); 42 43 43 44 45 46 47 44 $_menu['Plugins']->addItem(__('Notebook'), 45 'plugin.php?p=blocNotes', 46 'index.php?pf=blocNotes/icon.png', 47 preg_match('/plugin.php\?p=blocNotes(&.*)?$/',$_SERVER['REQUEST_URI']), 48 $core->auth->check('usage,contentadmin',$core->blog->id)); 48 49 ?> -
plugins/blocNotes/_define.php
r455 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_RC_PATH')) { return; } 23 24 24 25 $this->registerModule( -
plugins/blocNotes/index.php
r455 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 24 if (!defined('DC_CONTEXT_ADMIN')) { exit; } 23 if (!defined('DC_CONTEXT_ADMIN')) { return; } 25 24 26 25 try -
plugins/bloganniv/_admin.php
r325 r459 21 21 # ***** END LICENSE BLOCK ***** 22 22 # 23 if (!defined('DC_CONTEXT_ADMIN')) { return; } 23 24 24 25 $core->addBehavior('initWidgets',array('blogAnnivBehaviors','initWidgets')); -
plugins/bloganniv/_define.php
r325 r459 20 20 # 21 21 # ***** END LICENSE BLOCK ***** 22 # 22 if (!defined('DC_RC_PATH')) { return; } 23 23 24 $this->registerModule( 24 25 /* Name */ "Blog Anniv", -
plugins/bloganniv/_public.php
r325 r459 21 21 # ***** END LICENSE BLOCK ***** 22 22 # 23 if (!defined('DC_RC_PATH')) { return; } 23 24 24 25 $core->tpl->addValue('blogAnniv',array('tplBlogAnniv','blogAnniv')); -
plugins/carnaval/_admin.php
r320 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $_menu['Plugins']->addItem(__('CSS Classes for comments'), -
plugins/carnaval/_define.php
r358 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $this->registerModule( -
plugins/carnaval/_install.php
r329 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 17 if (!defined('DC_CONTEXT_ADMIN')) { exit; } 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 18 17 19 18 # On lit la version du plugin -
plugins/carnaval/_prepend.php
r358 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $__autoload['dcCarnaval'] = dirname(__FILE__).'/class.dc.carnaval.php'; -
plugins/carnaval/_public.php
r358 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 # On surchage les fonctions template -
plugins/carnaval/edit.php
r359 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 17 if (!defined('DC_CONTEXT_ADMIN')) { exit; } 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 18 17 19 18 $id = $_REQUEST['id']; -
plugins/carnaval/forms.php
r328 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $forms = array(); -
plugins/carnaval/index.php
r359 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 17 if (!defined('DC_CONTEXT_ADMIN')) { exit; } 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 18 17 19 18 if (!empty($_REQUEST['edit']) && !empty($_REQUEST['id'])) { -
plugins/compress/_admin.php
r386 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_CONTEXT_ADMIN')) { return; } 23 24 24 25 $_menu['Plugins']->addItem(__('CompreSS'),'plugin.php?p=compress', -
plugins/compress/_define.php
r394 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_RC_PATH')) { return; } 23 24 24 25 $this->registerModule( -
plugins/compress/_install.php
r396 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_CONTEXT_ADMIN')) { return; } 23 24 24 25 # On lit la version du plugin -
plugins/compress/index.php
r396 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 24 if (!defined('DC_CONTEXT_ADMIN')) { exit; } 23 if (!defined('DC_CONTEXT_ADMIN')) { return; } 25 24 26 25 require_once(dirname(__FILE__).'/class.table.php'); -
plugins/dcom/_admin.php
r407 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $core->addBehavior('initWidgets',array('adminDcom','initWidget')); -
plugins/dcom/_define.php
r407 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $this->registerModule( -
plugins/dcom/_prepend.php
r407 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 class commonDcom -
plugins/dcom/_public.php
r407 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $core->tpl->addValue('showDcom',array('publicDcom','showTpl')); -
plugins/dcpoll/_admin.php
r271 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $_menu['Plugins']->addItem(__('Polls'),'plugin.php?p=dcpoll', -
plugins/dcpoll/_define.php
r271 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $this->registerModule( 18 /* Name */ "DC Poll",19 /* Description*/ "Create a pool on you blog",20 /* Author */ "Oleksandr Syenchuk",19 /* Name */ 'DC Poll', 20 /* Description*/ 'Create a pool on you blog', 21 /* Author */ 'Oleksandr Syenchuk', 21 22 /* Version */ '0.3', 22 23 /* Permissions */ 'usage,contentadmin' -
plugins/dcpoll/_install.php
r393 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $label = 'dcpoll'; -
plugins/dcpoll/_public.php
r271 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 16 if (!defined('DC_RC_PATH')) { return; } 17 17 18 18 ?> -
plugins/dcpoll/forms.php
r271 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $poll_forms = array(); -
plugins/dcpoll/index.php
r271 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 try -
plugins/emailOptionnel/_admin.php
r284 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $core->addBehavior('adminBlogPreferencesForm', -
plugins/emailOptionnel/_define.php
r344 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 # WARNING : … … 22 23 23 24 $this->registerModule( 24 /* Name */ "Email Optionnel",25 /* Description*/ "Make e-mail address optional in comments",26 /* Author */ "Oleksandr Syenchuk",25 /* Name */ 'Email Optionnel', 26 /* Description*/ 'Make e-mail address optional in comments', 27 /* Author */ 'Oleksandr Syenchuk', 27 28 /* Version */ '0.4.2', 28 29 /* Permissions */ 'usage,contentadmin' -
plugins/emailOptionnel/_prepend.php
r284 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $GLOBALS['__autoload']['emailOptionnelBehaviors'] = dirname(__FILE__).'/behaviors.php'; -
plugins/emailOptionnel/_public.php
r284 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $core->addBehavior('publicPrepend', -
plugins/empreinte/_admin.php
r335 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $_menu['Plugins']->addItem( -
plugins/empreinte/_define.php
r406 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $this->registerModule( -
plugins/empreinte/_install.php
r399 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $label = 'empreinte'; -
plugins/empreinte/_prepend.php
r324 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $GLOBALS['__autoload']['rsExtCommentEmpreinte'] = dirname(__FILE__).'/rs.extensions.php'; -
plugins/empreinte/_public.php
r324 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $core->addBehavior('publicBeforeCommentCreate',array('publicEmpreinte','publicBeforeCommentCreate')); -
plugins/empreinte/class.public.empreinte.php
r351 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 17 16 18 $GLOBALS['core']->addBehavior('templateBeforeValue',array('publicEmpreinte','templateBeforeValue')); 17 19 -
plugins/empreinte/forms.php
r337 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $_forms = array(); -
plugins/empreinte/index.php
r337 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 try -
plugins/httpredirect/_admin.php
r439 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $core->addBehavior('adminPostHeaders',array('adminHttpRedirect','js')); -
plugins/httpredirect/_define.php
r439 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $this->registerModule( -
plugins/httpredirect/_install.php
r352 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $label = 'httpredirect'; -
plugins/httpredirect/_public.php
r439 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $core->url->register('post', -
plugins/info/_admin.php
r456 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_CONTEXT_ADMIN')) { return; } 23 24 24 25 $_menu['Plugins']->addItem(__('Informations'),'plugin.php?p=info','index.php?pf=info/icon.png', -
plugins/info/_define.php
r458 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_RC_PATH')) { return; } 23 24 24 25 $this->registerModule( -
plugins/info/index.php
r458 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 24 if (!defined('DC_CONTEXT_ADMIN')) { exit; } 23 if (!defined('DC_CONTEXT_ADMIN')) { return; } 25 24 26 25 require_once(dirname(__FILE__).'/php-xhtml-table/class.table.php'); -
plugins/jabberNotifications/_admin.php
r412 r459 15 15 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 16 16 \***************************************************************/ 17 if (!defined('DC_CONTEXT_ADMIN')) { return; } 17 18 18 19 $_menu['Plugins']->addItem(__('Jabber notifications'),'plugin.php?p=jabberNotifications', -
plugins/jabberNotifications/_define.php
r412 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $this->registerModule( -
plugins/jabberNotifications/_install.php
r410 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $label = 'jabberNotifications'; -
plugins/jabberNotifications/_prepend.php
r412 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $__autoload['Jabber'] = dirname(__FILE__).'/lib/class_Jabber.php'; -
plugins/jabberNotifications/_public.php
r412 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $core->addBehavior('publicAfterCommentCreate', array('publicJabberNotifications', 'sendNotifications')); -
plugins/jabberNotifications/forms.php
r412 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $jn_mode = empty($jn_mode) ? 'config' : $jn_mode; -
plugins/jabberNotifications/index.php
r410 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 dcPage::checkSuper(); -
plugins/latestPosts/_admin.php
r326 r459 25 25 # visible sur http://www.forx.fr/post/2006/07/07/Doctclear-2-%3A-creation-de-plugin-premiere-partie 26 26 # 27 if (!defined('DC_CONTEXT_ADMIN')) { return; } 27 28 28 29 $core->addBehavior('initWidgets',array('lastestPostsBehaviors','initWidgets')); -
plugins/latestPosts/_define.php
r326 r459 20 20 # 21 21 # ***** END LICENSE BLOCK ***** 22 # 22 if (!defined('DC_RC_PATH')) { return; } 23 23 24 # D'après le plugin LastComment de Vincent Simonin et un billet de documentation 24 25 # plugin du même auteur -
plugins/latestPosts/_public.php
r326 r459 20 20 # 21 21 # ***** END LICENSE BLOCK ***** 22 # 22 if (!defined('DC_RC_PATH')) { return; } 23 23 24 # D'apr� le plugin LastComment de Vincent Simonin et un billet de documentation 24 25 # plugin du m�e auteur -
plugins/livecounter/_admin.php
r282 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $core->addBehavior('initWidgets',array('adminLiveCounter','initWidget')); -
plugins/livecounter/_define.php
r293 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $this->registerModule( 18 /* Name */ "Live Counter",19 /* Description*/ "Show the number of connected visitors on the blog",20 /* Author */ "Oleksandr Syenchuk",19 /* Name */ 'Live Counter', 20 /* Description*/ 'Show the number of connected visitors on the blog', 21 /* Author */ 'Oleksandr Syenchuk', 21 22 /* Version */ '1.1.1', 22 23 /* Permissions */ 'contentadmin' -
plugins/livecounter/_install.php
r274 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $label = 'livecounter'; -
plugins/livecounter/_prepend.php
r282 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $__autoload['connectedCounter'] = dirname(__FILE__).'/class.connectedcounter.php'; -
plugins/livecounter/_public.php
r290 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $core->addBehavior('publicBeforeDocument',array('publicLiveCounter','adjustCache')); -
plugins/menuFreshy/_admin.php
r323 r459 20 20 # 21 21 # ***** END LICENSE BLOCK ***** 22 if (!defined('DC_CONTEXT_ADMIN')) { return; } 22 23 23 24 if (isset($__dashboard_icons) && $core->auth->check('menuFreshy',$core->blog->id)) { -
plugins/menuFreshy/_define.php
r365 r459 20 20 # 21 21 # ***** END LICENSE BLOCK ***** 22 if (!defined('DC_RC_PATH')) { return; } 22 23 23 24 $this->registerModule( -
plugins/menuFreshy/_install.php
r323 r459 20 20 # 21 21 # ***** END LICENSE BLOCK ***** 22 if (!defined('DC_CONTEXT_ADMIN')) { exit; }22 if (!defined('DC_CONTEXT_ADMIN')) { return; } 23 23 24 24 $version = $core->plugins->moduleInfo('menuFreshy','version'); -
plugins/menuFreshy/_public.php
r365 r459 20 20 # 21 21 # ***** END LICENSE BLOCK ***** 22 if (!defined('DC_RC_PATH')) { return; } 22 23 23 24 # Menu template functions -
plugins/menuFreshy/edit.php
r323 r459 20 20 # 21 21 # ***** END LICENSE BLOCK ***** 22 if (!defined('DC_CONTEXT_ADMIN')) { exit; }22 if (!defined('DC_CONTEXT_ADMIN')) { return; } 23 23 24 24 $id = $_REQUEST['id']; -
plugins/menuFreshy/index.php
r323 r459 20 20 # 21 21 # ***** END LICENSE BLOCK ***** 22 if (!defined('DC_CONTEXT_ADMIN')) { exit; }22 if (!defined('DC_CONTEXT_ADMIN')) { return; } 23 23 24 24 require dirname(__FILE__).'/class.dc.blogmenu.php'; -
plugins/metaImage/_admin.php
r414 r459 1 1 <?php 2 if (!defined('DC_CONTEXT_ADMIN')) { return; } 3 2 4 $_menu['Plugins']->addItem(__('Meta Image'),'plugin.php?p=metaImage', 3 5 'index.php?pf=metaImage/icon.png', -
plugins/metaImage/_define.php
r414 r459 1 1 <?php 2 if (!defined('DC_RC_PATH')) { return; } 3 2 4 $this->registerModule( 3 5 /* Name */ 'Meta Image', -
plugins/metaImage/_install.php
r414 r459 1 1 <?php 2 if (!defined('DC_CONTEXT_ADMIN')) { exit; }2 if (!defined('DC_CONTEXT_ADMIN')) { return; } 3 3 4 4 $label = 'metaImage'; -
plugins/metaImage/_prepend.php
r349 r459 1 1 <?php 2 if (!defined('DC_RC_PATH')) { return; } 3 2 4 /* sera lu après la création des objets, mais avant l'affichage. */ 3 5 ?> -
plugins/metaImage/_public.php
r414 r459 1 1 <?php 2 if (!defined('DC_RC_PATH')) { return; } 3 2 4 $core->tpl->addValue('MetaImage',array('tplMetaImageTpl','MetaImage')); 3 5 -
plugins/metaImage/index.php
r414 r459 1 1 <?php 2 if (!defined('DC_CONTEXT_ADMIN')) { return; } 2 3 3 4 $label = 'metaImage'; -
plugins/miniseo/_define.php
r364 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_RC_PATH')) { return; } 23 24 24 25 $this->registerModule( -
plugins/miniseo/_public.php
r364 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_RC_PATH')) { return; } 23 24 24 25 $core->tpl->addValue('MiniSEO', array('tplMiniSEO', 'MetaMiniSEO')); -
plugins/myUrlHandlers/_admin.php
r443 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $_menu['Plugins']->addItem(__('URL handlers'),'plugin.php?p=myUrlHandlers',null, -
plugins/myUrlHandlers/_define.php
r443 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $this->registerModule( -
plugins/myUrlHandlers/_install.php
r446 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $label = basename(dirname(__FILE__)); -
plugins/myUrlHandlers/_prepend.php
r443 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $__autoload['myUrlHandlers'] = dirname(__FILE__).'/class.myurlhandlers.php'; -
plugins/myUrlHandlers/index.php
r443 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 try -
plugins/myfavicon/_admin.php
r421 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $core->addBehavior('adminBlogPreferencesHeaders', array('myFavicon', 'adminBlogPreferencesHeaders')); -
plugins/myfavicon/_define.php
r421 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $this->registerModule( -
plugins/myfavicon/_install.php
r426 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $label = 'myfavicon'; -
plugins/myfavicon/_public.php
r425 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 if (is_callable('dcTemplate','SysBehavior')) { -
plugins/mymeta/_admin.php
r415 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_CONTEXT_ADMIN')) { return; } 23 24 24 25 require (dirname(__FILE__).'/class.mymeta.php'); -
plugins/mymeta/_define.php
r408 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_RC_PATH')) { return; } 23 24 24 25 $this->registerModule( -
plugins/mymeta/_prepend.php
r408 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_RC_PATH')) { return; } 23 24 24 25 -
plugins/mymeta/_public.php
r408 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 23 if (!defined('DC_RC_PATH')) { return; } 24 24 25 25 $core->tpl->addValue('MetaType',array('tplMyMeta','MetaType')); -
plugins/mymeta/class.mymetalists.php
r357 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_CONTEXT_ADMIN')) { exit; }24 23 25 24 class adminMymetaList -
plugins/mymeta/index.php
r357 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 24 if (!defined('DC_CONTEXT_ADMIN')) { exit; } 23 if (!defined('DC_CONTEXT_ADMIN')) { return; } 25 24 26 25 $mymeta = new myMeta($core); -
plugins/mymeta/index_edit.php
r357 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 24 if (!defined('DC_CONTEXT_ADMIN')) { exit; } 23 if (!defined('DC_CONTEXT_ADMIN')) { return; } 25 24 26 25 require DC_ROOT.'/inc/admin/lib.pager.php'; -
plugins/mymeta/index_home.php
r408 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_CONTEXT_ADMIN')) { exit; }23 if (!defined('DC_CONTEXT_ADMIN')) { return; } 24 24 25 25 require DC_ROOT.'/inc/admin/lib.pager.php'; -
plugins/notEvilAds/_admin.php
r271 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $_menu['Plugins']->addItem(__('Not Evil Ads'),'plugin.php?p=notEvilAds', -
plugins/notEvilAds/_define.php
r271 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $this->registerModule( 18 /* Name */ "Not Evil Ads",19 /* Description */ "Add not evil ads to your site :)",20 /* Author */ "Oleksandr Syenchuk",19 /* Name */ 'Not Evil Ads', 20 /* Description */ 'Add not evil ads to your site :)', 21 /* Author */ 'Oleksandr Syenchuk', 21 22 /* Version */ '1.0.1-beta', 22 23 /* Permissions */ 'contentadmin'); -
plugins/notEvilAds/_install.php
r271 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 17 /* 18 Ce fichier a été créé uniquement dans le but 19 de permettre à des prochaines version du plugin 20 Not Evil Ads d'effectuer des mises à jour automatiques 21 sans perte de données. 22 */ 23 24 if (!defined('DC_CONTEXT_ADMIN')) 25 exit; 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 26 17 27 18 $nea_Pversion = $core->plugins->moduleInfo('notEvilAds','version'); -
plugins/notEvilAds/_public.php
r271 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 include_once dirname(__FILE__).'/lib/class.notevilads.php'; -
plugins/notEvilAds/_widgets.php
r271 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 include_once dirname(__FILE__).'/lib/class.notevilads.php'; -
plugins/notEvilAds/forms.php
r271 r459 1 1 <?php 2 if (!defined('DC_CONTEXT_ADMIN')) { return; } 2 3 3 4 if ($fatal_error) -
plugins/notEvilAds/index.php
r271 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 try -
plugins/postMaker/trunk/_admin.php
r400 r459 19 19 # 20 20 # ***** END LICENSE BLOCK ***** 21 if (!defined('DC_CONTEXT_ADMIN')) { return; } 21 22 22 23 $__autoload['PostMakerSettings'] = dirname(__FILE__).'/PostMakerSettings.php'; -
plugins/postMaker/trunk/_define.php
r400 r459 19 19 # 20 20 # ***** END LICENSE BLOCK ***** 21 if (!defined('DC_RC_PATH')) { return; } 21 22 22 23 $this->registerModule( -
plugins/postMaker/trunk/index.php
r400 r459 19 19 # 20 20 # ***** END LICENSE BLOCK ***** 21 21 if (!defined('DC_CONTEXT_ADMIN')) { return; } 22 22 23 23 dcPage::check('usage,contentadmin'); -
plugins/previewpost/_admin.php
r361 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_CONTEXT_ADMIN')) { return; } 24 23 25 require dirname(__FILE__).'/_widgets.php'; 24 26 -
plugins/previewpost/_define.php
r361 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_RC_PATH')) { return; } 23 24 24 25 $this->registerModule( -
plugins/previewpost/_prepend.php
r361 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_RC_PATH')) { return; } 23 24 24 25 $GLOBALS['core']->url->register('preview','preview','^preview/(.+)$',array('urlPreview','post')); -
plugins/previewpost/_public.php
r361 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_RC_PATH')) { return; } 23 24 24 25 require dirname(__FILE__).'/_widgets.php'; -
plugins/previewpost/_widgets.php
r361 r459 21 21 # 22 22 # ***** END LICENSE BLOCK ***** 23 if (!defined('DC_RC_PATH')) { return; } 23 24 24 25 $core->addBehavior('initWidgets',array('previewWidgets','initWidgets')); -
plugins/remotelatex/_admin.php
r448 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $_menu['Plugins']->addItem('LaTeX','plugin.php?p=remotelatex',null, -
plugins/remotelatex/_define.php
r449 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 # WARNING : -
plugins/remotelatex/_prepend.php
r448 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $__autoload['remoteLatex'] = dirname(__FILE__).'/class.remotelatex.php'; -
plugins/remotelatex/_public.php
r448 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 # Doesn't work well at all - see ticket #243 of Dotclear's Trac -
plugins/remotelatex/forms.php
r449 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $forms = array(); -
plugins/remotelatex/index.php
r448 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 try -
plugins/retrocontrol/_define.php
r440 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $this->registerModule( -
plugins/retrocontrol/_install.php
r438 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_CONTEXT_ADMIN')) { return; } 16 17 17 18 $label = 'retrocontrol'; -
plugins/retrocontrol/_prepend.php
r438 r459 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 $__autoload['dcFilterRetrocontrol'] = dirname(__FILE__).'/class.dc.filter.retrocontrol.php'; -
plugins/showip/_define.php
r339 r459 1 <?php $this->registerModule('showip','Shows visitors IP address','Oleksandr Syenchuk','0.1','usage'); ?> 1 <?php 2 # This file is in public domain 3 4 if (!defined('DC_RC_PATH')) { return; } 5 6 $this->registerModule('showip','Shows visitors IP address','Oleksandr Syenchuk','0.1','usage'); 7 ?> -
plugins/showip/_public.php
r339 r459 1 <?php $core->tpl->addValue('UserIP',array('publicShowip','tplUserIP')); class publicShowip { public static function tplUserIP() { return '<?php echo $_SERVER[\'REMOTE_ADDR\']; ?>'; } } ?> 1 <?php 2 # This file is in public domain. 3 if (!defined('DC_RC_PATH')) { return; } 4 5 $core->tpl->addValue('UserIP',array('publicShowip','tplUserIP')); 6 7 class publicShowip 8 { 9 public static function tplUserIP() 10 { 11 return '<?php echo $_SERVER[\'REMOTE_ADDR\']; ?>'; 12 } 13 } 14 ?> -
plugins/simpleWebsite/trunk/_admin.php
r372 r459 19 19 # 20 20 # ***** END LICENSE BLOCK ***** 21 if (!defined('DC_CONTEXT_ADMIN')) { return; } 21 22 22 23 $core->addBehavior('adminPostFormSidebar',array('SimpleWebsite','displayForm')); -
plugins/simpleWebsite/trunk/_define.php
r372 r459 19 19 # 20 20 # ***** END LICENSE BLOCK ***** 21 if (!defined('DC_RC_PATH')) { return; } 21 22 22 23 $this->registerModule( -
plugins/simpleWebsite/trunk/_public.php
r372 r459 19 19 # 20 20 # ***** END LICENSE BLOCK ***** 21 if (!defined('DC_RC_PATH')) { return; } 21 22 22 23 require_once($core->plugins->moduleRoot("simpleWebsite")."/tools.php"); -
plugins/simpleWebsite/trunk/define_urls.php
r370 r459 19 19 # 20 20 # ***** END LICENSE BLOCK ***** 21 if (!defined('DC_RC_PATH')) { return; } 21 22 22 23 define('SIMPLEWEBSITE_SECTION', 'section'); -
plugins/simpleWebsite/trunk/tools.php
r372 r459 19 19 # 20 20 # ***** END LICENSE BLOCK ***** 21 if (!defined('DC_RC_PATH')) { return; } 21 22 22 23 require_once($core->plugins->moduleRoot("simpleWebsite")."/define_urls.php"); -
plugins/subscribeToComments/_admin.php
r420 r459 23 23 # 24 24 # ***** END LICENSE BLOCK ***** 25 if (!defined('DC_CONTEXT_ADMIN')) { return; } 25 26 26 27 $_menu['Plugins']->addItem(__('Subscribe to comments'), -
plugins/subscribeToComments/_define.php
r454 r459 23 23 # 24 24 # ***** END LICENSE BLOCK ***** 25 25 if (!defined('DC_RC_PATH')) { return; } 26 26 27 27 $this->registerModule( -
plugins/subscribeToComments/_install.php
r452 r459 23 23 # 24 24 # ***** END LICENSE BLOCK ***** 25 if (!defined('DC_CONTEXT_ADMIN')) { return; } 25 26 26 27 # On lit la version du plugin -
plugins/subscribeToComments/_public.php
r454 r459 23 23 # 24 24 # ***** END LICENSE BLOCK ***** 25 if (!defined('DC_RC_PATH')) { return; } 25 26 26 27 function subscribeToCommentsIsActive($attr,$content) -
plugins/subscribeToComments/default_settings.php
r453 r459 1 1 <?php 2 if (!defined('DC_RC_PATH')) { return; } 2 3 3 4 $settings = new dcSettings($core,$core->blog->id); -
plugins/subscribeToComments/index.php
r453 r459 23 23 # 24 24 # ***** END LICENSE BLOCK ***** 25 26 if (!defined('DC_CONTEXT_ADMIN')) { exit; } 25 if (!defined('DC_CONTEXT_ADMIN')) { return; } 27 26 28 27 # format tables' tbody -
plugins/templateWidget/trunk/_admin.php
r379 r459 19 19 # 20 20 # ***** END LICENSE BLOCK ***** 21 if (!defined('DC_CONTEXT_ADMIN')) { return; } 21 22 22 23 $core->addBehavior('initWidgets',array('templateWidgetAdmin','InitWidgets')); -
plugins/templateWidget/trunk/_define.php
r379 r459 19 19 # 20 20 # ***** END LICENSE BLOCK ***** 21 if (!defined('DC_RC_PATH')) { return; } 21 22 22 23 $this->registerModule( -
plugins/templateWidget/trunk/_public.php
r379 r459 19 19 # 20 20 # ***** END LICENSE BLOCK ***** 21 if (!defined('DC_RC_PATH')) { return; } 21 22 22 23 $core->tpl->addBlock('WidgetName',array('templateWidgetBlocksAndValues','Name'));
Note: See TracChangeset
for help on using the changeset viewer.