From: <rgr...@us...> - 2014-11-12 18:40:22
|
Revision: 12843 http://sourceforge.net/p/xoops/svn/12843 Author: rgriffith Date: 2014-11-12 18:40:18 +0000 (Wed, 12 Nov 2014) Log Message: ----------- Some code cleanup for private messages Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/pmlite.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/readpmsg.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/viewpmsg.php XoopsCore/branches/2.5.x/2.5.8/htdocs/pmlite.php XoopsCore/branches/2.5.x/2.5.8/htdocs/readpmsg.php XoopsCore/branches/2.5.x/2.5.8/htdocs/viewpmsg.php Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/pmlite.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/pmlite.php 2014-11-12 18:38:49 UTC (rev 12842) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/pmlite.php 2014-11-12 18:40:18 UTC (rev 12843) @@ -25,21 +25,27 @@ xoops_loadLanguage('main', 'pm'); } -$reply = !empty($_GET['reply']) ? 1 : 0; -$send = !empty($_GET['send']) ? 1 : 0; -$send2 = !empty($_GET['send2']) ? 1 : 0; -$sendmod = !empty($_POST['sendmod']) ? 1 : 0; // send from other modules with post data -$to_userid = isset($_GET['to_userid']) ? intval($_GET['to_userid']) : 0; -$msg_id = isset($_GET['msg_id']) ? intval($_GET['msg_id']) : 0; +XoopsLoad::load('XoopsRequest'); -if (empty($_GET['refresh']) && isset($_POST['op']) && $_POST['op'] != "submit") { +$subject_icons = XoopsLists::getSubjectsList(); + +$op = XoopsRequest::getCmd('op', '', 'POST'); + +$reply = XoopsRequest::getBool('reply', 0, 'GET'); +$send = XoopsRequest::getBool('send', 0, 'GET'); +$send2 = XoopsRequest::getBool('send2', 0, 'GET'); +$sendmod = XoopsRequest::getBool('sendmod', 0, 'POST'); // send from other modules with post data +$to_userid = XoopsRequest::getInt('to_userid', 0, 'GET'); +$msg_id = XoopsRequest::getInt('msg_id', 0, 'GET'); + +if (empty($_GET['refresh']) && $op != "submit") { $jump = "pmlite.php?refresh=" . time(); if ($send == 1) { - $jump .= "&send={$send}"; - } else if ($send2 == 1) { - $jump .= "&send2={$send2}&to_userid={$to_userid}"; - } else if ($reply == 1) { - $jump .= "&reply={$reply}&msg_id={$msg_id}"; + $jump .= "&send={$send}"; + } elseif ($send2 == 1) { + $jump .= "&send2={$send2}&to_userid={$to_userid}"; + } elseif ($reply == 1) { + $jump .= "&reply={$reply}&msg_id={$msg_id}"; } else { } header('location: ' . $jump); @@ -53,28 +59,26 @@ xoops_header(); $myts =& MyTextSanitizer::getInstance(); -if (isset($_POST['op']) && $_POST['op'] == "submit") { +if ($op == "submit") { $member_handler =& xoops_gethandler('member'); - $count = $member_handler->getUserCount(new Criteria('uid', intval($_POST['to_userid']))); + $count = $member_handler->getUserCount(new Criteria('uid', XoopsRequest::getInt('to_userid', 0, 'POST'))); if ($count != 1) { echo "<br /><br /><div><h4>"._PM_USERNOEXIST."<br />"; echo _PM_PLZTRYAGAIN."</h4><br />"; echo "[ <a href='javascript:history.go(-1)'>"._PM_GOBACK."</a> ]</div>"; - } else if ($GLOBALS['xoopsSecurity']->check()) { + } elseif ($GLOBALS['xoopsSecurity']->check()) { $pm_handler =& xoops_getModuleHandler('message', 'pm'); $pm =& $pm_handler->create(); $pm->setVar("msg_time", time()); -//------------------ mamba -if (isset($_POST['icon'])) { - $pm->setVar("msg_image", $_POST['icon']); + $msg_image = XoopsRequest::getCmd('icon', null, 'POST'); + if (in_array($msg_image, $subject_icons)) { + $pm->setVar("msg_image", $msg_image); } - //else $pm->setVar("msg_image", 'icon1.gif'); -//----------------- mamba - $pm->setVar("subject", $_POST['subject']); - $pm->setVar("msg_text", $_POST['message']); - $pm->setVar("to_userid", $_POST['to_userid']); + $pm->setVar("subject", XoopsRequest::getString('subject', null, 'POST')); + $pm->setVar("msg_text", XoopsRequest::getString('message', null, 'POST')); + $pm->setVar("to_userid", XoopsRequest::getInt('to_userid', 0, 'POST')); $pm->setVar("from_userid", $GLOBALS['xoopsUser']->getVar("uid")); - if (isset($_REQUEST['savecopy']) && $_REQUEST['savecopy'] == 1) { + if (XoopsRequest::getBool('savecopy', 0)) { //PMs are by default not saved in outbox $pm->setVar('from_delete', 0); } @@ -91,14 +95,14 @@ echo "<br /><a href=\"javascript:window.close();\">"._PM_ORCLOSEWINDOW."</a>"; } -} else if ($reply == 1 || $send == 1 || $send2 == 1 || $sendmod == 1) { +} elseif ($reply == 1 || $send == 1 || $send2 == 1 || $sendmod == 1) { if ($reply == 1) { $pm_handler =& xoops_getModuleHandler('message', 'pm'); $pm =& $pm_handler->get($msg_id); if ($pm->getVar("to_userid") == $GLOBALS['xoopsUser']->getVar('uid')) { $pm_uname = XoopsUser::getUnameFromId($pm->getVar("from_userid")); $message = "[quote]\n"; - $message .= sprintf(_PM_USERWROTE , $pm_uname); + $message .= sprintf(_PM_USERWROTE, $pm_uname); $message .= "\n" . $pm->getVar("msg_text", "E") . "\n[/quote]"; } else { unset($pm); @@ -118,11 +122,11 @@ } $GLOBALS['xoopsTpl']->assign('to_username', $pm_uname); $pmform->addElement(new XoopsFormHidden('to_userid', $pm->getVar("from_userid"))); - } else if ($sendmod == 1) { - $GLOBALS['xoopsTpl']->assign('to_username', XoopsUser::getUnameFromId($_POST["to_userid"])); - $pmform->addElement(new XoopsFormHidden('to_userid', intval($_POST["to_userid"]))); - $subject = $myts->htmlSpecialChars($myts->stripSlashesGPC($_POST['subject'])); - $message = $myts->htmlSpecialChars($myts->stripSlashesGPC($_POST['message'])); + } elseif ($sendmod == 1) { + $GLOBALS['xoopsTpl']->assign('to_username', XoopsUser::getUnameFromId(XoopsRequest::getInt("to_userid", 0, 'POST'))); + $pmform->addElement(new XoopsFormHidden('to_userid', XoopsRequest::getInt("to_userid", 0, 'POST'))); + $subject = $myts->htmlSpecialChars(XoopsRequest::getString('subject', '', 'POST')); + $message = $myts->htmlSpecialChars(XoopsRequest::getString('message', '', 'POST')); } else { if ($send2 == 1) { $GLOBALS['xoopsTpl']->assign('to_username', XoopsUser::getUnameFromId($to_userid, false)); @@ -136,19 +140,11 @@ } $pmform->addElement(new XoopsFormText('', 'subject', 30, 100, $subject), true); -//----------------------------- mamba - $msg_image=''; - $icons_radio = new XoopsFormRadio(_MESSAGEICON, 'msg_image', $msg_image); - $subject_icons = XoopsLists::getSubjectsList(); - // foreach ($subject_icons as $iconfile) { - // $icons_radio->addOption($iconfile, '<img src="' . XOOPS_URL . '/images/subject/' . $iconfile . '" alt="" />'); - // } - // $pmform->addElement($icons_radio, true); + $msg_image=''; + $icons_radio = new XoopsFormRadio(_MESSAGEICON, 'msg_image', $msg_image); + //$subject_icons = XoopsLists::getSubjectsList(); + $xoopsTpl->assign('radio_icons', $subject_icons); - $xoopsTpl->assign('radio_icons', $subject_icons); -//------------------------------- mamba - - $pmform->addElement(new XoopsFormDhtmlTextArea('', 'message', $message, 8, 37), true); $pmform->addElement(new XoopsFormRadioYN('', 'savecopy', 0)); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/readpmsg.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/readpmsg.php 2014-11-12 18:38:49 UTC (rev 12842) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/readpmsg.php 2014-11-12 18:40:18 UTC (rev 12843) @@ -36,12 +36,12 @@ if (is_object($pm) && ($pm->getVar('from_userid') != $GLOBALS['xoopsUser']->getVar('uid')) && ($pm->getVar('to_userid') != $GLOBALS['xoopsUser']->getVar('uid')) -){ +) { redirect_header(XOOPS_URL . '/modules/' . $GLOBALS['xoopsModule']->getVar("dirname", "n") . '/index.php', 2, _NOPERM); exit(); } -if (is_object($pm) && !empty($_POST['action']) ) { +if (is_object($pm) && !empty($_POST['action'])) { if (!$GLOBALS['xoopsSecurity']->check()) { echo implode('<br />', $GLOBALS['xoopsSecurity']->getErrors()); exit(); @@ -49,7 +49,7 @@ $res = false; if (!empty($_REQUEST['email_message'])) { $res = $pm_handler->sendEmail($pm, $GLOBALS['xoopsUser']); - } else if (!empty($_REQUEST['move_message']) + } elseif (!empty($_REQUEST['move_message']) && $_REQUEST['op'] != 'save' && !$GLOBALS['xoopsUser']->isAdmin() && $pm_handler->getSavecount() >= $GLOBALS['xoopsModuleConfig']['max_save'] @@ -58,10 +58,12 @@ } else { switch ($_REQUEST['op']) { case 'out': - if ($pm->getVar('from_userid') != $GLOBALS['xoopsUser']->getVar('uid')) break; + if ($pm->getVar('from_userid') != $GLOBALS['xoopsUser']->getVar('uid')) { + break; + } if (!empty($_REQUEST['delete_message'])) { $res = $pm_handler->setFromdelete($pm); - } else if (!empty($_REQUEST['move_message'])) { + } elseif (!empty($_REQUEST['move_message'])) { $res = $pm_handler->setFromsave($pm); } break; @@ -70,7 +72,7 @@ if (!empty($_REQUEST['delete_message'])) { $res1 = $pm_handler->setTodelete($pm); $res1 = ($res1) ? $pm_handler->setTosave($pm, 0) : false; - } else if (!empty($_REQUEST['move_message'])) { + } elseif (!empty($_REQUEST['move_message'])) { $res1 = $pm_handler->setTosave($pm, 0); } } @@ -78,7 +80,7 @@ if (!empty($_REQUEST['delete_message'])) { $res2 = $pm_handler->setFromDelete($pm); $res2 = ($res2) ? $pm_handler->setFromsave($pm, 0) : false; - } else if (!empty($_REQUEST['move_message'])) { + } elseif (!empty($_REQUEST['move_message'])) { $res2 = $pm_handler->setFromsave($pm, 0); } } @@ -92,14 +94,14 @@ } if (!empty($_REQUEST['delete_message'])) { $res = $pm_handler->setTodelete($pm); - } else if (!empty($_REQUEST['move_message'])) { + } elseif (!empty($_REQUEST['move_message'])) { $res = $pm_handler->setTosave($pm); } break; } } $res_message = isset($res_message) ? $res_message : (($res) ? _PM_ACTION_DONE : _PM_ACTION_ERROR); - redirect_header('viewpmsg.php?op=' . htmlspecialchars($_REQUEST['op'] ) , 2, $res_message); + redirect_header('viewpmsg.php?op=' . htmlspecialchars($_REQUEST['op']), 2, $res_message); } $start = !empty($_GET['start']) ? intval($_GET['start']) : 0; $total_messages = !empty($_GET['total_messages']) ? intval($_GET['total_messages']) : 0; @@ -111,10 +113,10 @@ $criteria = new CriteriaCompo(new Criteria('from_delete', 0)); $criteria->add(new Criteria('from_userid', $GLOBALS['xoopsUser']->getVar('uid'))); $criteria->add(new Criteria('from_save', 0)); - } else if ($_REQUEST['op'] == "save") { + } elseif ($_REQUEST['op'] == "save") { $crit_to = new CriteriaCompo(new Criteria('to_delete', 0)); $crit_to->add(new Criteria('to_save', 1)); - $crit_to->add(new Criteria('to_userid',$GLOBALS['xoopsUser']->getVar('uid'))); + $crit_to->add(new Criteria('to_userid', $GLOBALS['xoopsUser']->getVar('uid'))); $crit_from = new CriteriaCompo(new Criteria('from_delete', 0)); $crit_from->add(new Criteria('from_save', 1)); $crit_from->add(new Criteria('from_userid', $GLOBALS['xoopsUser']->getVar('uid'))); @@ -139,7 +141,7 @@ if (is_object($pm) && !empty($pm)) { if ($pm->getVar('from_userid') != $GLOBALS['xoopsUser']->getVar('uid')) { $reply_button = new XoopsFormButton('', 'send', _PM_REPLY); - $reply_button->setExtra("onclick='javascript:openWithSelfMain(\"" . XOOPS_URL . "/modules/pm/pmlite.php?reply=1&msg_id=".$pm->getVar("msg_id")."\", \"pmlite\", 565,500);'"); + $reply_button->setExtra("onclick='javascript:openWithSelfMain(\"" . XOOPS_URL . "/modules/pm/pmlite.php?reply=1&msg_id=".$pm->getVar("msg_id")."\", \"pmlite\", 565,500);'"); $pmform->addElement($reply_button); } $pmform->addElement(new XoopsFormButton('', 'delete_message', _PM_DELETE, 'submit')); @@ -168,6 +170,7 @@ $message = $pm->getValues(); $message['msg_time'] = formatTimestamp($pm->getVar("msg_time")); + $message['msg_image'] = htmlspecialchars($message['msg_image'], ENT_QUOTES); } $GLOBALS['xoopsTpl']->assign('message', $message); $GLOBALS['xoopsTpl']->assign('op', $_REQUEST['op']); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/viewpmsg.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/viewpmsg.php 2014-11-12 18:38:49 UTC (rev 12842) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/viewpmsg.php 2014-11-12 18:40:18 UTC (rev 12843) @@ -37,7 +37,7 @@ if (isset($_POST['delete_messages']) && (isset($_POST['msg_id']) || isset($_POST['msg_ids']))) { if (!$GLOBALS['xoopsSecurity']->check()) { $GLOBALS['xoopsTpl']->assign('errormsg', implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); - } else if (empty($_REQUEST['ok'])) { + } elseif (empty($_REQUEST['ok'])) { xoops_confirm(array('ok' => 1, 'delete_messages' => 1, 'op' => $_REQUEST['op'], 'msg_ids'=> json_encode(array_map("intval", $_POST['msg_id']))), $_SERVER['REQUEST_URI'], _PM_SURE_TO_DELETE); include $GLOBALS['xoops']->path('footer.php'); exit(); @@ -52,7 +52,7 @@ $pm =& $pm_handler->get($msg[$i]); if ($pm->getVar('to_userid') == $GLOBALS['xoopsUser']->getVar('uid')) { $pm_handler->setTodelete($pm); - } else if ($pm->getVar('from_userid') == $GLOBALS['xoopsUser']->getVar('uid')) { + } elseif ($pm->getVar('from_userid') == $GLOBALS['xoopsUser']->getVar('uid')) { $pm_handler->setFromdelete($pm); } unset($pm); @@ -63,7 +63,7 @@ if (isset($_POST['move_messages']) && isset($_POST['msg_id'])) { if (!$GLOBALS['xoopsSecurity']->check()) { $GLOBALS['xoopsTpl']->assign('errormsg', implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); - } else{ + } else { $size = count($_POST['msg_id']); $msg = $_POST['msg_id']; if ($_POST['op'] == 'save') { @@ -71,7 +71,7 @@ $pm =& $pm_handler->get($msg[$i]); if ($pm->getVar('to_userid') == $GLOBALS['xoopsUser']->getVar('uid')) { $pm_handler->setTosave($pm, 0); - } else if ($pm->getVar('from_userid') == $GLOBALS['xoopsUser']->getVar('uid')) { + } elseif ($pm->getVar('from_userid') == $GLOBALS['xoopsUser']->getVar('uid')) { $pm_handler->setFromsave($pm, 0); } unset($pm); @@ -85,7 +85,7 @@ $pm =& $pm_handler->get($msg[$i]); if ($_POST['op']=='in') { $pm_handler->setTosave($pm); - } else if ($_POST['op'] == 'out') { + } elseif ($_POST['op'] == 'out') { $pm_handler->setFromsave($pm); } unset($pm); @@ -93,7 +93,7 @@ } if ($_POST['op'] == 'save') { $GLOBALS['xoopsTpl']->assign('msg', _PM_UNSAVED); - } else if (isset($total_save) && !$GLOBALS['xoopsUser']->isAdmin()) { + } elseif (isset($total_save) && !$GLOBALS['xoopsUser']->isAdmin()) { $GLOBALS['xoopsTpl']->assign('msg', sprintf(_PM_SAVED_PART, $GLOBALS['xoopsModuleConfig']['max_save'], $i)); } else { $GLOBALS['xoopsTpl']->assign('msg', _PM_SAVED_ALL); @@ -103,25 +103,25 @@ if (isset($_REQUEST['empty_messages'])) { if (!$GLOBALS['xoopsSecurity']->check()) { $GLOBALS['xoopsTpl']->assign('errormsg', implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); - } else if (empty($_REQUEST['ok'])) { + } elseif (empty($_REQUEST['ok'])) { xoops_confirm(array('ok' => 1, 'empty_messages' => 1, 'op' => $_REQUEST['op']), $_SERVER['REQUEST_URI'], _PM_RUSUREEMPTY); include $GLOBALS['xoops']->path('footer.php'); exit(); } else { if ($_POST['op'] == 'save') { $crit_to = new CriteriaCompo(new Criteria('to_delete', 0)); - $crit_to->add(new Criteria('to_save',1)); - $crit_to->add(new Criteria('to_userid',$GLOBALS['xoopsUser']->getVar('uid'))); + $crit_to->add(new Criteria('to_save', 1)); + $crit_to->add(new Criteria('to_userid', $GLOBALS['xoopsUser']->getVar('uid'))); $crit_from = new CriteriaCompo(new Criteria('from_delete', 0)); $crit_from->add(new Criteria('from_save', 1)); - $crit_from->add(new Criteria('from_userid',$GLOBALS['xoopsUser']->getVar('uid'))); + $crit_from->add(new Criteria('from_userid', $GLOBALS['xoopsUser']->getVar('uid'))); $criteria = new CriteriaCompo($crit_to); $criteria->add($crit_from, "OR"); - } else if ($_POST['op'] == 'out') { + } elseif ($_POST['op'] == 'out') { $criteria = new CriteriaCompo(new Criteria('from_delete', 0)); $criteria->add(new Criteria('from_userid', $GLOBALS['xoopsUser']->getVar('uid'))); $criteria->add(new Criteria('from_save', 0)); - } else{ + } else { $criteria = new CriteriaCompo(new Criteria('to_delete', 0)); $criteria->add(new Criteria('to_userid', $GLOBALS['xoopsUser']->getVar('uid'))); $criteria->add(new Criteria('to_save', 0)); @@ -137,14 +137,14 @@ if ($pms[$i]->getVar('to_userid') == $GLOBALS['xoopsUser']->getVar('uid')) { if ($_POST['op'] == 'save') { $pm_handler->setTosave($pms[$i], 0); - } else if ($_POST['op'] == 'in') { + } elseif ($_POST['op'] == 'in') { $pm_handler->setTodelete($pms[$i]); } } if ($pms[$i]->getVar('from_userid') == $GLOBALS['xoopsUser']->getVar('uid')) { if ($_POST['op']=='save') { - $pm_handler->setFromsave($pms[$i],0); - } else if ($_POST['op']=='out') { + $pm_handler->setFromsave($pms[$i], 0); + } elseif ($_POST['op']=='out') { $pm_handler->setFromdelete($pms[$i]); } } @@ -158,7 +158,7 @@ $criteria = new CriteriaCompo(new Criteria('from_delete', 0)); $criteria->add(new Criteria('from_userid', $GLOBALS['xoopsUser']->getVar('uid'))); $criteria->add(new Criteria('from_save', 0)); -} else if ($_REQUEST['op'] == "save") { +} elseif ($_REQUEST['op'] == "save") { $crit_to = new CriteriaCompo(new Criteria('to_delete', 0)); $crit_to->add(new Criteria('to_save', 1)); $crit_to->add(new Criteria('to_userid', $GLOBALS['xoopsUser']->getVar('uid'))); @@ -200,9 +200,10 @@ } } $member_handler =& xoops_gethandler('member'); - $senders = $member_handler->getUserList(new Criteria('uid', "(" . implode(", ", array_unique($uids) ) . ")", "IN")); + $senders = $member_handler->getUserList(new Criteria('uid', "(" . implode(", ", array_unique($uids)) . ")", "IN")); foreach (array_keys($pm_arr) as $i) { $message = $pm_arr[$i]; + $message['msg_image'] = htmlspecialchars($message['msg_image'], ENT_QUOTES); $message['msg_time'] = formatTimestamp($message["msg_time"]); if (isset($_REQUEST['op']) && $_REQUEST['op'] == "out") { $message['postername'] = $senders[$pm_arr[$i]['to_userid']]; Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/pmlite.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/pmlite.php 2014-11-12 18:38:49 UTC (rev 12842) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/pmlite.php 2014-11-12 18:40:18 UTC (rev 12843) @@ -21,27 +21,27 @@ $xoopsPreload->triggerEvent('core.pmlite.start'); xoops_loadLanguage('pmsg'); +XoopsLoad::load('XoopsRequest'); - -//------------------------------ mamba include $GLOBALS['xoops']->path('class/xoopsformloader.php'); $icon=''; $icons_radio = new XoopsFormRadio(_MESSAGEICON, 'icon', $icon); $subject_icons = XoopsLists::getSubjectsList(); -//------------------------------- mamba -$reply = !empty($_GET['reply']) ? 1 : 0; -$send = !empty($_GET['send']) ? 1 : 0; -$send2 = !empty($_GET['send2']) ? 1 : 0; -$to_userid = !empty($_GET['to_userid']) ? intval($_GET['to_userid']) : 0; -$msg_id = !empty($_GET['msg_id']) ? intval($_GET['msg_id']) : 0; -if (empty($_GET['refresh']) && isset($_POST['op']) && $_POST['op'] != "submit") { +$op = XoopsRequest::getCmd('op', '', 'POST'); + +$reply = XoopsRequest::getBool('reply', 0, 'GET'); +$send = XoopsRequest::getBool('send', 0, 'GET'); +$send2 = XoopsRequest::getBool('send2', 0, 'GET'); +$to_userid = XoopsRequest::getInt('to_userid', 0, 'GET'); +$msg_id = XoopsRequest::getInt('msg_id', 0, 'GET'); +if (empty($_GET['refresh']) && $op != "submit") { $jump = "pmlite.php?refresh=" . time() . ""; if ($send == 1) { $jump .= "&send=" . $send . ""; - } else if ($send2 == 1) { + } elseif ($send2 == 1) { $jump .= "&send2=" . $send2 . "&to_userid=" . $to_userid . ""; - } else if ($reply == 1) { + } elseif ($reply == 1) { $jump .= "&reply=" . $reply . "&msg_id=" . $msg_id . ""; } else { } @@ -50,32 +50,37 @@ } xoops_header(); + +$method = XoopsRequest::getMethod(); +$safeMethods = array('GET', 'HEAD'); +if (!in_array($method, $safeMethods)) { + if (!$GLOBALS['xoopsSecurity']->check()) { + echo "<br /><br /><div><h4>" . _ERRORS . "</h4><br />"; + echo "[ <a href='javascript:history.go(-1)' title=''>" . _PM_GOBACK . "</a> ]</div>"; + xoops_footer(); + exit; + } +} + if (is_object($xoopsUser)) { $myts =& MyTextSanitizer::getInstance(); - if (isset($_POST['op']) && $_POST['op'] == "submit") { - if (!$GLOBALS['xoopsSecurity']->check()) { - $security_error = true; - } - $res = $xoopsDB->query("SELECT COUNT(*) FROM " . $xoopsDB->prefix("users") . " WHERE uid=" . intval($_POST['to_userid']) . ""); + if ($op == 'submit') { + $res = $xoopsDB->query("SELECT COUNT(*) FROM " . $xoopsDB->prefix("users") . " WHERE uid=" . XoopsRequest::getInt('to_userid', 0, 'POST') . ""); list ($count) = $xoopsDB->fetchRow($res); if ($count != 1) { echo "<br /><br /><div><h4>" . _PM_USERNOEXIST . "<br />"; echo _PM_PLZTRYAGAIN . "</h4><br />"; - if (isset($security_error) && $security_error == true) { - echo implode('<br />', $GLOBALS['xoopsSecurity']->getErrors()); - } echo "[ <a href='javascript:history.go(-1)' title=''>" . _PM_GOBACK . "</a> ]</div>"; } else { $pm_handler =& xoops_gethandler('privmessage'); $pm =& $pm_handler->create(); -//------------------ mamba -if (isset($_POST['icon'])) { - $pm->setVar("msg_image", $_POST['icon']); + $msg_image = XoopsRequest::getCmd('icon', null, 'POST'); + if (in_array($msg_image, $subject_icons)) { + $pm->setVar("msg_image", $msg_image); } -//----------------- mamba - $pm->setVar("subject", $_POST['subject']); - $pm->setVar("msg_text", $_POST['message']); - $pm->setVar("to_userid", $_POST['to_userid']); + $pm->setVar("subject", XoopsRequest::getString('subject', null, 'POST')); + $pm->setVar("msg_text", XoopsRequest::getString('message', null, 'POST')); + $pm->setVar("to_userid", XoopsRequest::getInt('to_userid', 0, 'POST')); $pm->setVar("from_userid", $xoopsUser->getVar("uid")); if (!$pm_handler->insert($pm)) { echo $pm->getHtmlErrors(); @@ -84,7 +89,7 @@ echo "<br /><br /><div style='text-align:center;'><h4>" . _PM_MESSAGEPOSTED . "</h4><br /><a href=\"javascript:window.opener.location='" . XOOPS_URL . "/viewpmsg.php';window.close();\" title=\"\">" . _PM_CLICKHERE . "</a><br /><br /><a href=\"javascript:window.close();\" title=\"\">" . _PM_ORCLOSEWINDOW . "</a></div>"; } } - } else if ($reply == 1 || $send == 1 || $send2 == 1) { + } elseif ($reply == 1 || $send == 1 || $send2 == 1) { include_once $GLOBALS['xoops']->path('include/xoopscodes.php'); if ($reply == 1) { $pm_handler =& xoops_gethandler('privmessage'); @@ -103,14 +108,14 @@ echo "<table style=' text-align:left;' class='outer'><tr><td class='head txtright' style='width:25%'>" . _PM_TO . "</td>"; if ($reply == 1) { echo "<td class='even'><input type='hidden' name='to_userid' value='" . $pm->getVar("from_userid") . "' />" . $pm_uname . "</td>"; - } else if ($send2 == 1) { + } elseif ($send2 == 1) { $to_username = XoopsUser::getUnameFromId($to_userid); echo "<td class='even'><input type='hidden' name='to_userid' value='" . $to_userid . "' />" . $to_username . "</td>"; } else { - require_once $GLOBALS['xoops']->path('class/xoopsform/formelement.php'); - require_once $GLOBALS['xoops']->path('class/xoopsform/formselect.php'); - require_once $GLOBALS['xoops']->path('class/xoopsform/formlabel.php'); - require_once $GLOBALS['xoops']->path('class/xoopsform/formselectuser.php'); + //require_once $GLOBALS['xoops']->path('class/xoopsform/formelement.php'); + //require_once $GLOBALS['xoops']->path('class/xoopsform/formselect.php'); + //require_once $GLOBALS['xoops']->path('class/xoopsform/formlabel.php'); + //require_once $GLOBALS['xoops']->path('class/xoopsform/formselectuser.php'); $user_sel = new XoopsFormSelectUser("", "to_userid"); echo "<td class='even'>" . $user_sel->render(); echo "</td>"; @@ -129,16 +134,14 @@ } echo "</tr>"; -//----------------------------- mamba - echo "<tr>"; - echo "<td class='head txtright' style='width:25%;'>" . _MESSAGEICON. "</td>"; - foreach ($subject_icons as $iconfile) { - $icons_radio->addOption($iconfile, '<img src="' . XOOPS_URL . '/images/subject/' . $iconfile . '" alt="" />'); + echo "<tr>"; + echo "<td class='head txtright' style='width:25%;'>" . _MESSAGEICON. "</td>"; + foreach ($subject_icons as $iconfile) { + $icons_radio->addOption($iconfile, '<img src="' . XOOPS_URL . '/images/subject/' . $iconfile . '" alt="" />'); } - echo "<td class='even'>" . $icons_radio->render(); - echo "</td>"; - echo "</tr>"; -//------------------------------- mamba + echo "<td class='even'>" . $icons_radio->render(); + echo "</td>"; + echo "</tr>"; echo "<tr style='vertical-align:top;'><td style='width:25%;' class='head txtright'>" . _PM_MESSAGEC . "</td>"; echo "<td class='even'>"; Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/readpmsg.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/readpmsg.php 2014-11-12 18:38:49 UTC (rev 12842) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/readpmsg.php 2014-11-12 18:40:18 UTC (rev 12843) @@ -80,14 +80,12 @@ } else { echo $xoopsConfig['anonymous']; // we need to do this for deleted users } -//------------- mamba - $iconName=$pm_arr[0]->getVar("msg_image", "E"); + $iconName=htmlspecialchars($pm_arr[0]->getVar("msg_image", "E"), ENT_QUOTES); if ($iconName != '') { - echo "</td><td><img src='images/subject/" .$iconName . "' alt='' /> " . _PM_SENTC . "" . formatTimestamp($pm_arr[0]->getVar("msg_time")); + echo "</td><td><img src='images/subject/" .$iconName . "' alt='' /> " . _PM_SENTC . "" . formatTimestamp($pm_arr[0]->getVar("msg_time")); } else { - echo "</td><td>" . _PM_SENTC . "" . formatTimestamp($pm_arr[0]->getVar("msg_time")); + echo "</td><td>" . _PM_SENTC . "" . formatTimestamp($pm_arr[0]->getVar("msg_time")); } -//------------- mamba echo "<hr /><br /><strong>" . $pm_arr[0]->getVar("subject") . "</strong><br /><br />\n"; echo $pm_arr[0]->getVar("msg_text") . "<br /><br /></td></tr><tr class='foot'><td class='width20 txtleft' colspan='2'>"; Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/viewpmsg.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/viewpmsg.php 2014-11-12 18:38:49 UTC (rev 12842) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/viewpmsg.php 2014-11-12 18:40:18 UTC (rev 12843) @@ -76,11 +76,11 @@ } else { echo "<td class='aligntop width5 txtcenter'><img src='images/email_notread.png' alt='" . _PM_NOTREAD . "' title='" . _PM_NOTREAD . "' /></td>\n"; } - $iconName=$pm_arr[$i]->getVar("msg_image", "E"); + $iconName=htmlspecialchars($pm_arr[$i]->getVar("msg_image", "E"), ENT_QUOTES); if ($iconName != '') { - echo "<td class='aligntop width5 txtcenter'><img src='images/subject/" . $iconName . "' alt='' /></td>\n"; + echo "<td class='aligntop width5 txtcenter'><img src='images/subject/" . $iconName . "' alt='' /></td>\n"; } else { - echo "<td class='aligntop width5 txtcenter'></td>\n"; + echo "<td class='aligntop width5 txtcenter'></td>\n"; } $postername = XoopsUser::getUnameFromId($pm_arr[$i]->getVar("from_userid")); echo "<td class='alignmiddle width10'>"; |
From: <be...@us...> - 2014-11-16 10:46:41
|
Revision: 12848 http://sourceforge.net/p/xoops/svn/12848 Author: beckmi Date: 2014-11-16 10:46:18 +0000 (Sun, 16 Nov 2014) Log Message: ----------- Adding Footer blocks (http://xoops.org/modules/newbb/viewtopic.php?topic_id=76816), updating xBootstrap Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/theme_blocks.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsblock.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/defines.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/block.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.bmp.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/blocksadmin.php XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/default/theme.html XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/css/bootstrap.min.css XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/css/reset.css XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/docs/TODO.txt XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/docs/changelog.txt XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/docs/readme.txt XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/js/bootstrap.min.js XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/js/js.js XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/language/english/main.php XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/extgallery/extgallery_index.html XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/extgallery/extgallery_public-album.html XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/news/news_index.html XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_index.html XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/style.css XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/theme.ini XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/tpl/content-zone.html Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/theme_blocks.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/theme_blocks.php 2014-11-15 21:39:25 UTC (rev 12847) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/theme_blocks.php 2014-11-16 10:46:18 UTC (rev 12848) @@ -102,7 +102,15 @@ XOOPS_CENTERBLOCK_RIGHT => 'page_topright' , XOOPS_CENTERBLOCK_BOTTOMLEFT => 'page_bottomleft' , XOOPS_CENTERBLOCK_BOTTOM => 'page_bottomcenter' , - XOOPS_CENTERBLOCK_BOTTOMRIGHT => 'page_bottomright'); + XOOPS_CENTERBLOCK_BOTTOMRIGHT => 'page_bottomright', + + + XOOPS_FOOTERBLOCK_LEFT => 'footer_left', + XOOPS_FOOTERBLOCK_RIGHT => 'footer_center' , + XOOPS_FOOTERBLOCK_CENTER => 'footer_right' , + XOOPS_FOOTERBLOCK_ALL => 'footer_all' ); + + foreach ($oldzones as $zone) { $this->blocks[$zone] = array(); } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsblock.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsblock.php 2014-11-15 21:39:25 UTC (rev 12847) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsblock.php 2014-11-16 10:46:18 UTC (rev 12848) @@ -369,6 +369,8 @@ $side = "(b.side=0 OR b.side=1)"; } elseif ($side == XOOPS_CENTERBLOCK_ALL) { $side = "(b.side=3 OR b.side=4 OR b.side=5 OR b.side=7 OR b.side=8 OR b.side=9 )"; + } elseif ($side == XOOPS_FOOTERBLOCK_ALL) { + $side = "(b.side=10 OR b.side=11 OR b.side=12 )"; } else { $side = "b.side=" . $side; } @@ -411,10 +413,12 @@ $where_query = " WHERE isactive=" . $isactive; if (isset($side)) { // get both sides in sidebox? (some themes need this) - if ($side == 2) { + if ($side == XOOPS_SIDEBLOCK_BOTH) { $side = "(side=0 OR side=1)"; - } elseif ($side == 6) { + } elseif ($side == XOOPS_CENTERBLOCK_ALL) { $side = "(side=3 OR side=4 OR side=5 OR side=7 OR side=8 OR side=9)"; + } elseif ($side == XOOPS_FOOTERBLOCK_ALL) { + $side = "(side=10 OR side=11 OR side=12)"; } else { $side = "side=" . $side; } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/include/defines.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/include/defines.php 2014-11-15 21:39:25 UTC (rev 12847) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/include/defines.php 2014-11-16 10:46:18 UTC (rev 12848) @@ -31,6 +31,12 @@ define('XOOPS_CENTERBLOCK_BOTTOMLEFT', 7); define('XOOPS_CENTERBLOCK_BOTTOMRIGHT', 8); define('XOOPS_CENTERBLOCK_BOTTOM', 9); +//bottom blocks (Timgno) +define('XOOPS_FOOTERBLOCK_LEFT', 10); +define('XOOPS_FOOTERBLOCK_CENTER', 11); +define('XOOPS_FOOTERBLOCK_RIGHT', 12); +define('XOOPS_FOOTERBLOCK_ALL', 13); + define('XOOPS_BLOCK_INVISIBLE', 0); define('XOOPS_BLOCK_VISIBLE', 1); define('XOOPS_MATCH_START', 0); @@ -85,7 +91,7 @@ margin: 150px auto; text-align: center; background-color: #fff; - background-image: url(images/img_errors.png); + background-image: url(/images/img_errors.png); background-repeat: no-repeat; background-position: 30px 50px; padding-left: 300px; Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/block.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/block.php 2014-11-15 21:39:25 UTC (rev 12847) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/block.php 2014-11-16 10:46:18 UTC (rev 12848) @@ -89,7 +89,11 @@ 5 => _AM_SYSTEM_BLOCKS_CBCENTER, 7 => _AM_SYSTEM_BLOCKS_CBBOTTOMLEFT, 8 => _AM_SYSTEM_BLOCKS_CBBOTTOMRIGHT, - 9 => _AM_SYSTEM_BLOCKS_CBBOTTOM)); + 9 => _AM_SYSTEM_BLOCKS_CBBOTTOM, + 10 => _AM_SYSTEM_BLOCKS_CBFOOTERLEFT, + 11 => _AM_SYSTEM_BLOCKS_CBFOOTERCENTER, + 12 => _AM_SYSTEM_BLOCKS_CBFOOTERRIGHT)); + $form->addElement($side_select); // Order $form->addElement(new XoopsFormText(_AM_SYSTEM_BLOCKS_WEIGHT, 'weight', 2, 5, $this->getVar('weight'))); @@ -399,6 +403,8 @@ $side = "(b.side=0 OR b.side=1)"; } elseif ($side == XOOPS_CENTERBLOCK_ALL) { $side = "(b.side=3 OR b.side=4 OR b.side=5 OR b.side=7 OR b.side=8 OR b.side=9 )"; + } elseif ($side == XOOPS_FOOTERBLOCK_ALL) { + $side = "(b.side=10 OR b.side=11 OR b.side=12 )"; } else { $side = "b.side=" . $side; } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.bmp.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.bmp.php 2014-11-15 21:39:25 UTC (rev 12847) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.bmp.php 2014-11-16 10:46:18 UTC (rev 12848) @@ -516,7 +516,7 @@ // number of bytes that follow, each of which contains the color index // of a single pixel. Each run must be aligned on a word boundary. for ($i = 0; $i < $secondbyte; ++$i) { - $paletteindex = $this->LittleEndian2Int(substr($BMPpixelData, $pixeldataoffset++, 1)); + $paletteindex = $this->LittleEndian2Int(substr($BMPpixelData, ++$pixeldataoffset, 1)); $col = $pixelcounter % $thisfile_bmp_header_raw['width']; $row = $thisfile_bmp_header_raw['height'] - 1 - (($pixelcounter - $col) / $thisfile_bmp_header_raw['width']); $thisfile_bmp['data'][$row][$col] = $thisfile_bmp['palette'][$paletteindex]; Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/blocksadmin.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/blocksadmin.php 2014-11-15 21:39:25 UTC (rev 12847) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/blocksadmin.php 2014-11-16 10:46:18 UTC (rev 12848) @@ -40,6 +40,12 @@ define('_AM_SYSTEM_BLOCKS_CBCENTER',"Center Block - Center"); define('_AM_SYSTEM_BLOCKS_CBBOTTOMLEFT',"Center Block - Bottom left"); define('_AM_SYSTEM_BLOCKS_CBBOTTOMRIGHT',"Center Block - Bottom right"); + +define('_AM_SYSTEM_BLOCKS_CBFOOTERLEFT',"Footer Block - Left"); +define('_AM_SYSTEM_BLOCKS_CBFOOTERCENTER',"Footer Block - Center"); +define('_AM_SYSTEM_BLOCKS_CBFOOTERRIGHT',"Footer Block - Right"); + + define('_AM_SYSTEM_BLOCKS_CBBOTTOM',"Center Block - Bottom"); define('_AM_SYSTEM_BLOCKS_WEIGHT',"Weight"); define('_AM_SYSTEM_BLOCKS_VISIBLE',"Visible"); @@ -76,3 +82,7 @@ <li>Add a new custom block</li> <li>Set block online or offline by clicking on <img class="tooltip" width="16" src="%s" alt="'._AM_SYSTEM_BLOCKS_DISPLAY.'" title="'._AM_SYSTEM_BLOCKS_DISPLAY.'"/> or <img class="tooltip" width="16" src="%s" alt="'._AM_SYSTEM_BLOCKS_HIDE.'" title="'._AM_SYSTEM_BLOCKS_HIDE.'" /></li> </ul>'); + +define('_AM_SYSTEM_BLOCKS_FOOTER_LEFT', 'Footer Left'); +define('_AM_SYSTEM_BLOCKS_FOOTER_CENTER', 'Footer Center'); +define('_AM_SYSTEM_BLOCKS_FOOTER_RIGHT', 'Footer Right'); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/default/theme.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/default/theme.html 2014-11-15 21:39:25 UTC (rev 12847) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/default/theme.html 2014-11-16 10:46:18 UTC (rev 12848) @@ -93,7 +93,9 @@ <!-- End center top blocks loop --> <!-- Start content module page --> - <{if $xoops_contents && ($xoops_contents != ' ') }><div id="content"><{$xoops_contents}></div><{/if}> + <{if $xoops_contents && ($xoops_contents != ' ') }> + <div id="content"><{$xoops_contents}></div> + <{/if}> <!-- End content module --> <!-- Start center bottom blocks loop --> @@ -138,6 +140,45 @@ </td> <{/if}> <!-- End right blocks loop --> + + + <!-- =============================== Start footer blocks loop =============================== --> + <{if $xoBlocks.footer_left || $xoBlocks.footer_right || $xoBlocks.footer_center}> + <table> + + <tr> + <{if $xoBlocks.footer_left}> + <td id="footerLeft"> + <{foreach from=$xoBlocks.footer_left item=block}> + <{include file="$theme_name/theme_blockfooter_l.html"}> + <{/foreach}> + </td> + <{/if}> + + + + <{if $xoBlocks.footer_center}> + <td id="footerCenter"> + <{foreach from=$xoBlocks.footer_center item=block}> + <{include file="$theme_name/theme_blockfooter_c.html"}> + <{/foreach}> + </td> + <{/if}> + + <{if $xoBlocks.footer_right}> + <td id="footerRight"> + <{foreach from=$xoBlocks.footer_right item=block}> + <{include file="$theme_name/theme_blockfooter_r.html"}> + <{/foreach}> + </td> + <{/if}> + + </tr> + </table> + + <{/if}> + <!-- =============================== End footer blocks loop =============================== --> + </tr> </table> @@ -150,4 +191,4 @@ <!-- End footer --> <!--{xo-logger-output}--> </body> -</html> \ No newline at end of file +</html> Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/css/bootstrap.min.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/css/bootstrap.min.css 2014-11-15 21:39:25 UTC (rev 12847) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/css/bootstrap.min.css 2014-11-16 10:46:18 UTC (rev 12848) @@ -1,7 +1,5 @@ /*! - * Bootstrap v3.1.0 (http://getbootstrap.com) + * Bootstrap v3.3.1 (http://getbootstrap.com) * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ - @@ Diff output truncated at 100000 characters. @@ |
From: <txm...@us...> - 2014-11-23 20:42:00
|
Revision: 12868 http://sourceforge.net/p/xoops/svn/12868 Author: txmodxoops Date: 2014-11-23 20:41:51 +0000 (Sun, 23 Nov 2014) Log Message: ----------- Updated System Foter Blocks Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8/htdocs/include/defines.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/block.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/blocksadmin.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/templates/admin/system_blocks.html Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/include/defines.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/include/defines.php 2014-11-23 09:41:18 UTC (rev 12867) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/include/defines.php 2014-11-23 20:41:51 UTC (rev 12868) @@ -31,7 +31,7 @@ define('XOOPS_CENTERBLOCK_BOTTOMLEFT', 7); define('XOOPS_CENTERBLOCK_BOTTOMRIGHT', 8); define('XOOPS_CENTERBLOCK_BOTTOM', 9); -//bottom blocks (Timgno) +// Footer blocks (Timgno) define('XOOPS_FOOTERBLOCK_LEFT', 10); define('XOOPS_FOOTERBLOCK_CENTER', 11); define('XOOPS_FOOTERBLOCK_RIGHT', 12); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/block.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/block.php 2014-11-23 09:41:18 UTC (rev 12867) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/block.php 2014-11-23 20:41:51 UTC (rev 12868) @@ -91,8 +91,8 @@ 8 => _AM_SYSTEM_BLOCKS_CBBOTTOMRIGHT, 9 => _AM_SYSTEM_BLOCKS_CBBOTTOM, 10 => _AM_SYSTEM_BLOCKS_CBFOOTERLEFT, - 11 => _AM_SYSTEM_BLOCKS_CBFOOTERCENTER, - 12 => _AM_SYSTEM_BLOCKS_CBFOOTERRIGHT)); + 11 => _AM_SYSTEM_BLOCKS_CBFOOTERRIGHT, + 12 => _AM_SYSTEM_BLOCKS_CBFOOTERCENTER)); $form->addElement($side_select); // Order Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/blocksadmin.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/blocksadmin.php 2014-11-23 09:41:18 UTC (rev 12867) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/blocksadmin.php 2014-11-23 20:41:51 UTC (rev 12868) @@ -29,6 +29,11 @@ define('_AM_SYSTEM_BLOCKS_SIDEBOTTOMLEFT',"Bottom Left"); define('_AM_SYSTEM_BLOCKS_SIDEBOTTOMCENTER',"Bottom Center"); define('_AM_SYSTEM_BLOCKS_SIDEBOTTOMRIGHT',"Bottom Right"); + +define('_AM_SYSTEM_BLOCKS_SIDEFOOTERLEFT',"Footer Left"); +define('_AM_SYSTEM_BLOCKS_SIDEFOOTERCENTER',"Footer Center"); +define('_AM_SYSTEM_BLOCKS_SIDEFOOTERRIGHT',"Footer Right"); + define('_AM_SYSTEM_BLOCKS_ADD',"Add Block"); define('_AM_SYSTEM_BLOCKS_MANAGE',"Manage Block"); define('_AM_SYSTEM_BLOCKS_NAME',"Name"); @@ -45,7 +50,6 @@ define('_AM_SYSTEM_BLOCKS_CBFOOTERCENTER',"Footer Block - Center"); define('_AM_SYSTEM_BLOCKS_CBFOOTERRIGHT',"Footer Block - Right"); - define('_AM_SYSTEM_BLOCKS_CBBOTTOM',"Center Block - Bottom"); define('_AM_SYSTEM_BLOCKS_WEIGHT',"Weight"); define('_AM_SYSTEM_BLOCKS_VISIBLE',"Visible"); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/templates/admin/system_blocks.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/templates/admin/system_blocks.html 2014-11-23 09:41:18 UTC (rev 12867) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/templates/admin/system_blocks.html 2014-11-23 20:41:51 UTC (rev 12868) @@ -75,6 +75,26 @@ <{includeq file="db:system_blocks_item.html" blocks=$blocks side=8}> </td> </tr> + <tr> + <!-- Start Footer Blocks (By Timgno) --> + <table id="xo-block-footer"> + <tr> + <td side="10" class="xo-blocksection"> + <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDEFOOTERLEFT}></div> + <{includeq file="db:system_blocks_item.html" blocks=$blocks side=10}> + </td> + <td side="12" class="xo-blocksection"> + <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDEFOOTERCENTER}></div> + <{includeq file="db:system_blocks_item.html" blocks=$blocks side=12}> + </td> + <td side="11" class="xo-blocksection"> + <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDEFOOTERRIGHT}></div> + <{includeq file="db:system_blocks_item.html" blocks=$blocks side=11}> + </td> + </tr> + </table> + <!-- End Footer Blocks (By Timgno) --> + </tr> </table> </td> </tr> |
From: <be...@us...> - 2015-06-06 21:50:20
|
Revision: 13081 http://sourceforge.net/p/xoops/svn/13081 Author: beckmi Date: 2015-06-06 21:50:17 +0000 (Sat, 06 Jun 2015) Log Message: ----------- Update: XOOPS links point to http://xoops.org Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth_ldap.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsfilterinput.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselectuser.php XoopsCore/branches/2.5.x/2.5.8/htdocs/footer.php XoopsCore/branches/2.5.x/2.5.8/htdocs/install/css/reset.css XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/makedata.php XoopsCore/branches/2.5.x/2.5.8/htdocs/install/language/english/finish.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/default.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/xotpl/xo_accordion.html XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/xotpl/xo_footer.html XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/legacy/theme.html XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/css/reset.css XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/xotpl/xo_accordion.html XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/xotpl/xo_footer.html XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/xotpl/xo_footerstatic.html XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/zetadigme.php XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/baradmin.css XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/globalnav.css XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/layout-soup.css XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/print.css XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/style.css XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/userbar.css XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/language/english/main.php XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/xotpl/xo_footerstatic.html XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/item.php XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/search.php XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_footerstatic.html XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_headerstatic.html Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth_ldap.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth_ldap.php 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth_ldap.php 2015-06-06 21:50:17 UTC (rev 13081) @@ -9,7 +9,7 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @copyright The XOOPS Project (http://xoops.org) * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) * @package kernel * @subpackage auth Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsfilterinput.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsfilterinput.php 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsfilterinput.php 2015-06-06 21:50:17 UTC (rev 13081) @@ -26,7 +26,7 @@ * @author Richard Griffith <ri...@ge...> * @copyright 2005 Daniel Morris * @copyright 2005 - 2013 Open Source Matters, Inc. All rights reserved. - * @copyright 2011-2014 The XOOPS Project http://sourceforge.net/projects/xoops/ + * @copyright 2011-2014 The XOOPS Project (http://xoops.org) * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) * @version Release: 1.0 * @link http://xoops.org Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselectuser.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselectuser.php 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselectuser.php 2015-06-06 21:50:17 UTC (rev 13081) @@ -11,7 +11,7 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @copyright The XOOPS Project (http://xoops.org) * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) * @package kernel * @subpackage form Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/footer.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/footer.php 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/footer.php 2015-06-06 21:50:17 UTC (rev 13081) @@ -29,7 +29,7 @@ if ($xoopsOption['theme_use_smarty'] == 0) { // the old way - $footer = htmlspecialchars($xoopsConfigMetaFooter['footer']) . '<br /><div class="txtcenter small">Powered by XOOPS © <a href="http://xoops.sourceforge.net" rel="external" title="The XOOPS Project">The XOOPS Project</a></div>'; + $footer = htmlspecialchars($xoopsConfigMetaFooter['footer']) . '<br /><div class="txtcenter small">Powered by XOOPS © <a href="http://xoops.org" rel="external" title="The XOOPS Project">The XOOPS Project</a></div>'; if (isset($xoopsOption['template_main'])) { $xoopsTpl->caching = 0; $xoopsTpl->display('db:' . $xoopsOption['template_main']); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/install/css/reset.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/install/css/reset.css 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/install/css/reset.css 2015-06-06 21:50:17 UTC (rev 13081) @@ -7,7 +7,7 @@ * @package themes * @since 2.5.x * @author Kris <http://www.xoofoo.org/> - * @maintained The XOOPS Project http://sourceforge.net/projects/xoops/ + * @maintained The XOOPS Project (http://xoops.org) * * @version $Id */ Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/makedata.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/makedata.php 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/makedata.php 2015-06-06 21:50:17 UTC (rev 13081) @@ -199,7 +199,7 @@ $dbm->insert('config', " VALUES (36, 0, 2, 'maxuname', '_MD_AM_MAXUNAME', '10', '_MD_AM_MAXUNAMEDSC', 'textbox', 'int', 3)"); $dbm->insert('config', " VALUES (37, 0, 1, 'bad_ips', '_MD_AM_BADIPS', '" . addslashes(serialize(array('127.0.0.1'))) . "', '_MD_AM_BADIPSDSC', 'textarea', 'array', 42)"); $dbm->insert('config', " VALUES (38, 0, 3, 'meta_keywords', '_MD_AM_METAKEY', 'xoops, web applications, web 2.0, sns, news, technology, headlines, linux, software, download, downloads, free, community, forum, bulletin board, bbs, php, survey, polls, kernel, comment, comments, portal, odp, open source, opensource, FreeSoftware, gnu, gpl, license, Unix, *nix, mysql, sql, database, databases, web site, blog, wiki, module, modules, theme, themes, cms, content management', '_MD_AM_METAKEYDSC', 'textarea', 'text', 0)"); - $dbm->insert('config', " VALUES (39, 0, 3, 'footer', '_MD_AM_FOOTER', 'Powered by XOOPS © 2001-" . date('Y', time()) . " <a href=\"http://xoops.sourceforge.net\" rel=\"external\" title=\"The XOOPS Project\">The XOOPS Project</a>', '_MD_AM_FOOTERDSC', 'textarea', 'text', 20)"); + $dbm->insert('config', " VALUES (39, 0, 3, 'footer', '_MD_AM_FOOTER', 'Powered by XOOPS © 2001-" . date('Y', time()) . " <a href=\"http://xoops.org\" rel=\"external\" title=\"The XOOPS Project\">The XOOPS Project</a>', '_MD_AM_FOOTERDSC', 'textarea', 'text', 20)"); $dbm->insert('config', " VALUES (40, 0, 4, 'censor_enable', '_MD_AM_DOCENSOR', '0', '_MD_AM_DOCENSORDSC', 'yesno', 'int', 0)"); $dbm->insert('config', " VALUES (41, 0, 4, 'censor_words', '_MD_AM_CENSORWRD', '" . addslashes(serialize(array('fuck', 'shit'))) . "', '_MD_AM_CENSORWRDDSC', 'textarea', 'array', 1)"); $dbm->insert('config', " VALUES (42, 0, 4, 'censor_replace', '_MD_AM_CENSORRPLC', '#OOPS#', '_MD_AM_CENSORRPLCDSC', 'textbox', 'text', 2)"); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/install/language/english/finish.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/install/language/english/finish.php 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/install/language/english/finish.php 2015-06-06 21:50:17 UTC (rev 13081) @@ -8,7 +8,7 @@ "<h3>Your site</h3> <p>You can now access the <a href='../index.php'>home page of your site</a>.</p> <h3>Support</h3> -<p>Visit <a href='http://xoops.sourceforge.net/' rel='external'>The XOOPS Project</a></p> +<p>Visit <a href='http://xoops.org/' rel='external'>The XOOPS Project</a></p> <p><strong>ATTENTION :</strong> Your site currently contains the minimum functionality, if you want to add content: text pages, photo gallery, forum, links directory, ... You must first download from the <a href='http://www.xoops.org/modules/repository' rel='external' title='Choice and download modules'>library of your local support</a> and install these components, it is the same for <a href='http://www.xoops.org/modules/extgallery' rel='external' title='Select and Install new themes'>design (theme) Additional</a>.</p> "; Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/default.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/default.php 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/default.php 2015-06-06 21:50:17 UTC (rev 13081) @@ -250,7 +250,7 @@ //add OPTIONS/Links Menu Items $menu = array(); $menu[] = array( - 'link' => 'http://sourceforge.net/projects/xoops/', + 'link' => 'http://xoops.org', 'title' => _OXYGEN_XOOPSPROJECT, 'absolute' => 1); $menu[] = array( Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/xotpl/xo_accordion.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/xotpl/xo_accordion.html 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/xotpl/xo_accordion.html 2015-06-06 21:50:17 UTC (rev 13081) @@ -87,7 +87,7 @@ <div class="pane"> <table> <tr> - <td><a rel="external" href="http://sourceforge.net/projects/xoops"><{$smarty.const._OXYGEN_XOOPSPROJECT}></a></td> + <td><a rel="external" href="http://xoops.org"><{$smarty.const._OXYGEN_XOOPSPROJECT}></a></td> <td><a rel="external" href="http://xoops.org"><{$smarty.const._OXYGEN_WEBSITE}></a></td> </tr> <tr> @@ -117,4 +117,4 @@ $(this).next().slideDown("fast"); } }); -</script> \ No newline at end of file +</script> Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/xotpl/xo_footer.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/xotpl/xo_footer.html 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/xotpl/xo_footer.html 2015-06-06 21:50:17 UTC (rev 13081) @@ -1,5 +1,5 @@ <div id='xo-footer'> - <div id="xo-footer-body">Powered by <a class="tooltip" rel="external" href="http://sourceforge.net/projects/xoops/" title="Xoops Project"><{$xoops_version}></a> © 2001-<{$smarty.now|date_format:"%Y"}></div> + <div id="xo-footer-body">Powered by <a class="tooltip" rel="external" href="http://xoops.org" title="Xoops Project"><{$xoops_version}></a> © 2001-<{$smarty.now|date_format:"%Y"}></div> <div id="xo-footer-rss" ><a class="tooltip" rel="external" href="<{xoAppUrl backend.php}>" title="<{$smarty.const._OXYGEN_RSS}>"><img src="<{xoImgUrl img/feed.png}>" /></a></div> <div><{includeq file="$theme_tpl/xo_uptop.html"}></div> -</div> \ No newline at end of file +</div> Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/legacy/theme.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/legacy/theme.html 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/legacy/theme.html 2015-06-06 21:50:17 UTC (rev 13081) @@ -79,7 +79,7 @@ <tr> <td width='1%'><img src='<{xoImgUrl img/hbar_left.gif}>' width='16' height='23' alt="" /></td> <td width='99%' class='hbar_middle alignmiddle center'> - <div class='fontSmall'>Powered by <{$smarty.const.XOOPS_VERSION}> © 2001-<{$smarty.now|date_format:"%Y"}> <a href='http://xoops.sourceforge.net/' rel='external' title='The XOOPS Project'>The XOOPS Project</a></div> + <div class='fontSmall'>Powered by <{$smarty.const.XOOPS_VERSION}> © 2001-<{$smarty.now|date_format:"%Y"}> <a href='http://xoops.org/' rel='external' title='The XOOPS Project'>The XOOPS Project</a></div> </td> <td width='1%'><img src='<{xoImgUrl img/hbar_right.gif}>' width='10' height='23' alt="" /></td> </tr> @@ -88,4 +88,4 @@ </tr> </table> </body> -</html> \ No newline at end of file +</html> Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/css/reset.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/css/reset.css 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/css/reset.css 2015-06-06 21:50:17 UTC (rev 13081) @@ -5,7 +5,7 @@ * @package admin themes * @since 2.5.x * @author Kris <http://www.xoofoo.org/> - * @maintained The XOOPS Project http://sourceforge.net/projects/xoops/ + * @maintained The XOOPS Project (http://xoops.org) * * @version $Id */ Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/xotpl/xo_accordion.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/xotpl/xo_accordion.html 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/xotpl/xo_accordion.html 2015-06-06 21:50:17 UTC (rev 13081) @@ -135,7 +135,7 @@ <table> <tr> <td> - <a class="tooltip" rel="external" href="http://sourceforge.net/projects/xoops" title="<{$lang_xoops_xoopsproject}>"><{$lang_xoops_xoopsproject}></a> + <a class="tooltip" rel="external" href="http://xoops.org" title="<{$lang_xoops_xoopsproject}>"><{$lang_xoops_xoopsproject}></a> </td> <td> <a class="tooltip" rel="external" href="http://www.xoops.org/modules/xoopspartners" title="<{$lang_xoops_localsupport}>"><{$lang_xoops_localsupport}></a> Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/xotpl/xo_footer.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/xotpl/xo_footer.html 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/xotpl/xo_footer.html 2015-06-06 21:50:17 UTC (rev 13081) @@ -1 +1 @@ -<div id="xo-footer">Powered by <a rel="external" href="http://sourceforge.net/projects/xoops/" title="Xoops Project"><{$xoops_version}></a></div> +<div id="xo-footer">Powered by <a rel="external" href="http://xoops.org" title="Xoops Project"><{$xoops_version}></a></div> Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/xotpl/xo_footerstatic.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/xotpl/xo_footerstatic.html 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/xotpl/xo_footerstatic.html 2015-06-06 21:50:17 UTC (rev 13081) @@ -32,7 +32,7 @@ <li class="chat text"><a href="#" title="<{$smarty.const.THEME_UPTOP}>"><img src="<{xoImgUrl img/up.png}>" alt="<{$smarty.const.THEME_UPTOP}>" /></a></li> <li class="chat separate"> </li> - <li class="chat text">Powered by <a href="http://sourceforge.net/projects/xoops/" title="XOOPS Project HomePage"><{$xoops_version}></a></li> + <li class="chat text">Powered by <a href="http://xoops.org" title="XOOPS Project HomePage"><{$xoops_version}></a></li> <li class="chat separate"> </li> <li class="chat"><a href="<{xoAppUrl /user.php op=logout}>" title="<{$smarty.const._LOGOUT}>" ><img src="<{xoImgUrl img/logout.png}>" alt="<{$smarty.const._LOGOUT}>"/></a></li> <!-- for my message box --> Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/zetadigme.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/zetadigme.php 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/zetadigme.php 2015-06-06 21:50:17 UTC (rev 13081) @@ -298,8 +298,8 @@ 'absolute' => 1, 'icon' => XOOPS_ADMINTHEME_URL . '/zetadigme/icons/xoops.png'); $menu[] = array( - 'link' => 'http://sourceforge.net/projects/xoops/', - 'title' => 'Sourceforge', + 'link' => 'http://xoops.org', + 'title' => 'XOOPS', 'absolute' => 1); $tpl->append('navitems', array('link' => XOOPS_URL . '/admin.php','text' => _AD_INTERESTSITES, 'menu' => $menu)); //add OPTIONS/links for local support Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/baradmin.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/baradmin.css 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/baradmin.css 2015-06-06 21:50:17 UTC (rev 13081) @@ -6,7 +6,7 @@ * @package themes * @since 2.5.x * @author Kris <http://www.xoofoo.org/> - * @maintained The XOOPS Project http://sourceforge.net/projects/xoops/ + * @maintained The XOOPS Project (http://xoops.org) * * @version $Id$ */ Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/globalnav.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/globalnav.css 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/globalnav.css 2015-06-06 21:50:17 UTC (rev 13081) @@ -6,7 +6,7 @@ * @package themes * @since 2.5.x * @author Kris <http://www.xoofoo.org/> - * @maintained The XOOPS Project http://sourceforge.net/projects/xoops/ + * @maintained The XOOPS Project (http://xoops.org) * @thanks http://www.getintothis.com * @version $Id$ */ Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/layout-soup.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/layout-soup.css 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/layout-soup.css 2015-06-06 21:50:17 UTC (rev 13081) @@ -6,7 +6,7 @@ * @package themes * @since 2.5.x * @author Kris <http://www.xoofoo.org/> - * @maintained The XOOPS Project http://sourceforge.net/projects/xoops/ + * @maintained The XOOPS Project (http://xoops.org) * * @version $Id$ */ Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/print.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/print.css 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/print.css 2015-06-06 21:50:17 UTC (rev 13081) @@ -6,7 +6,7 @@ * @package themes * @since 2.5.x * @author Kris <http://www.xoofoo.org/> - * @maintained The XOOPS Project http://sourceforge.net/projects/xoops/ + * @maintained The XOOPS Project (http://xoops.org) * * @version $Id$ */ Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/style.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/style.css 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/style.css 2015-06-06 21:50:17 UTC (rev 13081) @@ -6,7 +6,7 @@ * @package themes * @since 2.5.x * @author Kris <http://www.xoofoo.org/> - * @maintained The XOOPS Project http://sourceforge.net/projects/xoops/ + * @maintained The XOOPS Project (http://xoops.org) * * @version $Id$ */ Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/userbar.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/userbar.css 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/userbar.css 2015-06-06 21:50:17 UTC (rev 13081) @@ -6,7 +6,7 @@ * @package themes * @since 2.5.x * @author Kris <http://www.xoofoo.org/> - * @maintained The XOOPS Project http://sourceforge.net/projects/xoops/ + * @maintained The XOOPS Project (http://xoops.org) * @thanks http://www.sohtanaka.com * @version $Id$ */ Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/language/english/main.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/language/english/main.php 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/language/english/main.php 2015-06-06 21:50:17 UTC (rev 13081) @@ -7,7 +7,7 @@ * @package themes * @since 2.5.x * @author Kris <http://www.xoofoo.org/> - * @maintained The XOOPS Project http://sourceforge.net/projects/xoops/ + * @maintained The XOOPS Project (http://xoops.org) * * @version $Id */ Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/xotpl/xo_footerstatic.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/xotpl/xo_footerstatic.html 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/xotpl/xo_footerstatic.html 2015-06-06 21:50:17 UTC (rev 13081) @@ -32,7 +32,7 @@ <li class="chat text"><a href="#" title="<{$smarty.const.THEME_UPTOP}>"><img src="<{xoImgUrl icons/footer/up.png}>" alt="<{$smarty.const.THEME_UPTOP}>" alt=""/></a></li> <li class="chat separate"> </li> - <li class="chat text">Powered by <a href="http://sourceforge.net/projects/xoops/" title="XOOPS Project HomePage"><{$xoops_version}></a></li> + <li class="chat text">Powered by <a href="http://xoops.org" title="XOOPS Project HomePage"><{$xoops_version}></a></li> <li class="chat separate"> </li> <li class="chat"><a href="<{xoAppUrl /user.php op=logout}>" title="<{$smarty.const._LOGOUT}>" ><img src="<{xoImgUrl icons/footer/logout.png}>" alt="<{$smarty.const._LOGOUT}>"/></a></li> <!-- for my message box --> Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/item.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/item.php 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/item.php 2015-06-06 21:50:17 UTC (rev 13081) @@ -40,9 +40,9 @@ exit(); } -$xoopsOption['template_main'] = 'publisher_item.html'; +$xoopsOption['template_main'] = 'publisher_item.tpl'; include_once XOOPS_ROOT_PATH . '/header.php'; -$xoTheme->addStylesheet(PUBLISHER_URL . '/css/jquery.popeye.style.css'); +$xoTheme->addStylesheet(PUBLISHER_URL . '/assets/css/jquery.popeye.style.css'); $xoTheme->addScript(XOOPS_URL . '/browse.php?Frameworks/jquery/jquery.js'); $xoTheme->addScript(PUBLISHER_URL . '/js/jquery.popeye-2.0.4.js'); //$xoTheme->addScript(PUBLISHER_URL . '/js/publisher.js'); @@ -218,8 +218,8 @@ if ($publisher->getConfig('perm_rating')) { $xoopsTpl->assign('rating_enabled', true); $item['ratingbar'] = publisher_ratingBar($itemid); - $xoTheme->addScript(PUBLISHER_URL . '/js/behavior.js'); - $xoTheme->addScript(PUBLISHER_URL . '/js/rating.js'); + $xoTheme->addScript(PUBLISHER_URL . '/assets/js/behavior.js'); + $xoTheme->addScript(PUBLISHER_URL . '/assets/js/rating.js'); } $xoopsTpl->assign('item', $item); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/search.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/search.php 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/search.php 2015-06-06 21:50:17 UTC (rev 13081) @@ -43,7 +43,7 @@ } $xoopsConfig["module_cache"][$module_id] = 0; -$xoopsOption["template_main"] = 'publisher_search.html'; +$xoopsOption["template_main"] = 'publisher_search.tpl'; include XOOPS_ROOT_PATH . '/header.php'; $module_info_search = $publisher->getModule()->getInfo("search"); @@ -257,4 +257,3 @@ } include XOOPS_ROOT_PATH . "/footer.php"; -?> Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_footerstatic.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_footerstatic.html 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_footerstatic.html 2015-06-06 21:50:17 UTC (rev 13081) @@ -32,7 +32,7 @@ <li class="chat text"><a href="#" title="<{$smarty.const.THEME_UPTOP}>"><img src="<{xoImgUrl icons/footer/up.png}>" alt="<{$smarty.const.THEME_UPTOP}>" alt=""/></a></li> <li class="chat separate"> </li> - <li class="chat text">Powered by <a href="http://sourceforge.net/projects/xoops/" title="XOOPS Project HomePage"><{$xoops_version}></a></li> + <li class="chat text">Powered by <a href="http://xoops.org" title="XOOPS Project HomePage"><{$xoops_version}></a></li> <li class="chat separate"> </li> <li class="chat"><a href="<{xoAppUrl /user.php op=logout}>" title="<{$smarty.const._LOGOUT}>" ><img src="<{xoImgUrl icons/footer/logout.png}>" alt="<{$smarty.const._LOGOUT}>"/></a></li> <!-- for my message box --> Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_headerstatic.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_headerstatic.html 2015-06-03 12:38:08 UTC (rev 13080) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_headerstatic.html 2015-06-06 21:50:17 UTC (rev 13081) @@ -32,7 +32,7 @@ <li class="chat text"><a href="#" title="<{$smarty.const.THEME_UPTOP}>"><img src="<{xoImgUrl icons/footer/up.png}>" alt="<{$smarty.const.THEME_UPTOP}>" alt=""/></a></li> <li class="chat separate"> </li> - <li class="chat text">Powered by <a href="http://sourceforge.net/projects/xoops/" title="XOOPS Project HomePage"><{$xoops_version}></a></li> + <li class="chat text">Powered by <a href="http://xoops.org" title="XOOPS Project HomePage"><{$xoops_version}></a></li> <li class="chat separate"> </li> <li class="chat"><a href="<{xoAppUrl /user.php op=logout}>" title="<{$smarty.const._LOGOUT}>" ><img src="<{xoImgUrl icons/footer/logout.png}>" alt="<{$smarty.const._LOGOUT}>"/></a></li> <!-- for my message box --> |
From: <be...@us...> - 2015-06-16 20:44:33
|
Revision: 13090 http://sourceforge.net/p/xoops/svn/13090 Author: beckmi Date: 2015-06-16 20:44:29 +0000 (Tue, 16 Jun 2015) Log Message: ----------- Replacing intval() with (int) Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.cache.php XoopsCore/branches/2.5.x/2.5.8/htdocs/admin.php XoopsCore/branches/2.5.x/2.5.8/htdocs/banners.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/file.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/xoopscache.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/image/scripts/image.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/xoopscaptcha.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/commentrenderer.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/criteria.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/logger/render.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/joint.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/write.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/pagenav.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/plugins/function.html_select_time.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/function.block.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/function.xoInboxCount.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/function.xoPageNav.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/theme_blocks.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/uploader.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/userutility.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xmlrpcparser.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xmlrpctag.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xoopsapi.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsblock.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopscomments.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/xoopsemotions.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formdatetime.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formdhtmltextarea.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formfile.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formpassword.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselect.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formtext.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formtextarea.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formtextdateselect.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/grouppermform.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopslocal.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopssecurity.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsstory.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopstopic.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopstree.php XoopsCore/branches/2.5.x/2.5.8/htdocs/edituser.php XoopsCore/branches/2.5.x/2.5.8/htdocs/imagemanager.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_delete.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_edit.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_form.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_new.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_post.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_reply.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_view.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/commentform.inc.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/common.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/findusers.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/functions.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/notification_functions.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/old_functions.php XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/createconfigform.php XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/functions.php XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/modulesadmin.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/avatar.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/block.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/comment.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/config.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/configcategory.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/configitem.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/configoption.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/group.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/groupperm.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/image.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/imagecategory.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/imageset.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/imagesetimg.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/module.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/notification.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/object.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/online.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/privmessage.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/session.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/tplfile.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/tplset.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/user.php XoopsCore/branches/2.5.x/2.5.8/htdocs/misc.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/prune.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/class/message.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/readpmsg.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/viewpmsg.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/activate.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/field.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/step.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/user.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/visibility.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/class/field.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/class/profile.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/edituser.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/index.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/register.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/search.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/user.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/userinfo.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/avatars/main.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/blocksadmin/main.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/comments/main.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/groupperm.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/images/main.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/mailusers/main.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/modulesadmin/modulesadmin.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/preferences/main.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/users/main.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/blocks/system_blocks.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/avatar.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/block.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpThumb.config.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpThumb.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.bmp.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.class.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.filters.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.functions.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.gif.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/menu.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/menu.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/menu.php XoopsCore/branches/2.5.x/2.5.8/htdocs/readpmsg.php XoopsCore/branches/2.5.x/2.5.8/htdocs/search.php XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/class/pagenav.php XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/class/item.php XoopsCore/branches/2.5.x/2.5.8/htdocs/userinfo.php XoopsCore/branches/2.5.x/2.5.8/htdocs/viewpmsg.php XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin/center.php XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/class/protector.php XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_register_moratorium.php XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/include/postcheck_functions.php XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/module_icon.php XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/oninstall.php XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/onupdate.php Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.cache.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.cache.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.cache.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -59,7 +59,7 @@ { global $xoopsModule; - $name = ($name) ? $name : strval(time()); + $name = ($name) ? $name : (string)(time()); $dirname = ($dirname) ? $dirname : (is_object($xoopsModule) ? $xoopsModule->getVar("dirname", "n") : "system"); xoops_load('XoopsCache'); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/admin.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/admin.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/admin.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -100,7 +100,7 @@ for ($i = 0; $i < $count; ++$i) { $_items[$i]['title'] = XoopsLocal::convert_encoding($_items[$i]['title'], _CHARSET, 'UTF-8'); $_items[$i]['description'] = XoopsLocal::convert_encoding($_items[$i]['description'], _CHARSET, 'UTF-8'); - $items[strval(strtotime($_items[$i]['pubdate'])) . "-" . strval($cnt++)] = $_items[$i]; + $items[(string)(strtotime($_items[$i]['pubdate'])) . "-" . (string)($cnt++)] = $_items[$i]; } } else { echo $rss2parser->getErrors(); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/banners.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/banners.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/banners.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -237,8 +237,8 @@ { global $xoopsDB, $xoopsConfig; if ($_SESSION['banner_login'] != "" && $_SESSION['banner_pass'] != "") { - $cid = intval($cid); - $bid = intval($bid); + $cid = (int)($cid); + $bid = (int)($bid); if ($result2 = $xoopsDB->query(sprintf("SELECT name, email, passwd FROM %s WHERE cid=%u AND login=%s", $xoopsDB->prefix("bannerclient"), $cid, $xoopsDB->quoteString($_SESSION['banner_login'])))) { list ($name, $email, $passwd) = $xoopsDB->fetchRow($result2); if ($_SESSION['banner_pass'] == $passwd) { @@ -294,8 +294,8 @@ { global $xoopsDB; if ($_SESSION['banner_login'] != "" && $_SESSION['banner_pass'] != "" && $url != "") { - $cid = intval($cid); - $bid = intval($bid); + $cid = (int)($cid); + $bid = (int)($bid); $sql = sprintf("SELECT passwd FROM %s WHERE cid=%u AND login=%s", $xoopsDB->prefix("bannerclient"), $cid, $xoopsDB->quoteString($_SESSION['banner_login'])); if ($result = $xoopsDB->query($sql)) { list ($passwd) = $xoopsDB->fetchRow($result); @@ -318,7 +318,7 @@ function clickbanner($bid) { global $xoopsDB; - $bid = intval($bid); + $bid = (int)($bid); if ($bid > 0) { $bresult = $xoopsDB->query("SELECT clickurl FROM " . $xoopsDB->prefix("banner") . " WHERE bid={$bid}"); list ($clickurl) = $xoopsDB->fetchRow($bresult); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/file.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/file.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/file.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -196,7 +196,7 @@ } $cachetime = $this->file->read(11); - if ($cachetime !== false && intval($cachetime) < time()) { + if ($cachetime !== false && (int)($cachetime) < time()) { $this->file->close(); $this->file->delete(); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/xoopscache.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/xoopscache.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/xoopscache.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -247,7 +247,7 @@ if (!$duration) { $duration = $settings['duration']; } - $duration = is_numeric($duration) ? intval($duration) : strtotime($duration) - time(); + $duration = is_numeric($duration) ? (int)($duration) : strtotime($duration) - time(); if ($duration < 1) { return false; @@ -394,7 +394,7 @@ if (empty($key)) { return false; } - $key = str_replace(array('/', '.'), '_', strval($key)); + $key = str_replace(array('/', '.'), '_', (string)($key)); return $key; } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/image/scripts/image.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/image/scripts/image.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/image/scripts/image.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -78,7 +78,7 @@ if ($this->mode == "bmp") { $this->config["num_chars"] = 4; - $this->code = rand( pow(10, $this->config["num_chars"] - 1), intval( str_pad("9", $this->config["num_chars"], "9") ) ); + $this->code = rand( pow(10, $this->config["num_chars"] - 1), (int)( str_pad("9", $this->config["num_chars"], "9") ) ); } else { $raw_code = md5(uniqid(mt_rand(), 1)); if (!empty($this->config["skip_characters"])) { @@ -229,7 +229,7 @@ imagedestroy($oImage); $this->height = $MaxCharHeight + 2; - $this->spacing = intval( ($this->config["num_chars"] * $MaxCharWidth) / $this->config["num_chars"] ); + $this->spacing = (int)( ($this->config["num_chars"] * $MaxCharWidth) / $this->config["num_chars"] ); $this->width = ($this->config["num_chars"] * $MaxCharWidth) + ($this->spacing/2); } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/xoopscaptcha.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/xoopscaptcha.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/xoopscaptcha.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -420,7 +420,7 @@ */ function getCode() { - return strval($this->code); + return (string)($this->code); } /** Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/commentrenderer.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/commentrenderer.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/commentrenderer.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -339,7 +339,7 @@ // Start edit by voltan function _getPosterName($poster_id, $poster_user, $poster_website) { - $poster['id'] = intval($poster_id); + $poster['id'] = (int)($poster_id); if ($poster['id'] > 0) { $com_poster =& $this->_memberHandler->getUser($poster_id); if (is_object($com_poster)) { @@ -374,7 +374,7 @@ // Start edit by voltan function _getPosterArray($poster_id, $poster_user, $poster_website) { - $poster['id'] = intval($poster_id); + $poster['id'] = (int)($poster_id); if ($poster['id'] > 0) { $com_poster =& $this->_memberHandler->getUser($poster['id']); if (is_object($com_poster)) { Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/criteria.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/criteria.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/criteria.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -121,7 +121,7 @@ */ function setLimit($limit = 0) { - $this->limit = intval($limit); + $this->limit = (int)($limit); } /** @@ -139,7 +139,7 @@ */ function setStart($start = 0) { - $this->start = intval($start); + $this->start = (int)($start); } /** Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/logger/render.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/logger/render.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/logger/render.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -146,7 +146,7 @@ $ret .= '<table id="xo-logger-blocks" class="outer"><tr><th colspan="2">' . _LOGGER_BLOCKS . '</th></tr>'; foreach ($this->blocks as $b) { if ($b['cached']) { - $ret .= '<tr><td class="' . $class . '"><strong>' . $b['name'] . ':</strong> ' . sprintf(_LOGGER_CACHED, intval($b['cachetime'])) . '</td></tr>'; + $ret .= '<tr><td class="' . $class . '"><strong>' . $b['name'] . ':</strong> ' . sprintf(_LOGGER_CACHED, (int)($b['cachetime'])) . '</td></tr>'; } else { $ret .= '<tr><td class="' . $class . '"><strong>' . $b['name'] . ':</strong> ' . _LOGGER_NOT_CACHED . '</td></tr>'; } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/joint.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/joint.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/joint.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -144,7 +144,7 @@ return false; } $myrow = $this->handler->db->fetchArray($result); - return intval($myrow["count"]); + return (int)($myrow["count"]); } /** Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/write.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/write.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/write.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -73,8 +73,8 @@ continue; } $cleanv = xoops_convert_encode($cleanv); - if (isset($v['maxlength']) && strlen($cleanv) > intval($v['maxlength'])) { - $errors[] = sprintf(_XOBJ_ERR_SHORTERTHAN, $k, intval($v['maxlength'])); + if (isset($v['maxlength']) && strlen($cleanv) > (int)($v['maxlength'])) { + $errors[] = sprintf(_XOBJ_ERR_SHORTERTHAN, $k, (int)($v['maxlength'])); continue; } if (!$v['not_gpc']) { @@ -107,8 +107,8 @@ $errors[] = sprintf(_XOBJ_ERR_REQUIRED, $k); continue; } - if (isset($v['maxlength']) && strlen($cleanv) > intval($v['maxlength'])) { - $errors[] = sprintf(_XOBJ_ERR_SHORTERTHAN, $k, intval($v['maxlength'])); + if (isset($v['maxlength']) && strlen($cleanv) > (int)($v['maxlength'])) { + $errors[] = sprintf(_XOBJ_ERR_SHORTERTHAN, $k, (int)($v['maxlength'])); continue; } if (!$v['not_gpc']) { @@ -213,7 +213,7 @@ break; case XOBJ_DTYPE_INT: - $cleanv = intval($cleanv); + $cleanv = (int)($cleanv); break; case XOBJ_DTYPE_FLOAT: @@ -251,7 +251,7 @@ case XOBJ_DTYPE_STIME: case XOBJ_DTYPE_MTIME: case XOBJ_DTYPE_LTIME: - $cleanv = !is_string($cleanv) ? intval($cleanv) : strtotime($cleanv); + $cleanv = !is_string($cleanv) ? (int)($cleanv) : strtotime($cleanv); break; default: Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/pagenav.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/pagenav.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/pagenav.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -48,9 +48,9 @@ */ function XoopsPageNav($total_items, $items_perpage, $current_start, $start_name = "start", $extra_arg = "") { - $this->total = intval($total_items); - $this->perpage = intval($items_perpage); - $this->current = intval($current_start); + $this->total = (int)($total_items); + $this->perpage = (int)($items_perpage); + $this->current = (int)($current_start); $this->extra = $extra_arg; if ($extra_arg != '' && (substr($extra_arg, - 5) != '&' || substr($extra_arg, - 1) != '&')) { $this->extra = '&' . $extra_arg; @@ -79,7 +79,7 @@ $ret .= '<a class="xo-pagarrow" href="' . $this->url . $prev . $this->extra . '"><u>«</u></a> '; } $counter = 1; - $current_page = intval(floor(($this->current + $this->perpage) / $this->perpage)); + $current_page = (int)(floor(($this->current + $this->perpage) / $this->perpage)); while ($counter <= $total_pages) { if ($counter == $current_page) { $ret .= '<strong class="xo-pagact" >(' . $counter . ')</strong> '; @@ -122,7 +122,7 @@ $ret = '<form name="pagenavform">'; $ret .= '<select name="pagenavselect" onchange="location=this.options[this.options.selectedIndex].value;">'; $counter = 1; - $current_page = intval(floor(($this->current + $this->perpage) / $this->perpage)); + $current_page = (int)(floor(($this->current + $this->perpage) / $this->perpage)); while ($counter <= $total_pages) { if ($counter == $current_page) { $ret .= '<option value="' . $this->url . (($counter - 1) * $this->perpage) . $this->extra . '" selected="selected">' . $counter . '</option>'; @@ -163,7 +163,7 @@ $ret .= '<td class="pagno"></a></td><td><img src="' . XOOPS_URL . '/images/blank.gif" width="6" alt="" /></td>'; } $counter = 1; - $current_page = intval(floor(($this->current + $this->perpage) / $this->perpage)); + $current_page = (int)(floor(($this->current + $this->perpage) / $this->perpage)); while ($counter <= $total_pages) { if ($counter == $current_page) { $ret .= '<td class="pagact"><strong>' . $counter . '</strong></td>'; Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/plugins/function.html_select_time.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/plugins/function.html_select_time.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/plugins/function.html_select_time.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -111,7 +111,7 @@ $all_minutes = range(0, 59); for ($i = 0, $for_max = count($all_minutes); $i < $for_max; $i+= $minute_interval) $minutes[] = sprintf('%02d', $all_minutes[$i]); - $selected = intval(floor(strftime('%M', $time) / $minute_interval) * $minute_interval); + $selected = (int)(floor(strftime('%M', $time) / $minute_interval) * $minute_interval); $html_result .= '<select name='; if (null !== $field_array) { $html_result .= '"' . $field_array . '[' . $prefix . 'Minute]"'; @@ -138,7 +138,7 @@ $all_seconds = range(0, 59); for ($i = 0, $for_max = count($all_seconds); $i < $for_max; $i+= $second_interval) $seconds[] = sprintf('%02d', $all_seconds[$i]); - $selected = intval(floor(strftime('%S', $time) / $second_interval) * $second_interval); + $selected = (int)(floor(strftime('%S', $time) / $second_interval) * $second_interval); $html_result .= '<select name='; if (null !== $field_array) { $html_result .= '"' . $field_array . '[' . $prefix . 'Second]"'; Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/function.block.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/function.block.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/function.block.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -35,9 +35,9 @@ $display_none = (isset($params['display']) && $params['display'] == 'none') ? true : false; $options = (isset($params['options'])) ? $params['options'] : false; $groups = (isset($params['groups'])) ? explode('|', $params['groups']) : false; - $cache = (isset($params['cache'])) ? intval($params['cache']) : false; + $cache = (isset($params['cache'])) ? (int)($params['cache']) : false; - $block_id = intval($params['id']); + $block_id = (int)($params['id']); static $block_objs; if (!isset($block_objs[$block_id])) { @@ -79,7 +79,7 @@ $xoopsLogger =& XoopsLogger::getInstance(); $template =& $GLOBALS['xoopsTpl']; - $bcachetime = intval($blockObj->getVar('bcachetime')); + $bcachetime = (int)($blockObj->getVar('bcachetime')); if (empty($bcachetime)) { $template->caching = 0; } else { Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/function.xoInboxCount.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/function.xoInboxCount.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/function.xoInboxCount.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -13,7 +13,7 @@ } $time = time(); if (isset($_SESSION['xoops_inbox_count']) && @$_SESSION['xoops_inbox_count_expire'] > $time) { - $count = intval($_SESSION['xoops_inbox_count']); + $count = (int)($_SESSION['xoops_inbox_count']); } else { $pm_handler =& xoops_gethandler('privmessage'); @@ -22,7 +22,7 @@ $criteria = new CriteriaCompo(new Criteria('read_msg', 0)); $criteria->add(new Criteria('to_userid', $xoopsUser->getVar('uid'))); - $count = intval($pm_handler->getCount($criteria)); + $count = (int)($pm_handler->getCount($criteria)); $_SESSION['xoops_inbox_count'] = $count; $_SESSION['xoops_inbox_count_expire'] = $time + 60; } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/function.xoPageNav.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/function.xoPageNav.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/function.xoPageNav.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -23,13 +23,13 @@ if ($pageSize < 1) { $pageSize = 10; } - $pagesCount = intval($itemsCount / $pageSize); + $pagesCount = (int)($itemsCount / $pageSize); if ($itemsCount <= $pageSize || $pagesCount < 2) { return ''; } $str = ''; - $currentPage = intval($offset / $pageSize) + 1; - $lastPage = intval($itemsCount / $pageSize) + 1; + $currentPage = (int)($offset / $pageSize) + 1; + $lastPage = (int)($itemsCount / $pageSize) + 1; $minPage = min(1, ceil($currentPage - $linksCount / 2)); $maxPage = max($lastPage, floor($currentPage + $linksCount / 2)); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/theme_blocks.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/theme_blocks.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/theme_blocks.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -172,7 +172,7 @@ 'weight' => $xobject->getVar('weight') , 'lastmod' => $xobject->getVar('last_modified')); - $bcachetime = intval($xobject->getVar('bcachetime')); + $bcachetime = (int)($xobject->getVar('bcachetime')); if (empty($bcachetime)) { $template->caching = 0; } else { Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/uploader.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/uploader.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/uploader.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -130,7 +130,7 @@ $maxUploadInBytes = $this->return_bytes(ini_get('upload_max_filesize')); $maxPostInBytes = $this->return_bytes(ini_get('post_max_size')); $memoryLimitInBytes = $this->return_bytes(ini_get('memory_limit')); - if (intval($maxFileSize) > 0) { + if ((int)($maxFileSize) > 0) { $maxFileSizeInBytes = $this->return_bytes($maxFileSize); $newMaxFileSize = min($maxFileSizeInBytes, $maxUploadInBytes, $maxPostInBytes, $memoryLimitInBytes); } else { @@ -139,10 +139,10 @@ $this->maxFileSize = $newMaxFileSize; if (isset($maxWidth)) { - $this->maxWidth = intval($maxWidth); + $this->maxWidth = (int)($maxWidth); } if (isset($maxHeight)) { - $this->maxHeight = intval($maxHeight); + $this->maxHeight = (int)($maxHeight); } if (isset($randomFilename)) { $this->randomFilename = $randomFilename; @@ -210,7 +210,7 @@ return false; } else if (is_array($_FILES[$media_name]['name']) && isset($index)) { - $index = intval($index); + $index = (int)($index); $this->mediaName = (get_magic_quotes_gpc()) ? stripslashes($_FILES[$media_name]['name'][$index]) : $_FILES[$media_name]['name'][$index]; if ($this->randomFilename) { $unique = uniqid(time()); @@ -240,7 +240,7 @@ } } $this->errors = array(); - if (intval($this->mediaSize) < 0) { + if ((int)($this->mediaSize) < 0) { $this->setErrors(_ER_UP_INVALIDFILESIZE); return false; @@ -271,7 +271,7 @@ */ function setTargetFileName($value) { - $this->targetFileName = strval(trim($value)); + $this->targetFileName = (string)(trim($value)); } /** @@ -281,7 +281,7 @@ */ function setPrefix($value) { - $this->prefix = strval(trim($value)); + $this->prefix = (string)(trim($value)); } /** Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/userutility.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/userutility.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/userutility.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -300,7 +300,7 @@ static function getUnameFromId($userid, $usereal = false, $linked = false) { $myts =& MyTextSanitizer::getInstance(); - $userid = intval($userid); + $userid = (int)($userid); $username = ''; if ($userid > 0) { $member_handler = &xoops_gethandler('member'); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xmlrpcparser.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xmlrpcparser.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xmlrpcparser.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -335,7 +335,7 @@ */ function handleCharacterData(&$parser, &$data) { - $parser->setTempValue(intval($data)); + $parser->setTempValue((int)($data)); } } @@ -409,7 +409,7 @@ */ function handleCharacterData(&$parser, &$data) { - $parser->setTempValue(strval($data)); + $parser->setTempValue((string)($data)); } } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xmlrpctag.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xmlrpctag.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xmlrpctag.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -141,7 +141,7 @@ */ function setFault($fault = true) { - $this->_fault = (intval($fault) > 0) ? true : false; + $this->_fault = ((int)($fault) > 0) ? true : false; } /** @@ -173,7 +173,7 @@ function XoopsXmlRpcFault($code, $extra = null) { $this->setFault(true); - $this->_code = intval($code); + $this->_code = (int)($code); $this->_extra = isset($extra) ? trim($extra) : ''; } @@ -239,7 +239,7 @@ */ function XoopsXmlRpcInt($value) { - $this->_value = intval($value); + $this->_value = (int)($value); } /** @@ -314,7 +314,7 @@ */ function XoopsXmlRpcString($value) { - $this->_value = strval($value); + $this->_value = (string)($value); } /** @@ -342,7 +342,7 @@ if (!is_numeric($value)) { $this->_value = strtotime($value); } else { - $this->_value = intval($value); + $this->_value = (int)($value); } } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xoopsapi.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xoopsapi.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xoopsapi.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -81,7 +81,7 @@ include_once XOOPS_ROOT_PATH.'/modules/news/class/class.newsstory.php'; $story = new NewsStory(); $error = false; - if (intval($this->params[4]) > 0) { + if ((int)($this->params[4]) > 0) { if (!$this->_checkAdmin()) { // non admin users cannot publish $error = true; @@ -100,7 +100,7 @@ } if (!$error) { if (isset($post['categories']) && !empty($post['categories'][0])) { - $story->setTopicId(intval($post['categories'][0]['categoryId'])); + $story->setTopicId((int)($post['categories'][0]['categoryId'])); } else { $story->setTopicId(1); } @@ -280,10 +280,10 @@ $this->response->add(new XoopsXmlRpcFault(104)); } else { include_once XOOPS_ROOT_PATH.'/modules/news/class/class.newsstory.php'; - if (isset($this->params[4]) && intval($this->params[4]) > 0) { - $stories =& NewsStory::getAllPublished(intval($this->params[3]), 0, $this->params[4]); + if (isset($this->params[4]) && (int)($this->params[4]) > 0) { + $stories =& NewsStory::getAllPublished((int)($this->params[3]), 0, $this->params[4]); } else { - $stories =& NewsStory::getAllPublished(intval($this->params[3])); + $stories =& NewsStory::getAllPublished((int)($this->params[3])); } $scount = count($stories); $ret = array(); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsblock.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsblock.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsblock.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -70,7 +70,7 @@ if (is_array($id)) { $this->assignVars($id); } else { - $this->load(intval($id)); + $this->load((int)($id)); } } } @@ -82,7 +82,7 @@ */ function load($id) { - $id = intval($id); + $id = (int)($id); $sql = 'SELECT * FROM ' . $this->db->prefix('newblocks') . ' WHERE bid = ' . $id; $arr = $this->db->fetchArray($this->db->query($sql)); $this->assignVars($arr); @@ -467,7 +467,7 @@ */ static function getByModule($moduleid, $asobject = true) { - $moduleid = intval($moduleid); + $moduleid = (int)($moduleid); $db =& XoopsDatabaseFactory::getDatabaseConnection(); if ($asobject == true) { $sql = $sql = "SELECT * FROM " . $db->prefix("newblocks") . " WHERE mid=" . $moduleid; @@ -500,7 +500,7 @@ */ function getAllByGroupModule($groupid, $module_id = 0, $toponlyblock = false, $visible = null, $orderby = 'b.weight, m.block_id', $isactive = 1) { - $isactive = intval($isactive); + $isactive = (int)($isactive); $db =& XoopsDatabaseFactory::getDatabaseConnection(); $ret = array(); if (isset($groupid)) { @@ -508,8 +508,8 @@ if (is_array($groupid)) { $sql .= ' AND gperm_groupid IN (' . implode(',', $groupid) . ')'; } else { - if (intval($groupid) > 0) { - $sql .= ' AND gperm_groupid=' . intval($groupid); + if ((int)($groupid) > 0) { + $sql .= ' AND gperm_groupid=' . (int)($groupid); } } $result = $db->query($sql); @@ -524,11 +524,11 @@ $sql = 'SELECT b.* FROM ' . $db->prefix('newblocks') . ' b, ' . $db->prefix('block_module_link') . ' m WHERE m.block_id=b.bid'; $sql .= ' AND b.isactive=' . $isactive; if (isset($visible)) { - $sql .= ' AND b.visible=' . intval($visible); + $sql .= ' AND b.visible=' . (int)($visible); } if (!isset($module_id)) { } elseif (!empty($module_id)) { - $sql .= ' AND m.module_id IN (0,' . intval($module_id); + $sql .= ' AND m.module_id IN (0,' . (int)($module_id); if ($toponlyblock) { $sql .= ',-1'; } @@ -585,13 +585,13 @@ $non_grouped = array_diff($bids, $grouped); if (!empty($non_grouped)) { $sql = 'SELECT b.* FROM ' . $db->prefix('newblocks') . ' b, ' . $db->prefix('block_module_link') . ' m WHERE m.block_id=b.bid'; - $sql .= ' AND b.isactive=' . intval($isactive); + $sql .= ' AND b.isactive=' . (int)($isactive); if (isset($visible)) { - $sql .= ' AND b.visible=' . intval($visible); + $sql .= ' AND b.visible=' . (int)($visible); } if (!isset($module_id)) { } elseif (!empty($module_id)) { - $sql .= ' AND m.module_id IN (0,' . intval($module_id); + $sql .= ' AND m.module_id IN (0,' . (int)($module_id); if ($toponlyblock) { $sql .= ',-1'; } @@ -626,8 +626,8 @@ */ function countSimilarBlocks($moduleId, $funcNum, $showFunc = null) { - $funcNum = intval($funcNum); - $moduleId = intval($moduleId); + $funcNum = (int)($funcNum); + $moduleId = (int)($moduleId); if ($funcNum < 1 || $moduleId < 1) { // invalid query return 0; Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopscomments.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopscomments.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopscomments.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -69,7 +69,7 @@ if (is_array($id)) { $this->assignVars($id); } else { - $this->load(intval($id)); + $this->load((int)($id)); } } } @@ -81,7 +81,7 @@ */ function load($id) { - $id = intval($id); + $id = (int)($id); $sql = "SELECT * FROM " . $this->ctable . " WHERE comment_id=" . $id; $arr = $this->db->fetchArray($this->db->query($sql)); $this->assignVars($arr); @@ -244,12 +244,12 @@ if ($order == 1) { echo " selected='selected'"; } - echo ">" . _NEWESTFIRST . "</option></select><input type='hidden' name='item_id' value='" . intval($item_id) . "' /><input type='submit' value='" . _CM_REFRESH . "' />"; + echo ">" . _NEWESTFIRST . "</option></select><input type='hidden' name='item_id' value='" . (int)($item_id) . "' /><input type='submit' value='" . _CM_REFRESH . "' />"; if ($xoopsConfig['anonpost'] == 1 || $xoopsUser) { if ($mode != "flat" || $mode != "nocomments" || $mode != "thread") { $mode = "flat"; } - echo " <input type='button' onclick='location=\"newcomment.php?item_id=" . intval($item_id) . "&order=" . intval($order) . "&mode=" . $mode . "\"' value='" . _CM_POSTCOMMENT . "' />"; + echo " <input type='button' onclick='location=\"newcomment.php?item_id=" . (int)($item_id) . "&order=" . (int)($order) . "&mode=" . $mode . "\"' value='" . _CM_POSTCOMMENT . "' />"; } echo "</td></tr></table></form>"; } @@ -297,13 +297,13 @@ $ip_image = "<img src='" . XOOPS_URL . "/images/icons/ip.gif' alt='' />"; } if ($adminview || ($xoopsUser && $this->getVar("user_id") == $xoopsUser->getVar("uid"))) { - $edit_image = "<a href='editcomment.php?comment_id=" . $this->getVar("comment_id") . "&mode=" . $mode . "&order=" . intval($order) . "'><img src='" . XOOPS_URL . "/images/icons/edit.gif' alt='" . _EDIT . "' /></a>"; + $edit_image = "<a href='editcomment.php?comment_id=" . $this->getVar("comment_id") . "&mode=" . $mode . "&order=" . (int)($order) . "'><img src='" . XOOPS_URL . "/images/icons/edit.gif' alt='" . _EDIT . "' /></a>"; } if ($xoopsConfig['anonpost'] || $xoopsUser) { - $reply_image = "<a href='replycomment.php?comment_id=" . $this->getVar("comment_id") . "&mode=" . $mode . "&order=" . intval($order) . "'><img src='" . XOOPS_URL . "/images/icons/reply.gif' alt='" . _REPLY . "' /></a>"; + $reply_image = "<a href='replycomment.php?comment_id=" . $this->getVar("comment_id") . "&mode=" . $mode . "&order=" . (int)($order) . "'><img src='" . XOOPS_URL . "/images/icons/reply.gif' alt='" . _REPLY . "' /></a>"; } if ($adminview) { - $delete_image = "<a href='deletecomment.php?comment_id=" . $this->getVar("comment_id") . "&mode=" . $mode . "&order=" . intval($order) . "'><img src='" . XOOPS_URL . "/images/icons/delete.gif' alt='" . _DELETE . "' /></a>"; + $delete_image = "<a href='deletecomment.php?comment_id=" . $this->getVar("comment_id") . "&mode=" . $mode . "&order=" . (int)($order) . "'><img src='" . XOOPS_URL . "/images/icons/delete.gif' alt='" . _DELETE . "' /></a>"; } if ($poster) { Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/xoopsemotions.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/xoopsemotions.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/xoopsemotions.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -63,7 +63,7 @@ $smile_url = $uploader->getSavedFileName(); $smile_code = $myts->stripSlashesGPC($_POST['smile_code']); $smile_desc = $myts->stripSlashesGPC($_POST['smile_desc']); - $smile_display = intval($_POST['smile_display']) > 0 ? 1 : 0; + $smile_display = (int)($_POST['smile_display']) > 0 ? 1 : 0; $newid = $db->genId($db->prefix('smilies')."_id_seq"); $sql = sprintf("INSERT INTO %s (id, code, smile_url, emotion, display) VALUES (%d, %s, %s, %s, %d)", $db->prefix('smiles'), $newid, $db->quoteString($smile_code), $db->quoteString($smile_url), $db->quoteString($smile_desc), $smile_display); if (!$db->query($sql)) { Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -78,15 +78,15 @@ } if (isset($_GET["image_id"])) { - $image_id = intval($_GET["image_id"]); + $image_id = (int)($_GET["image_id"]); } if (isset($_GET["imgcat_id"])) { - $imgcat_id = intval($_GET["imgcat_id"]); + $imgcat_id = (int)($_GET["imgcat_id"]); } if (isset($imgcat_id)) { - $imgcat_id = intval($imgcat_id); + $imgcat_id = (int)($imgcat_id); } $target = htmlspecialchars($target); @@ -129,7 +129,7 @@ if (!$GLOBALS["xoopsSecurity"]->check()) { redirect_header($current_file . "?target=" . $target, 3, implode("<br />", $GLOBALS["xoopsSecurity"]->getErrors())); } - $imgcat =& $imgcat_handler->get(intval($imgcat_id)); + $imgcat =& $imgcat_handler->get((int)($imgcat_id)); if (!is_object($imgcat)) { redirect_header($current_file . "?target=" . $target, 3); } @@ -308,7 +308,7 @@ if (!$GLOBALS["xoopsSecurity"]->check()) { redirect_header($current_file . "?target=" . $target, 3, implode("<br />", $GLOBALS["xoopsSecurity"]->getErrors())); } - $imgcat_id = intval($imgcat_id); + $imgcat_id = (int)($imgcat_id); if ($imgcat_id <= 0) { redirect_header($current_file . "?target=" . $target, 3); } @@ -358,7 +358,7 @@ if (!$GLOBALS["xoopsSecurity"]->check()) { redirect_header($current_file . "?target=" . $target, 3, implode("<br />", $GLOBALS["xoopsSecurity"]->getErrors())); } - $image_id = intval($image_id); + $image_id = (int)($image_id); if ($image_id <= 0) { redirect_header($current_file . "?target=" . $target, 3); } @@ -448,7 +448,7 @@ //list images - start if ($op == 'listimg') { - $imgcat_id = intval($imgcat_id); + $imgcat_id = (int)($imgcat_id); if ($imgcat_id <= 0) { redirect_header($current_file . '?target=' . $target, 1); } @@ -461,7 +461,7 @@ $criteria = new Criteria('imgcat_id', $imgcat_id); $imgcount = $image_handler->getCount($criteria); - $start = isset($_GET['start']) ? intval($_GET['start']) : 0; + $start = isset($_GET['start']) ? (int)($_GET['start']) : 0; $criteria->setStart($start); $criteria->setLimit(20); $images =& $image_handler->getObjects($criteria, true, false); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formdatetime.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formdatetime.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formdatetime.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -41,7 +41,7 @@ function XoopsFormDateTime($caption, $name, $size = 15, $value = 0, $showtime = true) { $this->XoopsFormElementTray($caption, ' '); - $value = intval($value); + $value = (int)($value); $value = ($value > 0) ? $value : time(); $datetime = getDate($value); $this->addElement(new XoopsFormTextDateSelect('', $name . '[date]', $size, $value, $showtime)); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formdhtmltextarea.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formdhtmltextarea.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formdhtmltextarea.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -161,7 +161,7 @@ $GLOBALS['xoTheme']->addScript('/class/textsanitizer/image/image.js', array('type' => 'text/javascript')); } $button = // "<br />" . -"<input " . " id='" . $this->getName() . "_preview_button'" . " type='button' " . " value='" . _PREVIEW . "' " . " onclick=\"form_instantPreview('" . XOOPS_URL . "', '" . $this->getName() . "','" . XOOPS_URL . "/images', " . intval($this->doHtml) . ", '" . $GLOBALS['xoopsSecurity']->createToken() . "')\"" . " />"; +"<input " . " id='" . $this->getName() . "_preview_button'" . " type='button' " . " value='" . _PREVIEW . "' " . " onclick=\"form_instantPreview('" . XOOPS_URL . "', '" . $this->getName() . "','" . XOOPS_URL . "/images', " . (int)($this->doHtml) . ", '" . $GLOBALS['xoopsSecurity']->createToken() . "')\"" . " />"; $ret .= "<br />" . "<div id='" . $this->getName() . "_hidden' style='display: block;'> " . " <fieldset>" . " <legend>" . $button . "</legend>" . " <div id='" . $this->getName() . "_hidden_data'>" . _XOOPS_FORM_PREVIEW_CONTENT . "</div>" . " </fieldset>" . "</div>"; } // Load javascript Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formfile.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formfile.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formfile.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -44,7 +44,7 @@ { $this->setCaption($caption); $this->setName($name); - $this->_maxFileSize = intval($maxfilesize); + $this->_maxFileSize = (int)($maxfilesize); } /** Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formpassword.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formpassword.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formpassword.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -73,8 +73,8 @@ { $this->setCaption($caption); $this->setName($name); - $this->_size = intval($size); - $this->_maxlength = intval($maxlength); + $this->_size = (int)($size); + $this->_maxlength = (int)($maxlength); $this->setValue($value); $this->autoComplete = ! empty($autoComplete); } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselect.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselect.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselect.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -81,7 +81,7 @@ $this->setCaption($caption); $this->setName($name); $this->_multiple = $multiple; - $this->_size = intval($size); + $this->_size = (int)($size); if (isset($value)) { $this->setValue($value); } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formtext.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formtext.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formtext.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -62,8 +62,8 @@ { $this->setCaption($caption); $this->setName($name); - $this->_size = intval($size); - $this->_maxlength = intval($maxlength); + $this->_size = (int)($size); + $this->_maxlength = (int)($maxlength); $this->setValue($value); } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formtextarea.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formtextarea.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formtextarea.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -64,8 +64,8 @@ { $this->setCaption($caption); $this->setName($name); - $this->_rows = intval($rows); - $this->_cols = intval($cols); + $this->_rows = (int)($rows); + $this->_cols = (int)($cols); $this->setValue($value); } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formtextdateselect.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formtextdateselect.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formtextdateselect.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -35,7 +35,7 @@ */ function XoopsFormTextDateSelect($caption, $name, $size = 15, $value = 0) { - $value = !is_numeric($value) ? time() : intval($value); + $value = !is_numeric($value) ? time() : (int)($value); $value = ($value == 0) ? time() : $value; $this->XoopsFormText($caption, $name, $size, 25, $value); } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/grouppermform.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/grouppermform.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/grouppermform.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -69,7 +69,7 @@ function XoopsGroupPermForm($title, $modid, $permname, $permdesc, $url = '', $anonymous = true) { $this->XoopsForm($title, 'groupperm_form', XOOPS_URL . '/modules/system/admin/groupperm.php', 'post'); - $this->_modid = intval($modid); + $this->_modid = (int)($modid); $this->_permName = $permname; $this->_permDesc = $permdesc; $this->addElement(new XoopsFormHidden('modid', $this->_modid)); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopslocal.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopslocal.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopslocal.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -133,11 +133,11 @@ if ($format == 'rss' || $format == 'r') { $TIME_ZONE = ''; if (isset($GLOBALS['xoopsConfig']['server_TZ'])) { - $server_TZ = abs(intval($GLOBALS['xoopsConfig']['server_TZ'] * 3600.0)); + $server_TZ = abs((int)($GLOBALS['xoopsConfig']['server_TZ'] * 3600.0)); $prefix = ($GLOBALS['xoopsConfig']['server_TZ'] < 0) ? ' -' : ' +'; $TIME_ZONE = $prefix . date('Hi', $server_TZ); } - $date = gmdate('D, d M Y H:i:s', intval($time)) . $TIME_ZONE; + $date = gmdate('D, d M Y H:i:s', (int)($time)) . $TIME_ZONE; return $date; } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopssecurity.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopssecurity.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopssecurity.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -69,7 +69,7 @@ } $token_data = array( 'id' => $token_id , - 'expire' => time() + intval($timeout)); + 'expire' => time() + (int)($timeout)); array_push($_SESSION[$name . '_SESSION'], $token_data); return md5($token_id . $_SERVER['HTTP_USER_AGENT'] . XOOPS_DB_PREFIX); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsstory.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsstory.php 2015-06-13 22:09:36 UTC (rev 13089) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsstory.php 2015-06-16 20:44:29 UTC (rev 13090) @@ -65,7 +65,7 @@ if ( is_array($storyid) ) { $this->makeStory($storyid); } elseif ($storyid != -1) { - $this->getStory(intval($storyid)); + $this->getStory((int)($storyid)); } } @@ -74,7 +74,7 @@ */ function setStoryId($value) { - $this->storyid = intval($value); + $this->storyid = (int)($value); } /** @@ -82,7 +82,7 @@ */ function setTopicId($value) { - $this->topicid = intval($value); + $this->topicid = (int)($value); } /** @@ -90,7 +90,7 @@ */ function setUid($value) { - $this->uid = intval($value); + $this->uid = (int)($value); } /** @@ -122,7 +122,7 @@ */ function setPublished($value) { - $this->published = intval($value); + $this->published = (int)($value); } /** @@ -130,7 +130,7 @@ */ function setExpired($value) { - $this->e... [truncated message content] |
From: <be...@us...> - 2015-06-16 21:08:37
|
Revision: 13091 http://sourceforge.net/p/xoops/svn/13091 Author: beckmi Date: 2015-06-16 21:08:34 +0000 (Tue, 16 Jun 2015) Log Message: ----------- Replacing floatval() with (float) Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/write.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/functions.php XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/object.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.class.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.filters.php Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/write.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/write.php 2015-06-16 20:44:29 UTC (rev 13090) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/write.php 2015-06-16 21:08:34 UTC (rev 13091) @@ -217,7 +217,7 @@ break; case XOBJ_DTYPE_FLOAT: - $cleanv = floatval($cleanv); + $cleanv = (float)($cleanv); break; case XOBJ_DTYPE_DECIMAL: Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/include/functions.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/include/functions.php 2015-06-16 20:44:29 UTC (rev 13090) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/include/functions.php 2015-06-16 21:08:34 UTC (rev 13091) @@ -392,7 +392,7 @@ $timeoffset = $xoopsConfig['default_TZ']; } } - $usertimestamp = (int)($time) + (floatval($timeoffset) - $xoopsConfig['server_TZ']) * 3600; + $usertimestamp = (int)($time) + ((float)($timeoffset) - $xoopsConfig['server_TZ']) * 3600; return $usertimestamp; } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/object.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/object.php 2015-06-16 20:44:29 UTC (rev 13090) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/object.php 2015-06-16 21:08:34 UTC (rev 13091) @@ -768,7 +768,7 @@ $cleanv = !is_string($cleanv) ? (int)($cleanv) : strtotime($cleanv); break; case XOBJ_DTYPE_FLOAT: - $cleanv = floatval($cleanv); + $cleanv = (float)($cleanv); break; case XOBJ_DTYPE_DECIMAL: $cleanv = doubleval($cleanv); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.class.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.class.php 2015-06-16 20:44:29 UTC (rev 13090) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.class.php 2015-06-16 21:08:34 UTC (rev 13091) @@ -1866,7 +1866,7 @@ case 'gam': @list($amount) = explode('|', $parameter); - $amount = min(max(floatval($amount), 0.001), 10); + $amount = min(max((float)($amount), 0.001), 10); if (number_format($amount, 3) != '1.000') { if ($this->ImageMagickSwitchAvailable('gamma')) { $commandline .= ' -gamma '.escapeshellarg($amount); @@ -1938,7 +1938,7 @@ @list($band, $method, $threshold) = explode('|', $parameter); $band = ($band ? preg_replace('#[^RGBA\\*]#', '', strtoupper($band)) : '*'); $method = ((strlen($method) > 0) ? (int)($method) : 2); - $threshold = ((strlen($threshold) > 0) ? min(max(floatval($threshold), 0), 100) : 0.1); + $threshold = ((strlen($threshold) > 0) ? min(max((float)($threshold), 0), 100) : 0.1); $band = preg_replace('#[^RGBA\\*]#', '', strtoupper($band)); @@ -1999,7 +1999,7 @@ case 'wb': if ($this->ImageMagickSwitchAvailable(array('channel', 'contrast-stretch'))) { @list($threshold) = explode('|', $parameter); - $threshold = (!empty($threshold) ? min(max(floatval($threshold), 0), 100) : 0.1); + $threshold = (!empty($threshold) ? min(max((float)($threshold), 0), 100) : 0.1); $threshold = preg_replace('#[^0-9\\.]#', '', $threshold); // should be unneccesary, but just to be double-sure //$commandline .= ' -channel R -contrast-stretch '.escapeshellarg($threshold.'%'); // doesn't work on Windows because most versions of PHP do not properly //$commandline .= ' -channel G -contrast-stretch '.escapeshellarg($threshold.'%'); // escape special characters (such as %) and just replace them with spaces @@ -2226,7 +2226,7 @@ $rotate_angle = 0; if ($this->ra) { - $rotate_angle = floatval($this->ra); + $rotate_angle = (float)($this->ra); } else { @@ -2646,7 +2646,7 @@ @list($band, $method, $threshold) = explode('|', $parameter, 3); $band = ($band ? preg_replace('#[^RGBA\\*]#', '', strtoupper($band)) : '*'); $method = ((strlen($method) > 0) ? (int)($method) : 2); - $threshold = ((strlen($threshold) > 0) ? floatval($threshold) : 0.1); + $threshold = ((strlen($threshold) > 0) ? (float)($threshold) : 0.1); $phpthumbFilters->HistogramStretch($this->gdimg_output, $band, $method, $threshold); break; Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.filters.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.filters.php 2015-06-16 20:44:29 UTC (rev 13090) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.filters.php 2015-06-16 21:08:34 UTC (rev 13091) @@ -561,7 +561,7 @@ // pixel in the image could throw off the whole system. Instead, count up/down // from the limit and allow <threshold> (default = 0.1%) of brightest/darkest // pixels to be clipped to min/max - $threshold = floatval($threshold) / 100; + $threshold = (float)($threshold) / 100; $clip_threshold = ImageSX($gdimg) * ImageSX($gdimg) * $threshold; //if ($min >= 0) { // $range_min = min($min, 255); |
From: <rgr...@us...> - 2015-11-21 04:07:05
|
Revision: 13166 http://sourceforge.net/p/xoops/svn/13166 Author: rgriffith Date: 2015-11-21 04:07:01 +0000 (Sat, 21 Nov 2015) Log Message: ----------- Cleanup for several issues Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/xoopsmultimailer.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopssecurity.php XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_post.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/comments/main.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/tplsets/jquery.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/tplsets/main.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/users/main.php XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/jquery-ui.structure.css XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/jquery-ui.theme.css XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/minified/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/minified/jquery-ui.structure.min.css XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/minified/jquery-ui.theme.min.css XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/templates/admin/system_comments.html XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/templates/admin/system_users.html Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/xoopsmultimailer.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/xoopsmultimailer.php 2015-11-05 16:06:09 UTC (rev 13165) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/xoopsmultimailer.php 2015-11-21 04:07:01 UTC (rev 13166) @@ -35,7 +35,8 @@ return false; } -include_once XOOPS_ROOT_PATH . '/class/mail/phpmailer/class.phpmailer.php'; +require_once XOOPS_ROOT_PATH . '/class/mail/phpmailer/PHPMailerAutoload.php'; +//include_once XOOPS_ROOT_PATH . '/class/mail/phpmailer/class.phpmailer.php'; /** * Mailer Class. @@ -171,26 +172,6 @@ } else { $this->SetLanguage('en', XOOPS_ROOT_PATH . '/class/mail/phpmailer/language/'); } - $this->PluginDir = XOOPS_ROOT_PATH . '/class/mail/phpmailer/'; + //$this->PluginDir = XOOPS_ROOT_PATH . '/class/mail/phpmailer/'; } - - /** - * Formats an address correctly. This overrides the default addr_format method which does not seem to encode $FromName correctly - * - * @access private - * - * @param $addr - * - * @return string - */ - function AddrFormat($addr) - { - if (empty($addr[1])) { - $formatted = $addr[0]; - } else { - $formatted = sprintf('%s <%s>', '=?' . $this->CharSet . '?B?' . base64_encode($addr[1]) . '?=', $addr[0]); - } - - return $formatted; - } } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopssecurity.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopssecurity.php 2015-11-05 16:06:09 UTC (rev 13165) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopssecurity.php 2015-11-21 04:07:01 UTC (rev 13166) @@ -111,8 +111,10 @@ } } } - if (!$validFound) { - $xoopsLogger->addExtra('Token Validation', 'No valid token found'); + if (!$validFound && !isset($str)) { + $str = 'No valid token found'; + $this->setErrors($str); + $xoopsLogger->addExtra('Token Validation', $str); } $this->garbageCollection($name); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_post.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_post.php 2015-11-05 16:06:09 UTC (rev 13165) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_post.php 2015-11-21 04:07:01 UTC (rev 13166) @@ -200,6 +200,7 @@ break; case "post": + XoopsLoad::load('XoopsRequest'); $doimage = 1; $comment_handler =& xoops_gethandler('comment'); // Start add by voltan @@ -322,10 +323,8 @@ } $comment->setVar('com_uid', $uid); } - $com_title = xoops_trim($_POST['com_title']); - $com_title = ($com_title == '') ? _NOTITLE : $com_title; - $comment->setVar('com_title', $com_title); - $comment->setVar('com_text', $_POST['com_text']); + $comment->setVar('com_title', XoopsRequest::getString('com_title', _NOTITLE, 'POST')); + $comment->setVar('com_text', XoopsRequest::getString('com_text', '', 'POST')); $comment->setVar('dohtml', $dohtml); $comment->setVar('dosmiley', $dosmiley); $comment->setVar('doxcode', $doxcode); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/comments/main.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/comments/main.php 2015-11-05 16:06:09 UTC (rev 13165) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/comments/main.php 2015-11-21 04:07:01 UTC (rev 13166) @@ -290,10 +290,10 @@ $comments['comments_id'] = $com_id; $comments['comments_poster'] = $comments_poster_uname; $comments['comments_icon'] = $comments_icon; - $comments['comments_title'] = '<a href="admin.php?fct=comments&op=comments_jump&com_id='.$comments_arr[$i]->getVar("com_id").'">'.$comments_arr[$i]->getVar("com_title"); + $comments['comments_title'] = $myts->htmlSpecialChars($comments_arr[$i]->getVar("com_title")); $comments['comments_ip'] = $comments_arr[$i]->getVar('com_ip'); $comments['comments_date'] = formatTimeStamp($comments_arr[$i]->getVar('com_created')); - $comments['comments_text'] = $myts->undoHtmlSpecialChars($comments_arr[$i]->getVar('com_text')); + $comments['comments_text'] = $myts->htmlSpecialChars($comments_arr[$i]->getVar('com_text')); $comments['comments_status'] = @$status_array2[$comments_arr[$i]->getVar('com_status')]; $comments['comments_date_created'] = formatTimestamp($comments_arr[$i]->getVar('com_created'), 'm'); $comments['comments_modid'] = @$module_array[$comments_arr[$i]->getVar('com_modid')]; Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/tplsets/jquery.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/tplsets/jquery.php 2015-11-05 16:06:09 UTC (rev 13165) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/tplsets/jquery.php 2015-11-21 04:07:01 UTC (rev 13166) @@ -32,14 +32,11 @@ include_once './../../language/english/admin/tplsets.php'; } -if (isset($_REQUEST["op"])) { - $op = $_REQUEST["op"]; -} else { - @$op = "default"; -} +XoopsLoad::load('XoopsRequest'); $GLOBALS['xoopsLogger']->usePopup = true; +$op = XoopsRequest::getCmd('op', 'default'); switch ($op) { // Display tree folder case "tpls_display_folder": @@ -84,7 +81,9 @@ break; // Edit File case 'tpls_edit_file': - $path_file = realpath(XOOPS_ROOT_PATH.'/themes'.trim($_REQUEST['path_file'])); + $clean_file = XoopsRequest::getString('file', ''); + $clean_path_file = XoopsRequest::getString('path_file', ''); + $path_file = realpath(XOOPS_ROOT_PATH.'/themes'.trim($clean_path_file)); $path_file = str_replace('\\','/',$path_file); //Button restore @@ -103,7 +102,7 @@ if (empty($content)) { echo _AM_SYSTEM_TEMPLATES_EMPTY_FILE; } - $ext = preg_replace('/^.*\./', '', $_REQUEST['path_file']); + $ext = preg_replace('/^.*\./', '', $clean_path_file); echo '<form name="back" action="admin.php?fct=tplsets&op=tpls_save" method="POST"> <table border="0"> @@ -127,7 +126,10 @@ <td><textarea id="code_mirror" name="templates" rows=24 cols=110>'.$content.'</textarea></td> </tr> </table>'; - echo '<input type="hidden" name="path_file" value="'.$path_file.'"><input type="hidden" name="file" value="'.trim($_REQUEST['file']).'"><input type="hidden" name="ext" value="'.$ext.'"></form>'; + XoopsLoad::load('XoopsFormHiddenToken'); + $xoopsToken = new XoopsFormHiddenToken(); + echo $xoopsToken->render(); + echo '<input type="hidden" name="path_file" value="'.$clean_path_file.'"><input type="hidden" name="file" value="'.trim($clean_file).'"><input type="hidden" name="ext" value="'.$ext.'"></form>'; break; // Restore backup file Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/tplsets/main.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/tplsets/main.php 2015-11-05 16:06:09 UTC (rev 13165) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/tplsets/main.php 2015-11-21 04:07:01 UTC (rev 13166) @@ -352,11 +352,23 @@ // save case 'tpls_save': - $path_file = $_REQUEST['path_file']; - if (isset($path_file)) { + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('admin.php?fct=tplsets', 2, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + exit(); + } + XoopsLoad::load('XoopsRequest'); + $clean_path_file = XoopsRequest::getString('path_file', ''); + if (!empty($clean_path_file)) { + $path_file = realpath(XOOPS_ROOT_PATH.'/themes'.trim($clean_path_file)); + $path_file = str_replace('\\','/',$path_file); + $pathInfo = pathinfo($path_file); + if (!in_array($pathInfo['extension'], array('css', 'html', 'tpl'))) { + redirect_header("admin.php?fct=tplsets", 2, _AM_SYSTEM_TEMPLATES_ERROR); + exit; + } // copy file - $copy_file = $path_file; - copy($copy_file, $path_file.'.back'); + $copy_file = $path_file . '.back'; + copy($path_file, $copy_file); // Save modif if (isset($_REQUEST['templates'])) { $open = fopen("".$path_file."","w+"); Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/users/main.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/users/main.php 2015-11-05 16:06:09 UTC (rev 13165) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/users/main.php 2015-11-21 04:07:01 UTC (rev 13166) @@ -728,7 +728,7 @@ if ( isset($_REQUEST['selgroups']) ) { if ($_REQUEST['selgroups'] != 0) { if ( count($_REQUEST['selgroups']) == 1 ) { - $groups = array( 0 => $_REQUEST['selgroups']); + $groups = array( 0 => (int) $_REQUEST['selgroups']); } else { $groups = array_map("intval", $_REQUEST['selgroups']); } @@ -759,7 +759,6 @@ $xoopsTpl->assign( 'users_count', $users_count ); $xoopsTpl->assign( 'users_display', true ); - $xoopsTpl->assign( 'php_selft', $_SERVER['PHP_SELF'] ); //User limit //$user_limit = (!isset($_REQUEST['user_limit'])) ? 20 : $_REQUEST['user_limit']; Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/jquery-ui.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/jquery-ui.css 2015-11-05 16:06:09 UTC (rev 13165) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/jquery-ui.css 2015-11-21 04:07:01 UTC (rev 13166) @@ -1,7 +1,7 @@ -/*! jQuery UI - v1.11.4 - 2015-05-23 +/*! jQuery UI - v1.11.4 - 2015-03-11 * http://jqueryui.com -* Includes: core.css, draggable.css, resizable.css, selectable.css, sortable.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, menu.css, progressbar.css, selectmenu.css, slider.css, spinner.css, tabs.css, tooltip.css, theme.css -* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px +* Includes: core.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, draggable.css, menu.css, progressbar.css, resizable.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css +* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px * Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */ /* Layout helpers @@ -86,93 +86,6 @@ width: 100%; height: 100%; } -.ui-draggable-handle { - -ms-touch-action: none; - touch-action: none; -} -.ui-resizable { - position: relative; -} -.ui-resizable-handle { - position: absolute; - font-size: 0.1px; - display: block; - -ms-touch-action: none; - touch-action: none; -} -.ui-resizable-disabled .ui-resizable-handle, -.ui-resizable-autohide .ui-resizable-handle { - display: none; -} -.ui-resizable-n { - cursor: n-resize; - height: 7px; - width: 100%; - top: -5px; - left: 0; -} -.ui-resizable-s { - cursor: s-resize; - height: 7px; - width: 100%; - bottom: -5px; - left: 0; -} -.ui-resizable-e { - cursor: e-resize; - width: 7px; - right: -5px; - top: 0; - height: 100%; -} -.ui-resizable-w { - cursor: w-resize; - width: 7px; - left: -5px; - top: 0; - height: 100%; -} -.ui-resizable-se { - cursor: se-resize; - width: 12px; - height: 12px; - right: 1px; - bottom: 1px; -} -.ui-resizable-sw { - cursor: sw-resize; - width: 9px; - height: 9px; - left: -5px; - bottom: -5px; -} -.ui-resizable-nw { - cursor: nw-resize; - width: 9px; - height: 9px; - left: -5px; - top: -5px; -} -.ui-resizable-ne { - cursor: ne-resize; - width: 9px; - height: 9px; - right: -5px; - top: -5px; -} -.ui-selectable { - -ms-touch-action: none; - touch-action: none; -} -.ui-selectable-helper { - position: absolute; - z-index: 100; - border: 1px dotted black; -} -.ui-sortable-handle { - -ms-touch-action: none; - touch-action: none; -} .ui-accordion .ui-accordion-header { display: block; cursor: pointer; @@ -534,6 +447,10 @@ .ui-draggable .ui-dialog-titlebar { cursor: move; } +.ui-draggable-handle { + -ms-touch-action: none; + touch-action: none; +} .ui-menu { list-style: none; padding: 0; @@ -605,6 +522,85 @@ .ui-progressbar-indeterminate .ui-progressbar-value { background-image: none; } +.ui-resizable { + position: relative; +} +.ui-resizable-handle { + position: absolute; + font-size: 0.1px; + display: block; + -ms-touch-action: none; + touch-action: none; +} +.ui-resizable-disabled .ui-resizable-handle, +.ui-resizable-autohide .ui-resizable-handle { + display: none; +} +.ui-resizable-n { + cursor: n-resize; + height: 7px; + width: 100%; + top: -5px; + left: 0; +} +.ui-resizable-s { + cursor: s-resize; + height: 7px; + width: 100%; + bottom: -5px; + left: 0; +} +.ui-resizable-e { + cursor: e-resize; + width: 7px; + right: -5px; + top: 0; + height: 100%; +} +.ui-resizable-w { + cursor: w-resize; + width: 7px; + left: -5px; + top: 0; + height: 100%; +} +.ui-resizable-se { + cursor: se-resize; + width: 12px; + height: 12px; + right: 1px; + bottom: 1px; +} +.ui-resizable-sw { + cursor: sw-resize; + width: 9px; + height: 9px; + left: -5px; + bottom: -5px; +} +.ui-resizable-nw { + cursor: nw-resize; + width: 9px; + height: 9px; + left: -5px; + top: -5px; +} +.ui-resizable-ne { + cursor: ne-resize; + width: 9px; + height: 9px; + right: -5px; + top: -5px; +} +.ui-selectable { + -ms-touch-action: none; + touch-action: none; +} +.ui-selectable-helper { + position: absolute; + z-index: 100; + border: 1px dotted black; +} .ui-selectmenu-menu { padding: 0; margin: 0; @@ -719,6 +715,10 @@ .ui-slider-vertical .ui-slider-range-max { top: 0; } +.ui-sortable-handle { + -ms-touch-action: none; + touch-action: none; +} .ui-spinner { position: relative; display: inline-block; @@ -830,7 +830,7 @@ /* Component containers ----------------------------------*/ .ui-widget { - font-family: Verdana,Arial,sans-serif; + font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif; font-size: 1.1em; } .ui-widget .ui-widget { @@ -840,25 +840,25 @@ .ui-widget select, .ui-widget textarea, .ui-widget button { - font-family: Verdana,Arial,sans-serif; + font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif; font-size: 1em; } .ui-widget-content { - border: 1px solid #aaaaaa; - background: #ffffff url("images/ui-bg_flat_75_ffffff_40x100.png") 50% 50% repeat-x; - color: #222222; + border: 1px solid #dddddd; + background: #eeeeee url("images/ui-bg_highlight-soft_100_eeeeee_1x100.png") 50% top repeat-x; + color: #333333; } .ui-widget-content a { - color: #222222; + color: #333333; } .ui-widget-header { - border: 1px solid #aaaaaa; - background: #cccccc url("images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x; - color: #222222; + border: 1px solid #e78f08; + background: #f6a828 url("images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x; + color: #ffffff; font-weight: bold; } .ui-widget-header a { - color: #222222; + color: #ffffff; } /* Interaction states @@ -866,15 +866,15 @@ .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { - border: 1px solid #d3d3d3; - background: #e6e6e6 url("images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x; - font-weight: normal; - color: #555555; + border: 1px solid #cccccc; + background: #f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x; + font-weight: bold; + color: #1c94c4; } .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { - color: #555555; + color: #1c94c4; text-decoration: none; } .ui-state-hover, @@ -883,10 +883,10 @@ .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { - border: 1px solid #999999; - background: #dadada url("images/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x; - font-weight: normal; - color: #212121; + border: 1px solid #fbcb09; + background: #fdf5ce url("images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x; + font-weight: bold; + color: #c77405; } .ui-state-hover a, .ui-state-hover a:hover, @@ -896,21 +896,21 @@ .ui-state-focus a:hover, .ui-state-focus a:link, .ui-state-focus a:visited { - color: #212121; + color: #c77405; text-decoration: none; } .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { - border: 1px solid #aaaaaa; + border: 1px solid #fbd850; background: #ffffff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x; - font-weight: normal; - color: #212121; + font-weight: bold; + color: #eb8f00; } .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: #212121; + color: #eb8f00; text-decoration: none; } @@ -919,8 +919,8 @@ .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight { - border: 1px solid #fcefa1; - background: #fbf9ee url("images/ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x; + border: 1px solid #fed22f; + background: #ffe45c url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x; color: #363636; } .ui-state-highlight a, @@ -932,18 +932,18 @@ .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error { border: 1px solid #cd0a0a; - background: #fef1ec url("images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x; - color: #cd0a0a; + background: #b81900 url("images/ui-bg_diagonals-thick_18_b81900_40x40.png") 50% 50% repeat; + color: #ffffff; } .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { - color: #cd0a0a; + color: #ffffff; } .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { - color: #cd0a0a; + color: #ffffff; } .ui-priority-primary, .ui-widget-content .ui-priority-primary, @@ -981,24 +981,24 @@ background-image: url("images/ui-icons_222222_256x240.png"); } .ui-widget-header .ui-icon { - background-image: url("images/ui-icons_222222_256x240.png"); + background-image: url("images/ui-icons_ffffff_256x240.png"); } .ui-state-default .ui-icon { - background-image: url("images/ui-icons_888888_256x240.png"); + background-image: url("images/ui-icons_ef8c08_256x240.png"); } .ui-state-hover .ui-icon, .ui-state-focus .ui-icon { - background-image: url("images/ui-icons_454545_256x240.png"); + background-image: url("images/ui-icons_ef8c08_256x240.png"); } .ui-state-active .ui-icon { - background-image: url("images/ui-icons_454545_256x240.png"); + background-image: url("images/ui-icons_ef8c08_256x240.png"); } .ui-state-highlight .ui-icon { - background-image: url("images/ui-icons_2e83ff_256x240.png"); + background-image: url("images/ui-icons_228ef1_256x240.png"); } .ui-state-error .ui-icon, .ui-state-error-text .ui-icon { - background-image: url("images/ui-icons_cd0a0a_256x240.png"); + background-image: url("images/ui-icons_ffd27a_256x240.png"); } /* positioning */ @@ -1211,15 +1211,15 @@ /* Overlays */ .ui-widget-overlay { - background: #aaaaaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x; - opacity: .3; - filter: Alpha(Opacity=30); /* support: IE8 */ + background: #666666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat; + opacity: .5; + filter: Alpha(Opacity=50); /* support: IE8 */ } .ui-widget-shadow { - margin: -8px 0 0 -8px; - padding: 8px; - background: #aaaaaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x; - opacity: .3; - filter: Alpha(Opacity=30); /* support: IE8 */ - border-radius: 8px; + margin: -5px 0 0 -5px; + padding: 5px; + background: #000000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x; + opacity: .2; + filter: Alpha(Opacity=20); /* support: IE8 */ + border-radius: 5px; } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/jquery-ui.structure.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/jquery-ui.structure.css 2015-11-05 16:06:09 UTC (rev 13165) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/jquery-ui.structure.css 2015-11-21 04:07:01 UTC (rev 13166) @@ -91,93 +91,6 @@ width: 100%; height: 100%; } -.ui-draggable-handle { - -ms-touch-action: none; - touch-action: none; -} -.ui-resizable { - position: relative; -} -.ui-resizable-handle { - position: absolute; - font-size: 0.1px; - display: block; - -ms-touch-action: none; - touch-action: none; -} -.ui-resizable-disabled .ui-resizable-handle, -.ui-resizable-autohide .ui-resizable-handle { - display: none; -} -.ui-resizable-n { - cursor: n-resize; - height: 7px; - width: 100%; - top: -5px; - left: 0; -} -.ui-resizable-s { - cursor: s-resize; - height: 7px; - width: 100%; - bottom: -5px; - left: 0; -} -.ui-resizable-e { - cursor: e-resize; - width: 7px; - right: -5px; - top: 0; - height: 100%; -} -.ui-resizable-w { - cursor: w-resize; - width: 7px; - left: -5px; - top: 0; - height: 100%; -} -.ui-resizable-se { - cursor: se-resize; - width: 12px; - height: 12px; - right: 1px; - bottom: 1px; -} -.ui-resizable-sw { - cursor: sw-resize; - width: 9px; - height: 9px; - left: -5px; - bottom: -5px; -} -.ui-resizable-nw { - cursor: nw-resize; - width: 9px; - height: 9px; - left: -5px; - top: -5px; -} -.ui-resizable-ne { - cursor: ne-resize; - width: 9px; - height: 9px; - right: -5px; - top: -5px; -} -.ui-selectable { - -ms-touch-action: none; - touch-action: none; -} -.ui-selectable-helper { - position: absolute; - z-index: 100; - border: 1px dotted black; -} -.ui-sortable-handle { - -ms-touch-action: none; - touch-action: none; -} .ui-accordion .ui-accordion-header { display: block; cursor: pointer; @@ -539,6 +452,10 @@ .ui-draggable .ui-dialog-titlebar { cursor: move; } +.ui-draggable-handle { + -ms-touch-action: none; + touch-action: none; +} .ui-menu { list-style: none; padding: 0; @@ -610,6 +527,85 @@ .ui-progressbar-indeterminate .ui-progressbar-value { background-image: none; } +.ui-resizable { + position: relative; +} +.ui-resizable-handle { + position: absolute; + font-size: 0.1px; + display: block; + -ms-touch-action: none; + touch-action: none; +} +.ui-resizable-disabled .ui-resizable-handle, +.ui-resizable-autohide .ui-resizable-handle { + display: none; +} +.ui-resizable-n { + cursor: n-resize; + height: 7px; + width: 100%; + top: -5px; + left: 0; +} +.ui-resizable-s { + cursor: s-resize; + height: 7px; + width: 100%; + bottom: -5px; + left: 0; +} +.ui-resizable-e { + cursor: e-resize; + width: 7px; + right: -5px; + top: 0; + height: 100%; +} +.ui-resizable-w { + cursor: w-resize; + width: 7px; + left: -5px; + top: 0; + height: 100%; +} +.ui-resizable-se { + cursor: se-resize; + width: 12px; + height: 12px; + right: 1px; + bottom: 1px; +} +.ui-resizable-sw { + cursor: sw-resize; + width: 9px; + height: 9px; + left: -5px; + bottom: -5px; +} +.ui-resizable-nw { + cursor: nw-resize; + width: 9px; + height: 9px; + left: -5px; + top: -5px; +} +.ui-resizable-ne { + cursor: ne-resize; + width: 9px; + height: 9px; + right: -5px; + top: -5px; +} +.ui-selectable { + -ms-touch-action: none; + touch-action: none; +} +.ui-selectable-helper { + position: absolute; + z-index: 100; + border: 1px dotted black; +} .ui-selectmenu-menu { padding: 0; margin: 0; @@ -724,6 +720,10 @@ .ui-slider-vertical .ui-slider-range-max { top: 0; } +.ui-sortable-handle { + -ms-touch-action: none; + touch-action: none; +} .ui-spinner { position: relative; display: inline-block; Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/jquery-ui.theme.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/jquery-ui.theme.css 2015-11-05 16:06:09 UTC (rev 13165) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/jquery-ui.theme.css 2015-11-21 04:07:01 UTC (rev 13166) @@ -8,14 +8,14 @@ * * http://api.jqueryui.com/category/theming/ * - * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px + * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px */ /* Component containers ----------------------------------*/ .ui-widget { - font-family: Verdana,Arial,sans-serif; + font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif; font-size: 1.1em; } .ui-widget .ui-widget { @@ -25,25 +25,25 @@ .ui-widget select, .ui-widget textarea, .ui-widget button { - font-family: Verdana,Arial,sans-serif; + font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif; font-size: 1em; } .ui-widget-content { - border: 1px solid #aaaaaa; - background: #ffffff url("images/ui-bg_flat_75_ffffff_40x100.png") 50% 50% repeat-x; - color: #222222; + border: 1px solid #dddddd; + background: #eeeeee url("images/ui-bg_highlight-soft_100_eeeeee_1x100.png") 50% top repeat-x; + color: #333333; } .ui-widget-content a { - color: #222222; + color: #333333; } .ui-widget-header { - border: 1px solid #aaaaaa; - background: #cccccc url("images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x; - color: #222222; + border: 1px solid #e78f08; + background: #f6a828 url("images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x; + color: #ffffff; font-weight: bold; } .ui-widget-header a { - color: #222222; + color: #ffffff; } /* Interaction states @@ -51,15 +51,15 @@ .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { - border: 1px solid #d3d3d3; - background: #e6e6e6 url("images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x; - font-weight: normal; - color: #555555; + border: 1px solid #cccccc; + background: #f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x; + font-weight: bold; + color: #1c94c4; } .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { - color: #555555; + color: #1c94c4; text-decoration: none; } .ui-state-hover, @@ -68,10 +68,10 @@ .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { - border: 1px solid #999999; - background: #dadada url("images/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x; - font-weight: normal; - color: #212121; + border: 1px solid #fbcb09; + background: #fdf5ce url("images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x; + font-weight: bold; + color: #c77405; } .ui-state-hover a, .ui-state-hover a:hover, @@ -81,21 +81,21 @@ .ui-state-focus a:hover, .ui-state-focus a:link, .ui-state-focus a:visited { - color: #212121; + color: #c77405; text-decoration: none; } .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { - border: 1px solid #aaaaaa; + border: 1px solid #fbd850; background: #ffffff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x; - font-weight: normal; - color: #212121; + font-weight: bold; + color: #eb8f00; } .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: #212121; + color: #eb8f00; text-decoration: none; } @@ -104,8 +104,8 @@ .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight { - border: 1px solid #fcefa1; - background: #fbf9ee url("images/ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x; + border: 1px solid #fed22f; + background: #ffe45c url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x; color: #363636; } .ui-state-highlight a, @@ -117,18 +117,18 @@ .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error { border: 1px solid #cd0a0a; - background: #fef1ec url("images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x; - color: #cd0a0a; + background: #b81900 url("images/ui-bg_diagonals-thick_18_b81900_40x40.png") 50% 50% repeat; + color: #ffffff; } .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { - color: #cd0a0a; + color: #ffffff; } .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { - color: #cd0a0a; + color: #ffffff; } .ui-priority-primary, .ui-widget-content .ui-priority-primary, @@ -166,24 +166,24 @@ background-image: url("images/ui-icons_222222_256x240.png"); } .ui-widget-header .ui-icon { - background-image: url("images/ui-icons_222222_256x240.png"); + background-image: url("images/ui-icons_ffffff_256x240.png"); } .ui-state-default .ui-icon { - background-image: url("images/ui-icons_888888_256x240.png"); + background-image: url("images/ui-icons_ef8c08_256x240.png"); } .ui-state-hover .ui-icon, .ui-state-focus .ui-icon { - background-image: url("images/ui-icons_454545_256x240.png"); + background-image: url("images/ui-icons_ef8c08_256x240.png"); } .ui-state-active .ui-icon { - background-image: url("images/ui-icons_454545_256x240.png"); + background-image: url("images/ui-icons_ef8c08_256x240.png"); } .ui-state-highlight .ui-icon { - background-image: url("images/ui-icons_2e83ff_256x240.png"); + background-image: url("images/ui-icons_228ef1_256x240.png"); } .ui-state-error .ui-icon, .ui-state-error-text .ui-icon { - background-image: url("images/ui-icons_cd0a0a_256x240.png"); + background-image: url("images/ui-icons_ffd27a_256x240.png"); } /* positioning */ @@ -396,15 +396,15 @@ /* Overlays */ .ui-widget-overlay { - background: #aaaaaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x; - opacity: .3; - filter: Alpha(Opacity=30); /* support: IE8 */ + background: #666666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat; + opacity: .5; + filter: Alpha(Opacity=50); /* support: IE8 */ } .ui-widget-shadow { - margin: -8px 0 0 -8px; - padding: 8px; - background: #aaaaaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x; - opacity: .3; - filter: Alpha(Opacity=30); /* support: IE8 */ - border-radius: 8px; + margin: -5px 0 0 -5px; + padding: 5px; + background: #000000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x; + opacity: .2; + filter: Alpha(Opacity=20); /* support: IE8 */ + border-radius: 5px; } Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/minified/jquery-ui.min.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/minified/jquery-ui.min.css 2015-11-05 16:06:09 UTC (rev 13165) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/ui/base/minified/jquery-ui.min.css 2015-11-21 04:07:01 UTC (rev 13166) @@ -1,7 +1,7 @@ -/*! jQuery UI - v1.11.4 - 2015-05-23 +/*! jQuery UI - v1.11.4 - 2015-03-11 * http://jqueryui.com -* Includes: core.css, draggable.css, resizable.css, selectable.css, sortable.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, menu.css, progressbar.css, selectmenu.css, slider.css, spinner.css, tabs.css, tooltip.css, theme.css -* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px +* Includes: core.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, draggable.css, menu.css, progressbar.css, resizable.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css +* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px * Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */ -.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;min-height:0;font-size:100%}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:none}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{position:relative;margin:0;padding:3px 1em 3px .4em;cursor:pointer;min-height:0;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px 0.4em;margin:0.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-button{display:inline-block;overflow:hidden;position:relative;text-decoration:none;cursor:pointer}.ui-selectmenu-button span.ui-icon{right:0.5em;left:auto;margin-top:-8px;position:absolute;top:50%}.ui-selectmenu-button span.ui-selectmenu-text{text-align:left;padding:0.4em 2.1em 0.4em 1em;display:block;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url("images/ui-bg_flat_75_ffffff_40x100.png") 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url("images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;color:#222;font-weight:bold}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url("images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada url("images/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url("images/ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url("images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_888888_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_454545_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_454545_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_2e83ff_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cd0a0a_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144... [truncated message content] |