19 defined(
'XOOPS_ROOT_PATH') or die('Restricted access');
28 $GLOBALS[
'xoopsLogger']->addDeprecated(
"Function " . __FUNCTION__ .
"() is deprecated, use xoops_loadLanguage() instead");
34 $GLOBALS[
'xoopsLogger']->addDeprecated(
"Function " . __FUNCTION__ .
"() is deprecated, use xoopsSecurity::checkReferer instead");
35 return $GLOBALS[
'xoopsSecurity']->checkReferer($docheck);
40 $GLOBALS[
'xoopsLogger']->addDeprecated(
"Function " . __FUNCTION__ .
"() is deprecated, use XoopsUserUtility::getUnameFromId() instead");
50 $GLOBALS[
'xoopsLogger']->addDeprecated(
"Function " . __FUNCTION__ .
"() is deprecated, use xoops_getbanner instead");
59 $GLOBALS[
'xoopsLogger']->addDeprecated(
"Function " . __FUNCTION__ .
"() is deprecated, use \$xoopsConfig['theme_set'] directly");
60 return $GLOBALS[
'xoopsConfig'][
'theme_set'];
69 $GLOBALS[
'xoopsLogger']->addDeprecated(
"Function " . __FUNCTION__ .
"() is deprecated, use xoops_getcss instead");
75 $GLOBALS[
'xoopsLogger']->addDeprecated(
"Function " . __FUNCTION__ .
"() is deprecated, use xoops_getMailer instead");
85 $GLOBALS[
'xoopsLogger']->addDeprecated(
"Function " . __FUNCTION__ .
"() is deprecated");
86 echo
"<div id='waitDiv' style='position:absolute;left:40%;top:50%;visibility:hidden;text-align: center;'>
87 <table cellpadding='6' border='2' class='bg2'>
89 <td align='center'><strong><big>" .
_FETCHING .
"</big></strong><br /><img src='" . XOOPS_URL .
"/images/await.gif' alt='' /><br />" .
_PLEASEWAIT .
"</td>
93 <script type='text/javascript'>
95 var DHTML = (document.getElementById || document.all || document.layers);
96 function ap_getObj(name) {
97 if (document.getElementById) {
98 return document.getElementById(name).style;
99 } else if (document.all) {
100 return document.all[name].style;
101 } else if (document.layers) {
102 return document.layers[name];
105 function ap_showWaitMessage(div,flag) {
109 var x = ap_getObj(div);
110 x.visibility = (flag) ? 'visible' : 'hidden';
111 if (!document.getElementById) {
112 if (document.layers) {
118 ap_showWaitMessage('waitDiv', 1);
125 $GLOBALS[
'xoopsLogger']->addDeprecated(
"Function " . __FUNCTION__ .
"() is deprecated");
126 echo
"<script type='text/javascript'>
128 ap_showWaitMessage('waitDiv', 0);