| 12345678910111213141516171819202122232425262728 |
- <?php
- /**
- * Copyright (c) UNA, Inc - https://una.io
- * MIT License - https://opensource.org/licenses/MIT
- *
- * @defgroup UnaCore UNA Core
- * @{
- */
- require_once('./inc/header.inc.php');
- require_once(BX_DIRECTORY_PATH_INC . "design.inc.php");
- bx_import('BxDolLanguages');
- check_logged();
- $sAction = isset($_REQUEST['action']) && preg_match ('/^[A-Za-z_-]+$/', $_REQUEST['action']) ? bx_process_input($_REQUEST['action']) : '';
- $oLabel = BxDolLabel::getInstance();
- if($oLabel && $sAction) {
- header('Content-Type: text/html; charset=utf-8');
- $sMethod = 'action' . bx_gen_method_name($sAction);
- if(method_exists($oLabel, $sMethod))
- echo $oLabel->$sMethod();
- }
- /** @} */
|