コード例 #1
0
ファイル: about.php プロジェクト: geekwright/dummy
<?php

/*
You may not change or alter any portion of this comment or credits
of supporting developers from this source code or any supporting source code
which is considered copyrighted (c) material of the original comment or credit authors.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
use Xmf\Module\Admin;
/**
 * @copyright       The XOOPS Project http://sourceforge.net/projects/xoops/
 * @license         GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
 * @author          Richard Griffith <*****@*****.**>
 * @version         $Id: about.php 8065 2011-11-06 02:02:32Z beckmi $
 */
require __DIR__ . '/admin_header.php';
$aboutAdmin = Admin::getInstance();
$aboutAdmin->displayNavigation('about.php');
$aboutAdmin->displayAbout(false);
require __DIR__ . '/admin_footer.php';
コード例 #2
0
ファイル: menu.php プロジェクト: ming-hai/XoopsCore
<?php

/*
You may not change or alter any portion of this comment or credits
of supporting developers from this source code or any supporting source code
which is considered copyrighted (c) material of the original comment or credit authors.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
/**
 * @copyright       XOOPS Project (http://xoops.org)
 * @license         GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
 * @version         $Id: menu.php 8065 2011-11-06 02:02:32Z beckmi $
 */
// get path to icons
$pathIcon32 = '';
if (class_exists('Xmf\\Module\\Admin', true)) {
    $pathIcon32 = \Xmf\Module\Admin::menuIconPath('');
}
$adminmenu = array();
// Index
$adminmenu[] = array('title' => _MI_USERCONFIGS_ADMENU1, 'link' => 'admin/index.php', 'icon' => $pathIcon32 . 'home.png');
// About
$adminmenu[] = array('title' => _MI_USERCONFIGS_ADMENU2, 'link' => 'admin/about.php', 'icon' => $pathIcon32 . 'about.png');
コード例 #3
0
ファイル: index.php プロジェクト: geekwright/dummy
<?php

/*
You may not change or alter any portion of this comment or credits
of supporting developers from this source code or any supporting source code
which is considered copyrighted (c) material of the original comment or credit authors.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
use Xmf\Module\Admin;
/**
 * @copyright       The XOOPS Project http://sourceforge.net/projects/xoops/
 * @license         GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
 * @author          Richard Griffith <*****@*****.**>
 * @version         $Id: about.php 8065 2011-11-06 02:02:32Z beckmi $
 */
require __DIR__ . '/admin_header.php';
$indexAdmin = Admin::getInstance();
$indexAdmin->displayNavigation('index.php');
Admin::checkModuleVersion('xmf', 100);
$indexAdmin->displayIndex();
require __DIR__ . '/admin_footer.php';