コード例 #1
0
ファイル: download_shortcodes.php プロジェクト: notzen/e107
 * Released under the terms and conditions of the
 * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
 *
 *
 *
 * $Source: /cvs_backup/e107_0.8/e107_plugins/download/download_shortcodes.php,v $
 * $Revision$
 * $Date$
 * $Author$
 */
if (!defined('e107_INIT')) {
    exit;
}
require_once e_HANDLER . 'shortcode_handler.php';
register_shortcode('download_shortcodes', true);
initShortcodeClass('download_shortcodes');
/**
 * download_shortcodes
 */
class download_shortcodes
{
    var $e107;
    var $postInfo;
    /**
     * download_shortcodes constructor
     */
    function download_shortcodes()
    {
        $this->e107 = e107::getInstance();
        $this->postInfo = array();
    }
コード例 #2
0
ファイル: online_shortcodes.php プロジェクト: armpit/e107
/*
 * e107 website system
 *
 * Copyright (C) 2008-2013 e107 Inc (e107.org)
 * Released under the terms and conditions of the
 * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
 *
 * Online shortcodes
 *
*/
if (!defined('e107_INIT')) {
    exit;
}
register_shortcode('online_shortcodes', true);
initShortcodeClass('online_shortcodes');
class online_shortcodes
{
    protected $e107;
    public $memberInfo = array();
    // Site stats
    public $currentMember = array('oid' => '0', 'oname' => '??', 'page' => 'lost');
    public $currentUser = array();
    // Information about current user (for last seen)
    public $onlineMembersList = '';
    protected $gen;
    public function __construct()
    {
        $this->e107 = e107::getInstance();
        $this->memberInfo = e107::getConfig('history');
        $this->gen = e107::getDateConvert();
コード例 #3
0
ファイル: pm_shortcodes.php プロジェクト: notzen/e107
 */
/**
 *	e107 Private messenger plugin
 *
 *	@package	e107_plugins
 *	@subpackage	pm
 *	@version 	$Id$;
 */
// Note: all shortcodes now begin with 'PM', so some changes from previous versions
if (!defined('e107_INIT')) {
    exit;
}
include_lan(e_PLUGIN . 'pm/languages/' . e_LANGUAGE . '.php');
include_once e_PLUGIN . 'pm/pm_func.php';
register_shortcode('pm_handler_shortcodes', true);
initShortcodeClass('pm_handler_shortcodes');
/*
PM_FORM_TOUSER	- displays user entry box and selector
PM_FORM_TOCLASS - displays user class selector (when allowed)
PM_FORM_SUBJECT	- displays subject of current PM
PM_FORM_MESSAGE - displays message of current PM
PM_EMOTES
PM_POST_BUTTON
PM_PREVIEW_BUTTON
PM_ATTACHMENT
PM_ATTACHMENT_ICON
PM_ATTACHMENTS
PM_RECEIPT
PM_INBOX_TOTAL
PM_INBOX_UNREAD
PM_INBOX_FILLED