Dotclear

source: plugins/dcLibFoursquare/_admin.php @ 2955

Revision 2955, 762 bytes checked in by JcDenis, 2 years ago (diff)

dcLibFoursquare 0.2-alpha2

  • First public release of Foursquare libraries for Dotclear
  • Added support of plugin soCialMe
Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3# This file is part of dcLibFoursquare, a plugin for Dotclear 2.
4#
5# Copyright (c) 2009-2011 JC Denis and contributors
6# jcdenis@gdwd.com
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
13if (!defined('DC_CONTEXT_ADMIN')){return;}
14
15# Plugin menu
16$_menu['System']->addItem(
17     __('API Foursquare'),
18     'plugin.php?p=dcLibFoursquare','index.php?pf=dcLibFoursquare/icon.png',
19     preg_match('/plugin.php\?p=dcLibFoursquare(&.*)?$/',$_SERVER['REQUEST_URI']),
20     $core->auth->check('admin',$core->blog->id)
21);
22?>
Note: See TracBrowser for help on using the repository browser.

Sites map