XOOPS  2.6.0
index.php
Go to the documentation of this file.
1 <?php
2 /*
3  You may not change or alter any portion of this comment or credits
4  of supporting developers from this source code or any supporting source code
5  which is considered copyrighted (c) material of the original comment or credit authors.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 */
11 
22 include __DIR__ . '/header.php';
23 
24 $xoops->header();
25 // folder path
26 $folder_path = \XoopsBaseConfig::get('root-path') . '/uploads/images';
27 
28 $admin_page = new \Xoops\Module\Admin();
29 $admin_page->displayNavigation('index.php');
30 
31 $admin_page->addInfoBox(_MI_IMAGES_IMAGES);
32 $admin_page->addInfoBoxLine(sprintf(_AM_IMAGES_NBCAT, $helper->getHandlerCategories()->getCount()));
33 $admin_page->addInfoBoxLine(sprintf(_AM_IMAGES_NBIMAGES, $helper->getHandlerImages()->getCount()));
34 
35 $admin_page->addConfigBoxLine($folder_path, 'folder');
36 $admin_page->addConfigBoxLine(array($folder_path, '777'), 'chmod');
37 $admin_page->addConfigBoxLine('thumbnail', 'service');
38 
39 $admin_page->displayIndex();
40 
41 $xoops->footer();
$folder_path
Definition: index.php:54
const _AM_IMAGES_NBCAT
Definition: admin.php:22
const _AM_IMAGES_NBIMAGES
Definition: admin.php:23
const _MI_IMAGES_IMAGES
Definition: modinfo.php:27
static get($name)
$helper
Definition: index.php:25
$admin_page
Definition: index.php:56
if(file_exists($mainfile)) elseif(file_exists(__DIR__. '/install/index.php')) $xoops
Definition: index.php:36