You can subscribe to this list here.
2012 |
Jan
|
Feb
(214) |
Mar
(139) |
Apr
(198) |
May
(187) |
Jun
(151) |
Jul
(210) |
Aug
(169) |
Sep
(58) |
Oct
(53) |
Nov
(54) |
Dec
(301) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2013 |
Jan
(348) |
Feb
(178) |
Mar
(219) |
Apr
(154) |
May
(117) |
Jun
(194) |
Jul
(61) |
Aug
(132) |
Sep
(121) |
Oct
(110) |
Nov
(11) |
Dec
(18) |
2014 |
Jan
(34) |
Feb
(50) |
Mar
(82) |
Apr
(98) |
May
(39) |
Jun
(111) |
Jul
(67) |
Aug
(36) |
Sep
(33) |
Oct
(26) |
Nov
(53) |
Dec
(44) |
2015 |
Jan
(29) |
Feb
(47) |
Mar
(25) |
Apr
(19) |
May
(23) |
Jun
(20) |
Jul
(49) |
Aug
(7) |
Sep
(10) |
Oct
(10) |
Nov
(4) |
Dec
(25) |
2016 |
Jan
(8) |
Feb
(7) |
Mar
(1) |
Apr
|
May
(3) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(7) |
Dec
(5) |
2017 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
(15) |
Jun
|
Jul
(18) |
Aug
(24) |
Sep
|
Oct
(14) |
Nov
|
Dec
|
2018 |
Jan
|
Feb
(22) |
Mar
|
Apr
(11) |
May
(1) |
Jun
(17) |
Jul
(2) |
Aug
(2) |
Sep
|
Oct
(6) |
Nov
(5) |
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
From: <zy...@us...> - 2015-01-28 19:42:55
|
Revision: 12951 http://sourceforge.net/p/xoops/svn/12951 Author: zyspec Date: 2015-01-28 19:42:52 +0000 (Wed, 28 Jan 2015) Log Message: ----------- * Improved module update script to add some error reporting on failure(s) * Fixed bug in subdirectory removal script on update * added KEY(s) to dB table to improve search performance * changed ContactContactHandler->infoProcessing() to use XoopsRequest * sort departments alphabetically when displayed on contact form * Replaced "Reply" text in admin (./admin/contact.php) with icons * Changed "Submitter" information in admin to be able to email from contact page * Improved ContactContact->contactSendMail() method to improve anti-spam score * Minor source code formatting cleanup Modified Paths: -------------- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/about.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/admin_footer.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/admin_header.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/contact.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/index.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/log.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/menu.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/prune.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/ajax.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/assets/index.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/blocks/stats.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/contact.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/formvalidatedinput.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/ajax.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/changelog.txt XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/header.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions_update.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/waiting.plugin.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/index.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/blocks.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/help/help.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/help/module_index.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/modinfo.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/waiting.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/sql/mysql.sql XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/templates/admin/contact_contact.tpl XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/templates/contact_index.tpl XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/xoops_version.php Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/about.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/about.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/about.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact module Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/admin_footer.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/admin_footer.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/admin_footer.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact module Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/admin_header.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/admin_header.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/admin_header.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact module @@ -29,6 +29,8 @@ include_once $GLOBALS['xoops']->path('www/class/pagenav.php'); include_once $GLOBALS['xoops']->path('www/class/xoopsformloader.php'); +xoops_load('XoopsRequest'); + $thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); // Load language files @@ -36,8 +38,8 @@ xoops_loadLanguage('modinfo', $thisModuleDir); xoops_loadLanguage('main', $thisModuleDir); -$pathIcon16 = $GLOBALS['xoops']->url('www/' . $GLOBALS['xoopsModule']->getInfo('icons16')); -$pathIcon32 = $GLOBALS['xoops']->url('www/' . $GLOBALS['xoopsModule']->getInfo('icons32')); +$pathIcon16 = $GLOBALS['xoops']->url('www/' . $GLOBALS['xoopsModule']->getInfo('icons16')); +$pathIcon32 = $GLOBALS['xoops']->url('www/' . $GLOBALS['xoopsModule']->getInfo('icons32')); $pathModuleAdmin = $GLOBALS['xoops']->path('www/' . $GLOBALS['xoopsModule']->getInfo('dirmoduleadmin')); require_once "{$pathModuleAdmin}/moduleadmin/moduleadmin.php"; $admin_class = new ModuleAdmin(); Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/contact.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/contact.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/contact.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact module @@ -53,18 +53,15 @@ switch ($op) { case 'list': default: + $pageSettingsObj = new stdClass(); // create a new stdClass object + $pageSettingsObj->perpage = (int) $GLOBALS['xoopsModuleConfig']['admin_perpage']; + $pageSettingsObj->order = 'DESC'; + $pageSettingsObj->sort = 'contact_id'; + $pageSettingsObj->limit = XoopsRequest::getInt('limit', $pageSettingsObj->perpage); + $pageSettingsObj->start = XoopsRequest::getInt('start', 0); - $pageSettings = array('perpage' => $GLOBALS['xoopsModuleConfig']['admin_perpage'], - 'order' => 'DESC', - 'sort' => 'contact_id' - ); - $pageSettingsObj = (object) $pageSettings; //cast contact to a stdClass object - $pageSettingsObj->limit = XoopsRequest::getInt('limit', $pageSettingsObj->perpage); - $pageSettingsObj->start = XoopsRequest::getInt('start', 0); - - $contactCount = $contact_handler->contactGetCount('contact_cid'); //count all contacts - $contacts = $contact_handler->getAdminList($pageSettingsObj, 'contact_cid'); + $contacts = $contact_handler->getAdminList($pageSettingsObj, 'contact_cid'); if ($contactCount > $pageSettingsObj->limit) { $contactPageNavObj = new XoopsPageNav($contactCount, $pageSettingsObj->limit, $pageSettingsObj->start, 'start', 'limit=' . $pageSettingsObj->limit); @@ -81,7 +78,6 @@ break; case 'reply': - if ($contactId > 0) { $obj = $contact_handler->get($contactId); if (!($obj instanceof contact) || (0 != $obj->getVar('contact_cid'))) { @@ -101,8 +97,7 @@ break; case 'doreply': - - $formInput = $contact_handler->infoProcessing($_POST); + $formInput = $contact_handler->infoProcessing('POST'); $mailObj = (object) $formInput; unset($formInput); $deptEmails = array(); @@ -150,7 +145,6 @@ break; case 'view': - $obj = $contact_handler->get($contactId); if (!$obj) { @@ -172,7 +166,6 @@ break; case 'delete': - if (!$contactId) { redirect_header($_SERVER['PHP_SELF'], 3, _AM_CONTACT_MSG_NOTEXIST); exit(); @@ -183,7 +176,6 @@ break; case 'dodelete': - // check to make sure this passes form submission security if ( ($GLOBALS['xoopsSecurity'] instanceof XoopsSecurity) ) { if ( !$GLOBALS['xoopsSecurity']->check() ) { Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/index.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/index.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/index.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact module Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/log.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/log.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/log.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact module Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/menu.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/menu.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/menu.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact module Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/prune.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/prune.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/prune.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact module Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/ajax.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/ajax.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/ajax.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact module @@ -25,7 +25,7 @@ if (!empty($_POST)) { // Info Processing - $mailFormContents = $contact_handler->infoProcessing($_POST); + $mailFormContents = $contact_handler->infoProcessing('POST''); $mailObj = (object) $mailFormContents; // Save info $contactObj = $contact_handler->create(); Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/assets/index.html =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/assets/index.html 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/assets/index.html 2015-01-28 19:42:52 UTC (rev 12951) @@ -1 +1,2 @@ - <script>history.go(-1);</script> \ No newline at end of file + +<script>history.go(-1);</script> \ No newline at end of file Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/blocks/stats.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/blocks/stats.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/blocks/stats.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact stats.php * @@ -58,7 +58,6 @@ include_once $GLOBALS['xoops']->path( "modules/{$dirname}/include/functions.php"); // include_once '../include/functions.php'; $moduleMgr = contactGetModuleManager(); - if ($moduleMgr->config['form_dept']) { /* $module_handler =& xoops_gethandler('module'); $module =& $module_handler->getByDirname($dirname); @@ -66,6 +65,7 @@ $contactConfig =& $config_handler->getConfigsByCat(0, $module->getVar('mid')); if ($contactConfig['form_dept']) { */ + if ($moduleMgr->config['form_dept']) { $criteria = new CriteriaCompo(); $criteria->add(new Criteria('contact_cid', 0)); $criteria->add(new Criteria('contact_type', 'Contact')); Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/contact.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/contact.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/contact.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact module @@ -23,7 +23,6 @@ */ //defined("XOOPS_ROOT_PATH") || exit("Restricted access - " . basename($_SERVER['PHP_SELF'], '.php') . PHP_EOL); - class Contact extends XoopsObject { @@ -131,10 +130,14 @@ // show a drop down with the departments listed $departmentlist = new XoopsFormSelect(_MD_CONTACT_DEPARTMENT, 'contact_department'); $departments = $GLOBALS['xoopsModuleConfig']['contact_dept']; + $listOptions = array(); foreach ($departments as $val) { $valexplode = explode(',', $val); - $departmentlist->addOption($valexplode[0]); + $listOptions[$valexplode[0]] = $valexplode[0]; +// $departmentlist->addOption($valexplode[0]); } + asort($listOptions); + $departmentlist->addOptionArray($listOptions); $form->addElement($departmentlist); } else { $form->addElement(new XoopsFormHidden('contact_department', '')); @@ -301,41 +304,59 @@ /** * * Clean all the incoming Vars from Form(s) - * @param $global global var array ($_POST, $_GET, $_REQUEST) - * @uses {@link Contact::contactCleanVars} + * @param $global global var array (POST, GET, REQUEST) + * @uses {@link XoopsRequest} * * @return array containing clean versions of form variables */ - public function infoProcessing(&$global) + public function infoProcessing($global) { + xoops_load('XoopsRequest'); $contact = array(); - - $contact['contact_cid'] = $this->contactCleanVars($global, 'contact_id', '', 'int'); - $contact['contact_uid'] = $this->contactCleanVars($global, 'contact_uid', '', 'int'); - $contact['contact_name'] = $this->contactCleanVars($global, 'contact_name', '', 'text'); //mb changed from string to text - $contact['contact_namefrom'] = $this->contactCleanVars($global, 'contact_namefrom', '', 'text'); -// $contact['contact_nameto'] = $this->contactCleanVars($global, 'contact_nameto', '', 'text'); //mb changed from string to text - $contact['contact_subject'] = $this->contactCleanVars($global, 'contact_subject', '', 'text'); //mb changed from string to text - $contact['contact_mailfrom'] = $this->contactCleanVars($global, 'contact_mailfrom', '', 'mail'); - $contact['contact_mail'] = $this->contactCleanVars($global, 'contact_mail', '', 'mail'); - $contact['contact_mail2'] = $this->contactCleanVars($global, 'contact_mail2', '', 'mail'); -// $contact['contact_mailto'] = $this->contactCleanVars($global, 'contact_mailto', '', 'mail'); - $contact['contact_url'] = $this->contactCleanVars($global, 'contact_url', '', 'url'); + if (empty($global)) { // will get from $_REQUEST + $from = null; + } elseif (('POST' == strtoupper($global)) || ('GET' == strtoupper($global))) { + $from = strtoupper($global); // will get specifically from $_GET or $_POST + } else { // don't allow other sources + return $contact; + } + $contact['contact_cid'] = XoopsRequest::getInt('contact_id', '', $from); + $contact['contact_uid'] = XoopsRequest::getInt('contact_uid', '', $from); + $contact['contact_name'] = XoopsRequest::getText('contact_name', '', $from); + $contact['contact_namefrom'] = XoopsRequest::getText('contact_namefrom', '', $from); + /* + $contact['contact_nameto'] = XoopsRequest::getText('contact_nameto', '', $from); + */ + $contact['contact_subject'] = XoopsRequest::getText('contact_subject', '', $from); + $email = XoopsRequest::getText('contact_mailfrom', '', $from); + $contact['contact_mailfrom'] = checkEmail($email); + $email = XoopsRequest::getText('contact_mail', '', $from); + $contact['contact_mail'] = checkEmail($email); + $email = XoopsRequest::getText('contact_mail2', '', $from); + $contact['contact_mail2'] = checkEmail($email); + /* + $email = XoopsRequest::getText('contact_mailto', '', $from); + $contact['contact_mailto'] = checkEmail($email); + */ + $url = XoopsRequest::getText('contact_url', '', $from); + $contact['contact_url'] = (!empty($url)) ? filter_var($url, FILTER_VALIDATE_URL, FILTER_FLAG_SCHEME_REQUIRED) : ''; $contact['contact_create'] = time(); - $contact['contact_icq'] = $this->contactCleanVars($global, 'contact_icq', '', 'text'); //mb changed from string to text - $contact['contact_company'] = $this->contactCleanVars($global, 'contact_company', '', 'text'); //mb changed from string to text - $contact['contact_location'] = $this->contactCleanVars($global, 'contact_location', '', 'text'); - $contact['contact_phone'] = $this->contactCleanVars($global, 'contact_phone', '', 'int'); - $contact['contact_department'] = $this->contactCleanVars($global, 'contact_department', _MD_CONTACT_DEFULTDEP, 'string'); + $contact['contact_icq'] = XoopsRequest::getText('contact_icq', '', $from); + $contact['contact_company'] = XoopsRequest::getText('contact_company', '', $from); + $contact['contact_location'] = XoopsRequest::getText('contact_location', '', $from); + $contact['contact_phone'] = XoopsRequest::getInt('contact_phone', '', $from); + $contact['contact_department'] = XoopsRequest::getText('contact_department', _MD_CONTACT_DEFULTDEP, $from); $contact['contact_ip'] = getenv("REMOTE_ADDR"); - $contact['contact_message'] = $this->contactCleanVars($global, 'contact_message', '', 'text'); - $contact['contact_address'] = $this->contactCleanVars($global, 'contact_address', '', 'text'); - $contact['contact_platform'] = $this->contactCleanVars($global, 'contact_platform', 'Web', 'platform'); - $contact['contact_type'] = $this->contactCleanVars($global, 'contact_type', 'Contact', 'type'); - $contact['send_dept'] = $this->contactCleanVars($global, 'send_dept' , 0, 'int'); - $contact['contact_orig_message'] = $this->contactCleanVars($global, 'contact_orig_message' , '', 'text'); - $contact['inc_orig'] = $this->contactCleanVars($global, 'inc_orig', 0, 'int'); + $contact['contact_message'] = XoopsRequest::getText('contact_message', '', $from); + $contact['contact_address'] = XoopsRequest::getText('contact_address', '', $from); + $platform = XoopsRequest::getText('contact_platform', '', $from); + $contact['contact_platform'] = $this->contactPlatform($platform); + $type = XoopsRequest::getText('contact_type', '', $from); + $contact['contact_type'] = $this->contactType($type); + $contact['send_dept'] = XoopsRequest::getInt('send_dept' , 0, $from); + $contact['contact_orig_message'] = XoopsRequest::getText('contact_orig_message' , '', $from); + $contact['inc_orig'] = XoopsRequest::getInt('inc_orig', 0, $from); return $contact; } @@ -361,17 +382,35 @@ } else { $xoopsMailer->setToEmails($GLOBALS['xoopsConfig']['adminmail']); //just send to admin } + if (!in_array($GLOBALS['xoopsConfig']['adminmail'], $deptEmailAddresses)) { + $xoopsMailer->multimailer->addBCC($GLOBALS['xoopsConfig']['adminmail'], 'TMC Administrator'); + } + xoops_loadLanguage('modinfo', 'contact'); // get the language string(s) $myts =& MyTextSanitizer::getInstance(); - $xoopsMailer->setFromName(stripslashes(strip_tags(html_entity_decode($mailObj->contact_name, ENT_QUOTES, 'UTF-8')))); + // pre-process FromName since it came from input field + $fromName = stripslashes(strip_tags(html_entity_decode($mailObj->contact_name, ENT_QUOTES, 'UTF-8'))); + // pre-process Subject since it came from input field + $mailSubject = stripslashes(strip_tags(html_entity_decode($mailObj->contact_subject, ENT_QUOTES, 'UTF-8'))); + + $xoopsMailer->setFromName(ucwords($fromName)); $xoopsMailer->setFromEmail($mailObj->contact_mail); - $xoopsMailer->setSubject(stripslashes(strip_tags(html_entity_decode($mailObj->contact_subject, ENT_QUOTES, 'UTF-8')))); $thisBody = stripslashes(html_entity_decode($mailObj->contact_message, ENT_QUOTES, 'UTF-8')); - $thisBody = $xoopsMailer->multimailer->WrapText($thisBody, 80); +// $thisBody = $xoopsMailer->multimailer->WrapText($thisBody, 80); +// $xoopsMailer->multimailer->set('FromName', ucwords($fromName)); + $xoopsMailer->multimailer->setFrom($mailObj->contact_mail, ucwords($fromName)); + $xoopsMailer->multimailer->set('Subject', $mailSubject); + $xoopsMailer->multimailer->WordWrap = 80; // force wrap of body text at 80 chars for 'bad' clients + $xoopsMailer->multimailer->set('Body', $thisBody); + $xoopsMailer->multimailer->set('AltBody', $thisBody); + $xoopsMailer->setSubject($mailSubject); $xoopsMailer->setBody($thisBody); - - if ($xoopsMailer->send()) { - $message = $myts->htmlSpecialChars($GLOBALS['xoopsModuleConfig']['contact_thankyou']); + if ($xoopsMailer->send($debug = false)) { + if ($debug) { + $message = $xoopsMailer->getSuccess(); + } else { + $message = $myts->htmlSpecialChars($GLOBALS['xoopsModuleConfig']['contact_thankyou']); + } } else { $message = $xoopsMailer->getErrors(); } Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/formvalidatedinput.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/formvalidatedinput.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/formvalidatedinput.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact form element for form input Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/ajax.html =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/ajax.html 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/ajax.html 2015-01-28 19:42:52 UTC (rev 12951) @@ -1,6 +1,11 @@ -<script src="<{$xoops_url}>/browse.php?Frameworks/jquery/jquery.js" type="text/javascript"></script> -<script src="<{$xoops_url}>/browse.php?Frameworks/jquery/plugins/jquery.ui.js" type="text/javascript"></script> -<link rel="stylesheet" href="<{$xoops_url}>/modules/system/css/ui/base/ui.all.css" type="text/css"/> +<script src="<{$xoops_url}>/browse.php?Frameworks/jquery/jquery.js" + type="text/javascript"></script> +<script + src="<{$xoops_url}>/browse.php?Frameworks/jquery/plugins/jquery.ui.js" + type="text/javascript"></script> +<link rel="stylesheet" + href="<{$xoops_url}>/modules/system/css/ui/base/ui.all.css" + type="text/css" /> <script type="text/javascript"> $(function () { @@ -43,27 +48,31 @@ </script> <div class="demo"> - <div id="dialog-form" title="Contact Us"> - <p class="validateTips">Contact us</p> + <div id="dialog-form" title="Contact Us"> + <p class="validateTips">Contact us</p> - <form enctype="multipart/form-data"> - <{xoMemberInfo assign=member_info}> - <label for="name">Name</label> - <input name="contact_name" title="Name" id="contact_name" size="20" maxlength="255" value="<{$xoops_uname}>" type="text" - class="text ui-widget-content ui-corner-all"/> - <br/><label for="email">Email</label> - <input name="contact_mail" title="Email" id="contact_mail" size="20" maxlength="255" value="<{$member_info.email}>" type="text" - class="text ui-widget-content ui-corner-all"/> - <br/><label for="password">Phone</label> - <input name="contact_phone" title="Phone" id="contact_phone" size="20" maxlength="255" value="" type="text" - class="text ui-widget-content ui-corner-all"/> - <br/><label for="password">Subject</label> - <input name="contact_subject" title="Subject" id="contact_subject" size="20" maxlength="255" value="" type="text" - class="text ui-widget-content ui-corner-all"/> - <br/><label for="password">Comment</label> - <textarea name="contact_message" id="contact_message" title="Comment" rows="5" cols="60"></textarea> - <input name="contact_uid" id="contact_uid" value="<{$xoops_userid}>" type="hidden"> - </form> - </div> - <button id="create-user">Contact Us</button> + <form enctype="multipart/form-data"> + <{xoMemberInfo assign=member_info}> <label for="name">Name</label> <input + name="contact_name" title="Name" id="contact_name" size="20" + maxlength="255" value="<{$xoops_uname}>" type="text" + class="text ui-widget-content ui-corner-all" /> <br /> + <label for="email">Email</label> <input name="contact_mail" + title="Email" id="contact_mail" size="20" maxlength="255" + value="<{$member_info.email}>" type="text" + class="text ui-widget-content ui-corner-all" /> <br /> + <label for="password">Phone</label> <input name="contact_phone" + title="Phone" id="contact_phone" size="20" maxlength="255" value="" + type="text" class="text ui-widget-content ui-corner-all" /> <br /> + <label for="password">Subject</label> <input name="contact_subject" + title="Subject" id="contact_subject" size="20" maxlength="255" + value="" type="text" class="text ui-widget-content ui-corner-all" /> + <br /> + <label for="password">Comment</label> + <textarea name="contact_message" id="contact_message" title="Comment" + rows="5" cols="60"></textarea> + <input name="contact_uid" id="contact_uid" value="<{$xoops_userid}>" + type="hidden"> + </form> + </div> + <button id="create-user">Contact Us</button> </div> Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/changelog.txt =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/changelog.txt 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/changelog.txt 2015-01-28 19:42:52 UTC (rev 12951) @@ -1,12 +1,19 @@ +<u>Version 1.82 Beta 3 from 2015-1-28</u> +- Improved module update script to add some error reporting on failure(s) +- Fixed bug in subdirectory removal script on update +- added KEY(s) to dB table to improve search performance +- changed ContactContactHandler->infoProcessing() to use XoopsRequest +- sort departments alphabetically when displayed on contact form +- Replaced "Reply" text in admin (./admin/contact.php) with icons +- Changed "Submitter" information in admin to be able to email from contact page +- Improved ContactContact->contactSendMail() method to improve anti-spam score -Version 1.82 from 2014-12-03 Beta 2 -================================= -- Replaced ContactContact->contactCleanVars function with XoopsRequest -- changed to use exit() instead of die() for consistency -- minor phpdocumentor updates +<u>Version 1.82 Beta 2 from 2014-12-03</u> +- Replaced ContactContactHandler->contactCleanVars function with XoopsRequest +- Changed to use exit() instead of die() for consistency +- Minor phpdocumentor updates -Version 1.82 from 2014-11-25 Beta 1 -================================= +<u>Version 1.82 Beta 1 from 2014-11-25</u> - Added ability to require visitors to enter email 2X on form (ZySpec) - Added features page to Admin help (ZySpec) - Added date select to Admin log form (ZySpec) @@ -32,8 +39,7 @@ - Updated documentation files (changelog.txt, readme.txt) (ZySpec) - Minor code cleanup (ZySpec) -Version 1.81 from 2013-02-24 -================================= +<u>Version 1.81 from 2013-02-24</u> - Rebuild Module (Voltan) - English corrections (Cesag) - PSR-2 code reformatting (Mamba) @@ -47,17 +53,14 @@ - moved all images, CSS, and JS files to /assets (Mamba) - renamed .html Smarty templates to .tpl (Mamba) -Version 1.80 from 2012-1-19 -================================= +<u>Version 1.80 from 2012-1-19</u> - Rebuild Module (Voltan) -Version 1.71 from 2011-12-12 -================================= -- converted to XOOPS Standard Module GUI (Mamba) -- included ModuleAdmin class from (Mage) +<u>Version 1.71 from 2011-12-12</u> +- Converted to XOOPS Standard Module GUI (Mamba) +- Included ModuleAdmin class from (Mage) -Version 1.70 from 11-08-2010 -================================= -- added 2.4.x compatibilty (Trabis) -- added php5.3 compatibilty (Trabis) -- added error checking while sending emails (Trabis) +<u>Version 1.70 from 11-08-2010</u> +- Added 2.4.x compatibilty (Trabis) +- Added php5.3 compatibilty (Trabis) +- Added error checking while sending emails (Trabis) Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/header.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/header.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/header.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact module Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact module @@ -21,7 +21,7 @@ * @version $Id: $ */ -defined("XOOPS_ROOT_PATH") || exit("Restricted access - " . basename($_SERVER['PHP_SELF'], '.php') . PHP_EOL); +defined("XOOPS_ROOT_PATH") || exit("Restricted access"); /** * @@ -47,7 +47,7 @@ if ($contactConfig['form_dept']) { // using departments */ if ($moduleMgr->config['form_dept']) { // using departments - // show a drop down with the correct departments listed + // show a drop down with the correct departments listed $myts =& MyTextSanitizer::getInstance(); $depts = $moduleMgr->config['contact_dept']; // $depts = explode('|', $contactConfig['contact_dept']); @@ -93,7 +93,7 @@ $departments = contactGetDepartments(); $dept_emails = array(); foreach ($departments as $thisDept) { - $dept_emails[$thisDept['name']][] = $thisDept['email']; + $dept_emails[$thisDept['name']][] = $thisDept['email']; } if ('' != $dept && array_key_exists($dept, $dept_emails)) { $dept_emails = $dept_emails[$dept]; @@ -125,7 +125,7 @@ $departments = contactGetDepartments(); $dept_names = array(); foreach ($departments as $thisDept) { - $dept_names[] = $thisDept['name']; + $dept_names[] = $thisDept['name']; } $dept_names = array_unique($dept_names); //get rid of duplicates } Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions_update.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions_update.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions_update.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact module @@ -23,7 +23,6 @@ /** * @internal {Make sure you PROTECT THIS FILE - * * This code has the potential to be extremely dangerous!!} */ @@ -31,7 +30,7 @@ || !($GLOBALS['xoopsUser'] instanceof XoopsUser) || !($GLOBALS['xoopsUser']->IsAdmin())) { - exit("Restricted access - " . basename($_SERVER['PHP_SELF']) . PHP_EOL); + exit("Restricted access - " . basename($_SERVER['PHP_SELF']) . PHP_EOL); } function rmmdir($dir) @@ -41,19 +40,23 @@ * - the routine is intentionally limitted for this * install routine's requirements} */ - $dir = preg_replace('/[^a-zA-Z\s\d\_\-]/', $dir); - $dir = $GLOBALS['xoops']->path("/" . $module->dirname . "/{$dir}"); - foreach (glob($dir . '/*') as $file) { - if (is_dir($file)) { - rrmdir($file); + $moduleDir = basename(dirname(__DIR__)); + $dir = preg_replace('/[^a-zA-Z\s\d\_\-\/]/', '', $dir); + $dir = trim($dir, " \t\n\r\0\x0B\/"); //trim leading/trailing spaces and '/' + $path = $GLOBALS['xoops']->path("www/modules/{$moduleDir}/{$dir}"); + $objs = array_diff(scandir($path), array('.','..')); // remove relative dirs + foreach ($objs as $obj) { + if (is_dir("{$path}/{$obj}")) { + rmmdir("{$dir}/{$obj}"); } else { - unlink($file); + unlink("{$path}/$obj"); } } - rmdir($dir); + + return rmdir($path); } -function xoops_module_update_contact($module, $version) +function xoops_module_update_contact(&$module, $version) { $xoopsDB = XoopsDatabaseFactory::getDatabaseConnection(); @@ -76,46 +79,76 @@ contact_message text NOT NULL, contact_address text NOT NULL, contact_reply tinyint(1) NOT NULL, - PRIMARY KEY (contact_id) + PRIMARY KEY (contact_id), + KEY (contact_uid), + KEY (contact_cid), + KEY (contact_create), + KEY (contact_mail), + KEY (contact_phone), + KEY (contact_platform), + KEY (contact_type) ) ENGINE=MyISAM;"; - $xoopsDB->query($sql); + if (false === $xoopsDB->query($sql)) { + $module->setErrors('Failed to create module (< v1.80) database table'); + return false; + } } if ($version < 181) { + $retVal = true; // Add contact_platform $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD `contact_platform` ENUM('Android','Ios','Web') NOT NULL DEFAULT 'Web'"; - $xoopsDB->query($sql); + $success = $xoopsDB->query($sql); + $retVal = $retVal && $success; // Add contact_type $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD `contact_type` ENUM('Contact','Phone','Mail') NOT NULL DEFAULT 'Contact'"; - $xoopsDB->query($sql); + $success = $xoopsDB->query($sql); + $retVal = $retVal && $success; // Add index contact_uid - $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `contact_uid` ( `contact_uid` )"; - $xoopsDB->query($sql); + $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `contact_uid` (`contact_uid`)"; + $success = $xoopsDB->query($sql); + $retVal = $retVal && $success; // Add index contact_cid - $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `contact_cid` ( `contact_cid` )"; - $xoopsDB->query($sql); + $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `contact_cid` (`contact_cid`)"; + $success = $xoopsDB->query($sql); + $retVal = $retVal && $success; // Add index contact_create - $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `contact_create` ( `contact_create` )"; - $xoopsDB->query($sql); + $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `contact_create` (`contact_create`)"; + $success = $xoopsDB->query($sql); + $retVal = $retVal && $success; // Add index contact_mail - $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `contact_mail` ( `contact_mail` )"; - $xoopsDB->query($sql); + $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `contact_mail` (`contact_mail`)"; + $success = $xoopsDB->query($sql); + $retVal = $retVal && $success; // Add index contact_phone - $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `contact_phone` ( `contact_phone` )"; - $xoopsDB->query($sql); + $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `contact_phone` (`contact_phone`)"; + $success = $xoopsDB->query($sql); + $retVal = $retVal && $success; // Add index contact_platform - $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `contact_platform` ( `contact_platform` )"; - $xoopsDB->query($sql); + $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `contact_platform` (`contact_platform`)"; + $success = $xoopsDB->query($sql); + $retVal = $retVal && $success; // Add index contact_type - $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `contact_type` ( `contact_type` )"; - $xoopsDB->query($sql); - + $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `contact_type` (`contact_type`)"; + $success = $xoopsDB->query($sql); + $retVal = $retVal && $success; + $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `replied` (`contact_cid`, `contact_reply`)"; + $success = $xoopsDB->query($sql); + $retVal = $retVal && $success; + $sql = "ALTER TABLE `" . $xoopsDB->prefix('contact') . "` ADD INDEX `typed_cid` (`contact_cid`, `contact_type`)"; + $success = $xoopsDB->query($sql); + $retVal = $retVal && $success; + if (false === $retVal) { + $module->setErrors('Could not update dB table (< v1.81)'); + return false; + } // do some file cleanup since directories/files were moved in this version $dirArray = array('css', 'images', 'js'); foreach ($dirArray as $dir) { - rrmdir($GLOBALS['xoops']->path("/$module->dirname/{$dir}")); + rmmdir($dir); } } + if ($version < 182) { //delete the /admin/tools.php file - it was renamed to purge.php in v1.82 $filename = $GLOBALS['xoops']->path("/" . $module->dirname() . "/admin/tools.php"); Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/waiting.plugin.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/waiting.plugin.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/waiting.plugin.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact - waiting.php * @@ -23,7 +23,7 @@ */ function b_waiting_contact() { -// $contactDB =& XoopsDatabaseFactory::getDatabaseConnection(); + // $contactDB =& XoopsDatabaseFactory::getDatabaseConnection(); $block = array(); @@ -35,13 +35,13 @@ //check to see if module is active, return if not... if ($contactModule->isactive()) { // setup the contact messages - $contact_handler = & xoops_getModuleHandler('contact', 'contact'); + $contact_handler = & xoops_getModuleHandler('contact', $contactModule->dirname()); $criteria = new CriteriaCompo(); $criteria->add(new Criteria('contact_cid', 0, '=')); //don't include replies $criteria->add(new Criteria('contact_reply', 0, '=')); // only include messages that haven't had a reply $messageCount = $contact_handler->getCount($criteria); if ($messageCount) { - $block = array('adminlink' => $GLOBALS['xoops']->url("www/modules/contact/admin/contact.php"), + $block = array('adminlink' => $GLOBALS['xoops']->url("www/modules/" . $contactModule->dirname() . "/admin/contact.php"), 'pendingnum' => $messageCount, 'lang_linkname' => _PI_CONTACT_WAITING_REPLY ); Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/index.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/index.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/index.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact module @@ -92,7 +92,7 @@ } // Info Processing - $mailFormResults = $contact_handler->infoProcessing($_POST); + $mailFormResults = $contact_handler->infoProcessing('POST'); $mailObj = (object) $mailFormResults; // insert in DB if ($saveinfo = true) { Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/blocks.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/blocks.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/blocks.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact - blocks.php * Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/help/help.html =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/help/help.html 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/help/help.html 2015-01-28 19:42:52 UTC (rev 12951) @@ -1,31 +1,37 @@ <div id="help-template" class="outer"> - <h1 class="head">Help: - <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/contact/admin/index.php" - title="Back to the administration of Contact"> Contact - <img src="<{xoAdminIcons home.png}>" - alt="Back to the Administration of Contact"/> - </a></h1> + <h1 class="head"> + Help: <a class="ui-corner-all tooltip" + href="<{$xoops_url}>/modules/contact/admin/index.php" + title="Back to the administration of Contact"> Contact <img + src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of Contact" /> + </a> + </h1> - <h4 class="odd">Description</h4><br/> + <h4 class="odd">Description</h4> + <br /> - <p style='margin-bottom: 1em;'>'Contact Us' is a very simple module. It provides a Main Menu link to a - contact form that visitors can use to email the website Administrator or - optionally a department.</p> - <p>You can set the content of the Contact Us form header in 'Preferences'</p> + <p style='margin-bottom: 1em;'>'Contact Us' is a very simple + module. It provides a Main Menu link to a contact form that visitors + can use to email the website Administrator or optionally a department.</p> + <p>You can set the content of the Contact Us form header in + 'Preferences'</p> - <h4 class="odd">Install/uninstall</h4><br/> + <h4 class="odd">Install/uninstall</h4> + <br /> No special measures necessary, follow the standard installation + process extract the /contact folder into the ./modules directory. + Install the module through Admin -> System Module -> Modules. <br /> + <br /> Detailed instructions on installing modules are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br /> + <br /> - No special measures necessary, follow the standard installation process - extract the /contact folder into the ./modules directory. Install the - module through Admin -> System Module -> Modules. <br/><br/> - Detailed instructions on installing modules are available in the - <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br/><br/> + <h4 class="odd">Operating instructions</h4> + <br /> There is nothing really to do on the Admin site, except setting + preferences.<br /> + <br /> + <h4 class="odd">Tutorial</h4> + <br /> You can find a more detailed Tutorial <a + href="http://goo.gl/bz94i">here</a><br /> - <h4 class="odd">Operating instructions</h4><br/> - There is nothing really to do on the Admin site, except setting preferences.<br/><br/> - <h4 class="odd">Tutorial</h4><br/> - - You can find a more detailed Tutorial <a href="http://goo.gl/bz94i">here</a><br/> - </div> \ No newline at end of file Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/help/module_index.html =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/help/module_index.html 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/help/module_index.html 2015-01-28 19:42:52 UTC (rev 12951) @@ -1,22 +1,32 @@ <div id="help-template" class="outer"> - <h1 class="head">Help: - <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/contact/admin/index.php" - title="Back to the administration of Contact"> Contact - <img src="<{xoAdminIcons home.png}>" - alt="Back to the Administration of Contact"/> - </a></h1> + <h1 class="head"> + Help: <a class="ui-corner-all tooltip" + href="<{$xoops_url}>/modules/contact/admin/index.php" + title="Back to the administration of Contact"> Contact <img + src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of Contact" /> + </a> + </h1> - <h4 class="odd">Contact Module</h4> - <p style='margin: 1em 0;'>This module includes the following features:</p> - <ul> - <li style='height: 1.3em;'>Automatically emails contact form to requested contact</li> - <li style='height: 1.3em;'>Allows Administrator to reply to message from module control panel</li> - <li style='height: 1.3em;'>Stores Contact submission in database</li> - <li style='height: 1.3em;'>Allows Administrator to select type of information to collect (URL, Company Name, Location, Address, Phone, etc.)</li> - <li style='height: 1.3em;'>Supports contacting departments</li> - <li style='height: 1.3em;'>Form Captcha based on site settings</li> - <li style='height: 1.3em;'>Ability to require anonymous users to enter email twice on form to ensure it was entered correctly</li> - <li style='height: 1.3em;'>Provides log of users who have filled out Contact form</li> - <li style='height: 1.3em;'>Allows Administrator to prune (delete) messages from the database</li> - </ul> + <h4 class="odd">Contact Module</h4> + <p style='margin: 1em 0;'>This module includes the following + features:</p> + <ul> + <li style='height: 1.3em;'>Automatically emails contact form to + requested contact</li> + <li style='height: 1.3em;'>Allows Administrator to reply to + message from module control panel</li> + <li style='height: 1.3em;'>Stores Contact submission in database</li> + <li style='height: 1.3em;'>Allows Administrator to select type of + information to collect (URL, Company Name, Location, Address, Phone, + etc.)</li> + <li style='height: 1.3em;'>Supports contacting departments</li> + <li style='height: 1.3em;'>Form Captcha based on site settings</li> + <li style='height: 1.3em;'>Ability to require anonymous users to + enter email twice on form to ensure it was entered correctly</li> + <li style='height: 1.3em;'>Provides log of users who have filled + out Contact form</li> + <li style='height: 1.3em;'>Allows Administrator to prune (delete) + messages from the database</li> + </ul> </div> Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/modinfo.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/modinfo.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/modinfo.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact - modinfo.php * Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/waiting.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/waiting.php 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/waiting.php 2015-01-28 19:42:52 UTC (rev 12951) @@ -7,7 +7,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ + */ /** * Contact - waiting.php * Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/sql/mysql.sql =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/sql/mysql.sql 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/sql/mysql.sql 2015-01-28 19:42:52 UTC (rev 12951) @@ -1,29 +1,31 @@ CREATE TABLE contact ( - contact_id int(10) unsigned NOT NULL auto_increment, - contact_uid int(10) NOT NULL, - contact_cid int(10) NOT NULL, - contact_create int(10) NOT NULL, - contact_subject varchar(255) NOT NULL, - contact_name varchar(255) NOT NULL, - contact_mail varchar(255) NOT NULL, - contact_url varchar(255) NOT NULL, - contact_icq varchar(255) NOT NULL, - contact_company varchar(255) NOT NULL, - contact_location varchar(255) NOT NULL, - contact_department varchar(60) NOT NULL, - contact_ip varchar(20) NOT NULL, - contact_phone varchar(20) NOT NULL, - contact_message text NOT NULL, - contact_address text NOT NULL, - contact_reply tinyint(1) NOT NULL, - contact_platform enum('Android','Ios','Web') NOT NULL DEFAULT 'Web', - contact_type enum('Contact','Phone','Mail') NOT NULL DEFAULT 'Contact', + `contact_id` int(10) unsigned NOT NULL auto_increment, + `contact_uid` int(10) NOT NULL, + `contact_cid` int(10) NOT NULL, + `contact_create` int(10) NOT NULL, + `contact_subject` varchar(255) NOT NULL, + `contact_name` varchar(255) NOT NULL, + `contact_mail` varchar(255) NOT NULL, + `contact_url` varchar(255) NOT NULL, + `contact_icq` varchar(255) NOT NULL, + `contact_company` varchar(255) NOT NULL, + `contact_location` varchar(255) NOT NULL, + `contact_department` varchar(60) NOT NULL, + `contact_ip` varchar(20) NOT NULL, + `contact_phone` varchar(20) NOT NULL, + `contact_message` text NOT NULL, + `contact_address` text NOT NULL, + `contact_reply` tinyint(1) NOT NULL, + `contact_platform` enum('Android','Ios','Web') NOT NULL DEFAULT 'Web', + `contact_type` enum('Contact','Phone','Mail') NOT NULL DEFAULT 'Contact', PRIMARY KEY (contact_id), - KEY (contact_uid), - KEY (contact_cid), - KEY (contact_create), - KEY (contact_mail), - KEY (contact_phone), - KEY (contact_platform), - KEY (contact_type) + KEY (`contact_uid`), + KEY (`contact_cid`), + KEY (`contact_create`), + KEY (`contact_mail`), + KEY (`contact_phone`), + KEY (`contact_platform`), + KEY (`contact_type`), + KEY `replied` (`contact_cid`, `contact_reply`), + KEY `typed_cid` ('contact_cid`, `contact_type`) ) ENGINE=MyISAM; Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/templates/admin/contact_contact.tpl =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/templates/admin/contact_contact.tpl 2015-01-28 19:15:52 UTC (rev 12950) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/templates/admin/contact_contact.tpl 2015-01-28 19:42:52 UTC (rev 12951) @@ -18,7 +18,11 @@ <td class="txtcenter bold"><a class="tooltip" title="<{$contact.contact_subject}>" href="contact.php?op=view&id=<{$contact.contact_id}>"><{$contact.contact_subject}></a></td> <td class="txtcenter"><{$contact.contact_create}></td> <td class="txtcenter"> - <{$contact.contact_name}> ( <{if $contact.contact_uid}><a title="<{$contact.contact_owner}>"href="<{$xoops_url}>/userinfo.php?uid=<{$contact.contact_uid}>"><{$contact.contact_owner}></a><{else}><{$contact.contact_owner}><{/if}> ) +<{ if $contact.contact_uid}> + <a href='<{$xoops_url}>/userinfo.php?uid=<{$contact.contact_uid}>'><{$contact.contact_name}></a> +<{ else}> + <a href='<{$contact.contact_mail}>'><{$contact.contact_name}></a><{/if}><{if !$contact.contact_uid}> (<{$contact.contact_owner}>) +<{ /if}> </td> <td class="txtcenter xo-actions"> <img class="tooltip" onclick="display_dialog(<{$contact.contact_id}>, true, true, 'slide', 'slide', 300, 700);" @@ -243,27 +247,29 @@ <tr class="odd" id="mod_<{$contact.contact_id}>"> <td class="bold"><a class="tooltip" title="<{$smarty.const._AM_CONTACT_VIEW}> : <{$contact.contact_subject}>" href="contact.php?op=view&id=<{$contact.contact_id}>"><{$contact.contact_subject}></a> </td> - <td class="txtcenter width10 bold"><{if $contact.contact_reply}><span class="green bold pad2"><{$smarty.const._AM_CONTACT_REPLY_HAVE}></span><{else}><span - class="red bold pad2"><{$smarty.const._AM_CONTACT_REPLY_HAVENT}></span><{/if}> + <td class="txtcenter width10 bold"> + <{if $contact.contact_reply}><img src="<{xoModuleIcons16 1.png}>" alt="<{$smarty.const._AM_CONTACT_REPLY_HAVE}>" title="<{$smarty.const._AM_CONTACT_REPLY_HAVE}>" /><{else}><img src="<{xoModuleIcons16 0.png}>" alt="<{$smarty.const._AM_CONTACT_REPLY_HAVENT}>" title="<{$smarty.const._AM_CONTACT_REPLY_HAVENT}>" /><{/if}> </td> <td class="txtcenter width10"><{$contact.contact_create}></td> <{if $use_depts}><td class="txtcenter width15 bold"><{$contact.contact_department}></td><{/if}> <td ... [truncated message content] |
From: <txm...@us...> - 2015-01-28 19:15:55
|
Revision: 12950 http://sourceforge.net/p/xoops/svn/12950 Author: txmodxoops Date: 2015-01-28 19:15:52 +0000 (Wed, 28 Jan 2015) Log Message: ----------- I think this should be included in the folder xoops_lib / Frameworks from xoops 2.5.8 to be lighter on the many issues that we have in the folder themes. I have them all with bootstrap Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap-responsive.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/js/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/js/bootstrap.min.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/js/index.html Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap-responsive.min.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap-responsive.min.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap-responsive.min.css 2015-01-28 19:15:52 UTC (rev 12950) @@ -0,0 +1,9 @@ +/*! + * Bootstrap Responsive v2.3.1 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@-ms-viewport{width:device-width}.hidden{display:none;visibility:hidden}.visible-phone{display:none!important}.visible-tablet{display:none!important}.hidden-desktop{display:none!important}.visible-desktop{display:inherit!important}@media(min-width:768px) and (max-width:979px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-tablet{display:inherit!important}.hidden-tablet{display:none!important}}@media(max-width:767px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-phone{display:inherit!important}.hidden-phone{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:inherit!important}.hidden-print{display:none!important}}@media(min-width:1200px){.row{margin-left:-30px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:30px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:1170px}.span12{width:1170px}.span11{width:1070px}.span10{width:970px}.span9{width:870px}.span8{width:770px}.span7{width:670px}.span6{width:570px}.span5{width:470px}.span4{width:370px}.span3{width:270px}.span2{width:170px}.span1{width:70px}.offset12{margin-left:1230px}.offset11{margin-left:1130px}.offset10{margin-left:1030px}.offset9{margin-left:930px}.offset8{margin-left:830px}.offset7{margin-left:730px}.offset6{margin-left:630px}.offset5{margin-left:530px}.offset4{margin-left:430px}.offset3{margin-left:330px}.offset2{margin-left:230px}.offset1{margin-left:130px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.564102564102564%;*margin-left:2.5109110747408616%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.564102564102564%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.45299145299145%;*width:91.39979996362975%}.row-fluid .span10{width:82.90598290598291%;*width:82.8527914166212%}.row-fluid .span9{width:74.35897435897436%;*width:74.30578286961266%}.row-fluid .span8{width:65.81196581196582%;*width:65.75877432260411%}.row-fluid .span7{width:57.26495726495726%;*width:57.21176577559556%}.row-fluid .span6{width:48.717948717948715%;*width:48.664757228587014%}.row-fluid .span5{width:40.17094017094017%;*width:40.11774868157847%}.row-fluid .span4{width:31.623931623931625%;*width:31.570740134569924%}.row-fluid .span3{width:23.076923076923077%;*width:23.023731587561375%}.row-fluid .span2{width:14.52991452991453%;*width:14.476723040552828%}.row-fluid .span1{width:5.982905982905983%;*width:5.929714493544281%}.row-fluid .offset12{margin-left:105.12820512820512%;*margin-left:105.02182214948171%}.row-fluid .offset12:first-child{margin-left:102.56410256410257%;*margin-left:102.45771958537915%}.row-fluid .offset11{margin-left:96.58119658119658%;*margin-left:96.47481360247316%}.row-fluid .offset11:first-child{margin-left:94.01709401709402%;*margin-left:93.91071103837061%}.row-fluid .offset10{margin-left:88.03418803418803%;*margin-left:87.92780505546462%}.row-fluid .offset10:first-child{margin-left:85.47008547008548%;*margin-left:85.36370249136206%}.row-fluid .offset9{margin-left:79.48717948717949%;*margin-left:79.38079650845607%}.row-fluid .offset9:first-child{margin-left:76.92307692307693%;*margin-left:76.81669394435352%}.row-fluid .offset8{margin-left:70.94017094017094%;*margin-left:70.83378796144753%}.row-fluid .offset8:first-child{margin-left:68.37606837606839%;*margin-left:68.26968539734497%}.row-fluid .offset7{margin-left:62.393162393162385%;*margin-left:62.28677941443899%}.row-fluid .offset7:first-child{margin-left:59.82905982905982%;*margin-left:59.72267685033642%}.row-fluid .offset6{margin-left:53.84615384615384%;*margin-left:53.739770867430444%}.row-fluid .offset6:first-child{margin-left:51.28205128205128%;*margin-left:51.175668303327875%}.row-fluid .offset5{margin-left:45.299145299145295%;*margin-left:45.1927623204219%}.row-fluid .offset5:first-child{margin-left:42.73504273504273%;*margin-left:42.62865975631933%}.row-fluid .offset4{margin-left:36.75213675213675%;*margin-left:36.645753773413354%}.row-fluid .offset4:first-child{margin-left:34.18803418803419%;*margin-left:34.081651209310785%}.row-fluid .offset3{margin-left:28.205128205128204%;*margin-left:28.0987452264048%}.row-fluid .offset3:first-child{margin-left:25.641025641025642%;*margin-left:25.53464266230224%}.row-fluid .offset2{margin-left:19.65811965811966%;*margin-left:19.551736679396257%}.row-fluid .offset2:first-child{margin-left:17.094017094017094%;*margin-left:16.98763411529369%}.row-fluid .offset1{margin-left:11.11111111111111%;*margin-left:11.004728132387708%}.row-fluid .offset1:first-child{margin-left:8.547008547008547%;*margin-left:8.440625568285142%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:30px}input.span12,textarea.span12,.uneditable-input.span12{width:1156px}input.span11,textarea.span11,.uneditable-input.span11{width:1056px}input.span10,textarea.span10,.uneditable-input.span10{width:956px}input.span9,textarea.span9,.uneditable-input.span9{width:856px}input.span8,textarea.span8,.uneditable-input.span8{width:756px}input.span7,textarea.span7,.uneditable-input.span7{width:656px}input.span6,textarea.span6,.uneditable-input.span6{width:556px}input.span5,textarea.span5,.uneditable-input.span5{width:456px}input.span4,textarea.span4,.uneditable-input.span4{width:356px}input.span3,textarea.span3,.uneditable-input.span3{width:256px}input.span2,textarea.span2,.uneditable-input.span2{width:156px}input.span1,textarea.span1,.uneditable-input.span1{width:56px}.thumbnails{margin-left:-30px}.thumbnails>li{margin-left:30px}.row-fluid .thumbnails{margin-left:0}}@media(min-width:768px) and (max-width:979px){.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:724px}.span12{width:724px}.span11{width:662px}.span10{width:600px}.span9{width:538px}.span8{width:476px}.span7{width:414px}.span6{width:352px}.span5{width:290px}.span4{width:228px}.span3{width:166px}.span2{width:104px}.span1{width:42px}.offset12{margin-left:764px}.offset11{margin-left:702px}.offset10{margin-left:640px}.offset9{margin-left:578px}.offset8{margin-left:516px}.offset7{margin-left:454px}.offset6{margin-left:392px}.offset5{margin-left:330px}.offset4{margin-left:268px}.offset3{margin-left:206px}.offset2{margin-left:144px}.offset1{margin-left:82px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.7624309392265194%;*margin-left:2.709239449864817%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.7624309392265194%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.43646408839778%;*width:91.38327259903608%}.row-fluid .span10{width:82.87292817679558%;*width:82.81973668743387%}.row-fluid .span9{width:74.30939226519337%;*width:74.25620077583166%}.row-fluid .span8{width:65.74585635359117%;*width:65.69266486422946%}.row-fluid .span7{width:57.18232044198895%;*width:57.12912895262725%}.row-fluid .span6{width:48.61878453038674%;*width:48.56559304102504%}.row-fluid .span5{width:40.05524861878453%;*width:40.00205712942283%}.row-fluid .span4{width:31.491712707182323%;*width:31.43852121782062%}.row-fluid .span3{width:22.92817679558011%;*width:22.87498530621841%}.row-fluid .span2{width:14.3646408839779%;*width:14.311449394616199%}.row-fluid .span1{width:5.801104972375691%;*width:5.747913483013988%}.row-fluid .offset12{margin-left:105.52486187845304%;*margin-left:105.41847889972962%}.row-fluid .offset12:first-child{margin-left:102.76243093922652%;*margin-left:102.6560479605031%}.row-fluid .offset11{margin-left:96.96132596685082%;*margin-left:96.8549429881274%}.row-fluid .offset11:first-child{margin-left:94.1988950276243%;*margin-left:94.09251204890089%}.row-fluid .offset10{margin-left:88.39779005524862%;*margin-left:88.2914070765252%}.row-fluid .offset10:first-child{margin-left:85.6353591160221%;*margin-left:85.52897613729868%}.row-fluid .offset9{margin-left:79.8342541436464%;*margin-left:79.72787116492299%}.row-fluid .offset9:first-child{margin-left:77.07182320441989%;*margin-left:76.96544022569647%}.row-fluid .offset8{margin-left:71.2707182320442%;*margin-left:71.16433525332079%}.row-fluid .offset8:first-child{margin-left:68.50828729281768%;*margin-left:68.40190431409427%}.row-fluid .offset7{margin-left:62.70718232044199%;*margin-left:62.600799341718584%}.row-fluid .offset7:first-child{margin-left:59.94475138121547%;*margin-left:59.838368402492065%}.row-fluid .offset6{margin-left:54.14364640883978%;*margin-left:54.037263430116376%}.row-fluid .offset6:first-child{margin-left:51.38121546961326%;*margin-left:51.27483249088986%}.row-fluid .offset5{margin-left:45.58011049723757%;*margin-left:45.47372751851417%}.row-fluid .offset5:first-child{margin-left:42.81767955801105%;*margin-left:42.71129657928765%}.row-fluid .offset4{margin-left:37.01657458563536%;*margin-left:36.91019160691196%}.row-fluid .offset4:first-child{margin-left:34.25414364640884%;*margin-left:34.14776066768544%}.row-fluid .offset3{margin-left:28.45303867403315%;*margin-left:28.346655695309746%}.row-fluid .offset3:first-child{margin-left:25.69060773480663%;*margin-left:25.584224756083227%}.row-fluid .offset2{margin-left:19.88950276243094%;*margin-left:19.783119783707537%}.row-fluid .offset2:first-child{margin-left:17.12707182320442%;*margin-left:17.02068884448102%}.row-fluid .offset1{margin-left:11.32596685082873%;*margin-left:11.219583872105325%}.row-fluid .offset1:first-child{margin-left:8.56353591160221%;*margin-left:8.457152932878806%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:20px}input.span12,textarea.span12,.uneditable-input.span12{width:710px}input.span11,textarea.span11,.uneditable-input.span11{width:648px}input.span10,textarea.span10,.uneditable-input.span10{width:586px}input.span9,textarea.span9,.uneditable-input.span9{width:524px}input.span8,textarea.span8,.uneditable-input.span8{width:462px}input.span7,textarea.span7,.uneditable-input.span7{width:400px}input.span6,textarea.span6,.uneditable-input.span6{width:338px}input.span5,textarea.span5,.uneditable-input.span5{width:276px}input.span4,textarea.span4,.uneditable-input.span4{width:214px}input.span3,textarea.span3,.uneditable-input.span3{width:152px}input.span2,textarea.span2,.uneditable-input.span2{width:90px}input.span1,textarea.span1,.uneditable-input.span1{width:28px}}@media(max-width:767px){body{padding-right:20px;padding-left:20px}.navbar-fixed-top,.navbar-fixed-bottom,.navbar-static-top{margin-right:-20px;margin-left:-20px}.container-fluid{padding:0}.dl-horizontal dt{float:none;width:auto;clear:none;text-align:left}.dl-horizontal dd{margin-left:0}.container{width:auto}.row-fluid{width:100%}.row,.thumbnails{margin-left:0}.thumbnails>li{float:none;margin-left:0}[class*="span"],.uneditable-input[class*="span"],.row-fluid [class*="span"]{display:block;float:none;width:100%;margin-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.span12,.row-fluid .span12{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="offset"]:first-child{margin-left:0}.input-large,.input-xlarge,.input-xxlarge,input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.input-prepend input,.input-append input,.input-prepend input[class*="span"],.input-append input[class*="span"]{display:inline-block;width:auto}.controls-row [class*="span"]+[class*="span"]{margin-left:0}.modal{position:fixed;top:20px;right:20px;left:20px;width:auto;margin:0}.modal.fade{top:-100px}.modal.fade.in{top:20px}}@media(max-width:480px){.nav-collapse{-webkit-transform:translate3d(0,0,0)}.page-header h1 small{display:block;line-height:20px}input[type="checkbox"],input[type="radio"]{border:1px solid #ccc}.form-horizontal .control-label{float:none;width:auto;padding-top:0;text-align:left}.form-horizontal .controls{margin-left:0}.form-horizontal .control-list{padding-top:0}.form-horizontal .form-actions{padding-right:10px;padding-left:10px}.media .pull-left,.media .pull-right{display:block;float:none;margin-bottom:10px}.media-object{margin-right:0;margin-left:0}.modal{top:10px;right:10px;left:10px}.modal-header .close{padding:10px;margin:-10px}.carousel-caption{position:static}}@media(max-width:979px){body{padding-top:0}.navbar-fixed-top,.navbar-fixed-bottom{position:static}.navbar-fixed-top{margin-bottom:20px}.navbar-fixed-bottom{margin-top:20px}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding:5px}.navbar .container{width:auto;padding:0}.navbar .brand{padding-right:10px;padding-left:10px;margin:0 0 0 -5px}.nav-collapse{clear:both}.nav-collapse .nav{float:none;margin:0 0 10px}.nav-collapse .nav>li{float:none}.nav-collapse .nav>li>a{margin-bottom:2px}.nav-collapse .nav>.divider-vertical{display:none}.nav-collapse .nav .nav-header{color:#777;text-shadow:none}.nav-collapse .nav>li>a,.nav-collapse .dropdown-menu a{padding:9px 15px;font-weight:bold;color:#777;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.nav-collapse .btn{padding:4px 10px 4px;font-weight:normal;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-collapse .dropdown-menu li+li a{margin-bottom:2px}.nav-collapse .nav>li>a:hover,.nav-collapse .nav>li>a:focus,.nav-collapse .dropdown-menu a:hover,.nav-collapse .dropdown-menu a:focus{background-color:#f2f2f2}.navbar-inverse .nav-collapse .nav>li>a,.navbar-inverse .nav-collapse .dropdown-menu a{color:#999}.navbar-inverse .nav-collapse .nav>li>a:hover,.navbar-inverse .nav-collapse .nav>li>a:focus,.navbar-inverse .nav-collapse .dropdown-menu a:hover,.navbar-inverse .nav-collapse .dropdown-menu a:focus{background-color:#111}.nav-collapse.in .btn-group{padding:0;margin-top:5px}.nav-collapse .dropdown-menu{position:static;top:auto;left:auto;display:none;float:none;max-width:none;padding:0;margin:0 15px;background-color:transparent;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.nav-collapse .open>.dropdown-menu{display:block}.nav-collapse .dropdown-menu:before,.nav-collapse .dropdown-menu:after{display:none}.nav-collapse .dropdown-menu .divider{display:none}.nav-collapse .nav>li>.dropdown-menu:before,.nav-collapse .nav>li>.dropdown-menu:after{display:none}.nav-collapse .navbar-form,.nav-collapse .navbar-search{float:none;padding:10px 15px;margin:10px 0;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}.navbar-inverse .nav-collapse .navbar-form,.navbar-inverse .nav-collapse .navbar-search{border-top-color:#111;border-bottom-color:#111}.navbar .nav-collapse .nav.pull-right{float:none;margin-left:0}.nav-collapse,.nav-collapse.collapse{height:0;overflow:hidden}.navbar .btn-navbar{display:block}.navbar-static .navbar-inner{padding-right:10px;padding-left:10px}}@media(min-width:980px){.nav-collapse.collapse{height:auto!important;overflow:visible!important}} Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap.min.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap.min.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap.min.css 2015-01-28 19:15:52 UTC (rev 12950) @@ -0,0 +1,5 @@ +/*! + * 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: <rgr...@us...> - 2015-01-28 17:41:19
|
Revision: 12949 http://sourceforge.net/p/xoops/svn/12949 Author: rgriffith Date: 2015-01-28 17:41:17 +0000 (Wed, 28 Jan 2015) Log Message: ----------- Update to PHPMailer 5.2.9, remove addrFormat override in XoopsMultiMailer Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/LICENSE XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/class.phpmailer.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/class.pop3.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/class.smtp.php Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/PHPMailerAutoload.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/README.md XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/changelog.md XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-ar.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-be.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-br.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-ca.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-ch.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-cz.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-de.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-el.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-eo.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-es.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-et.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-fa.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-fi.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-fo.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-fr.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-gl.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-he.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-hr.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-hu.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-it.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-ja.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-ka.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-lt.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-lv.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-nl.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-no.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-pl.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-pt.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-ro.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-ru.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-se.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-sk.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-sr.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-tr.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-uk.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-vi.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-zh.php XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-zh_cn.php Removed Paths: ------------- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/ChangeLog.txt XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/README XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/docs.ini XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/language/phpmailer.lang-en.php Deleted: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/ChangeLog.txt =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/ChangeLog.txt 2015-01-24 15:50:02 UTC (rev 12948) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/ChangeLog.txt 2015-01-28 17:41:17 UTC (rev 12949) @@ -1,421 +0,0 @@ -ChangeLog - -NOTE: THIS VERSION OF PHPMAILER IS DESIGNED FOR PHP5/PHP6. - IT WILL NOT WORK WITH PHP4. - -Version 5.2.1 (January 16, 2012) -* Closed several bugs -* Performance improvements -* MsgHTML() now returns the message as required. -* New method: GetSentMIMEMessage() (returns full copy of sent message) - -Version 5.2 (July 19, 2011) -* protected MIME body and header -* better DKIM DNS Resource Record support -* better aly handling -* htmlfilter class added to extras -* moved to Apache Extras - -Version 5.1 (October 20, 2009) -* fixed filename issue with AddStringAttachment (thanks to Tony) -* fixed "SingleTo" property, now works with Senmail, Qmail, and SMTP in - addition to PHP mail() -* added DKIM digital signing functionality - New properties: - - DKIM_domain (sets the domain name) - - DKIM_private (holds DKIM private key) - - DKIM_passphrase (holds your DKIM passphrase) - - DKIM_selector (holds the DKIM "selector") - - DKIM_identity (holds the identifying email address) -* added callback function support - - callback function parameters include: - result, to, cc, bcc, subject and body - * see the test/test_callback.php file for usage. -* added "auto" identity functionality - - can automatically add: - - Return-path (if Sender not set) - - Reply-To (if ReplyTo not set) - - can be disabled: - - $mail->SetFrom('you...@yo...','First Last',false); - - or by adding the $mail->Sender and/or $mail->ReplyTo properties - Note: "auto" identity added to help with emails ending up in spam - or junk boxes because of missing headers - -Version 5.0.2 (May 24, 2009) -* Fix for missing attachments when inline graphics are present -* Fix for missing Cc in header when using SMTP (mail was sent, - but not displayed in header -- Cc receiver only saw email To: - line and no Cc line, but did get the email (To receiver - saw same) - -Version 5.0.1 (April 05, 2009) -* Temporary fix for missing attachments - -Version 5.0.0 (April 02, 2009) - -* With the release of this version, we are initiating a new version numbering - system to differentiate from the PHP4 version of PHPMailer. -* Most notable in this release is fully object oriented code. -class.smtp.php: -* Refactored class.smtp.php to support new exception handling - code size reduced from 29.2 Kb to 25.6 Kb -* Removed unnecessary functions from class.smtp.php: - public function Expand($name) { - public function Help($keyword="") { - public function Noop() { - public function Send($from) { - public function SendOrMail($from) { - public function Verify($name) { -class.phpmailer.php: -* Refactored class.phpmailer.php with new exception handling -* Changed processing functionality of Sendmail and Qmail so they cannot be - inadvertently used -* removed getFile() function, just became a simple wrapper for - file_get_contents() -* added check for PHP version (will gracefully exit if not at least PHP 5.0) -class.phpmailer.php enhancements -* enhanced code to check if an attachment source is the same as an embedded or - inline graphic source to eliminate duplicate attachments -New /test_script -* We have written a test script you can use to test the script as part of your - installation. Once you press submit, the test script will send a multi-mime - email with either the message you type in or an HTML email with an inline - graphic. Two attachments are included in the email (one of the attachments - is also the inline graphic so you can see that only one copy of the graphic - is sent in the email). The test script will also display the functional - script that you can copy/paste to your editor to duplicate the functionality. -New examples -* All new examples in both basic and advanced modes. Advanced examples show - Exception handling. -PHPDocumentator (phpdocs) documentation for PHPMailer version 5.0.0 -* all new documentation - -Please note: the website has been updated to reflect the changes in PHPMailer -version 5.0.0. http://phpmailer.codeworxtech.com/ - -Version 2.3 (November 06, 2008) - -* added Arabic language (many thanks to Bahjat Al Mostafa) -* removed English language from language files and made it a default within - class.phpmailer.php - if no language is found, it will default to use - the english language translation -* fixed public/private declarations -* corrected line 1728, $basedir to $directory -* added $sign_cert_file to avoid improper duplicate use of $sign_key_file -* corrected $this->Hello on line 612 to $this->Helo -* changed default of $LE to "\r\n" to comply with RFC 2822. Can be set by the user - if default is not acceptable -* removed trim() from return results in EncodeQP -* /test and three files it contained are removed from version 2.3 -* fixed phpunit.php for compliance with PHP5 -* changed $this->AltBody = $textMsg; to $this->AltBody = html_entity_decode($textMsg); -* We have removed the /phpdoc from the downloads. All documentation is now on - the http://phpmailer.codeworxtech.com website. - -Version 2.2.1 () July 19 2008 - -* fixed line 1092 in class.smtp.php (my apologies, error on my part) - -Version 2.2 () July 15 2008 - -* Fixed redirect issue (display of UTF-8 in thank you redirect) -* fixed error in getResponse function declaration (class.pop3.php) -* PHPMailer now PHP6 compliant -* fixed line 1092 in class.smtp.php (endless loop from missing = sign) - -Version 2.1 (Wed, June 04 2008) - -** NOTE: WE HAVE A NEW LANGUAGE VARIABLE FOR DIGITALLY SIGNED S/MIME EMAILS. - IF YOU CAN HELP WITH LANGUAGES OTHER THAN ENGLISH AND SPANISH, IT WOULD BE - APPRECIATED. - -* added S/MIME functionality (ability to digitally sign emails) - BIG THANKS TO "sergiocambra" for posting this patch back in November 2007. - The "Signed Emails" functionality adds the Sign method to pass the private key - filename and the password to read it, and then email will be sent with - content-type multipart/signed and with the digital signature attached. -* fully compatible with E_STRICT error level - - Please note: - In about half the test environments this development version was subjected - to, an error was thrown for the date() functions used (line 1565 and 1569). - This is NOT a PHPMailer error, it is the result of an incorrectly configured - PHP5 installation. The fix is to modify your 'php.ini' file and include the - date.timezone = America/New York - directive, to your own server timezone - - If you do get this error, and are unable to access your php.ini file: - In your PHP script, add - date_default_timezone_set('America/Toronto'); - - do not try to use - $myVar = date_default_timezone_get(); - as a test, it will throw an error. -* added ability to define path (mainly for embedded images) - function MsgHTML($message,$basedir='') ... where: - $basedir is the fully qualified path -* fixed MsgHTML() function: - - Embedded Images where images are specified by <protocol>:// will not be altered or embedded -* fixed the return value of SMTP exit code ( pclose ) -* addressed issue of multibyte characters in subject line and truncating -* added ability to have user specified Message ID - (default is still that PHPMailer create a unique Message ID) -* corrected unidentified message type to 'application/octet-stream' -* fixed chunk_split() multibyte issue (thanks to Colin Brown, et al). -* added check for added attachments -* enhanced conversion of HTML to text in MsgHTML (thanks to "brunny") - -Version 2.1.0beta2 (Sun, Dec 02 2007) -* implemented updated EncodeQP (thanks to coolbru, aka Marcus Bointon) -* finished all testing, all known bugs corrected, enhancements tested -- note: will NOT work with PHP4. - -please note, this is BETA software -** DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS -INTENDED STRICTLY FOR TESTING - -Version 2.1.0beta1 -please note, this is BETA software -** DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS -INTENDED STRICTLY FOR TESTING - -Version 2.0.0 rc2 (Fri, Nov 16 2007), interim release -* implements new property to control VERP in class.smtp.php - example (requires instantiating class.smtp.php): - $mail->do_verp = true; -* POP-before-SMTP functionality included, thanks to Richard Davey - (see class.pop3.php & pop3_before_smtp_test.php for examples) -* included example showing how to use PHPMailer with GMAIL -* fixed the missing Cc in SendMail() and Mail() - -****************** -A note on sending bulk emails: - -If the email you are sending is not personalized, consider using the -"undisclosed-recipient:;" strategy. That is, put all of your recipients -in the Bcc field and set the To field to "undisclosed-recipients:;". -It's a lot faster (only one send) and saves quite a bit on resources. -Contrary to some opinions, this will not get you listed in spam engines - -it's a legitimate way for you to send emails. - -A partial example for use with PHPMailer: - -$mail->AddAddress("undisclosed-recipients:;"); -$mail->AddBCC("em...@an...,em...@an...,em...@an..."); - -Many email service providers restrict the number of emails that can be sent -in any given time period. Often that is between 50 - 60 emails maximum -per hour or per send session. - -If that's the case, then break up your Bcc lists into chunks that are one -less than your limit, and put a pause in your script. -******************* - -Version 2.0.0 rc1 (Thu, Nov 08 2007), interim release -* dramatically simplified using inline graphics ... it's fully automated and requires no user input -* added automatic document type detection for attachments and pictures -* added MsgHTML() function to replace Body tag for HTML emails -* fixed the SendMail security issues (input validation vulnerability) -* enhanced the AddAddresses functionality so that the "Name" portion is used in the email address -* removed the need to use the AltBody method (set from the HTML, or default text used) -* set the PHP Mail() function as the default (still support SendMail, SMTP Mail) -* removed the need to set the IsHTML property (set automatically) -* added Estonian language file by Indrek Päri -* added header injection patch -* added "set" method to permit users to create their own pseudo-properties like 'X-Headers', etc. - example of use: - $mail->set('X-Priority', '3'); - $mail->set('X-MSMail-Priority', 'Normal'); -* fixed warning message in SMTP get_lines method -* added TLS/SSL SMTP support - example of use: - $mail = new PHPMailer(); - $mail->Mailer = "smtp"; - $mail->Host = "smtp.example.com"; - $mail->SMTPSecure = "tls"; // option - //$mail->SMTPSecure = "ssl"; // option - ... - $mail->Send(); -* PHPMailer has been tested with PHP4 (4.4.7) and PHP5 (5.2.7) -* Works with PHP installed as a module or as CGI-PHP -- NOTE: will NOT work with PHP5 in E_STRICT error mode - -Version 1.73 (Sun, Jun 10 2005) -* Fixed denial of service bug: http://www.cybsec.com/vuln/PHPMailer-DOS.pdf -* Now has a total of 20 translations -* Fixed alt attachments bug: http://tinyurl.com/98u9k - -Version 1.72 (Wed, May 25 2004) -* Added Dutch, Swedish, Czech, Norwegian, and Turkish translations. -* Received: Removed this method because spam filter programs like -SpamAssassin reject this header. -* Fixed error count bug. -* SetLanguage default is now "language/". -* Fixed magic_quotes_runtime bug. - -Version 1.71 (Tue, Jul 28 2003) -* Made several speed enhancements -* Added German and Italian translation files -* Fixed HELO/AUTH bugs on keep-alive connects -* Now provides an error message if language file does not load -* Fixed attachment EOL bug -* Updated some unclear documentation -* Added additional tests and improved others - -Version 1.70 (Mon, Jun 20 2003) -* Added SMTP keep-alive support -* Added IsError method for error detection -* Added error message translation support (SetLanguage) -* Refactored many methods to increase library performance -* Hello now sends the newer EHLO message before HELO as per RFC 2821 -* Removed the boundary class and replaced it with GetBoundary -* Removed queue support methods -* New $Hostname variable -* New Message-ID header -* Received header reformat -* Helo variable default changed to $Hostname -* Removed extra spaces in Content-Type definition (#667182) -* Return-Path should be set to Sender when set -* Adds Q or B encoding to headers when necessary -* quoted-encoding should now encode NULs \000 -* Fixed encoding of body/AltBody (#553370) -* Adds "To: undisclosed-recipients:;" when all recipients are hidden (BCC) -* Multiple bug fixes - -Version 1.65 (Fri, Aug 09 2002) -* Fixed non-visible attachment bug (#585097) for Outlook -* SMTP connections are now closed after each transaction -* Fixed SMTP::Expand return value -* Converted SMTP class documentation to phpDocumentor format - -Version 1.62 (Wed, Jun 26 2002) -* Fixed multi-attach bug -* Set proper word wrapping -* Reduced memory use with attachments -* Added more debugging -* Changed documentation to phpDocumentor format - -Version 1.60 (Sat, Mar 30 2002) -* Sendmail pipe and address patch (Christian Holtje) -* Added embedded image and read confirmation support (A. Ognio) -* Added unit tests -* Added SMTP timeout support (*nix only) -* Added possibly temporary PluginDir variable for SMTP class -* Added LE message line ending variable -* Refactored boundary and attachment code -* Eliminated SMTP class warnings -* Added SendToQueue method for future queuing support - -Version 1.54 (Wed, Dec 19 2001) -* Add some queuing support code -* Fixed a pesky multi/alt bug -* Messages are no longer forced to have "To" addresses - -Version 1.50 (Thu, Nov 08 2001) -* Fix extra lines when not using SMTP mailer -* Set WordWrap variable to int with a zero default - -Version 1.47 (Tue, Oct 16 2001) -* Fixed Received header code format -* Fixed AltBody order error -* Fixed alternate port warning - -Version 1.45 (Tue, Sep 25 2001) -* Added enhanced SMTP debug support -* Added support for multiple ports on SMTP -* Added Received header for tracing -* Fixed AddStringAttachment encoding -* Fixed possible header name quote bug -* Fixed wordwrap() trim bug -* Couple other small bug fixes - -Version 1.41 (Wed, Aug 22 2001) -* Fixed AltBody bug w/o attachments -* Fixed rfc_date() for certain mail servers - -Version 1.40 (Sun, Aug 12 2001) -* Added multipart/alternative support (AltBody) -* Documentation update -* Fixed bug in Mercury MTA - -Version 1.29 (Fri, Aug 03 2001) -* Added AddStringAttachment() method -* Added SMTP authentication support - -Version 1.28 (Mon, Jul 30 2001) -* Fixed a typo in SMTP class -* Fixed header issue with Imail (win32) SMTP server -* Made fopen() calls for attachments use "rb" to fix win32 error - -Version 1.25 (Mon, Jul 02 2001) -* Added RFC 822 date fix (Patrice) -* Added improved error handling by adding a $ErrorInfo variable -* Removed MailerDebug variable (obsolete with new error handler) - -Version 1.20 (Mon, Jun 25 2001) -* Added quoted-printable encoding (Patrice) -* Set Version as public and removed PrintVersion() -* Changed phpdoc to only display public variables and methods - -Version 1.19 (Thu, Jun 21 2001) -* Fixed MS Mail header bug -* Added fix for Bcc problem with mail(). *Does not work on Win32* - (See PHP bug report: http://www.php.net/bugs.php?id=11616) -* mail() no longer passes a fifth parameter when not needed - -Version 1.15 (Fri, Jun 15 2001) -[Note: these changes contributed by Patrice Fournier] -* Changed all remaining \n to \r\n -* Bcc: header no longer writen to message except -when sent directly to sendmail -* Added a small message to non-MIME compliant mail reader -* Added Sender variable to change the Sender email -used in -f for sendmail/mail and in 'MAIL FROM' for smtp mode -* Changed boundary setting to a place it will be set only once -* Removed transfer encoding for whole message when using multipart -* Message body now uses Encoding in multipart messages -* Can set encoding and type to attachments 7bit, 8bit -and binary attachment are sent as is, base64 are encoded -* Can set Encoding to base64 to send 8 bits body -through 7 bits servers - -Version 1.10 (Tue, Jun 12 2001) -* Fixed win32 mail header bug (printed out headers in message body) - -Version 1.09 (Fri, Jun 08 2001) -* Changed date header to work with Netscape mail programs -* Altered phpdoc documentation - -Version 1.08 (Tue, Jun 05 2001) -* Added enhanced error-checking -* Added phpdoc documentation to source - -Version 1.06 (Fri, Jun 01 2001) -* Added optional name for file attachments - -Version 1.05 (Tue, May 29 2001) -* Code cleanup -* Eliminated sendmail header warning message -* Fixed possible SMTP error - -Version 1.03 (Thu, May 24 2001) -* Fixed problem where qmail sends out duplicate messages - -Version 1.02 (Wed, May 23 2001) -* Added multiple recipient and attachment Clear* methods -* Added Sendmail public variable -* Fixed problem with loading SMTP library multiple times - -Version 0.98 (Tue, May 22 2001) -* Fixed problem with redundant mail hosts sending out multiple messages -* Added additional error handler code -* Added AddCustomHeader() function -* Added support for Microsoft mail client headers (affects priority) -* Fixed small bug with Mailer variable -* Added PrintVersion() function - -Version 0.92 (Tue, May 15 2001) -* Changed file names to class.phpmailer.php and class.smtp.php to match - current PHP class trend. -* Fixed problem where body not being printed when a message is attached -* Several small bug fixes - -Version 0.90 (Tue, April 17 2001) -* Intial public release Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/LICENSE =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/LICENSE 2015-01-24 15:50:02 UTC (rev 12948) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/LICENSE 2015-01-28 17:41:17 UTC (rev 12949) @@ -312,7 +312,7 @@ from a designated place, offer equivalent access to copy the above specified materials from the same place. - e) Verify that the user has already received a copy of these + e) verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Added: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/PHPMailerAutoload.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/PHPMailerAutoload.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/PHPMailerAutoload.php 2015-01-28 17:41:17 UTC (rev 12949) @@ -0,0 +1,49 @@ +<?php +/** + * PHPMailer SPL autoloader. + * PHP Version 5 + * @package PHPMailer + * @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project + * @author Marcus Bointon (Synchro/coolbru) <php...@sy...> + * @author Jim Jagielski (jimjag) <ji...@gm...> + * @author Andy Prevost (codeworxtech) <cod...@us...> + * @author Brent R. Matzelle (original founder) + * @copyright 2012 - 2014 Marcus Bointon + * @copyright 2010 - 2012 Jim Jagielski + * @copyright 2004 - 2009 Andy Prevost + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * PHPMailer SPL autoloader. + * @param string $classname The name of the class to load + */ +function PHPMailerAutoload($classname) +{ + //Can't use __DIR__ as it's only in PHP 5.3+ + $filename = dirname(__FILE__).DIRECTORY_SEPARATOR.'class.'.strtolower($classname).'.php'; + if (is_readable($filename)) { + require $filename; + } +} + +if (version_compare(PHP_VERSION, '5.1.2', '>=')) { + //SPL autoloading was introduced in PHP 5.1.2 + if (version_compare(PHP_VERSION, '5.3.0', '>=')) { + spl_autoload_register('PHPMailerAutoload', true, true); + } else { + spl_autoload_register('PHPMailerAutoload'); + } +} else { + /** + * Fall back to traditional autoload for old PHP versions + * @param string $classname The name of the class to load + */ + function __autoload($classname) + { + PHPMailerAutoload($classname); + } +} Deleted: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/README =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/README 2015-01-24 15:50:02 UTC (rev 12948) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/README 2015-01-28 17:41:17 UTC (rev 12949) @@ -1,225 +0,0 @@ -/******************************************************************* -* http://code.google.com/a/apache-extras.org/p/phpmailer/ * -********************************************************************/ - -PHPMailer -Full Featured Email Transfer Class for PHP -========================================== - -Version 5.2.1 (January 16, 2012) - -Patch release (see changelog.txt). - -Version 5.2.0 (July 19, 2011) - -With the release of this version, PHPMailer has moved to Apache -Extras: - http://code.google.com/a/apache-extras.org/p/phpmailer/ - -Version 5.0.0 (April 02, 2009) - -With the release of this version, we are initiating a new version numbering -system to differentiate from the PHP4 version of PHPMailer. - -Most notable in this release is fully object oriented code. - -We now have available the PHPDocumentor (phpdocs) documentation. This is -separate from the regular download to keep file sizes down. Please see the -download area of http://phpmailer.codeworxtech.com. - -We also have created a new test script (see /test_script) that you can use -right out of the box. Copy the /test_script folder directly to your server (in -the same structure ... with class.phpmailer.php and class.smtp.php in the -folder above it. Then launch the test script with: -http://www.yourdomain.com/phpmailer/test_script/index.php -from this one script, you can test your server settings for mail(), sendmail (or -qmail), and SMTP. This will email you a sample email (using contents.html for -the email body) and two attachments. One of the attachments is used as an inline -image to demonstrate how PHPMailer will automatically detect if attachments are -the same source as inline graphics and only include one version. Once you click -the Submit button, the results will be displayed including any SMTP debug -information and send status. We will also display a version of the script that -you can cut and paste to include in your projects. Enjoy! - -Version 2.3 (November 08, 2008) - -We have removed the /phpdoc from the downloads. All documentation is now on -the http://phpmailer.codeworxtech.com website. - -The phpunit.php has been updated to support PHP5. - -For all other changes and notes, please see the changelog. - -Donations are accepted at PayPal with our id "pa...@wo...". - -Version 2.2 (July 15 2008) - -- see the changelog. - -Version 2.1 (June 04 2008) - -With this release, we are announcing that the development of PHPMailer for PHP5 -will be our focus from this date on. We have implemented all the enhancements -and fixes from the latest release of PHPMailer for PHP4. - -Far more important, though, is that this release of PHPMailer (v2.1) is -fully tested with E_STRICT error checking enabled. - -** NOTE: WE HAVE A NEW LANGUAGE VARIABLE FOR DIGITALLY SIGNED S/MIME EMAILS. - IF YOU CAN HELP WITH LANGUAGES OTHER THAN ENGLISH AND SPANISH, IT WOULD BE - APPRECIATED. - -We have now added S/MIME functionality (ability to digitally sign emails). -BIG THANKS TO "sergiocambra" for posting this patch back in November 2007. -The "Signed Emails" functionality adds the Sign method to pass the private key -filename and the password to read it, and then email will be sent with -content-type multipart/signed and with the digital signature attached. - -A quick note on E_STRICT: - -- In about half the test environments the development version was subjected - to, an error was thrown for the date() functions (used at line 1565 and 1569). - This is NOT a PHPMailer error, it is the result of an incorrectly configured - PHP5 installation. The fix is to modify your 'php.ini' file and include the - date.timezone = America/New York - directive, (for your own server timezone) -- If you do get this error, and are unable to access your php.ini file, there is - a workaround. In your PHP script, add - date_default_timezone_set('America/Toronto'); - - * do NOT try to use - $myVar = date_default_timezone_get(); - as a test, it will throw an error. - -We have also included more example files to show the use of "sendmail", "mail()", -"smtp", and "gmail". - -We are also looking for more programmers to join the volunteer development team. -If you have an interest in this, please let us know. - -Enjoy! - - -Version 2.1.0beta1 & beta2 - -please note, this is BETA software -** DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS -INTENDED STRICTLY FOR TESTING - -** NOTE: - -As of November 2007, PHPMailer has a new project team headed by industry -veteran Andy Prevost (codeworxtech). The first release in more than two -years will focus on fixes, adding ease-of-use enhancements, provide -basic compatibility with PHP4 and PHP5 using PHP5 backwards compatibility -features. A new release is planned before year-end 2007 that will provide -full compatiblity with PHP4 and PHP5, as well as more bug fixes. - -We are looking for project developers to assist in restoring PHPMailer to -its leadership position. Our goals are to simplify use of PHPMailer, provide -good documentation and examples, and retain backward compatibility to level -1.7.3 standards. - -If you are interested in helping out, visit http://sourceforge.net/projects/phpmailer -and indicate your interest. - -** - -http://phpmailer.sourceforge.net/ - -This software is licenced under the LGPL. Please read LICENSE for information on the -software availability and distribution. - -Class Features: -- Send emails with multiple TOs, CCs, BCCs and REPLY-TOs -- Redundant SMTP servers -- Multipart/alternative emails for mail clients that do not read HTML email -- Support for 8bit, base64, binary, and quoted-printable encoding -- Uses the same methods as the very popular AspEmail active server (COM) component -- SMTP authentication -- Native language support -- Word wrap, and more! - -Why you might need it: - -Many PHP developers utilize email in their code. The only PHP function -that supports this is the mail() function. However, it does not expose -any of the popular features that many email clients use nowadays like -HTML-based emails and attachments. There are two proprietary -development tools out there that have all the functionality built into -easy to use classes: AspEmail(tm) and AspMail. Both of these -programs are COM components only available on Windows. They are also a -little pricey for smaller projects. - -Since I do Linux development I�ve missed these tools for my PHP coding. -So I built a version myself that implements the same methods (object -calls) that the Windows-based components do. It is open source and the -LGPL license allows you to place the class in your proprietary PHP -projects. - - -Installation: - -Copy class.phpmailer.php into your php.ini include_path. If you are -using the SMTP mailer then place class.smtp.php in your path as well. -In the language directory you will find several files like -phpmailer.lang-en.php. If you look right before the .php extension -that there are two letters. These represent the language type of the -translation file. For instance "en" is the English file and "br" is -the Portuguese file. Chose the file that best fits with your language -and place it in the PHP include path. If your language is English -then you have nothing more to do. If it is a different language then -you must point PHPMailer to the correct translation. To do this, call -the PHPMailer SetLanguage method like so: - -// To load the Portuguese version -$mail->SetLanguage("br", "/optional/path/to/language/directory/"); - -That's it. You should now be ready to use PHPMailer! - - -A Simple Example: - -<?php -require("class.phpmailer.php"); - -$mail = new PHPMailer(); - -$mail->IsSMTP(); // set mailer to use SMTP -$mail->Host = "smtp1.example.com;smtp2.example.com"; // specify main and backup server -$mail->SMTPAuth = true; // turn on SMTP authentication -$mail->Username = "jswan"; // SMTP username -$mail->Password = "secret"; // SMTP password - -$mail->From = "fr...@ex..."; -$mail->FromName = "Mailer"; -$mail->AddAddress("jo...@ex...", "Josh Adams"); -$mail->AddAddress("el...@ex..."); // name is optional -$mail->AddReplyTo("in...@ex...", "Information"); - -$mail->WordWrap = 50; // set word wrap to 50 characters -$mail->AddAttachment("/var/tmp/file.tar.gz"); // add attachments -$mail->AddAttachment("/tmp/image.jpg", "new.jpg"); // optional name -$mail->IsHTML(true); // set email format to HTML - -$mail->Subject = "Here is the subject"; -$mail->Body = "This is the HTML message body <b>in bold!</b>"; -$mail->AltBody = "This is the body in plain text for non-HTML mail clients"; - -if(!$mail->Send()) -{ - echo "Message could not be sent. <p>"; - echo "Mailer Error: " . $mail->ErrorInfo; - exit; -} - -echo "Message has been sent"; -?> - -CHANGELOG - -See ChangeLog.txt - -Download: http://sourceforge.net/project/showfiles.php?group_id=26031 - -Andy Prevost Added: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/README.md =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/README.md (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/README.md 2015-01-28 17:41:17 UTC (rev 12949) @@ -0,0 +1,151 @@ + + +# PHPMailer - A full-featured email creation and transfer class for PHP + +Build status: [](https://travis-ci.org/PHPMailer/PHPMailer) +[](https://scrutinizer-ci.com/g/PHPMailer/PHPMailer/) +[](https://scrutinizer-ci.com/g/PHPMailer/PHPMailer/) + +## Class Features + +- Probably the world's most popular code for sending email from PHP! +- Used by many open-source projects: Drupal, SugarCRM, Yii, Joomla! and many more +- Integrated SMTP support - send without a local mail server +- Send emails with multiple TOs, CCs, BCCs and REPLY-TOs +- Multipart/alternative emails for mail clients that do not read HTML email +- Support for UTF-8 content and 8bit, base64, binary, and quoted-printable encodings +- SMTP authentication with LOGIN, PLAIN, NTLM and CRAM-MD5 mechanisms over SSL and TLS transports +- Native language support +- DKIM and S/MIME signing support +- Compatible with PHP 5.0 and later +- Much more! + +## Why you might need it + +Many PHP developers utilize email in their code. The only PHP function that supports this is the mail() function. However, it does not provide any assistance for making use of popular features such as HTML-based emails and attachments. + +Formatting email correctly is surprisingly difficult. There are myriad overlapping RFCs, requiring tight adherence to horribly complicated formatting and encoding rules - the vast majority of code that you'll find online that uses the mail() function directly is just plain wrong! +*Please* don't be tempted to do it yourself - if you don't use PHPMailer, there are many other excellent libraries that you should look at before rolling your own - try SwiftMailer, Zend_Mail, eZcomponents etc. + +The PHP mail() function usually sends via a local mail server, typically fronted by a `sendmail` binary on Linux, BSD and OS X platforms, however, Windows usually doesn't include a local mail server; PHPMailer's integrated SMTP implementation allows email sending on Windows platforms without a local mail server. + +## License + +This software is licenced under the [LGPL 2.1](http://www.gnu.org/licenses/lgpl-2.1.html). Please read LICENSE for information on the +software availability and distribution. + +## Installation & loading + +PHPMailer is available via [Composer/Packagist](https://packagist.org/packages/phpmailer/phpmailer). Alternatively, just copy the contents of the PHPMailer folder into somewhere that's in your PHP `include_path` setting. If you don't speak git or just want a tarball, click the 'zip' button at the top of the page in GitHub. + +PHPMailer provides an SPL-compatible autoloader, and that is the preferred way of loading the library - just `require '/path/to/PHPMailerAutoload.php';` and everything should work. The autoloader does not throw errors if it can't find classes so it prepends itself to the SPL list, allowing your own (or your framework's) autoloader to catch errors. SPL autoloading was introduced in PHP 5.1.0, so if you are using a version older than that you will need to require/include each class manually. +PHPMailer does *not* declare a namespace because namespaces were only introduced in PHP 5.3. + +### Minimal installation + +While installing the entire package manually or with composer is simple, convenient and reliable, you may want to include only vital files in your project. At the very least you will need [class.phpmailer.php](class.phpmailer.php). If you're using SMTP, you'll need [class.smtp.php](class.smtp.php), and if you're using POP-before SMTP, you'll need [class.pop3.php](class.pop3.php). For all of these, we recommend you use [the autoloader](PHPMailerAutoload.php) too as otherwise you will either have to `require` all classes manually or use some other autoloader. You can skip the [language](language/) folder if you're not showing errors to users and can make do with English-only errors. You may need the additional classes in the [extras](extras/) folder if you are using those features, including NTLM authentication, advanced HTML-to-text conversion and ics generation. + +## A Simple Example + +```php +<?php +require 'PHPMailerAutoload.php'; + +$mail = new PHPMailer; + +//$mail->SMTPDebug = 3; // Enable verbose debug output + +$mail->isSMTP(); // Set mailer to use SMTP +$mail->Host = 'smtp1.example.com;smtp2.example.com'; // Specify main and backup SMTP servers +$mail->SMTPAuth = true; // Enable SMTP authentication +$mail->Username = 'us...@ex...'; // SMTP username +$mail->Password = 'secret'; // SMTP password +$mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted +$mail->Port = 587; // TCP port to connect to + +$mail->From = 'fr...@ex...'; +$mail->FromName = 'Mailer'; +$mail->addAddress('jo...@ex...', 'Joe User'); // Add a recipient +$mail->addAddress('el...@ex...'); // Name is optional +$mail->addReplyTo('in...@ex...', 'Information'); +$mail->addCC('cc...@ex...'); +$mail->addBCC('bc...@ex...'); + +$mail->WordWrap = 50; // Set word wrap to 50 characters +$mail->addAttachment('/var/tmp/file.tar.gz'); // Add attachments +$mail->addAttachment('/tmp/image.jpg', 'new.jpg'); // Optional name +$mail->isHTML(true); // Set email format to HTML + +$mail->Subject = 'Here is the subject'; +$mail->Body = 'This is the HTML message body <b>in bold!</b>'; +$mail->AltBody = 'This is the body in plain text for non-HTML mail clients'; + +if(!$mail->send()) { + echo 'Message could not be sent.'; + echo 'Mailer Error: ' . $mail->ErrorInfo; +} else { + echo 'Message has been sent'; +} +``` + +You'll find plenty more to play with in the [examples](examples/) folder. + +That's it. You should now be ready to use PHPMailer! + +## Localization +PHPMailer defaults to English, but in the [language](language/) folder you'll find numerous (39 at the time of writing) translations for PHPMailer error messages that you may encounter. Their filenames contain [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the translations, for example `fr` for French. To specify a language, you need to tell PHPMailer which one to use, like this: + +```php +// To load the French version +$mail->setLanguage('fr', '/optional/path/to/language/directory/'); +``` + +We welcome corrections and new languages - if you're looking for corrections to do, run the [phpmailerLangTest.php](test/phpmailerLangTest.php) script in the tests folder and it will show any missing translations. + +## Documentation + +Generated documentation is [available online](http://phpmailer.github.io/PHPMailer/). + +You'll find some basic user-level docs in the [docs](docs/) folder, and you can generate complete API-level documentation using the [generatedocs.sh](docs/generatedocs.sh) shell script in the docs folder, though you'll need to install [PHPDocumentor](http://www.phpdoc.org) first. You may find [the unit tests](test/phpmailerTest.php) a good source of how to do various operations such as encryption. + +## Tests + +There is a PHPUnit test script in the [test](test/) folder. + +Build status: [](https://travis-ci.org/PHPMailer/PHPMailer) + +If this isn't passing, is there something you can do to help? + +## Contributing + +Please submit bug reports, suggestions and pull requests to the [GitHub issue tracker](https://github.com/PHPMailer/PHPMailer/issues). + +We're particularly interested in fixing edge-cases, expanding test coverage and updating translations. + +With the move to the PHPMailer GitHub organisation, you'll need to update any remote URLs referencing the old GitHub location with a command like this from within your clone: + +`git remote set-url upstream https://github.com/PHPMailer/PHPMailer.git` + +Please *don't* use the SourceForge or Google Code projects any more. + +## Changelog + +See [changelog](changelog.md). + +## History +- PHPMailer was originally written in 2001 by Brent R. Matzelle as a [SourceForge project](http://sourceforge.net/projects/phpmailer/). +- Marcus Bointon (coolbru on SF) and Andy Prevost (codeworxtech) took over the project in 2004. +- Became an Apache incubator project on Google Code in 2010, managed by Jim Jagielski. +- Marcus created his fork on [GitHub](https://github.com/Synchro/PHPMailer). +- Jim and Marcus decide to join forces and use GitHub as the canonical and official repo for PHPMailer. +- PHPMailer moves to the [PHPMailer organisation](https://github.com/PHPMailer) on GitHub. + +### What's changed since moving from SourceForge? +- Official successor to the SourceForge and Google Code projects. +- Test suite. +- Continuous integration with Travis-CI. +- Composer support. +- Public development. +- Additional languages and language strings. +- CRAM-MD5 authentication support. +- Preserves full repo history of authors, commits and branches from the original SourceForge project. Added: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/changelog.md =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/changelog.md (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/phpmailer/changelog.md 2015-01-28 17:41:17 UTC (rev 12949) @@ -0,0 +1,560 @@ +# ChangeLog + +## Version 5.2.9 (Sept 25th 2014) +* **Important: The autoloader is no longer autoloaded by the PHPMailer class** +* Update html2text from https://github.com/mtibben/html2text +* Improve Arabic translations (Thanks to @tarekdj) +* Consistent handling of connection variables in SMTP and POP3 +* PHPDoc cleanup +* Update composer to use PHPUnit 4.1 +* Pass consistent params to callbacks +* More consistent handling of error states and debug output +* Use property defaults, remove constructors +* Remove unreachable code +* Use older regex validation pattern for troublesome PCRE library versions +* Improve PCRE detection in older PHP versions +* Handle debug output consistently, and always in UTF-8 +* Allow user-defined debug output method via a callable +* msgHTML now converts data URIs to embedded images +* SMTP::getLastReply() will now always be populated +* Improved example code in README +* Ensure long filenames in Content-Disposition are encoded correctly +* Simplify SMTP debug output mechanism, clarify levels with constants +* Add SMTP connection check example +* Simplify examples, don't use mysql* functions + +## Version 5.2.8 (May 14th 2014) +* Increase timeout to match RFC2821 section 4.5.3.2 and thus not fail greetdelays, fixes #104 +* Add timestamps to default debug output +* Add connection events and new level 3 to debug output options +* Chinese language update (Thanks to @binaryoung) +* Allow custom Mailer types (Thanks to @michield) +* Cope with spaces around SMTP host specs +* Fix processing of multiple hosts in connect string +* Added Galician translation (Thanks to @donatorouco) +* Autoloader now prepends +* Docs updates +* Add Latvian translation (Thanks to @eddsstudio) +* Add Belarusian translation (Thanks to @amaksymiuk) +* Make autoloader work better on older PHP versions +* Avoid double-encoding if mbstring is overloading mail() +* Add Portuguese translation (Thanks to @Jonadabe) +* Make quoted-printable encoder respect line ending setting +* Improve Chinese translation (Thanks to @PeterDaveHello) +* Add Georgian translation (Thanks to @akalongman) +* Add Greek translation (Thanks to @lenasterg) +* Fix serverHostname on PHP < 5.3 +* Improve performance of SMTP class +* Implement automatic 7bit downgrade +* Add Vietnamese translation (Thanks to @vinades) +* Improve example images, switch to PNG +* Add Croatian translation (Thanks to @hrvoj3e) +* Remove setting the Return-Path and deprecate the Return-path property - it's just wrong! +* Fix language file loading if CWD has changed (@stephandesouza) +* Add HTML5 email validation pattern +* Improve Turkish translations (Thanks to @yasinaydin) +* Improve Romanian translations (Thanks to @aflorea) +* Check php.ini for path to sendmail/qmail before using default +* Improve Farsi translation (Thanks to @MHM5000) +* Don't use quoted-printable encoding for multipart types +* Add Serbian translation (Thanks to ajevremovic at gmail.com) +* Remove useless PHP5 check +* Use SVG for build status badges +* Store MessageDate on creation +* Better default behaviour for validateAddress + +## Version 5.2.7 (September 12th 2013) +* Add Ukranian translation from @Krezalis +* Support for do_verp +* Fix bug in CRAM-MD5 AUTH +* Propagate Debugoutput option to SMTP class (@Reblutus) +* Determine MIME type of attachments automatically +* Add cross-platform, multibyte-safe pathinfo replacement (with tests) and use it +* Add a new 'html' Debugoutput type +* Clean up SMTP debug output, remove embedded HTML +* Some small changes in header formatting to improve IETF msglint test results +* Update test_script to use some recently changed features, rename to code_generator +* Generated code actually works! +* Update SyntaxHighlighter +* Major overhaul and cleanup of example code +* New PHPMailer graphic +* msgHTML now uses RFC2392-compliant content ids +* Add line break normalization function and use it in msgHTML +* Don't set unnecessary reply-to addresses +* Make fakesendmail.sh a bit cleaner and safer +* Set a content-transfer-encoding on multiparts (fixes msglint error) +* Fix cid generation in msgHTML (Thanks to @digitalthought) +* Fix handling of multiple SMTP servers (Thanks to @NanoCaiordo) +* SMTP->connect() now supports stream context options (Thanks to @stanislavdavid) +* Add support for iCal event alternatives (Thanks to @reblutus) +* Update to Polish language file (Thanks to Krzysztof Kowalewski) +* Update to Norwegian language file (Thanks to @datagutten) +* Update to Hungarian language file (Thanks to @dominicus-75) +* Add Persian/Farsi translation from @jaii +* Make SMTPDebug property type match type in SMTP class +* Add unit tests for DKIM +* Major refactor of SMTP class +* Reformat to PSR-2 coding standard +* Introduce autoloader +* Allow overriding of SMTP class +* Overhaul of PHPDocs +* Fix broken Q-encoding +* Czech language update (Thanks to @nemelu) +* Removal of excess blank lines in messages +* Added fake POP server and unit tests for POP-before-SMTP + +## Version 5.2.6 (April 11th 2013) +* Reflect move to PHPMailer GitHub organisation at https://github.com/PHPMailer/PHPMailer +* Fix unbumped version numbers +* Update packagist.org with new location +* Clean up Changelog + +## Version 5.2.5 (April 6th 2013) +* First official release after move from Google Code +* Fixes for qmail when sending via mail() +* Merge in changes from Google code 5.2.4 release +* Minor coding standards cleanup in SMTP class +* Improved unit tests, now tests S/MIME signing +* Travis-CI support on GitHub, runs tests with fake SMTP server + +## Version 5.2.4 (February 19, 2013) +* Fix tag and version bug. +* un-deprecate isSMTP(), isMail(), IsSendmail() and isQmail(). +* Numerous translation updates + +## Version 5.2.3 (February 8, 2013) +* Fix issue with older PCREs and ValidateAddress() (Bugz: 124) +* Add CRAM-MD5 authentication, thanks to Elijah madden, https://github.com/okonomiyaki3000 +* Replacement of obsolete Quoted-Printable encoder with a much better implementation +* Composer package definition +* New language added: Hebrew + +## Version 5.2.2 (December 3, 2012) +* Some fixes and syncs from https://github.com/Synchro/PHPMailer +* Add Slovak translation, thanks to Michal Tinka + +## Version 5.2.2-rc2 (November 6, 2012) +* Fix SMTP server rotation (Bugz: 118) +* Allow override of autogen'ed 'Date' header (for Drupal's + og_mailinglist module) +* No whitespace after '-f' option (Bugz: 116) +* Work around potential warning (Bugz: 114) + +## Version 5.2.2-rc1 (September 28, 2012) +* Header encoding works with long lines (Bugz: 93) +* Turkish language update (Bugz: 94) +* undefined $pattern in EncodeQ bug squashed (Bugz: 98) +* use of mail() in safe_mode now works (Bugz: 96) +* ValidateAddress() now 'public static' so people can override the + default and use their own validation scheme. +* ValidateAddress() no longer uses broken FILTER_VALIDATE_EMAIL +* Added in AUTH PLAIN SMTP authentication + +## Version 5.2.2-beta2 (August 17, 2012) +* Fixed Postfix VERP support (Bugz: 92) +* Allow action_function callbacks to pass/use + the From address (passed as final param) +* Prevent inf look for get_lines() (Bugz: 77) +* New public var ($UseSendmailOptions). Only pass sendmail() + options iff we really are using sendmail or something sendmail + compatible. (Bugz: 75) +* default setting for LE returned to "\n" due to popular demand. + +## Version 5.2.2-beta1 (July 13, 2012) +* Expose PreSend() and PostSend() as public methods to allow + for more control if serializing message sending. +* GetSentMIMEMessage() only constructs the message copy when + needed. Save memory. +* Only pass params to mail() if the underlying MTA is + "sendmail" (as defined as "having the string sendmail + in its pathname") [#69] +* Attachments now work with Amazon SES and others [Bugz#70] +* Debug output now sent to stdout (via echo) or error_log [Bugz#5] +* New var: Debugoutput (for above) [Bugz#5] +* SMTP reads now Timeout aware (new var: Timeout=15) [Bugz#71] +* SMTP reads now can have a Timelimit associated with them + (new var: Timelimit=30)[Bugz#71] +* Fix quoting issue associated with charsets +* default setting for LE is now RFC compliant: "\r\n" +* Return-Path can now be user defined (new var: ReturnPath) + (the default is "" which implies no change from previous + behavior, which was to use either From or Sender) [Bugz#46] +* X-Mailer header can now be disabled (by setting to a + whitespace string, eg " ") [Bugz#66] +* Bugz closed: #68, #60, #42, #43, #59, #55, #66, #48, #49, + #52, #31, #41, #5. #70, #69 + +## Version 5.2.1 (January 16, 2012) +* Closed several bugs #5 +* Performance improvements +* MsgHTML() now returns the message as required. +* New method: GetSentMIMEMessage() (returns full copy of sent message) + +## Version 5.2 (July 19, 2011) +* protected MIME body and header +* better DKIM DNS Resource Record support +* better aly handling +* htmlfilter class added to extras +* moved to Apache Extras + +## Version 5.1 (October 20, 2009) +* fixed filename issue with AddStringAttachment (thanks to Tony) +* fixed "SingleTo" property, now works with Senmail, Qmail, and SMTP in + addition to PHP mail() +* added DKIM digital signing functionality, new properties: + - DKIM_domain (sets the domain name) + - DKIM_private (holds DKIM private key) + - DKIM_passphrase (holds your DKIM passphrase) + - DKIM_selector (holds the DKIM "selector") + - DKIM_identity (holds the identifying email address) +* added callback function support + - callback function parameters include: + result, to, cc, bcc, subject and body + - see the test/test_callback.php file for usage. +* added "auto" identity functionality + - can automatically add: + - Return-path (if Sender not set) + - Reply-To (if ReplyTo not set) + - can be disabled: + - $mail->SetFrom('you...@yo...','First Last',false); + - or by adding the $mail->Sender and/or $mail->ReplyTo properties + +Note: "auto" identity added to help with emails ending up in spam or junk boxes because of missing headers + +## Version 5.0.2 (May 24, 2009) +* Fix for missing attachments when inline graphics are present +* Fix for missing Cc in header when using SMTP (mail was sent, + but not displayed in header -- Cc receiver only saw email To: + line and no Cc line, but did get the email (To receiver + saw same) + +## Version 5.0.1 (April 05, 2009) +* Temporary fix for missing attachments + +## Version 5.0.0 (April 02, 2009) +With the release of this version, we are initiating a new version numbering +system to differentiate from the PHP4 version of PHPMailer. +Most notable in this release is fully object oriented code. + +### class.smtp.php: +* Refactored class.smtp.php to support new exception handling +* code size reduced from 29.2 Kb to 25.6 Kb +* Removed unnecessary functions from class.smtp.php: + - public function Expand($name) { + - public function Help($keyword="") { + - public function Noop() { + - public function Send($from) { + - public function SendOrMail($from) { + - public function Verify($name) { + +### class.phpmailer.php: +* Refactored class.phpmailer.php with new exception handling +* Changed processing functionality of Sendmail and Qmail so they cannot be + inadvertently used +* removed getFile() function, just became a simple wrapper for + file_get_contents() +* added check for PHP version (will gracefully exit if not at least PHP 5.0) +* enhanced code to check if an attachment source is the same as an embedded or + inline graphic source to eliminate duplicate attachments + +### New /test_script +We have written a test script you can use to test the script as part of your +installation. Once you press submit, the test script will send a multi-mime +email with either the message you type in or an HTML email with an inline +graphic. Two attachments are included in the email (one of the attachments +is also the inline graphic so you can see that only one copy of the graphic +is sent in the email). The test script will also display the functional +script that you can copy/paste to your editor to duplicate the functionality. + +### New examples +All new examples in both basic and advanced modes. Advanced examples show + Exception handling. + +### PHPDocumentator (phpdocs) documentation for PHPMailer version 5.0.0 +All new documentation + +## Version 2.3 (November 06, 2008) +* added Arabic language (many thanks to Bahjat Al Mostafa) +* removed English language from language files and made it a default within + class.phpmailer.php - if no language is found, it will default to use + the english language translation +* fixed public/private declarations +* corrected line 1728, $basedir to $directory +* added $sign_cert_file to avoid improper duplicate use of $sign_key_file +* corrected $this->Hello on line 612 to $this->Helo +* changed default of $LE to "\r\n" to comply with RFC 2822. Can be set by the user + if default is not acceptable +* removed trim() from return results in EncodeQP +* /test and three files it contained are removed from version 2.3 +* fixed phpunit.php for compliance with PHP5 +* changed $this->AltBody = $textMsg; to $this->AltBody = html_entity_decode($textMsg); +* We have removed the /phpdoc from the downloads. All documentation is now on + the http://phpmailer.codeworxtech.com website. + +## Version 2.2.1 () July 19 2008 +* fixed line 1092 in class.smtp.php (my apologies, error on my part) + +## Version 2.2 () July 15 2008 +* Fixed redirect issue (display of UTF-8 in thank you redirect) +* fixed error in getResponse function declaration (class.pop3.php) +* PHPMailer now PHP6 compliant +* fixed line 1092 in class.smtp.php (endless loop from missing = sign) + +## Version 2.1 (Wed, June 04 2008) +NOTE: WE HAVE A NEW LANGUAGE VARIABLE FOR DIGITALLY SIGNED S/MIME EMAILS. IF YOU CAN HELP WITH LANGUAGES OTHER THAN ENGLISH AND SPANISH, IT WOULD BE APPRECIATED. + +* added S/MIME functionality (ability to digitally sign emails) + BIG THANKS TO "sergiocambra" for posting this patch back in November 2007. + The "Signed Emails" functionality adds the Sign method to pass the private key + filename and the password to read it, and then email will be sent with + content-type multipart/signed and with the digital signature attached. +* fully compatible with E_STRICT error level + - Please note: + In about half the test environments this development version was subjected + to, an error was thrown for the date() functions used (line 1565 and 1569). + This is NOT a PHPMailer error, it is the result of an incorrectly configured + PHP5 installation. The fix is to modify your 'php.ini' file and include the + date.timezone = Etc/UTC (or your own zone) + directive, to your own server timezone + - If you do get this error, and are unable to access your php.ini file: + In your PHP script, add + `date_default_timezone_set('Etc/UTC');` + - do not try to use + `$myVar = date_default_timezone_get();` + as a test, it will throw an error. +* added ability to define path (mainly for embedded images) + function `MsgHTML($message,$basedir='')` ... where: + `$ba... [truncated message content] |
From: <txm...@us...> - 2015-01-24 15:50:07
|
Revision: 12948 http://sourceforge.net/p/xoops/svn/12948 Author: txmodxoops Date: 2015-01-24 15:50:02 +0000 (Sat, 24 Jan 2015) Log Message: ----------- Added field item file template for sortable field Added Paths: ----------- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_fields_item.tpl Added: XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_fields_item.tpl =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_fields_item.tpl (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_fields_item.tpl 2015-01-24 15:50:02 UTC (rev 12948) @@ -0,0 +1,34 @@ +<table class='width100'> + <tbody class="field-list"> + <{foreach item=field from=$table.fields}> + <{if $field.id > 0}> + <tr id="fieldItem_<{$table.id}>_<{$field.id}>" order="<{$field.order}>" class="<{cycle values='even,odd'}>"> + <td class='center width5'>[<{$field.lid}>] <img class="move" src="<{$modPathIcon16}>/drag.png" alt="<{$field.name}>" /></td> + <td class='center width10'><{$field.name}></td> + <td class='center'><img src="<{$modPathIcon16}>/tables.png" alt="Empty" /></td> + <td class='center'><img src="<{$modPathIcon16}>/tables.png" alt="Empty" /></td> + <td class='center'><img id="loading_img_parent<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_parent<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_parent: <{if $field.parent}>0<{else}>1<{/if}> }, 'img_parent<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.parent}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center'><img id="loading_img_inlist<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_inlist<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_inlist: <{if $field.inlist}>0<{else}>1<{/if}> }, 'img_inlist<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.inlist}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center'><img id="loading_img_inform<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_inform<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_inform: <{if $field.inform}>0<{else}>1<{/if}> }, 'img_inform<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.inform}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center'><img id="loading_img_admin<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_admin<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_admin: <{if $field.admin}>0<{else}>1<{/if}> }, 'img_admin<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.admin}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center'><img id="loading_img_user<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_user<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_user: <{if $field.user}>0<{else}>1<{/if}> }, 'img_user<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.user}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center'><img id="loading_img_block<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_block<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_block: <{if $field.block}>0<{else}>1<{/if}> }, 'img_block<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.block}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center'><img id="loading_img_main<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_main<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_main: <{if $field.main}>0<{else}>1<{/if}> }, 'img_main<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.main}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center'><img id="loading_img_search<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_search<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_search: <{if $field.search}>0<{else}>1<{/if}> }, 'img_search<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.search}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center width10'> + <img id="loading_img_required<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_required<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_required: <{if $field.required}>0<{else}>1<{/if}> }, 'img_required<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.required}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center width5'><img src="<{$modPathIcon16}>/left_right.png" alt="Empty" /></td> + </tr> + <{/if}> + <{/foreach}> + </tbody> +</table> \ No newline at end of file |
From: <txm...@us...> - 2015-01-24 14:14:39
|
Revision: 12947 http://sourceforge.net/p/xoops/svn/12947 Author: txmodxoops Date: 2015-01-24 14:14:37 +0000 (Sat, 24 Jan 2015) Log Message: ----------- Updated - Fixed bugs Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/fields.php XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/admin/style.css XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/js/fields.js XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fields.php XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/IncludeFunctions.php XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/sql/mysql.sql XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_fields.tpl XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/xoops_version.php Modified: XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/fields.php 2015-01-24 14:10:57 UTC (rev 12946) +++ XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/fields.php 2015-01-24 14:14:37 UTC (rev 12947) @@ -22,15 +22,11 @@ // Recovered value of arguments op in the URL $ $op = XoopsRequest::getString('op', 'list'); // Get fields Variables -/*$fieldMid = TDMCreate_CleanVars($_REQUEST, 'field_mid'); -$fieldTid = TDMCreate_CleanVars($_REQUEST, 'field_tid'); -$fieldNumb = TDMCreate_CleanVars($_REQUEST, 'field_numb'); -$fieldName = TDMCreate_CleanVars($_REQUEST, 'field_name', '', 'string');*/ $fieldMid = XoopsRequest::getInt('field_mid'); $fieldTid = XoopsRequest::getInt('field_tid'); $fieldNumb = XoopsRequest::getInt('field_numb'); $fieldName = XoopsRequest::getString('field_name'); /**/ -// +// switch op switch ($op) { case 'list': @@ -51,7 +47,6 @@ $GLOBALS['xoopsTpl']->assign('tdmc_upload_imgtab_url', TDMC_UPLOAD_IMGTAB_URL); $GLOBALS['xoopsTpl']->assign('modPathIcon16', $modPathIcon16); $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32); - //var_dump($sysPathIcon32); // Redirect if there aren't modules $countModules = $tdmcreate->getHandler('modules')->getCount(); if ( $countModules == 0 ) { @@ -104,6 +99,7 @@ { $field['id'] = $fid; $field['lid'] = $lid; + $field['order'] = $fieldsAll[$fid]->getVar('field_order'); $field['name'] = str_replace('_', ' ', ucfirst($fieldsAll[$fid]->getVar('field_name'))); $field['parent'] = $fieldsAll[$fid]->getVar('field_parent'); $field['inlist'] = $fieldsAll[$fid]->getVar('field_inlist'); @@ -124,6 +120,7 @@ $GLOBALS['xoopsTpl']->append('tables_list', $table); unset($table); } + unset($fields); if ( $countTables > $limit ) { include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; $pagenav = new XoopsPageNav($countTables, $limit, $start, 'start', 'op=list&limit=' . $limit); @@ -131,11 +128,7 @@ } } else { $GLOBALS['xoopsTpl']->assign('error', _AM_TDMCREATE_THEREARENT_FIELDS); - } - /*var_dump($fieldMid); - var_dump($fieldTid); - var_dump($fieldNumb); - var_dump($fieldName);*/ + } break; case 'new': @@ -150,12 +143,7 @@ // Form Add $fieldsObj =& $tdmcreate->getHandler('fields')->create(); $form = $fieldsObj->getFormNew($fieldMid, $fieldTid, $fieldNumb, $fieldName); - $GLOBALS['xoopsTpl']->assign('form', $form->render()); - // Test -> Will be removed - /*var_dump($fieldMid); - var_dump($fieldTid); - var_dump($fieldNumb); - var_dump($fieldName); */ + $GLOBALS['xoopsTpl']->assign('form', $form->render()); break; case 'save': @@ -165,23 +153,22 @@ } $fieldId = XoopsRequest::getInt('field_id'); // Fields Handler - $fields = $tdmcreate->getHandler('fields'); + $fields = $tdmcreate->getHandler('fields'); + $orderId = 1; // Set Variables foreach($_POST['field_id'] as $key => $value) { - switch($value){ - case 'new': - $fieldsObj =& $fields->create(); - break; - default: - $fieldsObj =& $fields->get($value); - break; + if(isset($value)){ + $fieldsObj =& $fields->get($value); + } else { + $fieldsObj =& $fields->create(); } if (isset($fieldMid) && isset($fieldTid) && !empty($_POST['field_name'][$key])) { // Set Data $fieldsObj->setVar( 'field_mid', $fieldMid ); $fieldsObj->setVar( 'field_tid', $fieldTid ); $fieldsObj->setVar( 'field_numb', $fieldNumb ); + $fieldsObj->setVar( 'field_order', (isset($_POST['field_order'][$key]) ? $_POST['field_order'][$key] : $orderId) ); $fieldsObj->setVar( 'field_name', (isset($_POST['field_name'][$key]) ? $_POST['field_name'][$key] : '') ); $fieldsObj->setVar( 'field_type', (isset($_POST['field_type'][$key]) ? $_POST['field_type'][$key] : '') ); $fieldsObj->setVar( 'field_value', (isset($_POST['field_value'][$key]) ? $_POST['field_value'][$key] : '') ); @@ -202,7 +189,9 @@ // Insert Data $tdmcreate->getHandler('fields')->insert($fieldsObj); } + $orderId++; } + unset($orderId); // Get table name from field table id $tables =& $tdmcreate->getHandler('tables')->get($fieldTid); $table_name = $tables->getVar('table_name'); @@ -240,39 +229,19 @@ $fieldId = XoopsRequest::getInt('field_id'); $fieldsObj = $tdmcreate->getHandler('fields')->get( $fieldId ); $form = $fieldsObj->getFormEdit($fieldMid, $fieldTid); - $GLOBALS['xoopsTpl']->assign('form', $form->render()); - // Test -> Will be removed - //var_dump($fieldTid); + $GLOBALS['xoopsTpl']->assign('form', $form->render()); break; - - case 'drag': - $side = TDMCreate_CleanVars( $_POST, 'field_id', 0, 'int' ); - $fieldId = XoopsRequest::getInt('field_id'); - if ( $fieldId > 0 ) { - $fieldsObj = $tdmcreate->getHandler('fields')->get( $fieldId ); - $fieldsObj->setVar('field_id', $side); - if (!$tdmcreate->getHandler('fields')->insert( $fieldsObj )) { - redirect_header('fields.php', 5, _AM_TDMCREATE_FIELD_SIDE_ERROR); - } - } - break; - + case 'order': - if ( isset($_POST['field_id'] ) ) { - $i = 0; - foreach($_POST['field_id'] as $order) { - if( $order > 0 ) { - $fieldsObj = $tdmcreate->getHandler('fields')->get( $order ); - $fieldsObj->setVar('field_id', $i); - if (!$tdmcreate->getHandler('fields')->insert( $fieldsObj )) { - redirect_header('fields.php', 5, _AM_TDMCREATE_FIELD_ORDER_ERROR); - } - $i++; - } - } - unset($i); - } - exit; + foreach($_GET['fieldItem'] as $order => $id) { + if( $order > 0 ) { + $fieldsObj = $tdmcreate->getHandler('fields')->get( $id ); + $fieldsObj->setVar('field_order', $order); + if (!$tdmcreate->getHandler('fields')->insert( $fieldsObj )) { + redirect_header('fields.php', 5, _AM_TDMCREATE_FIELD_ORDER_ERROR); + } + } + } break; case 'delete': Modified: XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/admin/style.css =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/admin/style.css 2015-01-24 14:10:57 UTC (rev 12946) +++ XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/admin/style.css 2015-01-24 14:14:37 UTC (rev 12947) @@ -116,4 +116,37 @@ border: 1px dotted black; margin: 0 0.1em 1em 0; height: 50px; +} + +#info { + display: block; + padding: 10px; + margin-bottom: 20px; + border: 1px solid #333; + background-color: #efefef; +} + +.field-list tr { margin: 0; padding: 0; /*list-style: none;*/ } + +.field-list tr td { display: block; } + +.field-list tr td { + padding: 5px 2px; + margin-bottom: 3px; + background-color: #efefef; + background-image: -moz-linear-gradient(top, #efefef, #e1e1e1); + background-image: -webkit-gradient(linear, left top,left bottom, from(#efefef), to(#e1e1e1)); + background-image: linear-gradient(top, #efefef, #e1e1e1); + filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, StartColorStr=#efefef, EndColorStr=#e1e1e1); /* vale solo per IE */ + text-shadow:1px 1px 0 #fff; + color:#ff8400; +} + +.field-list tr td img.move { + margin-right: 20px; + cursor: move; + vertical-align: middle; +} +.field-list tr td strong { + vertical-align: middle; } \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/js/fields.js =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/js/fields.js 2015-01-24 14:10:57 UTC (rev 12946) +++ XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/js/fields.js 2015-01-24 14:14:37 UTC (rev 12947) @@ -1,5 +1,5 @@ // Jquery function for side fields -$(document).ready( function() { +/*$(document).ready( function() { // Controls Drag & Drop $('tbody tr.sortable td:nth-child(1) img').sortable({ update: function(event, ui) { @@ -29,4 +29,14 @@ icon.closest( ".portlet" ).find( ".portlet-content" ).toggle(); }); } -); +);*/ +// Quando la pagina è caricata definisci l'ordine attuale e gli elementi da riordinare +$(document).ready(function() { + $('.field-list').sortable({ //definisco il contenitore di elementi da riordinare + handle : '.move', //definisco con la classe .move quali sono gli elementi trascinabili + update : function () { //aggiorno l'ordine ed eseguo una callback + var order = $('.field-list').sortable('serialize'); // salvo una variabile che contiene l'array con il nuovo ordine degli elementi + $("#info").load("modules/tdmcreate/admin/fields.php?"+order); + } + }); +}); Modified: XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fields.php 2015-01-24 14:10:57 UTC (rev 12946) +++ XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fields.php 2015-01-24 14:14:37 UTC (rev 12947) @@ -20,6 +20,7 @@ */ defined('XOOPS_ROOT_PATH') or die('Restricted access'); require_once 'html/TDMCreateFormLabel.php'; +require_once 'form/TDMCreateFormRadio.php'; require_once 'form/TDMCreateThemeForm.php'; /* * @Class TDMCreateFields @@ -42,7 +43,8 @@ $this->initVar('field_id', XOBJ_DTYPE_INT); $this->initVar('field_mid', XOBJ_DTYPE_INT); $this->initVar('field_tid', XOBJ_DTYPE_INT); - $this->initVar('field_numb', XOBJ_DTYPE_INT); + $this->initVar('field_numb', XOBJ_DTYPE_INT); + $this->initVar('field_order', XOBJ_DTYPE_INT); $this->initVar('field_name', XOBJ_DTYPE_TXTBOX); $this->initVar('field_type', XOBJ_DTYPE_TXTBOX); $this->initVar('field_value', XOBJ_DTYPE_TXTBOX); @@ -146,13 +148,14 @@ $class = ($class == 'even') ? 'odd' : 'even'; // Replaced creation of new line by new function - goffy $this->getFormNewLine($form, $class, $i, $field_mid, $field_tid, $f_name, $table_autoincrement); + //var_dump($i); } // Footer form return $fields_form->getFooterForm($form); } /* - * @public function getFormNewLine + * @private function getFormNewLine * * @param mixed $form * @param mixed $class @@ -164,9 +167,9 @@ * * @author timgno - modified in getFormNewLine by goffy */ - public function getFormNewLine($form, $class, $i, $field_mid, $field_tid, $f_name, $table_autoincrement) + private function getFormNewLine($form, $class, $i, $field_mid, $field_tid, $f_name, $table_autoincrement) { - $form->addElement(new XoopsFormHidden('field_id['.$i.']', 'new')); + $form->addElement(new XoopsFormHidden('field_id['.$i.']', 0)); $form->addElement(new XoopsFormHidden('field_mid', $field_mid)); $form->addElement(new XoopsFormHidden('field_tid', $field_tid)); @@ -246,11 +249,11 @@ $field_block = 0; $check_field_block = new XoopsFormCheckBox('', 'field_block['.$i.']', $field_block); $check_field_block->addOption(1, _AM_TDMCREATE_FIELD_BLOCK); - $parameters_tray->addElement($check_field_block); - - $field_main = ( $i == 1 ) ? 1 : 0; - $check_field_main = new XoopsFormRadio('', 'field_main['.$i.']', $field_main); - $check_field_main->addOption($i, _AM_TDMCREATE_FIELD_MAINFIELD ); + $parameters_tray->addElement($check_field_block); + + $main = ($table_autoincrement == 1) ? 2 : 1; + $check_field_main = new TDMCreateFormRadio('', 'field_main['.$i.']', $main); + $check_field_main->addOption($i, _AM_TDMCREATE_FIELD_MAINFIELD ); $parameters_tray->addElement($check_field_main); $field_search = 0; @@ -294,8 +297,9 @@ unset($criteria); $id = 1; foreach($fields as $field) { - $class = ($class == 'even') ? 'odd' : 'even'; - $field_id = $field->getVar('field_id'); + $main = $id; + $class = ($class == 'even') ? 'odd' : 'even'; + $field_id = intval($field->getVar('field_id')); if ($id>$table_nbfields) { //delete additional fields, if number of fields is reduced - goffy $fieldsObj =& $this->tdmcreate->getHandler('fields')->get( $field_id ); $this->tdmcreate->getHandler('fields')->delete($fieldsObj, true); @@ -309,28 +313,28 @@ // Index ID $form->addElement(new TDMCreateFormLabel('<td class="center">'.$id.'</td>')); // Field Name - $field_name = new XoopsFormText(_AM_TDMCREATE_FIELD_NAME, 'field_name['.$field_id.']', 15, 255, $field->getVar('field_name')); + $field_name = new XoopsFormText(_AM_TDMCREATE_FIELD_NAME, 'field_name['.$id.']', 15, 255, $field->getVar('field_name')); $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_name->render().'</td>')); // Field Type - $fieldtype_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_TYPE, 'field_type['.$field_id.']', $field->getVar('field_type')); + $fieldtype_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_TYPE, 'field_type['.$id.']', $field->getVar('field_type')); $fieldtype_select->addOptionArray($this->tdmcreate->getHandler('fieldtype')->getList()); $form->addElement(new TDMCreateFormLabel('<td class="center">'.$fieldtype_select->render().'</td>')); // Field Value - $field_value = new XoopsFormText(_AM_TDMCREATE_FIELD_VALUE, 'field_value['.$field_id.']', 5, 20, $field->getVar('field_value')); + $field_value = new XoopsFormText(_AM_TDMCREATE_FIELD_VALUE, 'field_value['.$id.']', 5, 20, $field->getVar('field_value')); $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_value->render().'</td>')); // Field Attributes - $field_attributes_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_TYPE, 'field_attribute['.$field_id.']', $field->getVar('field_attribute')); + $field_attributes_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_TYPE, 'field_attribute['.$id.']', $field->getVar('field_attribute')); $field_attributes_select->addOptionArray($this->tdmcreate->getHandler('fieldattributes')->getList()); $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_attributes_select->render().'</td>')); // Field Null - $field_null_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_NULL, 'field_null['.$field_id.']', $field->getVar('field_null')); + $field_null_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_NULL, 'field_null['.$id.']', $field->getVar('field_null')); $field_null_select->addOptionArray($this->tdmcreate->getHandler('fieldnull')->getList()); $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_null_select->render().'</td>')); // Field Default - $field_default = new XoopsFormText(_AM_TDMCREATE_FIELD_DEFAULT, 'field_default['.$field_id.']', 15, 25, $field->getVar('field_default')); + $field_default = new XoopsFormText(_AM_TDMCREATE_FIELD_DEFAULT, 'field_default['.$id.']', 15, 25, $field->getVar('field_default')); $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_default->render().'</td>')); // Field Key - $field_key_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_KEY, 'field_key['.$field_id.']', $field->getVar('field_key')); + $field_key_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_KEY, 'field_key['.$id.']', $field->getVar('field_key')); $field_key_select->addOptionArray($this->tdmcreate->getHandler('fieldkey')->getList()); $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_key_select->render().'</td>')); // Field Void @@ -345,59 +349,63 @@ $criteria_element->add(new Criteria('fieldelement_tid', 0)); $criteria_table = new CriteriaCompo(); $criteria_table->add(new Criteria('fieldelement_mid', $field_mid)); - $field_elements_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_ELEMENT_NAME, 'field_element['.$field_id.']', $field->getVar('field_element')); + $field_elements_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_ELEMENT_NAME, 'field_element['.$id.']', $field->getVar('field_element')); $field_elements_select->addOptionArray($this->tdmcreate->getHandler('fieldelements')->getList($criteria_element)); $field_elements_select->addOptionArray($this->tdmcreate->getHandler('fieldelements')->getList($criteria_table)); unset($criteria_element); unset($criteria_table); $parameters_tray->addElement($field_elements_select); - $check_field_parent = new XoopsFormCheckBox(' ', 'field_parent['.$field_id.']', $field->getVar('field_parent')); + $check_field_parent = new XoopsFormCheckBox(' ', 'field_parent['.$id.']', $field->getVar('field_parent')); $check_field_parent->addOption(1, _AM_TDMCREATE_FIELD_PARENT ); $parameters_tray->addElement($check_field_parent); - $check_field_inlist = new XoopsFormCheckBox(' ', 'field_inlist['.$field_id.']', $field->getVar('field_inlist')); + $check_field_inlist = new XoopsFormCheckBox(' ', 'field_inlist['.$id.']', $field->getVar('field_inlist')); $check_field_inlist->addOption(1, _AM_TDMCREATE_FIELD_INLIST); $parameters_tray->addElement($check_field_inlist); - $check_field_inform = new XoopsFormCheckBox(' ', 'field_inform['.$field_id.']', $field->getVar('field_inform')); + $check_field_inform = new XoopsFormCheckBox(' ', 'field_inform['.$id.']', $field->getVar('field_inform')); $check_field_inform->addOption(1, _AM_TDMCREATE_FIELD_INFORM); $parameters_tray->addElement($check_field_inform); - $check_field_admin = new XoopsFormCheckBox(' ', 'field_admin['.$field_id.']', $field->getVar('field_admin')); + $check_field_admin = new XoopsFormCheckBox(' ', 'field_admin['.$id.']', $field->getVar('field_admin')); $check_field_admin->addOption(1, _AM_TDMCREATE_FIELD_ADMIN); $parameters_tray->addElement($check_field_admin); - $check_field_user = new XoopsFormCheckBox(' ', 'field_user['.$field_id.']', $field->getVar('field_user')); + $check_field_user = new XoopsFormCheckBox(' ', 'field_user['.$id.']', $field->getVar('field_user')); $check_field_user->addOption(1, _AM_TDMCREATE_FIELD_USER); $parameters_tray->addElement($check_field_user); - $check_field_block = new XoopsFormCheckBox('', 'field_block['.$field_id.']', $field->getVar('field_block')); + $check_field_block = new XoopsFormCheckBox('', 'field_block['.$id.']', $field->getVar('field_block')); $check_field_block->addOption(1, _AM_TDMCREATE_FIELD_BLOCK); $parameters_tray->addElement($check_field_block); - $field_main = $field->getVar('field_main'); - $check_field_main = new XoopsFormRadio('', 'field_main['.$field_id.']', $field_main); - $check_field_main->addOption($field_id, _AM_TDMCREATE_FIELD_MAINFIELD ); - $parameters_tray->addElement($check_field_main); + $field_main[$field_id] = $field->getVar('field_main'); + $main_field = ($field_main[$field_id] == 1) ? $id : 1; + $check_field_main = new TDMCreateFormRadio('', 'field_main', $main_field); + $check_field_main->addOption($main, _AM_TDMCREATE_FIELD_MAINFIELD ); + $parameters_tray->addElement($check_field_main); - $check_field_search = new XoopsFormCheckBox(' ', 'field_search['.$field_id.']', $field->getVar('field_search')); + $check_field_search = new XoopsFormCheckBox(' ', 'field_search['.$id.']', $field->getVar('field_search')); $check_field_search->addOption(1, _AM_TDMCREATE_FIELD_SEARCH); $parameters_tray->addElement($check_field_search); - $check_field_required = new XoopsFormCheckBox(' ', 'field_required['.$field_id.']', $field->getVar('field_required')); + $check_field_required = new XoopsFormCheckBox(' ', 'field_required['.$id.']', $field->getVar('field_required')); $check_field_required->addOption(1, _AM_TDMCREATE_FIELD_REQUIRED); $parameters_tray->addElement($check_field_required); $form->addElement(new TDMCreateFormLabel('<td><div class="portlet"><div class="portlet-header">'._AM_TDMCREATE_FIELD_PARAMETERS_LIST.'</div><div class="portlet-content">'.$parameters_tray->render().'</div></div></td></tr>')); } $id++; } + var_dump($main); + var_dump($id); + //var_dump($field_id); } // If you change number fields in tables, // adding missing fields or delete unnecessary fields // By goffy for ($i = $id; $i <= $table_nbfields; $i++) { $class = ($class == 'even') ? 'odd' : 'even'; - $this->getFormNewLine($form, $class, $i, $field_mid, $field_tid, $f_name, 0); + $this->getFormNewLine($form, $class, $i, $field_mid, $field_tid, $f_name, $table_autoincrement); } unset($id); // Footer form Modified: XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/IncludeFunctions.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/IncludeFunctions.php 2015-01-24 14:10:57 UTC (rev 12946) +++ XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/IncludeFunctions.php 2015-01-24 14:14:37 UTC (rev 12947) @@ -136,12 +136,143 @@ } else { // Compatibility for old Xoops versions \$xoopsTpl->assign('xoops_meta_description', strip_tags(\$content)); } +}\n +EOT; + return $ret; + } + + /* + * @public function getRewriteUrl + * @param string $moduleDirname + * @param string $tableName + */ + public function getRewriteUrl($moduleDirname, $tableName) { + $ucfModuleDirname = ucfirst($moduleDirname); + $ret = <<<EOT +\n/** + * Rewrite all url + * + * @String $module module name + * @String $array array + * @return $type string replacement for any blank case + */ +function {$moduleDirname}_RewriteUrl(\$module, \$array, \$type = 'content') +{ + \$comment = ''; + \${$moduleDirname} = {$ucfModuleDirname}Helper::getInstance(); + \${$tableName} = \${$moduleDirname}->getHandler('{$tableName}'); + \$lenght_id = \${$moduleDirname}->getConfig('lenght_id'); + \$rewrite_url = \${$moduleDirname}->getConfig('rewrite_url'); + + if (\$lenght_id != 0) { + \$id = \$array['content_id']; + while (strlen($id) < \$lenght_id) + \$id = "0" . $id; + } else { + \$id = \$array['content_id']; + } + + if (isset(\$array['topic_alias']) && \$array['topic_alias']) { + \$topic_name = \$array['topic_alias']; + } else { + \$topic_name = {$moduleDirname}_Filter(xoops_getModuleOption('static_name', \$module)); + } + + switch (\$rewrite_url) { + + case 'none': + if(\$topic_name) { + \$topic_name = 'topic=' . \$topic_name . '&'; + } + \$rewrite_base = '/modules/'; + \$page = 'page=' . \$array['content_alias']; + return XOOPS_URL . \$rewrite_base . \$module . '/' . \$type . '.php?' . \$topic_name . 'id=' . \$id . '&' . \$page . \$comment; + break; + + case 'rewrite': + if(\$topic_name) { + \$topic_name = \$topic_name . '/'; + } + \$rewrite_base = xoops_getModuleOption('rewrite_mode', \$module); + \$rewrite_ext = xoops_getModuleOption('rewrite_ext', \$module); + \$module_name = ''; + if(xoops_getModuleOption('rewrite_name', \$module)) { + \$module_name = xoops_getModuleOption('rewrite_name', \$module) . '/'; + } + \$page = \$array['content_alias']; + \$type = \$type . '/'; + \$id = \$id . '/'; + if (\$type == 'content/') \$type = ''; + + if (\$type == 'comment-edit/' || \$type == 'comment-reply/' || \$type == 'comment-delete/') { + return XOOPS_URL . \$rewrite_base . \$module_name . \$type . \$id . '/'; + } + + return XOOPS_URL . \$rewrite_base . \$module_name . \$type . \$topic_name . \$id . \$page . \$rewrite_ext; + break; + + case 'short': + if(\$topic_name) { + \$topic_name = \$topic_name . '/'; + } + \$rewrite_base = xoops_getModuleOption('rewrite_mode', \$module); + \$rewrite_ext = xoops_getModuleOption('rewrite_ext', \$module); + \$module_name = ''; + if(xoops_getModuleOption('rewrite_name', \$module)) { + \$module_name = xoops_getModuleOption('rewrite_name', \$module) . '/'; + } + \$page = \$array['content_alias']; + \$type = \$type . '/'; + if (\$type == 'content/') \$type = ''; + + if (\$type == 'comment-edit/' || \$type == 'comment-reply/' || \$type == 'comment-delete/') { + return XOOPS_URL . \$rewrite_base . \$module_name . \$type . \$id . '/'; + } + + return XOOPS_URL . \$rewrite_base . \$module_name . \$type . \$topic_name . \$page . \$rewrite_ext; + break; + } } EOT; return $ret; } /* + * @public function getRewriteFilter + * @param string $moduleDirname + * @param string $tableName + */ + public function getRewriteFilter($moduleDirname, $tableName) { + $ucfModuleDirname = ucfirst($moduleDirname); + $ret = <<<EOT +\n/** + * Replace all escape, character, ... for display a correct url + * + * @String $url string to transform + * @String $type string replacement for any blank case + * @return $url + */ +function {$moduleDirname}_Filter(\$url, \$type = '', \$module = '{$moduleDirname}') { + + // Get regular expression from module setting. default setting is : `[^a-z0-9]`i + \${$moduleDirname} = {$ucfModuleDirname}Helper::getInstance(); + \${$tableName} = \${$moduleDirname}->getHandler('{$tableName}'); + \$regular_expression = \${$moduleDirname}->getConfig('regular_expression'); + + \$url = strip_tags(\$url); + \$url = preg_replace("`\[.*\]`U", "", \$url); + \$url = preg_replace('`&(amp;)?#?[a-z0-9]+;`i', '-', \$url); + \$url = htmlentities($url, ENT_COMPAT, 'utf-8'); + \$url = preg_replace("`&([a-z])(acute|uml|circ|grave|ring|cedil|slash|tilde|caron|lig);`i", "\\1", \$url); + \$url = preg_replace(array($regular_expression, "`[-]+`"), "-", \$url); + \$url = (\$url == "") ? \$type : strtolower(trim(\$url, '-')); + return \$url; +} +EOT; + return $ret; + } + + /* * @public function render * @param null */ Modified: XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/sql/mysql.sql =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/sql/mysql.sql 2015-01-24 14:10:57 UTC (rev 12946) +++ XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/sql/mysql.sql 2015-01-24 14:14:37 UTC (rev 12947) @@ -91,6 +91,7 @@ `field_mid` INT(5) UNSIGNED NOT NULL DEFAULT '0', `field_tid` INT(5) UNSIGNED NOT NULL DEFAULT '0', `field_numb` INT(10) UNSIGNED NOT NULL DEFAULT '0', + `field_order` INT(10) UNSIGNED NOT NULL DEFAULT '0', `field_name` VARCHAR(255) NOT NULL DEFAULT '', `field_type` VARCHAR(100) NOT NULL DEFAULT '', `field_value` CHAR(4) NOT NULL DEFAULT '', Modified: XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_fields.tpl =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_fields.tpl 2015-01-24 14:10:57 UTC (rev 12946) +++ XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_fields.tpl 2015-01-24 14:14:37 UTC (rev 12947) @@ -54,37 +54,10 @@ <img src="<{xoModuleIcons16 delete.png}>" alt="<{$smarty.const._DELETE}>" /> </a> </td> - </tr> - <{foreach item=field from=$table.fields}> - <{if $field.id > 0}> - <tr class="<{cycle values='even,odd'}> sortable toggleChild"> - <td class='center'>[<{$field.lid}>] <img class="move" src="<{$modPathIcon16}>/drag.png" alt="<{$field.name}>" /></td> - <td class='center'><{$field.name}></td> - <td class='center'><img src="<{$modPathIcon16}>/tables.png" alt="Empty" /></td> - <td class='center'><img src="<{$modPathIcon16}>/tables.png" alt="Empty" /></td> - <td class='center'><img id="loading_img_parent<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_parent<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_parent: <{if $field.parent}>0<{else}>1<{/if}> }, 'img_parent<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.parent}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'><img id="loading_img_inlist<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_inlist<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_inlist: <{if $field.inlist}>0<{else}>1<{/if}> }, 'img_inlist<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.inlist}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'><img id="loading_img_inform<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_inform<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_inform: <{if $field.inform}>0<{else}>1<{/if}> }, 'img_inform<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.inform}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'><img id="loading_img_admin<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_admin<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_admin: <{if $field.admin}>0<{else}>1<{/if}> }, 'img_admin<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.admin}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'><img id="loading_img_user<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_user<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_user: <{if $field.user}>0<{else}>1<{/if}> }, 'img_user<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.user}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'><img id="loading_img_block<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_block<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_block: <{if $field.block}>0<{else}>1<{/if}> }, 'img_block<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.block}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'><img id="loading_img_main<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_main<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_main: <{if $field.main}>0<{else}>1<{/if}> }, 'img_main<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.main}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'><img id="loading_img_search<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_search<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_search: <{if $field.search}>0<{else}>1<{/if}> }, 'img_search<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.search}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'> - <img id="loading_img_required<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_required<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_required: <{if $field.required}>0<{else}>1<{/if}> }, 'img_required<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.required}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'><img src="<{$modPathIcon16}>/left_right.png" alt="Empty" /></td> - </tr> - <{/if}> - <{/foreach}> + </tr> + <tr class="toggleChild"> + <td id="sortable" colspan="14" class='center'><{includeq file="db:tdmcreate_fields_item.tpl" table=$table}></td> + </tr> <{/foreach}> </tbody> </table><br /><br /> Modified: XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/xoops_version.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/xoops_version.php 2015-01-24 14:10:57 UTC (rev 12946) +++ XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/xoops_version.php 2015-01-24 14:14:37 UTC (rev 12947) @@ -71,6 +71,7 @@ $modversion['templates'][] = array( 'file' => 'tdmcreate_about.tpl', 'description' => '', 'type' => 'admin' ); $modversion['templates'][] = array( 'file' => 'tdmcreate_building.tpl', 'description' => '', 'type' => 'admin' ); $modversion['templates'][] = array( 'file' => 'tdmcreate_fields.tpl', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'tdmcreate_fields_item.tpl', 'description' => '', 'type' => 'admin' ); $modversion['templates'][] = array( 'file' => 'tdmcreate_footer.tpl', 'description' => '', 'type' => 'admin' ); $modversion['templates'][] = array( 'file' => 'tdmcreate_header.tpl', 'description' => '', 'type' => 'admin' ); $modversion['templates'][] = array( 'file' => 'tdmcreate_index.tpl', 'description' => '', 'type' => 'admin' ); |
From: <txm...@us...> - 2015-01-24 14:11:01
|
Revision: 12946 http://sourceforge.net/p/xoops/svn/12946 Author: txmodxoops Date: 2015-01-24 14:10:57 +0000 (Sat, 24 Jan 2015) Log Message: ----------- Added jquery ui libraries in default admin theme system Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/default.php Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/default.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/default.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/default.php 2015-01-24 14:10:57 UTC (rev 12946) @@ -0,0 +1,318 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +xoops_load('gui', 'system'); + +/* + * Xoops Cpanel default GUI class + * + * @copyright The XOOPS project http://sf.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package system + * @usbpackage GUI + * @since 2.4 + * @author Mamba XXXXXXXXXXXXXXXXXXX + * @author Mojtabajml <jam...@gm...> + * @author Voltan <djv...@gm...> + * @author BitC3R0 <Bi...@gm...> + * @author trabis <lus...@gm...> + * @version 1.2 + * @version $Id: default.php 12360 2014-03-08 09:46:59Z beckmi $ + */ + +/** + * Class XoopsGuiDefault + */ +class XoopsGuiDefault extends XoopsSystemGui +{ + + /** + * + */ + function __construct() + { + } + + function XoopsGuiDefault() + { + $this->__construct(); + } + + /** + * @return bool + */ + function validate() + { + return true; + } + + function header() + { + parent::header(); + + global $xoopsConfig, $xoopsUser, $xoopsModule, $xoTheme, $xoopsTpl; + $tpl =& $this->template; + + $xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js'); + // + $xoTheme->addScript('browse.php?Frameworks/jquery/plugins/jquery.ui.js'); + // + $xoTheme->addScript(XOOPS_ADMINTHEME_URL . '/default/js/styleswitch.js'); + $xoTheme->addScript(XOOPS_ADMINTHEME_URL . '/default/js/formenu.js'); + $xoTheme->addScript(XOOPS_ADMINTHEME_URL . '/default/js/menu.js'); + $xoTheme->addScript(XOOPS_ADMINTHEME_URL . '/default/js/tooltip.js'); + $xoTheme->addScript(XOOPS_ADMINTHEME_URL . '/default/js/tabs.jquery.tools.min.js'); + + $xoTheme->addStylesheet(XOOPS_ADMINTHEME_URL . '/default/css/style.css' ); + $xoTheme->addStylesheet(XOOPS_ADMINTHEME_URL . '/default/css/dark.css', array('title' => 'dark', 'media' => 'screen')); + $xoTheme->addStylesheet(XOOPS_ADMINTHEME_URL . '/default/css/silver.css', array('title' => 'silver', 'media' => 'screen')); + $xoTheme->addStylesheet(XOOPS_ADMINTHEME_URL . '/default/css/orange.css', array('title' => 'orange', 'media' => 'screen')); + + $tpl->assign('lang_cp', _CPHOME); + //start system overview + //$tpl->assign('lang_xoops_version', XOOPS_VERSION); + $tpl->assign('lang_php_vesion', PHP_VERSION); + $tpl->assign('lang_mysql_version', mysql_get_server_info()); + $tpl->assign('lang_server_api', PHP_SAPI); + $tpl->assign('lang_os_name', PHP_OS); + $tpl->assign('safe_mode', ini_get( 'safe_mode' ) ? 'On' : 'Off'); + $tpl->assign('register_globals', ini_get( 'register_globals' ) ? 'On' : 'Off'); + $tpl->assign('magic_quotes_gpc', ini_get( 'magic_quotes_gpc' ) ? 'On' : 'Off'); + $tpl->assign('allow_url_fopen', ini_get( 'allow_url_fopen' ) ? 'On' : 'Off'); + $tpl->assign('fsockopen', function_exists( 'fsockopen' ) ? 'On' : 'Off'); + $tpl->assign('allow_call_time_pass_reference', ini_get( 'allow_call_time_pass_reference' ) ? 'On' : 'Off'); + $tpl->assign('post_max_size', ini_get( 'post_max_size' )); + $tpl->assign('max_input_time', ini_get( 'max_input_time' )); + $tpl->assign('output_buffering', ini_get( 'output_buffering' )); + $tpl->assign('max_execution_time', ini_get( 'max_execution_time' )); + $tpl->assign('memory_limit', ini_get( 'memory_limit' )); + $tpl->assign('file_uploads', ini_get( 'file_uploads' ) ? 'On' : 'Off'); + $tpl->assign('upload_max_filesize', ini_get( 'upload_max_filesize' )); + $tpl->assign('xoops_sitename', $xoopsConfig['sitename']); + + // ADD MENU ***************************************** + + //Add CONTROL PANEL Menu items + $menu = array(); + $menu[0]['link'] = XOOPS_URL; + $menu[0]['title'] = _YOURHOME; + $menu[0]['absolute'] = 1; + $menu[1]['link'] = XOOPS_URL . '/admin.php?xoopsorgnews=1'; + $menu[1]['title'] = _OXYGEN_NEWS; + $menu[1]['absolute'] = 1; + $menu[1]['icon'] = XOOPS_ADMINTHEME_URL . '/default/images/xoops.png'; + $menu[2]['link'] = XOOPS_URL . '/user.php?op=logout'; + $menu[2]['title'] = _LOGOUT; + $menu[2]['absolute'] = 1; + $menu[2]['icon'] = XOOPS_ADMINTHEME_URL . '/default/images/logout.png'; + $tpl->append('navitems', array('link' => XOOPS_URL . '/admin.php', 'text' => _CPHOME, 'menu' => $menu)); + + //add SYSTEM Menu items + include dirname(__FILE__) . '/menu.php'; + if (empty($xoopsModule) || 'system' == $xoopsModule->getVar('dirname', 'n')) { + $modpath = XOOPS_URL . '/admin.php'; + $modname = _OXYGEN_SYSOPTIONS; + $modid = 1; + $moddir = 'system'; + + $mod_options = $adminmenu; + foreach (array_keys($mod_options) as $item) { + $mod_options[$item]['link'] = empty($mod_options[$item]['absolute']) ? XOOPS_URL . '/modules/'.$moddir.'/' . $mod_options[$item]['link'] : $mod_options[$item]['link']; + $mod_options[$item]['icon'] = empty($mod_options[$item]['icon']) ? '' : XOOPS_ADMINTHEME_URL . '/default/' . $mod_options[$item]['icon']; + unset($mod_options[$item]['icon_small']); + } + } else { + $moddir = $xoopsModule->getVar('dirname', 'n'); + $modpath = XOOPS_URL . '/modules/' . $moddir; + $modname = $xoopsModule->getVar('name'); + $modid = $xoopsModule->getVar('mid'); + + $mod_options = $xoopsModule->getAdminMenu(); + foreach (array_keys($mod_options) as $item) { + $mod_options[$item]['link'] = empty($mod_options[$item]['absolute']) ? XOOPS_URL . "/modules/{$moddir}/" . $mod_options[$item]['link'] : $mod_options[$item]['link']; + $mod_options[$item]['icon'] = empty($mod_options[$item]['icon']) ? '' : XOOPS_URL . "/modules/{$moddir}/" . $mod_options[$item]['icon']; + } + } + + $tpl->assign('mod_options', $mod_options); + $tpl->assign('modpath', $modpath); + $tpl->assign('modname', $modname); + $tpl->assign('modid', $modid); + $tpl->assign('moddir', $moddir); + + // add MODULES Menu items + $module_handler =& xoops_gethandler('module'); + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('hasadmin', 1)); + $criteria->add(new Criteria('isactive', 1)); + $criteria->setSort('mid'); + $mods = $module_handler->getObjects($criteria); + + $menu = array(); + $moduleperm_handler =& xoops_gethandler('groupperm'); + foreach ($mods as $mod) { + $rtn = array(); + $modOptions = array(); //add for sub menus + $sadmin = $moduleperm_handler->checkRight('module_admin', $mod->getVar('mid'), $xoopsUser->getGroups()); + if ($sadmin) { + $info = $mod->getInfo(); + if (!empty($info['adminindex'])) { + $rtn['link'] = XOOPS_URL . '/modules/'. $mod->getVar('dirname', 'n') . '/' . $info['adminindex']; + } else { + $rtn['link'] = XOOPS_URL . '/modules/system/admin.php?fct=preferences&op=showmod&mod=' . $mod->getVar('mid'); + } + $rtn['title'] = $mod->name(); + $rtn['absolute'] = 1; + $rtn['url'] = XOOPS_URL . '/modules/'. $mod->getVar('dirname', 'n') . '/'; //add for sub menus + $modOptions = $mod->getAdminMenu(); //add for sub menus + $rtn['options'] = $modOptions; //add for sub menus + + if (isset($info['icon']) && $info['icon'] != '' ) { + $rtn['icon'] = XOOPS_URL . '/modules/' . $mod->getVar('dirname', 'n') . '/' . $info['icon']; + } + $menu[] = $rtn; + } + + } + $tpl->append('navitems', array('link' => XOOPS_URL . '/modules/system/admin.php?fct=modulesadmin', + 'text' => _AM_SYSTEM_MODULES, 'dir' => $mod->getVar('dirname', 'n'), 'menu' => $menu)); + + // add preferences menu + $menu = array(); + + $OPT = array(); + $OPT[] = array( + 'link' => 'admin.php?fct=preferences&op=show&confcat_id=1', + 'title' => _OXYGEN_GENERAL, + 'absolute' => 1, + 'icon' => XOOPS_ADMINTHEME_URL . '/default/icons/prefs_small.png'); + $OPT[] = array( + 'link' => 'admin.php?fct=preferences&op=show&confcat_id=2', + 'title' => _OXYGEN_USERSETTINGS, + 'absolute' => 1, + 'icon' => XOOPS_ADMINTHEME_URL . '/default/icons/prefs_small.png'); + $OPT[] = array( + 'link' => 'admin.php?fct=preferences&op=show&confcat_id=3', + 'title' => _OXYGEN_METAFOOTER, + 'absolute' => 1, + 'icon' => XOOPS_ADMINTHEME_URL . '/default/icons/prefs_small.png'); + $OPT[] = array( + 'link' => 'admin.php?fct=preferences&op=show&confcat_id=4', + 'title' => _OXYGEN_CENSOR, + 'absolute' => 1, + 'icon' => XOOPS_ADMINTHEME_URL . '/default/icons/prefs_small.png'); + $OPT[] = array( + 'link' => 'admin.php?fct=preferences&op=show&confcat_id=5', + 'title' => _OXYGEN_SEARCH, + 'absolute' => 1, + 'icon' => XOOPS_ADMINTHEME_URL . '/default/icons/prefs_small.png'); + $OPT[] = array( + 'link' => 'admin.php?fct=preferences&op=show&confcat_id=6', + 'title' => _OXYGEN_MAILER, + 'absolute' => 1, + 'icon' => XOOPS_ADMINTHEME_URL . '/default/icons/prefs_small.png'); + $OPT[] = array( + 'link' => 'admin.php?fct=preferences&op=show&confcat_id=7', + 'title' => _OXYGEN_AUTHENTICATION, + 'absolute' => 1, + 'icon' => XOOPS_ADMINTHEME_URL . '/default/icons/prefs_small.png'); + $OPT[] = array( + 'link' => 'admin.php?fct=preferences&op=showmod&mod=1', + 'title' => _OXYGEN_MODULESETTINGS, + 'absolute' => 1, + 'icon' => XOOPS_ADMINTHEME_URL . '/default/icons/prefs_small.png'); + + $menu[] = array( + 'link' => XOOPS_URL . '/modules/system/admin.php?fct=preferences', + 'title' => _OXYGEN_SYSOPTIONS, + 'absolute' => 1, + 'url' => XOOPS_URL . '/modules/system/', + 'options' => $OPT); + + foreach ($mods as $mod) { + $rtn = array(); + $sadmin = $moduleperm_handler->checkRight('module_admin', $mod->getVar('mid'), $xoopsUser->getGroups()); + if ($sadmin && ($mod->getVar('hasnotification') || is_array($mod->getInfo('config')) || is_array($mod->getInfo('comments')))) { + $rtn['link'] = XOOPS_URL . '/modules/system/admin.php?fct=preferences&op=showmod&mod=' . $mod->getVar('mid'); + $rtn['title'] = $mod->name(); + $rtn['absolute'] = 1; + $rtn['icon'] = XOOPS_ADMINTHEME_URL . '/gui/oxygen/icons/prefs_small.png'; + $menu[] = $rtn; + } + } + $tpl->append('navitems', array('link' => XOOPS_URL . '/modules/system/admin.php?fct=preferences', 'text' => _OXYGEN_SITEPREF, 'dir' => $mod->getVar('dirname', 'n'), 'menu' => $menu)); + + //add OPTIONS/Links Menu Items + $menu = array(); + $menu[] = array( + 'link' => 'http://sourceforge.net/projects/xoops/', + 'title' => _OXYGEN_XOOPSPROJECT, + 'absolute' => 1); + $menu[] = array( + 'link' => 'http://xoops.org', + 'title' => _OXYGEN_WEBSITE, + 'absolute' => 1, + 'icon' => XOOPS_ADMINTHEME_URL . '/default/images/xoops.png'); + $menu[] = array( + 'link' => 'http://www.xoops.org/modules/repository/', + 'title' => _OXYGEN_XOOPSMODULES, + 'absolute' => 1, + 'icon' => XOOPS_ADMINTHEME_URL . '/default/images/xoops.png'); + $menu[] = array( + 'link' => 'http://www.xoops.org/modules/extgallery/', + 'title' => _OXYGEN_XOOPSTHEMES, + 'absolute' => 1, + 'icon' => XOOPS_ADMINTHEME_URL . '/default/images/tweb.png'); + + $tpl->append('navitems', array('link' => XOOPS_URL . '/admin.php','text' => _OXYGEN_INTERESTSITES, 'menu' => $menu)); + + //add OPTIONS/links for local support + if (file_exists($file = XOOPS_ADMINTHEME_PATH . '/default/language/' . $xoopsConfig['language'] . '/localsupport.php' )) { + $links = include XOOPS_ADMINTHEME_PATH . '/default/language/' . $xoopsConfig['language'] . '/localsupport.php'; + if ( count($links) > 0 ) { + $tpl->append('navitems', array('link' => XOOPS_URL . '/admin.php','text' => _OXYGEN_LOCALSUPPORT, 'menu' => $links)); + } + } + + if (is_object($xoopsModule) || !empty($_GET['xoopsorgnews'])) { + if (is_object($xoopsModule) && file_exists($file = XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->getVar('dirname') . '/' . $xoopsModule->getInfo('adminmenu'))) { + include $file; + } + + return; + } + + foreach ($mods as $mod) { + + $sadmin = $moduleperm_handler->checkRight ( 'module_admin', $mod->getVar ( 'mid' ), $xoopsUser->getGroups () ); + if ($sadmin) { + $rtn = array (); + $info = $mod->getInfo (); + if (! empty ( $info ['adminindex'] )) { + $rtn ['link'] = XOOPS_URL . '/modules/' . $mod->getVar ( 'dirname', 'n' ) . '/' . $info ['adminindex']; + } else { + $rtn ['link'] = XOOPS_URL . '/modules/system/admin.php?fct=preferences&op=showmod&mod=' . $mod->getVar ( 'mid' ); + } + $rtn ['title'] = $mod->getVar ('name'); + $rtn ['description'] = $mod->getInfo('description'); + $rtn ['absolute'] = 1; + if (isset ( $info ['icon_big'] )) { + $rtn ['icon'] = XOOPS_URL . '/modules/' . $mod->getVar ( 'dirname', 'n' ) . '/' . $info ['icon_big']; + } elseif (isset ( $info ['image'] )) { + $rtn ['icon'] = XOOPS_URL . '/modules/' . $mod->getVar ( 'dirname', 'n' ) . '/' . $info ['image']; + } + + $tpl->append ( 'modules', $rtn ); + } + + } + } +} |
From: <be...@us...> - 2015-01-23 13:15:33
|
Revision: 12945 http://sourceforge.net/p/xoops/svn/12945 Author: beckmi Date: 2015-01-23 13:15:29 +0000 (Fri, 23 Jan 2015) Log Message: ----------- Code cleanup, adding XoopsRequest in couple of places Modified Paths: -------------- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_links.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_menus.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/blocks/mymenus_block.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/class/registry.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/include/xoops.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/plugins/dynamic/dynamic.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/plugins/mymenus/mymenus.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/bootstrap/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/clean/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/default/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/mainmenu/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/multiblack/stuHover.js XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish_navbar/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/tw_blue/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/xoops_version.php Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_links.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_links.php 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_links.php 2015-01-23 13:15:29 UTC (rev 12945) @@ -34,8 +34,8 @@ } $valid_menu_ids = array_keys($menus_list); -if (isset($_REQUEST['mid']) && in_array($_REQUEST['mid'], $valid_menu_ids)) { - $menu_id = (int) $_REQUEST['mid']; +if (XoopsRequest::getInt('mid', 0) && in_array(XoopsRequest::getInt('mid', 0), $valid_menu_ids)) { + $menu_id = XoopsRequest::getInt('mid', 0); $menu_title = $menus_list[$menu_id]; } else { $keys = array_keys($menus_list); @@ -340,7 +340,7 @@ $link_obj = $links_handler->get((int) $id); //if this was moved then parent could be in different menu, if so then set parent to top level - if (!empty($_POST['pid'])) { + if (XoopsRequest::getInt('pid', '', 'POST')) { $parent_obj = $links_handler->get($link_obj->getVar('pid')); //get the parent oject if(($parent_obj instanceof MylinksLinks) && ($link_obj->getVar('mid') != $parent_obj->getVar('mid'))) { $link_obj->setVar('pid', 0); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_menus.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_menus.php 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_menus.php 2015-01-23 13:15:29 UTC (rev 12945) @@ -45,7 +45,7 @@ echo $indexAdmin->addNavigation('admin_menus.php'); //mymenus_adminMenu(0, _MI_MYMENUS_MENUSMANAGER); echo mymenus_admin_form($id); - include 'admin_footer.php'; + include_once __DIR__ . '/admin_footer.php'; break; case 'editok': mymenus_admin_edit($id); @@ -67,7 +67,7 @@ xoops_cp_header(); echo $indexAdmin->addNavigation('admin_menus.php'); echo mymenus_admin_list($start, $limit); - include 'admin_footer.php'; + include_once __DIR__ . '/admin_footer.php'; break; } Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/blocks/mymenus_block.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/blocks/mymenus_block.php 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/blocks/mymenus_block.php 2015-01-23 13:15:29 UTC (rev 12945) @@ -176,8 +176,9 @@ */ function mymenus_block_edit($options) { + xoops_load('XoopsRequest'); //Unique ID - if (!$options[3] || (isset($_GET['op']) && 'clone' == $_GET['op'])) { + if (!$options[3] || ('clone' == XoopsRequest::getCmd('op', '', 'GET'))) { $options[3] = time(); } $i = 0; Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/class/registry.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/class/registry.php 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/class/registry.php 2015-01-23 13:15:29 UTC (rev 12945) @@ -40,7 +40,7 @@ /** * @return object MymenusRegistry */ - static public function getInstance() + public static function getInstance() { static $instance = false; if (!$instance) { Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/include/xoops.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/include/xoops.php 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/include/xoops.php 2015-01-23 13:15:29 UTC (rev 12945) @@ -134,7 +134,7 @@ $cP = $id; $sql="SELECT storyid FROM ".$xoopsDB->prefix($modulname)." WHERE parent_id=".intval($cP); $result = $xoopsDB->query($sql); - while ($row = $xoopsDB->fetchArray($result)) { + while ($row == $xoopsDB->fetchArray($result)) { if (intval($row['storyid']) > 0) { $cP = intval($row['storyid']); $currentParent[]=$cP; Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/plugins/dynamic/dynamic.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/plugins/dynamic/dynamic.php 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/plugins/dynamic/dynamic.php 2015-01-23 13:15:29 UTC (rev 12945) @@ -72,7 +72,7 @@ xoops_loadLanguage('modinfo', $module); $overwrite = false; - if ($force = true) { //can set to false for debug + if ($force == true) { //can set to false for debug if (!($xoopsModule instanceof XoopsModule) || ($xoopsModule->getVar('dirname') != $module)) { // @todo: check the following 2 statements, they're basically just assigns - is this intended? $_xoopsModule = ($xoopsModule instanceof XoopsModule) ? $xoopsModule : $xoopsModule; Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/plugins/mymenus/mymenus.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/plugins/mymenus/mymenus.php 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/plugins/mymenus/mymenus.php 2015-01-23 13:15:29 UTC (rev 12945) @@ -30,6 +30,7 @@ { $registry =& MymenusRegistry::getInstance(); $member_handler =& xoops_getHandler('member'); + xoops_load('XoopsRequest'); $user = ($GLOBALS['xoopsUser'] instanceof XoopsUser) ? $GLOBALS['xoopsUser'] : null; if (!$user) { @@ -38,7 +39,7 @@ $user->setVar('uname', $GLOBALS['xoopsConfig']['anonymous']); } - $ownerid = isset($_GET['uid']) ? intval($_GET['uid']) : null; + $ownerid = XoopsRequest::getInt('uid', null, 'GET'); $owner = $member_handler->getUser($ownerid); //if uid > 0 but user does not exists if (!($owner instanceof XoopsUser)) { @@ -53,7 +54,7 @@ $registry->setEntry('owner', $owner->getValues()); $registry->setEntry('user_groups', ($GLOBALS['xoopsUser'] instanceof XoopsUser) ? $GLOBALS['xoopsUser']->getGroups() : array(XOOPS_GROUP_ANONYMOUS)); $registry->setEntry('user_uid', ($GLOBALS['xoopsUser'] instanceof XoopsUser) ? $GLOBALS['xoopsUser']->getVar('uid') : 0); - $registry->setEntry('get_uid', isset($_GET['uid']) ? intval($_GET['uid']) : 0); + $registry->setEntry('get_uid', XoopsRequest::getInt('uid', 0, 'GET')); } @@ -127,7 +128,7 @@ } if ($validator == 'uri') { - $value = isset($_GET[$value]) ? $_GET[$value] : 0; + $value = XoopsRequest::getString($value, 0, 'GET'); $string = str_replace($expression, $value, $string); } Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/bootstrap/templates/template.tpl =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/bootstrap/templates/template.tpl 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/bootstrap/templates/template.tpl 2015-01-23 13:15:29 UTC (rev 12945) @@ -1,30 +1,43 @@ <{foreach item=menu from = $block}> <{if $menu.oul}> -<{ if $menu.level == 0}> - <ul class="nav navbar-nav<{if $menu.css}> <{$menucss}><{/if}>"> -<{ elseif $menu.level == 1}> +<{if $menu.level == 0}> +<ul class="nav navbar-nav<{if $menu.css}> <{$menucss}><{/if}>"> + <{elseif $menu.level == 1}> <ul class="dropdown-menu<{if $menu.css}> <{$menucss}><{/if}>"> -<{ else}> - <ul class="dropdown-menu sub-menu<{if $menu.css}> <{$menucss}><{/if}>"> -<{ /if}> -<{/if}> -<{if $menu.oli}> -<{ assign var=myStr value="["|cat:$xoops_langcode|cat:"]"}> -<{ if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> + <{else}> + <ul class="dropdown-menu sub-menu<{if $menu.css}> <{$menucss}><{/if}>"> + <{/if}> + <{/if}> + <{if $menu.oli}> + <{assign var=myStr value="["|cat:$xoops_langcode|cat:"]"}> + <{if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> -<{ if $menu.hassub && $menu.level == 0}> - <li class="dropdown<{if $menu.selected}> active<{/if}><{if $menu.css}> <{$menu.css}><{/if}>"> - <a href="<{$menu.link}>" target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"> -<{ if $menu.image}><img class="menu-image" src="<{$menu.image}>" /> <{/if}><{$menu.title}> <b class="caret"></b></a> -<{ elseif $menu.hassub && $menu.level == 1}> - <li<{if $menu.selected | $menu.css}> class="<{/if}><{if $menu.selected}>active<{/if}><{if $menu.css}> <{$menu.css}><{/if}><{if $menu.selected | $menu.css}>"<{/if}>> - <a href="<{$menu.link}>" target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"> -<{ if $menu.image}><img class="menu-image" src="<{$menu.image}>" /> <{/if}><{$menu.title}> <i class="glyphicon glyphicon-arrow-right"></i></a> -<{ else}> - <li<{if $menu.selected | $menu.css}> class="<{/if}><{if $menu.selected}>active<{/if}><{if $menu.css}> <{$menu.css}><{/if}><{if $menu.selected | $menu.css}>"<{/if}>> - <a href="<{$menu.link}>" target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"> -<{ if $menu.image}><img class="menu-image" src="<{$menu.image}>" /> <{/if}><{$menu.title}></a><{/if}> -<{ /if}> -<{/if}> -<{if $menu.close != ''}><{$menu.close}><{/if}> -<{/foreach}> + <{if $menu.hassub && $menu.level == 0}> + <li class="dropdown<{if $menu.selected}> active<{/if}><{if $menu.css}> <{$menu.css}><{/if}>"> + <a href="<{$menu.link}>" target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"> + <{if $menu.image}><img class="menu-image" src="<{$menu.image}>"/> <{/if}> + <{$menu.title}> <b class="caret"></b> + </a> + <{elseif $menu.hassub && $menu.level == 1}> + <li<{if $menu.selected || $menu.css}> class="<{/if}> + <{if $menu.selected}>active<{/if}> + <{if $menu.css}> <{$menu.css}><{/if}> + <{if $menu.selected || $menu.css}>"<{/if}>> + <a href="<{$menu.link}>" target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"> + <{if $menu.image}><img class="menu-image" src="<{$menu.image}>"/> <{/if}> + <{$menu.title}> <i class="glyphicon glyphicon-arrow-right"></i> + </a> + <{else}> + <li<{if $menu.selected || $menu.css}> class="<{/if}> + <{if $menu.selected}>active<{/if}> + <{if $menu.css}> <{$menu.css}><{/if}> + <{if $menu.selected || $menu.css}>"<{/if}>> + <a href="<{$menu.link}>" target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"> + <{if $menu.image}><img class="menu-image" src="<{$menu.image}>"/> <{/if}> + <{$menu.title}> + </a> + <{/if}> + <{/if}> + <{/if}> + <{if $menu.close != ''}><{$menu.close}><{/if}> + <{/foreach}> Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/clean/templates/template.tpl =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/clean/templates/template.tpl 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/clean/templates/template.tpl 2015-01-23 13:15:29 UTC (rev 12945) @@ -1,40 +1,43 @@ <{foreach item=menu from=$block}> -<{ if $menu.oul && $menu.level == 0}> -<{ if $menucss != ''}> +<{if $menu.oul && $menu.level == 0}> +<{if $menucss != ''}> <ul class="<{$menucss}>"> -<{ else}> -<ul> -<{ /if}> -<{ /if}> + <{else}> + <ul> + <{/if}> + <{/if}> -<{assign var=myStr value="["|cat:$xoops_langcode|cat:"]"}> -<{if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> -<{ if $menu.level == 0}> - <li<{if $menu.css}> class="<{$menu.css}>"<{/if}>> - <a<{if $menu.selected}> class="active"<{/if}> href="<{$menu.link}>"><{$menu.title}></a> -<{ if $menu.hassub}> -<{ foreach item=sub from=$block name=sublp}> -<{ if $smarty.foreach.sublp.first}> <ul class="dropdown-menu"><!-- sub menu --><{/if}> -<{ if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> -<{ if $menu.id == $sub.pid}> - <li<{if $sub.css}> class="<{$sub.css}>"<{/if}>> - <a<{if $sub.selected}> class="active"<{/if}> href="<{$sub.link}>" target="<{$sub.target}>" title="<{$sub.alt_title}>"><{$sub.title}></a> -<{ if !empty($block.subsub)}> -<{ foreach item=subsub from=$block name=subsublp}> -<{ if $smarty.foreach.subsublp.first}> <ul class="dropdown-menu"><!-- subsub menu --><{/if}> -<{ if $sub.id == $subsub.pid}> - <li<{if $subsub.css}> class="<{$subsub.css}>"<{/if}>> - <a<{if $subsub.selected}> class="active"<{/if}> href="<{$subsub.link}>" target="<{$subsub.target}>" title="<{$subsub.alt_title}>"><{$subsub.title}></a> -<{ /if}> -<{ if $smarty.foreach.subsublp.last}></ul><{/if}> -<{ /foreach}> -<{ /if}> -<{ /if}> -<{ /if}> -<{ /foreach}> -<{ /if}> -<{ /if}> -<{/if}> + <{assign var=myStr value="["|cat:$xoops_langcode|cat:"]"}> + <{if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> + <{if $menu.level == 0}> + <li<{if $menu.css}> class="<{$menu.css}>"<{/if}>> + <a<{if $menu.selected}> class="active"<{/if}> href="<{$menu.link}>"><{$menu.title}></a> + <{if $menu.hassub}> + <{foreach item=sub from=$block name=sublp}> + <{if $smarty.foreach.sublp.first}> + <ul class="dropdown-menu"><!-- sub menu --><{/if}> + <{if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> + <{if $menu.id == $sub.pid}> + <li<{if $sub.css}> class="<{$sub.css}>"<{/if}>> + <a<{if $sub.selected}> class="active"<{/if}> href="<{$sub.link}>" target="<{$sub.target}>" title="<{$sub.alt_title}>"><{$sub.title}></a> + <{if !empty($block.subsub)}> + <{foreach item=subsub from=$block name=subsublp}> + <{if $smarty.foreach.subsublp.first}> + <ul class="dropdown-menu"><!-- subsub menu --><{/if}> + <{if $sub.id == $subsub.pid}> + <li<{if $subsub.css}> class="<{$subsub.css}>"<{/if}>> + <a<{if $subsub.selected}> class="active"<{/if}> href="<{$subsub.link}>" target="<{$subsub.target}>" title="<{$subsub.alt_title}>"><{$subsub.title}></a> + <{/if}> + <{if $smarty.foreach.subsublp.last}> + </ul><{/if}> + <{/foreach}> + <{/if}> + <{/if}> + <{/if}> + <{/foreach}> + <{/if}> + <{/if}> + <{/if}> -<{if '' != $menu.close}><{$menu.close}><{/if}> -<{/foreach}> + <{if '' != $menu.close}><{$menu.close}><{/if}> + <{/foreach}> Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/default/templates/template.tpl =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/default/templates/template.tpl 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/default/templates/template.tpl 2015-01-23 13:15:29 UTC (rev 12945) @@ -1,30 +1,30 @@ <span class="default_preload1"></span> <span class="default_preload2"></span> <{foreach item=menu from = $block}> -<{ if $menu.oul}> -<{ if 0 == $menu.level}> +<{if $menu.oul}> +<{if 0 == $menu.level}> <ul id="default_nav"> -<{ elseif 1 == $menu.level}> -<ul class="default_sub"> -<{ else}> -<ul> -<{ /if}> -<{ /if}> -<{ if $menu.oli}> -<{ if 0 == $menu.level}> - <li class="default_top<{if $menu.css}> <{$menu.css}><{/if}>"> -<{ else}> - <li<{if $menu.css}> class="<{$menu.css}>"<{/if}>> -<{ /if}> -<{ /if}> -<{ assign var=myStr value="["|cat:$xoops_langcode|cat:"]"}> -<{ if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> -<{ if 0 == $menu.level}> - <a href="<{$menu.link}>" class="default_top_link<{if $menu.selected}> default_selected<{/if}>" target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"> - <span<{if $menu.hassub}> class="default_down"<{/if}>><{if $menu.image}><img src="<{$menu.image}>" /><{/if}><{$menu.title}></span></a> -<{ else}> - <a href="<{$menu.link}>"<{if $menu.hassub}> class="default_fly"<{/if}> target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"><{if $menu.image}><img src="<{$menu.image}>" /><{/if}><{$menu.title}></a> -<{ /if}> -<{ /if}> -<{ if '' != $menu.close}><{$menu.close}><{/if}> -<{/foreach}> + <{elseif 1 == $menu.level}> + <ul class="default_sub"> + <{else}> + <ul> + <{/if}> + <{/if}> + <{if $menu.oli}> + <{if 0 == $menu.level}> + <li class="default_top<{if $menu.css}> <{$menu.css}><{/if}>"> + <{else}> + <li<{if $menu.css}> class="<{$menu.css}>"<{/if}>> + <{/if}> + <{/if}> + <{assign var=myStr value="["|cat:$xoops_langcode|cat:"]"}> + <{if ($xlanguage && (($menu.title|strstr:$myStr) || ($menu.image|strstr:$myStr)) || !$xlanguage)}> + <{if 0 == $menu.level}> + <a href="<{$menu.link}>" class="default_top_link<{if $menu.selected}> default_selected<{/if}>" target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"> + <span<{if $menu.hassub}> class="default_down"<{/if}>><{if $menu.image}><img src="<{$menu.image}>" /><{/if}><{$menu.title}></span></a> + <{else}> + <a href="<{$menu.link}>"<{if $menu.hassub}> class="default_fly"<{/if}> target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"><{if $menu.image}><img src="<{$menu.image}>" /><{/if}><{$menu.title}></a> + <{/if}> + <{/if}> + <{if '' != $menu.close}><{$menu.close}><{/if}> + <{/foreach}> Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/mainmenu/templates/template.tpl =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/mainmenu/templates/template.tpl 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/mainmenu/templates/template.tpl 2015-01-23 13:15:29 UTC (rev 12945) @@ -1,23 +1,27 @@ <div id="mainmenu"> -<{foreach item=menu from=$block}> -<{ if $menu.level == 0}> -<{ assign var=myStr value="["|cat:$xoops_langcode|cat:"]"}> -<{ if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> - <a class="menuMain<{if $menu.css}> <{$menu.css}><{/if}><{if $menu.topselected}> maincurrent<{/if}>" href="<{$menu.link}>" target="<{$menu.target}>" title="<{$menu.alt_title}>"> - <{if $menu.image}><img src="<{$menu.image}>"/><{/if}><{$menu.title}></a> - <br /> -<{ if $menu.selected}> -<{ foreach item=sub from=$block}> -<{ if $menu.id == $sub.pid}> -<{ if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> - <a class="menuSub marg5<{if $sub.css}> <{$sub.css}><{/if}><{if $sub.selected}> maincurrent<{/if}>" href="<{$sub.link}>" target="<{$sub.target}>" title="<{$sub.alt_title}>"> - <{if $sub.image}><img src="<{$sub.image}>" alt="<{$sub.alt_title}>" /><{/if}><{$sub.title}></a> - <br /> -<{ /if}> -<{ /if}> -<{ /foreach}> -<{ /if}> -<{ /if}> -<{ /if}> -<{/foreach}> + <{foreach item=menu from=$block}> + <{if $menu.level == 0}> + <{assign var=myStr value="["|cat:$xoops_langcode|cat:"]"}> + <{if ($xlanguage && (($menu.title|strstr:$myStr) || ($menu.image|strstr:$myStr)) || !$xlanguage)}> + <a class="menuMain<{if $menu.css}> <{$menu.css}><{/if}><{if $menu.topselected}> maincurrent<{/if}>" href="<{$menu.link}>" target="<{$menu.target}>" title="<{$menu.alt_title}>"> + <{if $menu.image}><img src="<{$menu.image}>"/><{/if}> + <{$menu.title}> + </a> + <br/> + <{if $menu.selected}> + <{foreach item=sub from=$block}> + <{if $menu.id == $sub.pid}> + <{if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> + <a class="menuSub marg5<{if $sub.css}> <{$sub.css}><{/if}><{if $sub.selected}> maincurrent<{/if}>" href="<{$sub.link}>" target="<{$sub.target}>" title="<{$sub.alt_title}>"> + <{if $sub.image}><img src="<{$sub.image}>" alt="<{$sub.alt_title}>" /><{/if}> + <{$sub.title}> + </a> + <br/> + <{/if}> + <{/if}> + <{/foreach}> + <{/if}> + <{/if}> + <{/if}> + <{/foreach}> </div> Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/multiblack/stuHover.js =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/multiblack/stuHover.js 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/multiblack/stuHover.js 2015-01-23 13:15:29 UTC (rev 12945) @@ -30,6 +30,6 @@ this.className=this.className.replace(new RegExp(" iehover\\b"), ""); } } -} +}; if (window.attachEvent) window.attachEvent("onload", stuHover); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish/templates/template.tpl =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish/templates/template.tpl 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish/templates/template.tpl 2015-01-23 13:15:29 UTC (rev 12945) @@ -1,19 +1,19 @@ <{foreach item=menu from = $block}> -<{ if $menu.oul}> -<{ if 0 == $menu.level}> +<{if $menu.oul}> +<{if 0 == $menu.level}> <ul class="sf-menu"> -<{ else}> + <{else}> <ul> -<{ /if}> -<{ /if}> -<{ if $menu.oli}> - <li<{if $menu.css | $menu.selected}> class="<{/if}><{if $menu.css}><{$menu.css}> <{/if}><{if $menu.selected}>current<{/if}><{if $menu.css | $menu.selected}>"<{/if}>> -<{ /if}> -<{ assign var=myStr value="["|cat:$xoops_langcode|cat:"]"}> -<{ if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> - <a href="<{$menu.link}>" target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"> -<{if $main.image}> <img src="<{$menu.image}>" alt="<{$menu.alt_title}>" /><{/if}><{$menu.title}></a> -<{ if $menu.close != ''}><{$menu.close}><{/if}> -<{ /if}> -<{/foreach}> -<div style="clear: both"></div> + <{/if}> + <{/if}> + <{if $menu.oli}> + <li<{if $menu.css || $menu.selected}> class="<{/if}><{if $menu.css}><{$menu.css}> <{/if}><{if $menu.selected}>current<{/if}><{if $menu.css || $menu.selected}>"<{/if}>> + <{/if}> + <{assign var=myStr value="["|cat:$xoops_langcode|cat:"]"}> + <{if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> + <a href="<{$menu.link}>" target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"> + <{if $main.image}> <img src="<{$menu.image}>" alt="<{$menu.alt_title}>" /><{/if}><{$menu.title}></a> + <{if $menu.close != ''}><{$menu.close}><{/if}> + <{/if}> + <{/foreach}> + <div style="clear: both"></div> Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish_navbar/templates/template.tpl =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish_navbar/templates/template.tpl 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish_navbar/templates/template.tpl 2015-01-23 13:15:29 UTC (rev 12945) @@ -1,19 +1,19 @@ <{foreach item=menu from = $block}> -<{ if $menu.oul}> -<{ if 0 == $menu.level}> +<{if $menu.oul}> +<{if 0 == $menu.level}> <ul class="sf-menu sf-navbar"> -<{ else}> + <{else}> <ul> -<{ /if}> -<{ /if}> -<{ if $menu.oli}> - <li<{if $menu.css | $menu.selected}> class="<{/if}><{if $menu.css}>{<$menu.css}> <{/if}><{if $menu.selected}>current<{/if}><{if $menu.css | $menu.selected}>"<{/if}>> -<{ /if}> -<{ assign var=myStr value="["|cat:$xoops_langcode|cat:"]"}> -<{ if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> - <a href="<{$menu.link}>" target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"> -<{if $main.image}><img src="<{$menu.image}>" alt="<{$menu.alt_title}>" /><{/if}><{$menu.title}></a> -<{ /if}> -<{ if '' != $menu.close}><{$menu.close}><{/if}> -<{/foreach}> -<div style="clear:both"></div> + <{/if}> + <{/if}> + <{if $menu.oli}> + <li<{if $menu.css || $menu.selected}> class="<{/if}><{if $menu.css}>{<$menu.css}> <{/if}><{if $menu.selected}>current<{/if}><{if $menu.css || $menu.selected}>"<{/if}>> + <{/if}> + <{assign var=myStr value="["|cat:$xoops_langcode|cat:"]"}> + <{if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> + <a href="<{$menu.link}>" target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"> + <{if $main.image}><img src="<{$menu.image}>" alt="<{$menu.alt_title}>" /><{/if}><{$menu.title}></a> + <{/if}> + <{if '' != $menu.close}><{$menu.close}><{/if}> + <{/foreach}> + <div style="clear:both"></div> Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/tw_blue/templates/template.tpl =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/tw_blue/templates/template.tpl 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/tw_blue/templates/template.tpl 2015-01-23 13:15:29 UTC (rev 12945) @@ -4,37 +4,47 @@ <div class="nav-left"></div> <div class="nav"> <ul id="navigation"> -<{ foreach item=menu from=$block}> -<{ assign var=myStr value="["|cat:$xoops_langcode|cat:"]"}> -<{ if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> -<{ if 0 == $menu.level}> - <li<{if $menu.css | $menu.selected}> class="<{/if}><{if $menu.selected}>active<{/if}><{if $menu.css}> <{$menu.css}><{/if}><{if $menu.css | $menu.selected}>"<{/if}>> - <a href="<{$menu.link}>" target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"> - <span class="menu-left"></span> - <span class="menu-mid"><{if $menu.image}><img src="<{$menu.image}>" /><{/if}><{$menu.title}></span> - <span class="menu-right"></span> - </a> -<{ if $menu.hassub}> - <div class="sub"> - <ul> -<{ foreach item=sub from=$block}> -<{ if $sub.pid == $menu.id}> -<{ if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> - <li<{if $sub.class}> class="<{$sub.css}>"<{/if}>> - <a href="<{$sub.link}>" target="<{$sub.target}>" alt="<{$sub.alt_title}>" title="<{$sub.alt_title}>"> - <{if $sub.image}><img src="<{$sub.image}>" alt="<{$sub.alt_title}>" /><{/if}><{$sub.title}></a> + <{foreach item=menu from=$block}> + <{assign var=myStr value="["|cat:$xoops_langcode|cat:"]"}> + <{if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> + <{if 0 == $menu.level}> + <li<{if $menu.css || $menu.selected}> class="<{/if}> + <{if $menu.selected}>active<{/if}> + <{if $menu.css}> <{$menu.css}><{/if}> + <{if $menu.css || $menu.selected}>"<{/if}>> + <a href="<{$menu.link}>" target="<{$menu.target}>" alt="<{$menu.alt_title}>" title="<{$menu.alt_title}>"> + <span class="menu-left"></span> + <span class="menu-mid"> + <{if $menu.image}> + <img src="<{$menu.image}>"/> + <{/if}> + <{$menu.title}> + </span> + <span class="menu-right"></span> + </a> + <{if $menu.hassub}> + <div class="sub"> + <ul> + <{foreach item=sub from=$block}> + <{if $sub.pid == $menu.id}> + <{if ($xlanguage && (($menu.title|strstr:$myStr) OR ($menu.image|strstr:$myStr)) OR !$xlanguage)}> + <li<{if $sub.class}> class="<{$sub.css}>"<{/if}>> + <a href="<{$sub.link}>" target="<{$sub.target}>" alt="<{$sub.alt_title}>" title="<{$sub.alt_title}>"> + <{if $sub.image}><img src="<{$sub.image}>" alt="<{$sub.alt_title}>" /><{/if}> + <{$sub.title}> + </a> + </li> + <{/if}> + <{/if}> + <{/foreach}> + </ul> + <div class="btm-bg"></div> + </div> + <{/if}> </li> -<{ /if}> -<{ /if}> -<{ /foreach}> - </ul> - <div class="btm-bg"></div> - </div> -<{ /if}> - </li> -<{ /if}> -<{ /if}> -<{ /foreach}> + <{/if}> + <{/if}> + <{/foreach}> </ul> </div> <div class="nav-right"></div> Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/xoops_version.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/xoops_version.php 2015-01-23 13:05:09 UTC (rev 12944) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/xoops_version.php 2015-01-23 13:15:29 UTC (rev 12945) @@ -28,7 +28,7 @@ $modversion['help'] = 'page=help'; $modversion['license'] = 'GNU GPL 2.0'; $modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html"; -$modversion['official'] = 0; +$modversion['official'] = 1; //1 indicates supported by XOOPS Dev Team, 0 means 3rd party supported $modversion['image'] = "assets/images/mymenus.png"; $modversion['dirname'] = basename(__DIR__); $modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin'; |
From: <be...@us...> - 2015-01-23 13:05:22
|
Revision: 12944 http://sourceforge.net/p/xoops/svn/12944 Author: beckmi Date: 2015-01-23 13:05:09 +0000 (Fri, 23 Jan 2015) Log Message: ----------- Adding changes from Zyspec Modified Paths: -------------- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/about.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_about.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_footer.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_header.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_links.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_menus.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/index.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/menu.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/css/admin.css XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/js/hoverIntent.js XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/js/order.js XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/js/superfish.js XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/js/supersubs.js XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/blocks/mymenus_block.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/class/about.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/class/builder.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/class/links.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/class/menus.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/class/plugin.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/class/registry.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/docs/changelog.txt XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/include/functions.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/include/update.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/include/xoops.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/language/english/admin.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/plugins/constant/constant.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/plugins/dynamic/dynamic.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/plugins/mymenus/mymenus.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/plugins/smarty/smarty.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/bootstrap/skin_version.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/bootstrap/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/breadcrumb/skin_version.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/clean/skin_version.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/default/stuHover.js XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/default/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/mainmenu/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/multiblack/stuHover.js XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/multiblack/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish/css/superfish-navbar.css XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish/css/superfish-vertical.css XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish/css/superfish.css XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish/skin_version.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish_navbar/css/superfish-navbar.css XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish_navbar/css/superfish-vertical.css XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish_navbar/css/superfish.css XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish_navbar/skin_version.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/superfish_navbar/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/tw_blue/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/templates/static/mymenus_admin_links.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/templates/static/mymenus_admin_menus.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/xoops_version.php Added Paths: ----------- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/js/jquery-1.11.2.min.js XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/breadcrumb/templates/ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/breadcrumb/templates/index.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/breadcrumb/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/clean/templates/ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/clean/templates/index.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/clean/templates/template.tpl Removed Paths: ------------- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/breadcrumb/template.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/skins/clean/template.html Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/about.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/about.php 2015-01-21 18:02:19 UTC (rev 12943) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/about.php 2015-01-23 13:05:09 UTC (rev 12944) @@ -12,13 +12,13 @@ /** * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License - * @package Mytabs + * @package Mymenus * @since 1.0 * @author trabis <lus...@gm...> * @version $Id$ */ -include_once dirname(__FILE__) . '/admin_header.php'; +include_once __DIR__ . '/admin_header.php'; xoops_cp_header(); @@ -27,4 +27,4 @@ echo $aboutAdmin->addNavigation('about.php'); echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false); -include 'admin_footer.php'; +include __DIR__ . '/admin_footer.php'; Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_about.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_about.php 2015-01-21 18:02:19 UTC (rev 12943) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_about.php 2015-01-23 13:05:09 UTC (rev 12944) @@ -18,8 +18,8 @@ * @version $Id$ */ -include_once dirname(__FILE__) . '/admin_header.php'; -include_once XOOPS_ROOT_PATH . '/modules/mymenus/class/about.php'; +include_once __DIR__ . '/admin_header.php'; +include_once $GLOBALS['xoops']->path('/modules/mymenus/class/about.php'); $aboutObj = new MymenusAbout(); $aboutObj->render(); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_footer.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_footer.php 2015-01-21 18:02:19 UTC (rev 12943) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_footer.php 2015-01-23 13:05:09 UTC (rev 12944) @@ -19,10 +19,10 @@ */ echo "<div class='adminfooter'>\n" - ." <div style='text-align: center;'>\n" + ." <div class='txtcenter'>\n" ." <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" ." </div>\n" ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" - ."</div>"; + ."</div>\n"; xoops_cp_footer(); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_header.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_header.php 2015-01-21 18:02:19 UTC (rev 12943) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_header.php 2015-01-23 13:05:09 UTC (rev 12944) @@ -18,7 +18,7 @@ * @version $Id$ */ -require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; +require_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php'; if ( !@include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php') ) { redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); @@ -38,11 +38,12 @@ include_once $GLOBALS['xoops']->path('modules/mymenus/class/plugin.php'); $mymenusTpl = new XoopsTpl(); -if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { - include_once(XOOPS_ROOT_PATH."/class/template.php"); - $xoopsTpl = new XoopsTpl(); +if (!isset($GLOBALS['xoopsTpl']) || !($GLOBALS['xoopsTpl'] instanceof XoopsTpl)) { + include_once $GLOBALS['xoops']->path("/class/template.php"); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); } -$xoopsTpl->assign('pathIcon16', $pathIcon16); +$GLOBALS['xoopsTpl']->assign('pathIcon16', $pathIcon16); xoops_load('XoopsFormLoader'); +xoops_load('XoopsRequest'); xoops_loadLanguage('modinfo', 'mymenus'); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_links.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_links.php 2015-01-21 18:02:19 UTC (rev 12943) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_links.php 2015-01-23 13:05:09 UTC (rev 12944) @@ -18,7 +18,7 @@ * @version $Id$ */ -include_once dirname(__FILE__) . '/admin_header.php'; +include_once __DIR__ . '/admin_header.php'; $menus_handler =& xoops_getModuleHandler('menus', 'mymenus'); $criteria = new CriteriaCompo(); @@ -26,26 +26,36 @@ $criteria->setOrder('ASC'); $menus_list = $menus_handler->getList($criteria); -$indexAdmin = new ModuleAdmin(); +//$indexAdmin = new ModuleAdmin(); if (empty($menus_list)) { redirect_header('admin_menus.php', 1, _AM_MYMENUS_MSG_NOMENUS); exit; } -if (isset($_REQUEST['menu_id']) && in_array($_REQUEST['menu_id'], array_keys($menus_list))) { - $menu_id = $_REQUEST['menu_id']; +$valid_menu_ids = array_keys($menus_list); +if (isset($_REQUEST['mid']) && in_array($_REQUEST['mid'], $valid_menu_ids)) { + $menu_id = (int) $_REQUEST['mid']; $menu_title = $menus_list[$menu_id]; } else { $keys = array_keys($menus_list); - $menu_id = $keys[0]; - $menu_title = $menus_list[$menu_id]; + $menu_id = $valid_menu_ids[0]; //force menu id to first valid menu id in the list + $menu_title = $menus_list[$menu_id]; // and get it's title } - -$mymenusTpl->assign('menu_id', $menu_id); +$mymenusTpl->assign('mid', $menu_id); $mymenusTpl->assign('menu_title', $menu_title); $mymenusTpl->assign('menus_list', $menus_list); +$op = XoopsRequest::getCmd('op', 'list'); +$id = XoopsRequest::getInt('id', 0); +$pid = XoopsRequest::getInt('pid', 0); +$limit = XoopsRequest::getInt('limit', 15); +$start = XoopsRequest::getInt('start', 0); +$redir = XoopsRequest::getString('redir', null); +$weight = XoopsRequest::getInt('weight', 0); +$visible = XoopsRequest::getInt('visible', 0); + +/* $op = isset($_GET['op']) ? trim($_GET['op']) : (isset($_POST['op']) ? trim($_POST['op']) : 'list'); $id = isset($_GET['id']) ? intval($_GET['id']) : (isset($_POST['id']) ? intval($_POST['id']) : null); @@ -57,24 +67,25 @@ $weight = isset($_GET['weight']) ? intval($_GET['weight']) : (isset($_POST['weight']) ? intval($_POST['weight']) : 0); $visible = isset($_GET['visible']) ? intval($_GET['visible']) : (isset($_POST['visible']) ? intval($_POST['visible']) : 0); +*/ $mymenus_adminpage = 'admin_links.php'; switch ($op) { case 'add': - mymenus_admin_add(); + mymenus_admin_add($menu_id); break; case 'form': xoops_cp_header(); echo $indexAdmin->addNavigation('admin_links.php'); echo mymenus_admin_form(null, $pid); - include 'admin_footer.php'; + include __DIR__ . '/admin_footer.php'; break; case 'edit': echo mymenus_admin_form($id); break; case 'editok': - mymenus_admin_edit($id); + mymenus_admin_edit($id, $menu_id); break; case 'del': mymenus_admin_confirmdel($id, $redir); @@ -92,8 +103,8 @@ xoops_cp_header(); echo $indexAdmin->addNavigation('admin_links.php'); mymenus_admin_move($id, $weight); - echo mymenus_admin_list($start); - include 'admin_footer.php'; + echo mymenus_admin_list($start, $menu_id); + include __DIR__ . '/admin_footer.php'; break; case 'toggle': mymenus_admin_toggle($id, $visible); @@ -123,8 +134,13 @@ case 'list': default: xoops_cp_header(); + $module_handler =& xoops_gethandler('module'); + $system =& $module_handler->getByDirname('system'); + $systemConfigHandler =& xoops_gethandler('config'); + $systemConfig =& $systemConfigHandler->getConfigsByCat(0, $system->getVar('mid')); + // Add module stylesheet - $xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/ui/' . xoops_getModuleOption('jquery_theme', 'system') . '/ui.all.css'); + $xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/ui/' . $systemConfig['jquery_theme'] . '/ui.all.css'); $xoTheme->addStylesheet(XOOPS_URL . '/modules/mymenus/assets/css/admin.css'); $xoTheme->addStylesheet(XOOPS_URL . '/Frameworks/moduleclasses/moduleadmin/css/admin.css'); // Define scripts @@ -134,41 +150,45 @@ $xoTheme->addScript(XOOPS_URL . '/modules/mymenus/assets/js/order.js'); echo $indexAdmin->addNavigation('admin_links.php'); - echo mymenus_admin_list($start); + echo mymenus_admin_list($start, $menu_id); /* Disable xoops debugger in dialog window */ - include_once XOOPS_ROOT_PATH . '/class/logger/xoopslogger.php'; + include_once $GLOBALS['xoops']->path('/class/logger/xoopslogger.php'); $xoopsLogger =& XoopsLogger::getInstance(); $xoopsLogger->activated = true; error_reporting(-1); - include 'admin_footer.php'; - break; + include __DIR__ . '/admin_footer.php'; + break; } /** - * @param int $start + * Display the links in a menu * + * @param integer $start + * @param integer $menu_id + * * @return bool|mixed|string */ -function mymenus_admin_list($start = 0) +function mymenus_admin_list($start = 0, $menu_id) { - global $mymenusTpl, $menu_id; + global $mymenusTpl; - $this_handler =& xoops_getModuleHandler('links', 'mymenus'); + $links_handler =& xoops_getModuleHandler('links', 'mymenus'); - $criteria = new CriteriaCompo(new Criteria('mid', $menu_id)); + $criteria = new CriteriaCompo(new Criteria('mid', (int) $menu_id)); - $count = $this_handler->getCount($criteria); - $mymenusTpl->assign('count', $count); + $count_links = $links_handler->getCount($criteria); + $mymenusTpl->assign('count', $count_links); $criteria->setSort('weight'); $criteria->setOrder('ASC'); $menus = array(); $menusArray = array(); - if ($count > 0) { - $menus = $this_handler->getObjects($criteria); + if (($count_links > 0) && ($count_links >= (int) $start)) { + $criteria->setStart((int) $start); + $menus = $links_handler->getObjects($criteria); foreach ($menus as $menu) { $array[] = $menu->getValues(); } @@ -193,13 +213,14 @@ redirect_header($GLOBALS['mymenus_adminpage'], 1, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); } + $id = (int) $id; if ($id <= 0) { redirect_header($GLOBALS['mymenus_adminpage'], 1); } $this_handler =& xoops_getModuleHandler('links' , 'mymenus'); $obj = $this_handler->get($id); - if (!is_object($obj)) { + if ((empty($obj)) || !($obj instanceof MymenusLinks)) { redirect_header($GLOBALS['mymenus_adminpage'], 1); } @@ -209,12 +230,12 @@ $criteria->add(new Criteria('pid', $id),'OR'); //first delete links level 2 - global $xoopsDB; - $query = "DELETE FROM ".$xoopsDB->prefix("mymenus_links")." WHERE pid = ( +// global $xoopsDB; + $query = "DELETE FROM " . $GLOBALS['xoopsDB']->prefix("mymenus_links")." WHERE pid = ( SELECT id FROM ( - SELECT * FROM ".$xoopsDB->prefix("mymenus_links")." WHERE pid = ".$id.") AS sec + SELECT * FROM " . $GLOBALS['xoopsDB']->prefix("mymenus_links")." WHERE pid = {$id}) AS sec );"; - $result = $xoopsDB->queryF($query); + $result = $GLOBALS['xoopsDB']->queryF($query); //delete links level 0 and 1 if (!$this_handler->deleteAll($criteria)) { xoops_cp_header(); @@ -252,9 +273,9 @@ function mymenus_admin_confirmdel($id = null, $redir = null, $op = 'delok') { - $arr = array(); - $arr['op'] = $op; - $arr['id'] = $id; + $arr = array('op' => $op, + 'id' => $id + ); if (!is_null($redir)) { $arr['redir'] = $redir; } @@ -264,67 +285,83 @@ xoops_cp_footer(); } -function mymenus_admin_add() +function mymenus_admin_add($menu_id) { if (!$GLOBALS['xoopsSecurity']->check()) { redirect_header($GLOBALS['mymenus_adminpage'], 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); } - $this_handler =& xoops_getModuleHandler('links','mymenus'); - $criteria = new CriteriaCompo(new Criteria('mid', $_POST['mid'])); + $links_handler =& xoops_getModuleHandler('links','mymenus'); +// $criteria = new CriteriaCompo(new Criteria('mid', $_POST['mid'])); + $criteria = new CriteriaCompo(new Criteria('mid', $menu_id)); $criteria->setSort('weight'); $criteria->setOrder('DESC'); $criteria->setLimit(1); - $menus = $this_handler->getObjects($criteria); + $menus = $links_handler->getObjects($criteria); $weight = 1; - if (isset($menus[0]) && is_object($menus[0])) { + if (isset($menus[0]) && ($menus[0] instanceof MymenusLinks)) { $weight = $menus[0]->getVar('weight') + 1; } - $obj = $this_handler->create(); + $link_obj = $links_handler->create(); if (!isset($_POST['hooks'])) { $_POST['hooks'] = array(); } - $obj->setVars($_POST); - $obj->setVar('weight', $weight); + //@TODO: clean incoming POST vars + $link_obj->setVars($_POST); + $link_obj->setVar('weight', $weight); - if (!$this_handler->insert($obj)) { + if (!$links_handler->insert($link_obj)) { $msg = _AM_MYMENUS_MSG_ERROR; } else { - $this_handler->update_weights($obj); + $links_handler->update_weights($link_obj); $msg = _AM_MYMENUS_MSG_SUCCESS; } - redirect_header($GLOBALS['mymenus_adminpage'] . '?op=list&menu_id=' . $obj->getVar('mid'), 2, $msg); + redirect_header($GLOBALS['mymenus_adminpage'] . '?op=list&mid=' . $link_obj->getVar('mid'), 2, $msg); } /** - * @param $id + * @param integer $id + * @param integer $menu_id */ -function mymenus_admin_edit($id) +function mymenus_admin_edit($id, $menu_id) { if (!$GLOBALS['xoopsSecurity']->check()) { redirect_header($GLOBALS['mymenus_adminpage'], 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); } - global $menu_id; + if (empty($menu_id)) { + redirect_header($GLOBALS['mymenus_adminpage'] . "?op=list", 2, _AM_MYMENUS_MSG_MENU_INVALID_ERROR); + } + + $menu_id = (int) $menu_id; + $links_handler =& xoops_getModuleHandler('links','mymenus'); + $link_obj = $links_handler->get((int) $id); + + //if this was moved then parent could be in different menu, if so then set parent to top level + if (!empty($_POST['pid'])) { + $parent_obj = $links_handler->get($link_obj->getVar('pid')); //get the parent oject + if(($parent_obj instanceof MylinksLinks) && ($link_obj->getVar('mid') != $parent_obj->getVar('mid'))) { + $link_obj->setVar('pid', 0); + } + } /* Disable xoops debugger in dialog window */ - include_once XOOPS_ROOT_PATH.'/class/logger/xoopslogger.php'; + include_once $GLOBALS['xoops']->path('/class/logger/xoopslogger.php'); $xoopsLogger =& XoopsLogger::getInstance(); $xoopsLogger->activated = false; error_reporting(0); - $this_handler =& xoops_getModuleHandler('links','mymenus'); - $obj = $this_handler->get($id); - $obj->setVars($_POST); + // @TODO: clean incoming POST vars + $link_obj->setVars($_POST); - if (!$this_handler->insert($obj)) { + if (!$links_handler->insert($link_obj)) { $msg = _AM_MYMENUS_MSG_ERROR; } else { $msg = _AM_MYMENUS_MSG_SUCCESS; } - redirect_header($GLOBALS['mymenus_adminpage'] . "?op=list&menu_id=$menu_id", 2, $msg); + redirect_header($GLOBALS['mymenus_adminpage'] . "?op=list&mid={$menu_id}", 2, $msg); } /** @@ -333,15 +370,15 @@ * * @return string */ -function mymenus_admin_form($id = null, $pid = null) +function mymenus_admin_form($id = null, $pid = null, $menu_id = null) { /* Disable xoops debugger in dialog window */ - include_once XOOPS_ROOT_PATH.'/class/logger/xoopslogger.php'; + include_once $GLOBALS['xoops']->path('/class/logger/xoopslogger.php'); $xoopsLogger =& XoopsLogger::getInstance(); $xoopsLogger->activated = false; error_reporting(0); - global $menu_id; + global $pathIcon16; $registry =& MymenusRegistry::getInstance(); $plugin =& MymenusPlugin::getInstance(); @@ -351,7 +388,7 @@ if (isset($id)) { $ftitle = _EDIT; - $obj = $this_handler->get($id); + $obj = $this_handler->get((int) $id); $objArray = $obj->getValues(); } else { @@ -359,33 +396,42 @@ $obj = $this_handler->create(); $objArray = $obj->getValues(); if (isset($pid)) { - $objArray['pid'] = $pid; + $objArray['pid'] = (int) $pid; } + if (isset($menu_id)) { + $objArray['mid'] = (int) $menu_id; + } } - $form = new XoopsThemeForm($ftitle, 'admin_form', $GLOBALS['mymenus_adminpage'], "post", true); $formtitle = new XoopsFormText(_AM_MYMENUS_MENU_TITLE, 'title', 50, 255, $objArray['title']); $formalttitle = new XoopsFormText(_AM_MYMENUS_MENU_ALTTITLE, 'alt_title', 50, 255, $objArray['alt_title']); - + // display menu options (if more than 1 menu available + $menus_handler =& xoops_getmodulehandler('menus', 'mymenus'); + $criteria = new CriteriaCompo(); + $criteria->setSort('title'); + $criteria->setOrder('ASC'); + $menus_list = $menus_handler->getList($criteria); + if (count($menus_list > 1)) { + if (null == $objArray['mid']) { // initial menu value not set + $menu_values = array_flip($menu_list); + $formmid = new XoopsFormSelect('Menu', 'mid', array_shift($menu_values)); + } else { + $formmid = new XoopsFormSelect('Menu', 'mid', $objArray['mid']); + } + $formmid->addOptionArray($menus_list); + } else { + $menu_keys = array_keys($menu_list); + $menu_title = array_shift($menu_list); + $formmid = new XoopsFormElementTray('Menu'); + $formmid->addElement(new XoopsFormHidden('mid', $menu_keys[0])); + $formmid->addElement(new XoopsFormLabel('', $menu_title, 'menu_title')); + } $formlink = new XoopsFormText(_AM_MYMENUS_MENU_LINK, 'link', 50, 255, $objArray['link']); $formimage = new XoopsFormText(_AM_MYMENUS_MENU_IMAGE, 'image', 50, 255, $objArray['image']); - $criteria = new CriteriaCompo(new Criteria('mid', $menu_id)); - $criteria->add(new Criteria('id', $id, '<>')); - $criteria->setSort('weight'); - $criteria->setOrder('ASC'); - - global $xoopsModule; - $pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); - - $statontxt - = " <img src=". $pathIcon16 .'/1.png'.' '. "alt='" ._YES . "' /> " . _YES - . " "; - $statofftxt - = " <img src=". $pathIcon16 .'/0.png' .' '."alt='" . _NO . "' /> " - . _NO . " "; + $statontxt = " <img src='{$pathIcon16}/1.png' alt='" ._YES . "' /> " . _YES . " "; + $statofftxt = " <img src='{$pathIcon16}/0.png' alt='" . _NO . "' /> " . _NO . " "; $formvis = new XoopsFormRadioYN(_AM_MYMENUS_MENU_VISIBLE, 'visible', $objArray['visible'], $statontxt, $statofftxt); -//---------------mamba $formtarget = new XoopsFormSelect(_AM_MYMENUS_MENU_TARGET, "target", $objArray['target']); $formtarget->addOption("_self", _AM_MYMENUS_MENU_TARG_SELF); @@ -400,6 +446,7 @@ $form->addElement($formtitle, true); $form->addElement($formalttitle); + $form->addElement($formmid); $form->addElement($formlink); $form->addElement($formimage); $form->addElement($formparent); @@ -415,9 +462,9 @@ $btn = new XoopsFormButton('', 'reset', _CANCEL, 'button'); if (isset($id)) { - $btn->setExtra('onclick="document.location.href=\'' . $GLOBALS['mymenus_adminpage'] . '?op=list&menu_id=' . $menu_id . ' \'"'); + $btn->setExtra("onclick=\"document.location.href='" . $GLOBALS['mymenus_adminpage'] . "?op=list&mid={$menu_id}'\""); } else { - $btn->setExtra('onclick="document.getElementById(\'addform\').style.display = \'none\'; return false;"'); + $btn->setExtra("onclick=\"document.getElementById('addform').style.display = 'none'; return false;\""); } $tray->addElement($btn); @@ -430,21 +477,21 @@ $form->addElement(new XoopsFormHidden('op', 'add')); } - $form->addElement(new XoopsFormHidden('mid', $menu_id)); - $form->addElement(new XoopsFormHidden('menu_id', $menu_id)); - return $form->render(); } /** - * @param $id - * @param $weight + * + * Update the {@see MymenusLinks} weight (order) + * + * @param integer $id of links object + * @param integer $weight */ function mymenus_admin_move($id, $weight) { $this_handler =& xoops_getModuleHandler('links', 'mymenus'); - $obj = $this_handler->get($id); - $obj->setVar('weight', $weight); + $obj = $this_handler->get((int) $id); + $obj->setVar('weight', (int) $weight); $this_handler->insert($obj); $this_handler->update_weights($obj); } @@ -455,14 +502,14 @@ */ function mymenus_admin_toggle($id, $visible) { - include_once XOOPS_ROOT_PATH.'/class/logger/xoopslogger.php'; + include_once $GLOBALS['xoops']->path('/class/logger/xoopslogger.php'); $xoopsLogger =& XoopsLogger::getInstance(); $xoopsLogger->activated = true; error_reporting(0); $this_handler =& xoops_getModuleHandler('links', 'mymenus'); - $obj = $this_handler->get($id); - $visible = ($obj->getVar('visible') == 1) ? 0 : 1; + $obj = $this_handler->get((int) $id); + $visible = (1 == $obj->getVar('visible')) ? 0 : 1; $obj->setVar('visible', $visible); $this_handler->insert($obj); echo $obj->getVar('visible'); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_menus.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_menus.php 2015-01-21 18:02:19 UTC (rev 12943) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_menus.php 2015-01-23 13:05:09 UTC (rev 12944) @@ -18,8 +18,14 @@ * @version $Id$ */ -include_once dirname(__FILE__) . '/admin_header.php'; +include_once __DIR__ . '/admin_header.php'; +$op = XoopsRequest::getCmd('op', 'list'); +$id = XoopsRequest::getInt('id', null); +$limit = XoopsRequest::getInt('limit', 15); +$start = XoopsRequest::getInt('start', 0); +$redir = XoopsRequest::getString('redir', null); +/* $op = isset($_GET['op']) ? trim($_GET['op']) : (isset($_POST['op']) ? trim($_POST['op']) : 'list'); $id = isset($_GET['id']) ? intval($_GET['id']) : (isset($_POST['id']) ? intval($_POST['id']) : null); @@ -27,7 +33,7 @@ $limit = isset($_GET['limit']) ? intval($_GET['limit']) : (isset($_POST['limit']) ? intval($_POST['limit']) : 15); $start = isset($_GET['start']) ? intval($_GET['start']) : (isset($_POST['start']) ? intval($_POST['start']) : 0); $redir = isset($_GET['redir']) ? $_GET['redir'] : (isset($_POST['redir']) ? $_POST['redir'] : null); - +*/ $mymenus_adminpage = 'admin_menus.php'; switch ($op) { @@ -60,24 +66,27 @@ default: xoops_cp_header(); echo $indexAdmin->addNavigation('admin_menus.php'); - echo mymenus_admin_list($start); + echo mymenus_admin_list($start, $limit); include 'admin_footer.php'; break; } /** - * @param int $start + * @param integer $start + * @param integer $limit * * @return bool|mixed|string */ -function mymenus_admin_list($start = 0) +function mymenus_admin_list($start = 0, $limit) { - global $mymenusTpl, $limit; + global $mymenusTpl; $myts =& MyTextSanitizer::getInstance(); + $limit = (int) $limit; $this_handler =& xoops_getModuleHandler('menus', 'mymenus'); - $query = isset($_POST['query']) ? $_POST['query'] : null; + $query = XoopsRequest::getString('query', null, 'POST'); +// $query = isset($_POST['query']) ? $_POST['query'] : null; $mymenusTpl->assign('query', $query); $criteria = new CriteriaCompo(); @@ -98,7 +107,7 @@ if ($count > $limit) { xoops_load('XoopsPagenav'); $nav = new XoopsPageNav($count, $limit, $start, 'start', 'op=list'); - $mymenusTpl->assign('pag', '<div style="float:left; padding-top:2px;" align="center">' . $nav->renderNav() . '</div>'); + $mymenusTpl->assign('pag', '<div style="float:left; padding-top:2px; vertical-align: center;">' . $nav->renderNav() . '</div>'); } else { $mymenusTpl->assign('pag', ''); } @@ -129,19 +138,19 @@ redirect_header($GLOBALS['mymenus_adminpage'], 1, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); } - if ($id <= 0) { + if ((int) $id <= 0) { redirect_header($GLOBALS['mymenus_adminpage'], 1); } $this_handler =& xoops_getModuleHandler('menus' , 'mymenus'); - $obj = $this_handler->get($id); + $obj = $this_handler->get((int) $id); if (!is_object($obj)) { redirect_header($GLOBALS['mymenus_adminpage'], 1); } if (!$this_handler->delete($obj)) { xoops_cp_header(); - xoops_error(_AM_MYMENUS_MSG_ERROR, $obj->getVar('id')); + xoops_error(_AM_MYMENUS_MSG_DELETE_MENU_ERROR, $obj->getVar('id')); xoops_cp_footer(); exit(); } @@ -151,7 +160,7 @@ $this_handler->deleteAll($criteria); unset($criteria); - redirect_header(!is_null($redir) ? base64_decode($redir) : $GLOBALS['mymenus_adminpage'] , 2, _AM_MYMENUS_MSG_SUCCESS); + redirect_header(!is_null($redir) ? base64_decode($redir) : $GLOBALS['mymenus_adminpage'] , 2, _AM_MYMENUS_MSG_DELETE_MENU_SUCCESS); } /** @@ -163,7 +172,7 @@ redirect_header($GLOBALS['mymenus_adminpage'], 1, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); } - $this_handler =& xoops_getModuleHandler('menus' , 'mymenus'); + $this_handler =& xoops_getModuleHandler('menus', 'mymenus'); if (!$this_handler->deleteAll()) { redirect_header(!is_null($redir) ? base64_decode($redir) : $GLOBALS['mymenus_adminpage'] , 2, _AM_MYMENUS_MSG_ERROR); @@ -180,8 +189,8 @@ function mymenus_admin_confirmdel($id = null, $redir = null, $op = 'delok') { $arr = array(); - $arr['op'] = $op; - $arr['id'] = $id; + $arr['op'] = XoopsFilterInput::clean($op, 'CMD'); + $arr['id'] = XoopsFilterInput::clean($id, 'INT'); if (!is_null($redir)) { $arr['redir'] = $redir; } @@ -198,12 +207,16 @@ $this_handler =& xoops_getModuleHandler('menus','mymenus'); $obj = $this_handler->create(); - $obj->setVars($_POST); + $obj->setVars(array('title' => XoopsRequest::getString('title', '', 'POST'), + 'css' => XoopsRequest::getString('css', '', 'POST')) + ); +// $obj->setVars($_POST); + if (!$this_handler->insert($obj)) { - $msg = _AM_MYMENUS_MSG_ERROR; + $msg = _AM_MYMENUS_MSG_ADD_MENU_ERROR; } else { - $msg = _AM_MYMENUS_MSG_SUCCESS; + $msg = _AM_MYMENUS_MSG_ADD_MENU_SUCCESS; } redirect_header($GLOBALS['mymenus_adminpage'] . '?op=list', 2, $msg); @@ -218,13 +231,17 @@ redirect_header($GLOBALS['mymenus_adminpage'], 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); } $this_handler =& xoops_getmodulehandler('menus','mymenus'); - $obj = $this_handler->get($id); - $obj->setVars($_POST); + $obj = $this_handler->get((int) $id); + $obj->setVars(array('title' => XoopsRequest::getString('title', '', 'POST'), + 'css' => XoopsRequest::getString('css', '', 'POST')) + ); +// $obj->setVars($_POST); + if (!$this_handler->insert($obj)) { - $msg = _AM_MYMENUS_MSG_ERROR; + $msg = _AM_MYMENUS_MSG_EDIT_MENU_ERROR; } else { - $msg = _AM_MYMENUS_MSG_SUCCESS; + $msg = _AM_MYMENUS_MSG_EDIT_MENU_SUCCESS; } redirect_header($GLOBALS['mymenus_adminpage'] . '?op=list', 2, $msg); @@ -238,13 +255,13 @@ function mymenus_admin_form($id = null) { $this_handler =& xoops_getmodulehandler('menus','mymenus'); - $objArray = array(); +// $objArray = array(); if (isset($id)) { $ftitle = _EDIT; + $id = (int) $id; $obj = $this_handler->get($id); $objArray = $obj->getValues(); - } else { $ftitle = _ADD; $obj = $this_handler->create(); @@ -254,29 +271,25 @@ $form = new XoopsThemeForm($ftitle, 'admin_form', $GLOBALS['mymenus_adminpage'], "post", true); $form->addElement(new XoopsFormText(_AM_MYMENUS_MENU_TITLE, 'title', 50, 255, $objArray['title']), true); // - $form->addElement(new XoopsFormText(_AM_MYMENUS_MENU_CSS, 'css', 50, 255, $objArray['css']),false); + $form->addElement(new XoopsFormText(_AM_MYMENUS_MENU_CSS, 'css', 50, 255, $objArray['css']), false); // - $tray = new XoopsFormElementTray('' ,''); + $tray = new XoopsFormElementTray('', ''); $tray->addElement(new XoopsFormButton('', 'submit_button', _SUBMIT, 'submit')); $btn = new XoopsFormButton('', 'reset', _CANCEL, 'button'); if (isset($id)) { + $form->addElement(new XoopsFormHidden('op', 'editok')); + $form->addElement(new XoopsFormHidden('id', $id)); $btn->setExtra('onclick="document.location.href=\'' . $GLOBALS['mymenus_adminpage'] . '?op=list\'"'); } else { + $form->addElement(new XoopsFormHidden('op', 'add')); $btn->setExtra('onclick="document.getElementById(\'addform\').style.display = \'none\'; return false;"'); } $tray->addElement($btn); $form->addElement($tray); - if (isset($id)) { - $form->addElement(new XoopsFormHidden('op', 'editok')); - $form->addElement(new XoopsFormHidden('id', $id)); - } else { - $form->addElement(new XoopsFormHidden('op', 'add')); - } - return $form->render(); } Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/index.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/index.php 2015-01-21 18:02:19 UTC (rev 12943) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/index.php 2015-01-23 13:05:09 UTC (rev 12944) @@ -18,12 +18,12 @@ * @version $Id$ */ -//require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; -include_once dirname(__FILE__) . '/admin_header.php'; +//require_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php'; +include_once __DIR__ . '/admin_header.php'; - xoops_cp_header(); +xoops_cp_header(); - echo $indexAdmin->addNavigation('index.php'); - echo $indexAdmin->renderIndex(); +echo $indexAdmin->addNavigation('index.php'); +echo $indexAdmin->renderIndex(); - include 'admin_footer.php'; +include __DIR__ . '/admin_footer.php'; Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/menu.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/menu.php 2015-01-21 18:02:19 UTC (rev 12943) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/menu.php 2015-01-23 13:05:09 UTC (rev 12944) @@ -18,32 +18,30 @@ * @version $Id$ */ -defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined"); +defined("XOOPS_ROOT_PATH") || exit("Restricted access"); -$dirname = basename(dirname(dirname(__FILE__))); +$dirname = basename(dirname(__DIR__)); $module_handler = xoops_gethandler('module'); -$module = $module_handler->getByDirname($dirname); -$pathIcon32 = $module->getInfo('icons32'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); xoops_loadLanguage('admin', $dirname); -$i = 0; -++$i; -$adminmenu[$i]["title"] = _MI_MYMENUS_ADMMENU0; -$adminmenu[$i]["link"] = 'admin/index.php'; -$adminmenu[$i]["icon"] = $pathIcon32.'/home.png'; -++$i; -$adminmenu[$i]['title'] = _MI_MYMENUS_MENUSMANAGER; -$adminmenu[$i]['link'] = "admin/admin_menus.php"; -$adminmenu[$i]["icon"] = $pathIcon32.'/manage.png'; -++$i; -$adminmenu[$i]['title'] = _MI_MYMENUS_MENUMANAGER; -$adminmenu[$i]['link'] = "admin/admin_links.php"; -$adminmenu[$i]["icon"] = $pathIcon32.'/insert_table_row.png'; -++$i; -$adminmenu[$i]['title'] = _MI_MYMENUS_ABOUT; -$adminmenu[$i]['link'] = "admin/about.php"; -$adminmenu[$i]["icon"] = $pathIcon32.'/about.png'; +$adminmenu = array(array('title' => _MI_MYMENUS_ADMMENU0, + 'link' => 'admin/index.php', + 'icon' => "{$pathIcon32}/home.png"), + array('title' => _MI_MYMENUS_MENUSMANAGER, + 'link' => "admin/admin_menus.php", + 'icon' => "{$pathIcon32}/manage.png"), + + array('title' => _MI_MYMENUS_MENUMANAGER, + 'link' => "admin/admin_links.php", + 'icon' => "{$pathIcon32}/insert_table_row.png"), + + array('title' => _MI_MYMENUS_ABOUT, + 'link' => "admin/about.php", + 'icon' => "{$pathIcon32}/about.png") +); + //$mymenus_adminmenu = $adminmenu; -unset($i); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/css/admin.css =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/css/admin.css 2015-01-21 18:02:19 UTC (rev 12943) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/css/admin.css 2015-01-23 13:05:09 UTC (rev 12944) @@ -1,115 +1,115 @@ /* Sortable link list*/ .mjs-nestedSortable-error { - background: #fbe3e4; - border-color: transparent; + background: #fbe3e4; + border-color: transparent; } - ol { - margin: 0; + ol { + margin: 0; padding: 0 0 0 30px; } - ol.sortable, ol.sortable ol { - margin: 0 0 0 25px; - padding: 0; - list-style-type: none; - } + ol.sortable, ol.sortable ol { + margin: 0 0 0 25px; + padding: 0; + list-style-type: none; + } - ol.sortable { - margin: 2em 0 4em 0; - } + ol.sortable { + margin: 2em 0 4em 0; + } - .sortable li { - margin: 5px 0 0 0; - padding: 0; - list-style: none; - } + .sortable li { + margin: 5px 0 0 0; + padding: 0; + list-style: none; + } - .sortable li div { - border: 1px solid #d4d4d4; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - border-color: #D4D4D4 #D4D4D4 #BCBCBC; - padding: 6px; - line-height: 16px; - margin: 0; - cursor: move; - background: #f6f6f6; - background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); - background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); - background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); - background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); - background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#ededed 100%); - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); - } + .sortable li div { + border: 1px solid #d4d4d4; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + border-color: #D4D4D4 #D4D4D4 #BCBCBC; + padding: 6px; + line-height: 16px; + margin: 0; + cursor: move; + background: #f6f6f6; + background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); + background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); + background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); + background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); + background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#ededed 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); + } - .sortable li.mjs-nestedSortable-branch div { - background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #f0ece9 100%); - background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#f0ece9 100%); + .sortable li.mjs-nestedSortable-branch div { + background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #f0ece9 100%); + background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#f0ece9 100%); - } + } - .sortable li.mjs-nestedSortable-leaf div { - background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #bcccbc 100%); - background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#bcccbc 100%); + .sortable li.mjs-nestedSortable-leaf div { + background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #bcccbc 100%); + background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#bcccbc 100%); - } + } - li.mjs-nestedSortable-collapsed.mjs-nestedSortable-hovering div { - border-color: #999; - background: #fafafa; - } + li.mjs-nestedSortable-collapsed.mjs-nestedSortable-hovering div { + border-color: #999; + background: #fafafa; + } - .disclose { - cursor: pointer; - width: 10px; - display: none; - } + .disclose { + cursor: pointer; + width: 10px; + display: none; + } - .sortable li.mjs-nestedSortable-collapsed > ol { - display: none; - } + .sortable li.mjs-nestedSortable-collapsed > ol { + display: none; + } - .sortable li.mjs-nestedSortable-branch > div > .disclose { - display: inline-block; - } + .sortable li.mjs-nestedSortable-branch > div > .disclose { + display: inline-block; + } - .sortable li.mjs-nestedSortable-collapsed > div > .disclose > span:before { - content: '+ '; - } + .sortable li.mjs-nestedSortable-collapsed > div > .disclose > span:before { + content: '+ '; + } - .sortable li.mjs-nestedSortable-expanded > div > .disclose > span:before { - content: '- '; - } + .sortable li.mjs-nestedSortable-expanded > div > .disclose > span:before { + content: '- '; + } - .ui-state-highlight{height: 2.2em; line-height: 1.7em} - .ui-state-hover, button:hover{padding: 0;} - .ui-xbutton, button:hover .ui-xbutton{ - border: 1px solid #D3D3D3; - color: #555555; - font-weight: normal; - padding: 5px !important; - margin-right: 0 !important; + .ui-state-highlight{height: 2.2em; line-height: 1.7em} + .ui-state-hover, button:hover{padding: 0;} + .ui-xbutton, button:hover .ui-xbutton{ + border: 1px solid #D3D3D3; + color: #555555; + font-weight: normal; + padding: 5px !important; + margin-right: 0 !important; } - li.ui-state-default {list-style:none outside none !important;} - li.ui-state-default > div{overflow: hidden;} - #changemenu{float:right;} - .select-options{ + li.ui-state-default {list-style:none outside none !important;} + li.ui-state-default > div{overflow: hidden;} + #changemenu{float:right;} + .select-options{ background: #FFFFFF none; border: 1px solid #D3D3D3 !important; - border-radius: 4px; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset; - color: #555555; - font-size: 12px; - height: 30px; - line-height: 1.42857; - padding: 6px 12px; - transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s; - vertical-align: middle; - display: block; - margin-bottom: 3px; - } + border-radius: 4px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset; + color: #555555; + font-size: 12px; + height: 30px; + line-height: 1.42857; + padding: 6px 12px; + transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s; + vertical-align: middle; + display: block; + margin-bottom: 3px; + } -.discrete{color: #9D9D9D; text-align:right;} +.discrete{color: #9D9D9D; text-align: right;} Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/js/hoverIntent.js =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/js/hoverIntent.js 2015-01-21 18:02:19 UTC (rev 12943) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/js/hoverIntent.js 2015-01-23 13:05:09 UTC (rev 12944) @@ -1,84 +1,115 @@ -(function($){ - /* hoverIntent by Brian Cherne */ - $.fn.hoverIntent = function(f,g) { - // default configuration options - var cfg = { - sensitivity: 7, - interval: 100, - timeout: 0 - }; - // override configuration options with user supplied object - cfg = $.extend(cfg, g ? { over: f, out: g } : f ); +/*! + * hoverIntent v1.8.1 // 2014.08.11 // jQuery v1.9.1+ + * http://cherne.net/brian/resources/jquery.hoverIntent.html + * + * You may use hoverIntent under the terms of the MIT license. Basically that + * means you are free to use hoverIntent as long as this header is left intact. + * Copyright 2007, 2014 Brian Cherne + */ - // instantiate variables - // cX, cY = current X and Y position of mouse, updated by mousemove event - // pX, pY = previous X and Y position of mouse, set by mouseover and polling interval - var cX, cY, pX, pY; +/* hoverIntent is similar to jQuery's built-in "hover" method except that + * instead of firing the handlerIn function immediately, hoverIntent checks + * to see if the user's mouse has slowed down (beneath the sensitivity + * threshold) before firing the event. The handlerOut function is only + * called after a matching handlerIn. + * + * // basic usage ... just like .hover() + * .hoverIntent( handlerIn, handlerOut ) + * .hoverIntent( handlerInOut ) + * + * // basic usage ... with event delegation! + * .hoverIntent( handlerIn, handlerOut, selector ) + * .hoverIntent( handlerInOut, selector ) + * + * // using a basic configuration object + * .hoverIntent( config ) + * + * @param handlerIn function OR configuration object + * @param handlerOut function OR selector for delegation OR undefined + * @param selector selector OR undefined + * @author Brian Cherne <brian(at)cherne(dot)net> + */ +(function($) { + $.fn.hoverIntent = function(handlerIn,handlerOut,selector) { - // A private function for getting mouse position - var track = function(ev) { - cX = ev.pageX; - cY = ev.pageY; - }; + // default configuration values + var cfg = { + interval: 100, + sensitivity: 6, + timeout: 0 + }; - // A private function for comparing current and previous mouse position - var compare = function(ev,ob) { - ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); - // compare mouse positions to see if they've crossed the threshold - if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) { - $(ob).unbind("mousemove",track); - // set hoverIntent state to true (so mouseOut can be called) - ob.hoverIntent_s = 1; - return cfg.over.apply(ob,[ev]); - } else { - // set previous coordinates for next time - pX = cX; pY = cY; - // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs) - ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval ); - } - }; + if ( typeof handlerIn === "object" ) { + cfg = $.extend(cfg, handlerIn ); + } else if ($.isFunction(handlerOut)) { + cfg = $.extend(cfg, { over: handlerIn, out: handlerOut, selector: selector } ); + } else { + cfg = $.extend(cfg, { over: handlerIn, out: handlerIn, selector: handlerOut } ); + } - // A private function for delaying the mouseOut function - var delay = function(ev,ob) { - ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); - ob.hoverIntent_s = 0; - return cfg.out.apply(ob,[ev]); - }; + // instantiate variables + // cX, cY = current X and Y position of mouse, updated by mousemove event + // pX, pY = previous X and Y position of mouse, set by mouseover and polling interval + var cX, cY, pX, pY; - // A private function for handling mouse 'hovering' - var handleHover = function(e) { - // next three lines copied from jQuery.hover, ignore children onMouseOver/onMouseOut - var p = (e.type == "mouseover" ? e.fromElement : e.toElement) || e.relatedTarget; - while ( p && p != this ) { try { p = p.parentNode; } catch(e) { p = this; } } - if ( p == this ) { return false; } + // A private function for getting mouse position + var track = function(ev) { + cX = ev.pageX; + cY = ev.pageY; + }; - // copy objects to be passed into t (required for event object to be passed in IE) - var ev = jQuery.extend({},e); - var ob = this; + // A private function for comparing current and previous mouse position + var compare = function(ev,ob) { + ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); + // compare mouse positions to see if they've crossed the threshold + if ( Math.sqrt( (pX-cX)*(pX-cX) + (pY-cY)*(pY-cY) ) < cfg.sensitivity ) { + $(ob).off("mousemove.hoverIntent",track); + // set hoverIntent state to true (so mouseOut can be called) + ob.hoverIntent_s = true; + return cfg.over.apply(ob,[ev]); + } else { + // set previous coordinates for next time + pX = cX; pY = cY; + // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs) + ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval ); + } + }; - // cancel hoverIntent timer if it exists - if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); } + // A private function for delaying the mouseOut function + var delay = function(ev,ob) { + ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); + ob.hoverIntent_s = false; + return cfg.out.apply(ob,[ev]); + }; - // else e.type == "onmouseover" - if (e.type == "mouseover") { - // set "previous" X and Y position based on initial entry point - pX = ev.pageX; pY = ev.pageY; - // update "current" X and Y position based on mousemove - $(ob).bind("mousemove",track); - // start polling interval (self-calling timeout) to compare mouse coordinates over time - if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );} + // A private function for handling mouse 'hovering' + var handleHover = function(e) { + // copy objects to be passed into t (required for event object to be passed in IE) + var ev = $.extend({},e); + var ob = this; - // else e.type == "onmouseout" - } else { - // unbind expensive mousemove event - $(ob).unbind("mousemove",track); - // if hoverIntent state is true, then call the mouseOut function after the specified delay - if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );} - } - }; + // cancel hoverIntent timer if it exists + if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); } - // bind the function to the two event listeners - return this.mouseover(handleHover).mouseout(handleHover); - }; - -})(jQuery); \ No newline at end of file + // if e.type === "mouseenter" + if (e.type === "mouseenter") { + // set "previous" X and Y position based on initial entry point + pX = ev.pageX; pY = ev.pageY; + // update "current" X and Y position based on mousemove + $(ob).on("mousemove.hoverIntent",track); + // start polling interval (self-calling timeout) to compare mouse coordinates over time + if (!ob.hoverIntent_s) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );} + + // else e.type == "mouseleave" + } else { + // unbind expensive mousemove event + $(ob).off("mousemove.hoverIntent",track); + // if hoverIntent state is true, then call the mouseOut function after the specified delay + if (ob.hoverIntent_s) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );} + } + }; + + // listen for mouseenter and mouseleave + return this.on({'mouseenter.hoverIntent':handleHover,'mouseleave.hoverIntent':handleHover}, cfg.selector); + }; +})(jQuery); Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/js/jquery-1.11.2.min.js =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/js/jquery-1.11.2.min.js (rev 0) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/js/jquery-1.11.2.min.js 2015-01-23 13:05:09 UTC (rev 12944) @@ -0,0 +1,4 @@ +/*! jQuery v1.11.2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.2",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.lengt... [truncated message content] |
From: <zy...@us...> - 2015-01-21 18:02:27
|
Revision: 12943 http://sourceforge.net/p/xoops/svn/12943 Author: zyspec Date: 2015-01-21 18:02:19 +0000 (Wed, 21 Jan 2015) Log Message: ----------- update for cumulus block Added Paths: ----------- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/cumulus.swf XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/js/swfobject.js XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/templates/blocks/tag_block_cumulus.tpl Removed Paths: ------------- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/templates/blocks/tag_block_cumulus.tpl Added: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/cumulus.swf =================================================================== (Binary files differ) Index: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/cumulus.swf =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/cumulus.swf 2015-01-21 17:46:17 UTC (rev 12942) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/cumulus.swf 2015-01-21 18:02:19 UTC (rev 12943) Property changes on: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/cumulus.swf ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/js/swfobject.js =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/js/swfobject.js (rev 0) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/js/swfobject.js 2015-01-21 18:02:19 UTC (rev 12943) @@ -0,0 +1,133 @@ +/** + * SWFObject v1.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/ + * + * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License: + * http://www.opensource.org/licenses/mit-license.php + * + * **SWFObject is the SWF embed script formarly known as FlashObject. The name was changed for + * legal reasons. + */ +if(typeof deconcept=="undefined"){var deconcept=new Object();} +if(typeof deconcept.util=="undefined"){deconcept.util=new Object();} +if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();} +deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){ +if(!document.createElement||!document.getElementById){return;} +this.DETECT_KEY=_b?_b:"detectflash"; +this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY); +this.params=new Object(); +this.variables=new Object(); +this.attributes=new Array(); +if(_1){this.setAttribute("swf",_1);} +if(id){this.setAttribute("id",id);} +if(w){this.setAttribute("width",w);} +if(h){this.setAttribute("height",h);} +if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));} +this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion(this.getAttribute("version"),_7); +if(c){this.addParam("bgcolor",c);} +var q=_8?_8:"high"; +this.addParam("quality",q); +this.setAttribute("useExpressInstall",_7); +this.setAttribute("doExpressInstall",false); +var _d=(_9)?_9:window.location; +this.setAttribute("xiRedirectUrl",_d); +this.setAttribute("redirectUrl",""); +if(_a){this.setAttribute("redirectUrl",_a);}}; +deconcept.SWFObject.prototype={setAttribute:function(_e,_f){ +this.attributes[_e]=_f; +},getAttribute:function(_10){ +return this.attributes[_10]; +},addParam:function(_11,_12){ +this.params[_11]=_12; +},getParams:function(){ +return this.params; +},addVariable:function(_13,_14){ +this.variables[_13]=_14; +},getVariable:function(_15){ +return this.variables[_15]; +},getVariables:function(){ +return this.variables; +},getVariablePairs:function(){ +var _16=new Array(); +var key; +var _18=this.getVariables(); +for(key in _18){ +_16.push(key+"="+_18[key]);} +return _16; +},getSWFHTML:function(){ +var _19=""; +if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){ +if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");} +_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\""; +_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" "; +var _1a=this.getParams(); +for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";} +var _1c=this.getVariablePairs().join("&"); +if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";} +_19+="/>"; +}else{ +if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");} +_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">"; +_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />"; +var _1d=this.getParams(); +for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";} +var _1f=this.getVariablePairs().join("&"); +if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";} +_19+="</object>";} +return _19; +},write:function(_20){ +if(this.getAttribute("useExpressInstall")){ +var _21=new deconcept.PlayerVersion([6,0,65]); +if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){ +this.setAttribute("doExpressInstall",true); +this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl"))); +document.title=document.title.slice(0,47)+" - Flash Player Installation"; +this.addVariable("MMdoctitle",document.title);}} +if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){ +var n=(typeof _20=="string")?document.getElementById(_20):_20; +n.innerHTML=this.getSWFHTML(); +return true; +}else{ +if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}} +return false;}}; +deconcept.SWFObjectUtil.getPlayerVersion=function(_23,_24){ +var _25=new deconcept.PlayerVersion([0,0,0]); +if(navigator.plugins&&navigator.mimeTypes.length){ +var x=navigator.plugins["Shockwave Flash"]; +if(x&&x.description){_25=new deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));} +}else{try{ +var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); +for(var i=3;axo!=null;i++){ +axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i); +_25=new deconcept.PlayerVersion([i,0,0]);}} +catch(e){} +if(_23&&_25.major>_23.major){return _25;} +if(!_23||((_23.minor!=0||_23.rev!=0)&&_25.major==_23.major)||_25.major!=6||_24){ +try{_25=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));} +catch(e){}}} +return _25;}; +deconcept.PlayerVersion=function(_29){ +this.major=parseInt(_29[0])!=null?parseInt(_29[0]):0; +this.minor=parseInt(_29[1])||0; +this.rev=parseInt(_29[2])||0;}; +deconcept.PlayerVersion.prototype.versionIsValid=function(fv){ +if(this.major<fv.major){return false;} +if(this.major>fv.major){return true;} +if(this.minor<fv.minor){return false;} +if(this.minor>fv.minor){return true;} +if(this.rev<fv.rev){return false;}return true;}; +deconcept.util={getRequestParameter:function(_2b){ +var q=document.location.search||document.location.hash; +if(q){ +var _2d=q.indexOf(_2b+"="); +var _2e=(q.indexOf("&",_2d)>-1)?q.indexOf("&",_2d):q.length; +if(q.length>1&&_2d>-1){ +return q.substring(q.indexOf("=",_2d)+1,_2e); +}}return "";}}; +if(Array.prototype.push==null){ +Array.prototype.push=function(_2f){ +this[this.length]=_2f; +return this.length;};} +var getQueryParamValue=deconcept.util.getRequestParameter; +var FlashObject=deconcept.SWFObject; // for backwards compatibility +var SWFObject=deconcept.SWFObject; + Deleted: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/templates/blocks/tag_block_cumulus.tpl =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/templates/blocks/tag_block_cumulus.tpl 2015-01-21 17:46:17 UTC (rev 12942) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/templates/blocks/tag_block_cumulus.tpl 2015-01-21 18:02:19 UTC (rev 12943) @@ -1,22 +0,0 @@ -<{ $xoTheme->addScript("browse.php?modules/tag/assets/js/swfobject.js") }> -<div id="tags" class=txtcenter> -<{foreach item=tag from=$block.tags}> - <a href="<{$xoops_url}>/modules/<{$block.tag_dirname}>/view.tag.php<{$smarty.const.URL_DELIMITER}><{$tag.id}>/" title="<{$tag.term}>"><{$tag.term}></a> -<{/foreach}> - -<script type="text/javascript"> - var rnumber = Math.floor(Math.random()*9999999); - var widget_so = new SWFObject("<{$block.flash_params.flash_url}>?r="+rnumber, "cumulusflash", "<{$block.flash_params.width}>", "<{$block.flash_params.height}>", "9", "<{$block.flash_params.background}>"); - <{$block.flash_params.transparency}> - widget_so.addParam("allowScriptAccess", "always"); - widget_so.addVariable("tcolor", "<{$block.flash_params.tcolor}>"); - widget_so.addVariable("hicolor", "<{$block.flash_params.hicolor}>"); - widget_so.addVariable("tcolor2", "<{$block.flash_params.tcolor2}>"); - widget_so.addVariable("tspeed", "<{$block.flash_params.speed}>"); - widget_so.addVariable("distr", "true"); - widget_so.addVariable("mode", "tags"); - widget_so.addVariable("tagcloud", "<{$block.flash_params.tags_formatted_flash}>"); - widget_so.write("tags"); -</script> -</div> - <div class="more-link"><a href="<{$xoops_url}>/modules/tag/"><{$smarty.const._MORE}></a></div> Added: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/templates/blocks/tag_block_cumulus.tpl =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/templates/blocks/tag_block_cumulus.tpl (rev 0) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/templates/blocks/tag_block_cumulus.tpl 2015-01-21 18:02:19 UTC (rev 12943) @@ -0,0 +1,22 @@ +<{ $xoTheme->addScript("browse.php?modules/tag/assets/js/swfobject.js") }> +<div id="tags" class=txtcenter> +<{foreach item=tag from=$block.tags}> + <a href="<{$xoops_url}>/modules/<{$block.tag_dirname}>/view.tag.php<{$smarty.const.URL_DELIMITER}><{$tag.id}>/" title="<{$tag.term}>"><{$tag.term}></a> +<{/foreach}> + +<script type="text/javascript"> + var rnumber = Math.floor(Math.random()*9999999); + var widget_so = new SWFObject("<{$block.flash_params.flash_url}>?r="+rnumber, "cumulusflash", "<{$block.flash_params.width}>", "<{$block.flash_params.height}>", "9", "<{$block.flash_params.background}>"); + <{$block.flash_params.transparency}> + widget_so.addParam("allowScriptAccess", "always"); + widget_so.addVariable("tcolor", "<{$block.flash_params.tcolor}>"); + widget_so.addVariable("hicolor", "<{$block.flash_params.hicolor}>"); + widget_so.addVariable("tcolor2", "<{$block.flash_params.tcolor2}>"); + widget_so.addVariable("tspeed", "<{$block.flash_params.speed}>"); + widget_so.addVariable("distr", "true"); + widget_so.addVariable("mode", "tags"); + widget_so.addVariable("tagcloud", "<{$block.flash_params.tags_formatted_flash}>"); + widget_so.write("tags"); +</script> +</div> + <div class="more-link"><a href="<{$xoops_url}>/modules/tag/"><{$smarty.const._MORE}></a></div> |
From: <zy...@us...> - 2015-01-21 17:46:19
|
Revision: 12942 http://sourceforge.net/p/xoops/svn/12942 Author: zyspec Date: 2015-01-21 17:46:17 +0000 (Wed, 21 Jan 2015) Log Message: ----------- placed in incorrect directory Removed Paths: ------------- XoopsModules/modulepacks/x257basicmodulepack/zyspec/ |
From: <zy...@us...> - 2015-01-21 17:45:26
|
Revision: 12941 http://sourceforge.net/p/xoops/svn/12941 Author: zyspec Date: 2015-01-21 17:45:24 +0000 (Wed, 21 Jan 2015) Log Message: ----------- relocate to proper branches directory Added Paths: ----------- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/mymenus/ |
From: <zy...@us...> - 2015-01-21 17:33:43
|
Revision: 12940 http://sourceforge.net/p/xoops/svn/12940 Author: zyspec Date: 2015-01-21 17:33:38 +0000 (Wed, 21 Jan 2015) Log Message: ----------- * fixed bug where editing menu item put item in 1st menu * fixed reference to JS files since moved to /assets * fixed/improve menu HTML rendering so it can validate * moved ./skins/clean/template.tpl to ./skins/clean/templates subdirectory * moved ./skins/breadcrumb/template.tpl to ./skins/breadcrumb/templates subdirectory * updated from dirname(__FILE__) to PHP 5.3 __DIR__ * updated jquery to v1.11.2 * updated hoverIntent to v1.81 * updated supersubs to v3.0 * updated superfish to v1.7.5 * general code cleanup Modified Paths: -------------- XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/about.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/admin_about.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/admin_footer.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/admin_header.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/admin_links.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/admin_menus.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/index.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/menu.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/assets/css/admin.css XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/assets/js/hoverIntent.js XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/assets/js/order.js XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/assets/js/superfish.js XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/assets/js/supersubs.js XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/blocks/mymenus_block.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/class/about.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/class/builder.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/class/links.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/class/menus.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/class/plugin.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/class/registry.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/docs/changelog.txt XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/include/functions.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/include/update.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/include/xoops.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/language/english/admin.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/plugins/constant/constant.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/plugins/dynamic/dynamic.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/plugins/mymenus/mymenus.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/plugins/smarty/smarty.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/bootstrap/skin_version.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/bootstrap/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/breadcrumb/skin_version.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/clean/skin_version.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/default/stuHover.js XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/default/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/mainmenu/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/multiblack/stuHover.js XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/multiblack/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/superfish/css/superfish-navbar.css XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/superfish/css/superfish-vertical.css XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/superfish/css/superfish.css XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/superfish/skin_version.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/superfish/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/superfish_navbar/css/superfish-navbar.css XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/superfish_navbar/css/superfish-vertical.css XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/superfish_navbar/css/superfish.css XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/superfish_navbar/skin_version.php XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/superfish_navbar/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/tw_blue/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/templates/static/mymenus_admin_links.tpl XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/templates/static/mymenus_admin_menus.tpl XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/xoops_version.php Added Paths: ----------- XoopsModules/modulepacks/x257basicmodulepack/zyspec/ XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/ XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/assets/js/jquery-1.11.2.min.js XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/breadcrumb/templates/ XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/breadcrumb/templates/index.html XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/breadcrumb/templates/template.tpl XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/clean/templates/ XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/clean/templates/index.html XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/clean/templates/template.tpl Removed Paths: ------------- XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/breadcrumb/template.tpl XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/skins/clean/template.html Modified: XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/about.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/about.php 2015-01-12 12:30:54 UTC (rev 12935) +++ XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/about.php 2015-01-21 17:33:38 UTC (rev 12940) @@ -12,13 +12,13 @@ /** * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License - * @package Mytabs + * @package Mymenus * @since 1.0 * @author trabis <lus...@gm...> * @version $Id$ */ -include_once dirname(__FILE__) . '/admin_header.php'; +include_once __DIR__ . '/admin_header.php'; xoops_cp_header(); @@ -27,4 +27,4 @@ echo $aboutAdmin->addNavigation('about.php'); echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false); -include 'admin_footer.php'; +include __DIR__ . '/admin_footer.php'; Modified: XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/admin_about.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_about.php 2015-01-12 12:30:54 UTC (rev 12935) +++ XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/admin_about.php 2015-01-21 17:33:38 UTC (rev 12940) @@ -18,8 +18,8 @@ * @version $Id$ */ -include_once dirname(__FILE__) . '/admin_header.php'; -include_once XOOPS_ROOT_PATH . '/modules/mymenus/class/about.php'; +include_once __DIR__ . '/admin_header.php'; +include_once $GLOBALS['xoops']->path('/modules/mymenus/class/about.php'); $aboutObj = new MymenusAbout(); $aboutObj->render(); Modified: XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/admin_footer.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_footer.php 2015-01-12 12:30:54 UTC (rev 12935) +++ XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/admin_footer.php 2015-01-21 17:33:38 UTC (rev 12940) @@ -19,10 +19,10 @@ */ echo "<div class='adminfooter'>\n" - ." <div style='text-align: center;'>\n" + ." <div class='txtcenter'>\n" ." <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" ." </div>\n" ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" - ."</div>"; + ."</div>\n"; xoops_cp_footer(); Modified: XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/admin_header.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_header.php 2015-01-12 12:30:54 UTC (rev 12935) +++ XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/admin_header.php 2015-01-21 17:33:38 UTC (rev 12940) @@ -18,7 +18,7 @@ * @version $Id$ */ -require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; +require_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php'; if ( !@include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php') ) { redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); @@ -38,11 +38,12 @@ include_once $GLOBALS['xoops']->path('modules/mymenus/class/plugin.php'); $mymenusTpl = new XoopsTpl(); -if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { - include_once(XOOPS_ROOT_PATH."/class/template.php"); - $xoopsTpl = new XoopsTpl(); +if (!isset($GLOBALS['xoopsTpl']) || !($GLOBALS['xoopsTpl'] instanceof XoopsTpl)) { + include_once $GLOBALS['xoops']->path("/class/template.php"); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); } -$xoopsTpl->assign('pathIcon16', $pathIcon16); +$GLOBALS['xoopsTpl']->assign('pathIcon16', $pathIcon16); xoops_load('XoopsFormLoader'); +xoops_load('XoopsRequest'); xoops_loadLanguage('modinfo', 'mymenus'); Modified: XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/admin_links.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_links.php 2015-01-12 12:30:54 UTC (rev 12935) +++ XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/admin_links.php 2015-01-21 17:33:38 UTC (rev 12940) @@ -18,7 +18,7 @@ * @version $Id$ */ -include_once dirname(__FILE__) . '/admin_header.php'; +include_once __DIR__ . '/admin_header.php'; $menus_handler =& xoops_getModuleHandler('menus', 'mymenus'); $criteria = new CriteriaCompo(); @@ -26,26 +26,36 @@ $criteria->setOrder('ASC'); $menus_list = $menus_handler->getList($criteria); -$indexAdmin = new ModuleAdmin(); +//$indexAdmin = new ModuleAdmin(); if (empty($menus_list)) { redirect_header('admin_menus.php', 1, _AM_MYMENUS_MSG_NOMENUS); exit; } -if (isset($_REQUEST['menu_id']) && in_array($_REQUEST['menu_id'], array_keys($menus_list))) { - $menu_id = $_REQUEST['menu_id']; +$valid_menu_ids = array_keys($menus_list); +if (isset($_REQUEST['mid']) && in_array($_REQUEST['mid'], $valid_menu_ids)) { + $menu_id = (int) $_REQUEST['mid']; $menu_title = $menus_list[$menu_id]; } else { $keys = array_keys($menus_list); - $menu_id = $keys[0]; - $menu_title = $menus_list[$menu_id]; + $menu_id = $valid_menu_ids[0]; //force menu id to first valid menu id in the list + $menu_title = $menus_list[$menu_id]; // and get it's title } - -$mymenusTpl->assign('menu_id', $menu_id); +$mymenusTpl->assign('mid', $menu_id); $mymenusTpl->assign('menu_title', $menu_title); $mymenusTpl->assign('menus_list', $menus_list); +$op = XoopsRequest::getCmd('op', 'list'); +$id = XoopsRequest::getInt('id', 0); +$pid = XoopsRequest::getInt('pid', 0); +$limit = XoopsRequest::getInt('limit', 15); +$start = XoopsRequest::getInt('start', 0); +$redir = XoopsRequest::getString('redir', null); +$weight = XoopsRequest::getInt('weight', 0); +$visible = XoopsRequest::getInt('visible', 0); + +/* $op = isset($_GET['op']) ? trim($_GET['op']) : (isset($_POST['op']) ? trim($_POST['op']) : 'list'); $id = isset($_GET['id']) ? intval($_GET['id']) : (isset($_POST['id']) ? intval($_POST['id']) : null); @@ -57,24 +67,25 @@ $weight = isset($_GET['weight']) ? intval($_GET['weight']) : (isset($_POST['weight']) ? intval($_POST['weight']) : 0); $visible = isset($_GET['visible']) ? intval($_GET['visible']) : (isset($_POST['visible']) ? intval($_POST['visible']) : 0); +*/ $mymenus_adminpage = 'admin_links.php'; switch ($op) { case 'add': - mymenus_admin_add(); + mymenus_admin_add($menu_id); break; case 'form': xoops_cp_header(); echo $indexAdmin->addNavigation('admin_links.php'); echo mymenus_admin_form(null, $pid); - include 'admin_footer.php'; + include __DIR__ . '/admin_footer.php'; break; case 'edit': echo mymenus_admin_form($id); break; case 'editok': - mymenus_admin_edit($id); + mymenus_admin_edit($id, $menu_id); break; case 'del': mymenus_admin_confirmdel($id, $redir); @@ -92,8 +103,8 @@ xoops_cp_header(); echo $indexAdmin->addNavigation('admin_links.php'); mymenus_admin_move($id, $weight); - echo mymenus_admin_list($start); - include 'admin_footer.php'; + echo mymenus_admin_list($start, $menu_id); + include __DIR__ . '/admin_footer.php'; break; case 'toggle': mymenus_admin_toggle($id, $visible); @@ -123,8 +134,13 @@ case 'list': default: xoops_cp_header(); + $module_handler =& xoops_gethandler('module'); + $system =& $module_handler->getByDirname('system'); + $systemConfigHandler =& xoops_gethandler('config'); + $systemConfig =& $systemConfigHandler->getConfigsByCat(0, $system->getVar('mid')); + // Add module stylesheet - $xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/ui/' . xoops_getModuleOption('jquery_theme', 'system') . '/ui.all.css'); + $xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/ui/' . $systemConfig['jquery_theme'] . '/ui.all.css'); $xoTheme->addStylesheet(XOOPS_URL . '/modules/mymenus/assets/css/admin.css'); $xoTheme->addStylesheet(XOOPS_URL . '/Frameworks/moduleclasses/moduleadmin/css/admin.css'); // Define scripts @@ -134,41 +150,45 @@ $xoTheme->addScript(XOOPS_URL . '/modules/mymenus/assets/js/order.js'); echo $indexAdmin->addNavigation('admin_links.php'); - echo mymenus_admin_list($start); + echo mymenus_admin_list($start, $menu_id); /* Disable xoops debugger in dialog window */ - include_once XOOPS_ROOT_PATH . '/class/logger/xoopslogger.php'; + include_once $GLOBALS['xoops']->path('/class/logger/xoopslogger.php'); $xoopsLogger =& XoopsLogger::getInstance(); $xoopsLogger->activated = true; error_reporting(-1); - include 'admin_footer.php'; - break; + include __DIR__ . '/admin_footer.php'; + break; } /** - * @param int $start + * Display the links in a menu * + * @param integer $start + * @param integer $menu_id + * * @return bool|mixed|string */ -function mymenus_admin_list($start = 0) +function mymenus_admin_list($start = 0, $menu_id) { - global $mymenusTpl, $menu_id; + global $mymenusTpl; - $this_handler =& xoops_getModuleHandler('links', 'mymenus'); + $links_handler =& xoops_getModuleHandler('links', 'mymenus'); - $criteria = new CriteriaCompo(new Criteria('mid', $menu_id)); + $criteria = new CriteriaCompo(new Criteria('mid', (int) $menu_id)); - $count = $this_handler->getCount($criteria); - $mymenusTpl->assign('count', $count); + $count_links = $links_handler->getCount($criteria); + $mymenusTpl->assign('count', $count_links); $criteria->setSort('weight'); $criteria->setOrder('ASC'); $menus = array(); $menusArray = array(); - if ($count > 0) { - $menus = $this_handler->getObjects($criteria); + if (($count_links > 0) && ($count_links >= (int) $start)) { + $criteria->setStart((int) $start); + $menus = $links_handler->getObjects($criteria); foreach ($menus as $menu) { $array[] = $menu->getValues(); } @@ -193,13 +213,14 @@ redirect_header($GLOBALS['mymenus_adminpage'], 1, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); } + $id = (int) $id; if ($id <= 0) { redirect_header($GLOBALS['mymenus_adminpage'], 1); } $this_handler =& xoops_getModuleHandler('links' , 'mymenus'); $obj = $this_handler->get($id); - if (!is_object($obj)) { + if ((empty($obj)) || !($obj instanceof MymenusLinks)) { redirect_header($GLOBALS['mymenus_adminpage'], 1); } @@ -209,12 +230,12 @@ $criteria->add(new Criteria('pid', $id),'OR'); //first delete links level 2 - global $xoopsDB; - $query = "DELETE FROM ".$xoopsDB->prefix("mymenus_links")." WHERE pid = ( +// global $xoopsDB; + $query = "DELETE FROM " . $GLOBALS['xoopsDB']->prefix("mymenus_links")." WHERE pid = ( SELECT id FROM ( - SELECT * FROM ".$xoopsDB->prefix("mymenus_links")." WHERE pid = ".$id.") AS sec + SELECT * FROM " . $GLOBALS['xoopsDB']->prefix("mymenus_links")." WHERE pid = {$id}) AS sec );"; - $result = $xoopsDB->queryF($query); + $result = $GLOBALS['xoopsDB']->queryF($query); //delete links level 0 and 1 if (!$this_handler->deleteAll($criteria)) { xoops_cp_header(); @@ -252,9 +273,9 @@ function mymenus_admin_confirmdel($id = null, $redir = null, $op = 'delok') { - $arr = array(); - $arr['op'] = $op; - $arr['id'] = $id; + $arr = array('op' => $op, + 'id' => $id + ); if (!is_null($redir)) { $arr['redir'] = $redir; } @@ -264,67 +285,83 @@ xoops_cp_footer(); } -function mymenus_admin_add() +function mymenus_admin_add($menu_id) { if (!$GLOBALS['xoopsSecurity']->check()) { redirect_header($GLOBALS['mymenus_adminpage'], 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); } - $this_handler =& xoops_getModuleHandler('links','mymenus'); - $criteria = new CriteriaCompo(new Criteria('mid', $_POST['mid'])); + $links_handler =& xoops_getModuleHandler('links','mymenus'); +// $criteria = new CriteriaCompo(new Criteria('mid', $_POST['mid'])); + $criteria = new CriteriaCompo(new Criteria('mid', $menu_id)); $criteria->setSort('weight'); $criteria->setOrder('DESC'); $criteria->setLimit(1); - $menus = $this_handler->getObjects($criteria); + $menus = $links_handler->getObjects($criteria); $weight = 1; - if (isset($menus[0]) && is_object($menus[0])) { + if (isset($menus[0]) && ($menus[0] instanceof MymenusLinks)) { $weight = $menus[0]->getVar('weight') + 1; } - $obj = $this_handler->create(); + $link_obj = $links_handler->create(); if (!isset($_POST['hooks'])) { $_POST['hooks'] = array(); } - $obj->setVars($_POST); - $obj->setVar('weight', $weight); + //@TODO: clean incoming POST vars + $link_obj->setVars($_POST); + $link_obj->setVar('weight', $weight); - if (!$this_handler->insert($obj)) { + if (!$links_handler->insert($link_obj)) { $msg = _AM_MYMENUS_MSG_ERROR; } else { - $this_handler->update_weights($obj); + $links_handler->update_weights($link_obj); $msg = _AM_MYMENUS_MSG_SUCCESS; } - redirect_header($GLOBALS['mymenus_adminpage'] . '?op=list&menu_id=' . $obj->getVar('mid'), 2, $msg); + redirect_header($GLOBALS['mymenus_adminpage'] . '?op=list&mid=' . $link_obj->getVar('mid'), 2, $msg); } /** - * @param $id + * @param integer $id + * @param integer $menu_id */ -function mymenus_admin_edit($id) +function mymenus_admin_edit($id, $menu_id) { if (!$GLOBALS['xoopsSecurity']->check()) { redirect_header($GLOBALS['mymenus_adminpage'], 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); } - global $menu_id; + if (empty($menu_id)) { + redirect_header($GLOBALS['mymenus_adminpage'] . "?op=list", 2, _AM_MYMENUS_MSG_MENU_INVALID_ERROR); + } + + $menu_id = (int) $menu_id; + $links_handler =& xoops_getModuleHandler('links','mymenus'); + $link_obj = $links_handler->get((int) $id); + + //if this was moved then parent could be in different menu, if so then set parent to top level + if (!empty($_POST['pid'])) { + $parent_obj = $links_handler->get($link_obj->getVar('pid')); //get the parent oject + if(($parent_obj instanceof MylinksLinks) && ($link_obj->getVar('mid') != $parent_obj->getVar('mid'))) { + $link_obj->setVar('pid', 0); + } + } /* Disable xoops debugger in dialog window */ - include_once XOOPS_ROOT_PATH.'/class/logger/xoopslogger.php'; + include_once $GLOBALS['xoops']->path('/class/logger/xoopslogger.php'); $xoopsLogger =& XoopsLogger::getInstance(); $xoopsLogger->activated = false; error_reporting(0); - $this_handler =& xoops_getModuleHandler('links','mymenus'); - $obj = $this_handler->get($id); - $obj->setVars($_POST); + // @TODO: clean incoming POST vars + $link_obj->setVars($_POST); - if (!$this_handler->insert($obj)) { + if (!$links_handler->insert($link_obj)) { $msg = _AM_MYMENUS_MSG_ERROR; } else { $msg = _AM_MYMENUS_MSG_SUCCESS; } - redirect_header($GLOBALS['mymenus_adminpage'] . "?op=list&menu_id=$menu_id", 2, $msg); + redirect_header($GLOBALS['mymenus_adminpage'] . "?op=list&mid={$menu_id}", 2, $msg); } /** @@ -333,15 +370,15 @@ * * @return string */ -function mymenus_admin_form($id = null, $pid = null) +function mymenus_admin_form($id = null, $pid = null, $menu_id = null) { /* Disable xoops debugger in dialog window */ - include_once XOOPS_ROOT_PATH.'/class/logger/xoopslogger.php'; + include_once $GLOBALS['xoops']->path('/class/logger/xoopslogger.php'); $xoopsLogger =& XoopsLogger::getInstance(); $xoopsLogger->activated = false; error_reporting(0); - global $menu_id; + global $pathIcon16; $registry =& MymenusRegistry::getInstance(); $plugin =& MymenusPlugin::getInstance(); @@ -351,7 +388,7 @@ if (isset($id)) { $ftitle = _EDIT; - $obj = $this_handler->get($id); + $obj = $this_handler->get((int) $id); $objArray = $obj->getValues(); } else { @@ -359,33 +396,42 @@ $obj = $this_handler->create(); $objArray = $obj->getValues(); if (isset($pid)) { - $objArray['pid'] = $pid; + $objArray['pid'] = (int) $pid; } + if (isset($menu_id)) { + $objArray['mid'] = (int) $menu_id; + } } - $form = new XoopsThemeForm($ftitle, 'admin_form', $GLOBALS['mymenus_adminpage'], "post", true); $formtitle = new XoopsFormText(_AM_MYMENUS_MENU_TITLE, 'title', 50, 255, $objArray['title']); $formalttitle = new XoopsFormText(_AM_MYMENUS_MENU_ALTTITLE, 'alt_title', 50, 255, $objArray['alt_title']); - + // display menu options (if more than 1 menu available + $menus_handler =& xoops_getmodulehandler('menus', 'mymenus'); + $criteria = new CriteriaCompo(); + $criteria->setSort('title'); + $criteria->setOrder('ASC'); + $menus_list = $menus_handler->getList($criteria); + if (count($menus_list > 1)) { + if (null == $objArray['mid']) { // initial menu value not set + $menu_values = array_flip($menu_list); + $formmid = new XoopsFormSelect('Menu', 'mid', array_shift($menu_values)); + } else { + $formmid = new XoopsFormSelect('Menu', 'mid', $objArray['mid']); + } + $formmid->addOptionArray($menus_list); + } else { + $menu_keys = array_keys($menu_list); + $menu_title = array_shift($menu_list); + $formmid = new XoopsFormElementTray('Menu'); + $formmid->addElement(new XoopsFormHidden('mid', $menu_keys[0])); + $formmid->addElement(new XoopsFormLabel('', $menu_title, 'menu_title')); + } $formlink = new XoopsFormText(_AM_MYMENUS_MENU_LINK, 'link', 50, 255, $objArray['link']); $formimage = new XoopsFormText(_AM_MYMENUS_MENU_IMAGE, 'image', 50, 255, $objArray['image']); - $criteria = new CriteriaCompo(new Criteria('mid', $menu_id)); - $criteria->add(new Criteria('id', $id, '<>')); - $criteria->setSort('weight'); - $criteria->setOrder('ASC'); - - global $xoopsModule; - $pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); - - $statontxt - = " <img src=". $pathIcon16 .'/1.png'.' '. "alt='" ._YES . "' /> " . _YES - . " "; - $statofftxt - = " <img src=". $pathIcon16 .'/0.png' .' '."alt='" . _NO . "' /> " - . _NO . " "; + $statontxt = " <img src='{$pathIcon16}/1.png' alt='" ._YES . "' /> " . _YES . " "; + $statofftxt = " <img src='{$pathIcon16}/0.png' alt='" . _NO . "' /> " . _NO . " "; $formvis = new XoopsFormRadioYN(_AM_MYMENUS_MENU_VISIBLE, 'visible', $objArray['visible'], $statontxt, $statofftxt); -//---------------mamba $formtarget = new XoopsFormSelect(_AM_MYMENUS_MENU_TARGET, "target", $objArray['target']); $formtarget->addOption("_self", _AM_MYMENUS_MENU_TARG_SELF); @@ -400,6 +446,7 @@ $form->addElement($formtitle, true); $form->addElement($formalttitle); + $form->addElement($formmid); $form->addElement($formlink); $form->addElement($formimage); $form->addElement($formparent); @@ -415,9 +462,9 @@ $btn = new XoopsFormButton('', 'reset', _CANCEL, 'button'); if (isset($id)) { - $btn->setExtra('onclick="document.location.href=\'' . $GLOBALS['mymenus_adminpage'] . '?op=list&menu_id=' . $menu_id . ' \'"'); + $btn->setExtra("onclick=\"document.location.href='" . $GLOBALS['mymenus_adminpage'] . "?op=list&mid={$menu_id}'\""); } else { - $btn->setExtra('onclick="document.getElementById(\'addform\').style.display = \'none\'; return false;"'); + $btn->setExtra("onclick=\"document.getElementById('addform').style.display = 'none'; return false;\""); } $tray->addElement($btn); @@ -430,21 +477,21 @@ $form->addElement(new XoopsFormHidden('op', 'add')); } - $form->addElement(new XoopsFormHidden('mid', $menu_id)); - $form->addElement(new XoopsFormHidden('menu_id', $menu_id)); - return $form->render(); } /** - * @param $id - * @param $weight + * + * Update the {@see MymenusLinks} weight (order) + * + * @param integer $id of links object + * @param integer $weight */ function mymenus_admin_move($id, $weight) { $this_handler =& xoops_getModuleHandler('links', 'mymenus'); - $obj = $this_handler->get($id); - $obj->setVar('weight', $weight); + $obj = $this_handler->get((int) $id); + $obj->setVar('weight', (int) $weight); $this_handler->insert($obj); $this_handler->update_weights($obj); } @@ -455,14 +502,14 @@ */ function mymenus_admin_toggle($id, $visible) { - include_once XOOPS_ROOT_PATH.'/class/logger/xoopslogger.php'; + include_once $GLOBALS['xoops']->path('/class/logger/xoopslogger.php'); $xoopsLogger =& XoopsLogger::getInstance(); $xoopsLogger->activated = true; error_reporting(0); $this_handler =& xoops_getModuleHandler('links', 'mymenus'); - $obj = $this_handler->get($id); - $visible = ($obj->getVar('visible') == 1) ? 0 : 1; + $obj = $this_handler->get((int) $id); + $visible = (1 == $obj->getVar('visible')) ? 0 : 1; $obj->setVar('visible', $visible); $this_handler->insert($obj); echo $obj->getVar('visible'); Modified: XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/admin_menus.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/admin_menus.php 2015-01-12 12:30:54 UTC (rev 12935) +++ XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/admin_menus.php 2015-01-21 17:33:38 UTC (rev 12940) @@ -18,8 +18,14 @@ * @version $Id$ */ -include_once dirname(__FILE__) . '/admin_header.php'; +include_once __DIR__ . '/admin_header.php'; +$op = XoopsRequest::getCmd('op', 'list'); +$id = XoopsRequest::getInt('id', null); +$limit = XoopsRequest::getInt('limit', 15); +$start = XoopsRequest::getInt('start', 0); +$redir = XoopsRequest::getString('redir', null); +/* $op = isset($_GET['op']) ? trim($_GET['op']) : (isset($_POST['op']) ? trim($_POST['op']) : 'list'); $id = isset($_GET['id']) ? intval($_GET['id']) : (isset($_POST['id']) ? intval($_POST['id']) : null); @@ -27,7 +33,7 @@ $limit = isset($_GET['limit']) ? intval($_GET['limit']) : (isset($_POST['limit']) ? intval($_POST['limit']) : 15); $start = isset($_GET['start']) ? intval($_GET['start']) : (isset($_POST['start']) ? intval($_POST['start']) : 0); $redir = isset($_GET['redir']) ? $_GET['redir'] : (isset($_POST['redir']) ? $_POST['redir'] : null); - +*/ $mymenus_adminpage = 'admin_menus.php'; switch ($op) { @@ -60,24 +66,27 @@ default: xoops_cp_header(); echo $indexAdmin->addNavigation('admin_menus.php'); - echo mymenus_admin_list($start); + echo mymenus_admin_list($start, $limit); include 'admin_footer.php'; break; } /** - * @param int $start + * @param integer $start + * @param integer $limit * * @return bool|mixed|string */ -function mymenus_admin_list($start = 0) +function mymenus_admin_list($start = 0, $limit) { - global $mymenusTpl, $limit; + global $mymenusTpl; $myts =& MyTextSanitizer::getInstance(); + $limit = (int) $limit; $this_handler =& xoops_getModuleHandler('menus', 'mymenus'); - $query = isset($_POST['query']) ? $_POST['query'] : null; + $query = XoopsRequest::getString('query', null, 'POST'); +// $query = isset($_POST['query']) ? $_POST['query'] : null; $mymenusTpl->assign('query', $query); $criteria = new CriteriaCompo(); @@ -98,7 +107,7 @@ if ($count > $limit) { xoops_load('XoopsPagenav'); $nav = new XoopsPageNav($count, $limit, $start, 'start', 'op=list'); - $mymenusTpl->assign('pag', '<div style="float:left; padding-top:2px;" align="center">' . $nav->renderNav() . '</div>'); + $mymenusTpl->assign('pag', '<div style="float:left; padding-top:2px; vertical-align: center;">' . $nav->renderNav() . '</div>'); } else { $mymenusTpl->assign('pag', ''); } @@ -129,19 +138,19 @@ redirect_header($GLOBALS['mymenus_adminpage'], 1, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); } - if ($id <= 0) { + if ((int) $id <= 0) { redirect_header($GLOBALS['mymenus_adminpage'], 1); } $this_handler =& xoops_getModuleHandler('menus' , 'mymenus'); - $obj = $this_handler->get($id); + $obj = $this_handler->get((int) $id); if (!is_object($obj)) { redirect_header($GLOBALS['mymenus_adminpage'], 1); } if (!$this_handler->delete($obj)) { xoops_cp_header(); - xoops_error(_AM_MYMENUS_MSG_ERROR, $obj->getVar('id')); + xoops_error(_AM_MYMENUS_MSG_DELETE_MENU_ERROR, $obj->getVar('id')); xoops_cp_footer(); exit(); } @@ -151,7 +160,7 @@ $this_handler->deleteAll($criteria); unset($criteria); - redirect_header(!is_null($redir) ? base64_decode($redir) : $GLOBALS['mymenus_adminpage'] , 2, _AM_MYMENUS_MSG_SUCCESS); + redirect_header(!is_null($redir) ? base64_decode($redir) : $GLOBALS['mymenus_adminpage'] , 2, _AM_MYMENUS_MSG_DELETE_MENU_SUCCESS); } /** @@ -163,7 +172,7 @@ redirect_header($GLOBALS['mymenus_adminpage'], 1, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); } - $this_handler =& xoops_getModuleHandler('menus' , 'mymenus'); + $this_handler =& xoops_getModuleHandler('menus', 'mymenus'); if (!$this_handler->deleteAll()) { redirect_header(!is_null($redir) ? base64_decode($redir) : $GLOBALS['mymenus_adminpage'] , 2, _AM_MYMENUS_MSG_ERROR); @@ -180,8 +189,8 @@ function mymenus_admin_confirmdel($id = null, $redir = null, $op = 'delok') { $arr = array(); - $arr['op'] = $op; - $arr['id'] = $id; + $arr['op'] = XoopsFilterInput::clean($op, 'CMD'); + $arr['id'] = XoopsFilterInput::clean($id, 'INT'); if (!is_null($redir)) { $arr['redir'] = $redir; } @@ -198,12 +207,16 @@ $this_handler =& xoops_getModuleHandler('menus','mymenus'); $obj = $this_handler->create(); - $obj->setVars($_POST); + $obj->setVars(array('title' => XoopsRequest::getString('title', '', 'POST'), + 'css' => XoopsRequest::getString('css', '', 'POST')) + ); +// $obj->setVars($_POST); + if (!$this_handler->insert($obj)) { - $msg = _AM_MYMENUS_MSG_ERROR; + $msg = _AM_MYMENUS_MSG_ADD_MENU_ERROR; } else { - $msg = _AM_MYMENUS_MSG_SUCCESS; + $msg = _AM_MYMENUS_MSG_ADD_MENU_SUCCESS; } redirect_header($GLOBALS['mymenus_adminpage'] . '?op=list', 2, $msg); @@ -218,13 +231,17 @@ redirect_header($GLOBALS['mymenus_adminpage'], 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); } $this_handler =& xoops_getmodulehandler('menus','mymenus'); - $obj = $this_handler->get($id); - $obj->setVars($_POST); + $obj = $this_handler->get((int) $id); + $obj->setVars(array('title' => XoopsRequest::getString('title', '', 'POST'), + 'css' => XoopsRequest::getString('css', '', 'POST')) + ); +// $obj->setVars($_POST); + if (!$this_handler->insert($obj)) { - $msg = _AM_MYMENUS_MSG_ERROR; + $msg = _AM_MYMENUS_MSG_EDIT_MENU_ERROR; } else { - $msg = _AM_MYMENUS_MSG_SUCCESS; + $msg = _AM_MYMENUS_MSG_EDIT_MENU_SUCCESS; } redirect_header($GLOBALS['mymenus_adminpage'] . '?op=list', 2, $msg); @@ -238,13 +255,13 @@ function mymenus_admin_form($id = null) { $this_handler =& xoops_getmodulehandler('menus','mymenus'); - $objArray = array(); +// $objArray = array(); if (isset($id)) { $ftitle = _EDIT; + $id = (int) $id; $obj = $this_handler->get($id); $objArray = $obj->getValues(); - } else { $ftitle = _ADD; $obj = $this_handler->create(); @@ -254,29 +271,25 @@ $form = new XoopsThemeForm($ftitle, 'admin_form', $GLOBALS['mymenus_adminpage'], "post", true); $form->addElement(new XoopsFormText(_AM_MYMENUS_MENU_TITLE, 'title', 50, 255, $objArray['title']), true); // - $form->addElement(new XoopsFormText(_AM_MYMENUS_MENU_CSS, 'css', 50, 255, $objArray['css']),false); + $form->addElement(new XoopsFormText(_AM_MYMENUS_MENU_CSS, 'css', 50, 255, $objArray['css']), false); // - $tray = new XoopsFormElementTray('' ,''); + $tray = new XoopsFormElementTray('', ''); $tray->addElement(new XoopsFormButton('', 'submit_button', _SUBMIT, 'submit')); $btn = new XoopsFormButton('', 'reset', _CANCEL, 'button'); if (isset($id)) { + $form->addElement(new XoopsFormHidden('op', 'editok')); + $form->addElement(new XoopsFormHidden('id', $id)); $btn->setExtra('onclick="document.location.href=\'' . $GLOBALS['mymenus_adminpage'] . '?op=list\'"'); } else { + $form->addElement(new XoopsFormHidden('op', 'add')); $btn->setExtra('onclick="document.getElementById(\'addform\').style.display = \'none\'; return false;"'); } $tray->addElement($btn); $form->addElement($tray); - if (isset($id)) { - $form->addElement(new XoopsFormHidden('op', 'editok')); - $form->addElement(new XoopsFormHidden('id', $id)); - } else { - $form->addElement(new XoopsFormHidden('op', 'add')); - } - return $form->render(); } Modified: XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/index.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/index.php 2015-01-12 12:30:54 UTC (rev 12935) +++ XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/index.php 2015-01-21 17:33:38 UTC (rev 12940) @@ -18,12 +18,12 @@ * @version $Id$ */ -//require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; -include_once dirname(__FILE__) . '/admin_header.php'; +//require_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php'; +include_once __DIR__ . '/admin_header.php'; - xoops_cp_header(); +xoops_cp_header(); - echo $indexAdmin->addNavigation('index.php'); - echo $indexAdmin->renderIndex(); +echo $indexAdmin->addNavigation('index.php'); +echo $indexAdmin->renderIndex(); - include 'admin_footer.php'; +include __DIR__ . '/admin_footer.php'; Modified: XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/menu.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/admin/menu.php 2015-01-12 12:30:54 UTC (rev 12935) +++ XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/admin/menu.php 2015-01-21 17:33:38 UTC (rev 12940) @@ -18,32 +18,30 @@ * @version $Id$ */ -defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined"); +defined("XOOPS_ROOT_PATH") || exit("Restricted access"); -$dirname = basename(dirname(dirname(__FILE__))); +$dirname = basename(dirname(__DIR__)); $module_handler = xoops_gethandler('module'); -$module = $module_handler->getByDirname($dirname); -$pathIcon32 = $module->getInfo('icons32'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); xoops_loadLanguage('admin', $dirname); -$i = 0; -++$i; -$adminmenu[$i]["title"] = _MI_MYMENUS_ADMMENU0; -$adminmenu[$i]["link"] = 'admin/index.php'; -$adminmenu[$i]["icon"] = $pathIcon32.'/home.png'; -++$i; -$adminmenu[$i]['title'] = _MI_MYMENUS_MENUSMANAGER; -$adminmenu[$i]['link'] = "admin/admin_menus.php"; -$adminmenu[$i]["icon"] = $pathIcon32.'/manage.png'; -++$i; -$adminmenu[$i]['title'] = _MI_MYMENUS_MENUMANAGER; -$adminmenu[$i]['link'] = "admin/admin_links.php"; -$adminmenu[$i]["icon"] = $pathIcon32.'/insert_table_row.png'; -++$i; -$adminmenu[$i]['title'] = _MI_MYMENUS_ABOUT; -$adminmenu[$i]['link'] = "admin/about.php"; -$adminmenu[$i]["icon"] = $pathIcon32.'/about.png'; +$adminmenu = array(array('title' => _MI_MYMENUS_ADMMENU0, + 'link' => 'admin/index.php', + 'icon' => "{$pathIcon32}/home.png"), + array('title' => _MI_MYMENUS_MENUSMANAGER, + 'link' => "admin/admin_menus.php", + 'icon' => "{$pathIcon32}/manage.png"), + + array('title' => _MI_MYMENUS_MENUMANAGER, + 'link' => "admin/admin_links.php", + 'icon' => "{$pathIcon32}/insert_table_row.png"), + + array('title' => _MI_MYMENUS_ABOUT, + 'link' => "admin/about.php", + 'icon' => "{$pathIcon32}/about.png") +); + //$mymenus_adminmenu = $adminmenu; -unset($i); Modified: XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/assets/css/admin.css =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/css/admin.css 2015-01-12 12:30:54 UTC (rev 12935) +++ XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/assets/css/admin.css 2015-01-21 17:33:38 UTC (rev 12940) @@ -1,115 +1,115 @@ /* Sortable link list*/ .mjs-nestedSortable-error { - background: #fbe3e4; - border-color: transparent; + background: #fbe3e4; + border-color: transparent; } - ol { - margin: 0; + ol { + margin: 0; padding: 0 0 0 30px; } - ol.sortable, ol.sortable ol { - margin: 0 0 0 25px; - padding: 0; - list-style-type: none; - } + ol.sortable, ol.sortable ol { + margin: 0 0 0 25px; + padding: 0; + list-style-type: none; + } - ol.sortable { - margin: 2em 0 4em 0; - } + ol.sortable { + margin: 2em 0 4em 0; + } - .sortable li { - margin: 5px 0 0 0; - padding: 0; - list-style: none; - } + .sortable li { + margin: 5px 0 0 0; + padding: 0; + list-style: none; + } - .sortable li div { - border: 1px solid #d4d4d4; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - border-color: #D4D4D4 #D4D4D4 #BCBCBC; - padding: 6px; - line-height: 16px; - margin: 0; - cursor: move; - background: #f6f6f6; - background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); - background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); - background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); - background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); - background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#ededed 100%); - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); - } + .sortable li div { + border: 1px solid #d4d4d4; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + border-color: #D4D4D4 #D4D4D4 #BCBCBC; + padding: 6px; + line-height: 16px; + margin: 0; + cursor: move; + background: #f6f6f6; + background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); + background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); + background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); + background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); + background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#ededed 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); + } - .sortable li.mjs-nestedSortable-branch div { - background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #f0ece9 100%); - background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#f0ece9 100%); + .sortable li.mjs-nestedSortable-branch div { + background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #f0ece9 100%); + background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#f0ece9 100%); - } + } - .sortable li.mjs-nestedSortable-leaf div { - background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #bcccbc 100%); - background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#bcccbc 100%); + .sortable li.mjs-nestedSortable-leaf div { + background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #bcccbc 100%); + background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#bcccbc 100%); - } + } - li.mjs-nestedSortable-collapsed.mjs-nestedSortable-hovering div { - border-color: #999; - background: #fafafa; - } + li.mjs-nestedSortable-collapsed.mjs-nestedSortable-hovering div { + border-color: #999; + background: #fafafa; + } - .disclose { - cursor: pointer; - width: 10px; - display: none; - } + .disclose { + cursor: pointer; + width: 10px; + display: none; + } - .sortable li.mjs-nestedSortable-collapsed > ol { - display: none; - } + .sortable li.mjs-nestedSortable-collapsed > ol { + display: none; + } - .sortable li.mjs-nestedSortable-branch > div > .disclose { - display: inline-block; - } + .sortable li.mjs-nestedSortable-branch > div > .disclose { + display: inline-block; + } - .sortable li.mjs-nestedSortable-collapsed > div > .disclose > span:before { - content: '+ '; - } + .sortable li.mjs-nestedSortable-collapsed > div > .disclose > span:before { + content: '+ '; + } - .sortable li.mjs-nestedSortable-expanded > div > .disclose > span:before { - content: '- '; - } + .sortable li.mjs-nestedSortable-expanded > div > .disclose > span:before { + content: '- '; + } - .ui-state-highlight{height: 2.2em; line-height: 1.7em} - .ui-state-hover, button:hover{padding: 0;} - .ui-xbutton, button:hover .ui-xbutton{ - border: 1px solid #D3D3D3; - color: #555555; - font-weight: normal; - padding: 5px !important; - margin-right: 0 !important; + .ui-state-highlight{height: 2.2em; line-height: 1.7em} + .ui-state-hover, button:hover{padding: 0;} + .ui-xbutton, button:hover .ui-xbutton{ + border: 1px solid #D3D3D3; + color: #555555; + font-weight: normal; + padding: 5px !important; + margin-right: 0 !important; } - li.ui-state-default {list-style:none outside none !important;} - li.ui-state-default > div{overflow: hidden;} - #changemenu{float:right;} - .select-options{ + li.ui-state-default {list-style:none outside none !important;} + li.ui-state-default > div{overflow: hidden;} + #changemenu{float:right;} + .select-options{ background: #FFFFFF none; border: 1px solid #D3D3D3 !important; - border-radius: 4px; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset; - color: #555555; - font-size: 12px; - height: 30px; - line-height: 1.42857; - padding: 6px 12px; - transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s; - vertical-align: middle; - display: block; - margin-bottom: 3px; - } + border-radius: 4px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset; + color: #555555; + font-size: 12px; + height: 30px; + line-height: 1.42857; + padding: 6px 12px; + transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s; + vertical-align: middle; + display: block; + margin-bottom: 3px; + } -.discrete{color: #9D9D9D; text-align:right;} +.discrete{color: #9D9D9D; text-align: right;} Modified: XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/assets/js/hoverIntent.js =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/mymenus/assets/js/hoverIntent.js 2015-01-12 12:30:54 UTC (rev 12935) +++ XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/assets/js/hoverIntent.js 2015-01-21 17:33:38 UTC (rev 12940) @@ -1,84 +1,115 @@ -(function($){ - /* hoverIntent by Brian Cherne */ - $.fn.hoverIntent = function(f,g) { - // default configuration options - var cfg = { - sensitivity: 7, - interval: 100, - timeout: 0 - }; - // override configuration options with user supplied object - cfg = $.extend(cfg, g ? { over: f, out: g } : f ); +/*! + * hoverIntent v1.8.1 // 2014.08.11 // jQuery v1.9.1+ + * http://cherne.net/brian/resources/jquery.hoverIntent.html + * + * You may use hoverIntent under the terms of the MIT license. Basically that + * means you are free to use hoverIntent as long as this header is left intact. + * Copyright 2007, 2014 Brian Cherne + */ - // instantiate variables - // cX, cY = current X and Y position of mouse, updated by mousemove event - // pX, pY = previous X and Y position of mouse, set by mouseover and polling interval - var cX, cY, pX, pY; +/* hoverIntent is similar to jQuery's built-in "hover" method except that + * instead of firing the handlerIn function immediately, hoverIntent checks + * to see if the user's mouse has slowed down (beneath the sensitivity + * threshold) before firing the event. The handlerOut function is only + * called after a matching handlerIn. + * + * // basic usage ... just like .hover() + * .hoverIntent( handlerIn, handlerOut ) + * .hoverIntent( handlerInOut ) + * + * // basic usage ... with event delegation! + * .hoverIntent( handlerIn, handlerOut, selector ) + * .hoverIntent( handlerInOut, selector ) + * + * // using a basic configuration object + * .hoverIntent( config ) + * + * @param handlerIn function OR configuration object + * @param handlerOut function OR selector for delegation OR undefined + * @param selector selector OR undefined + * @author Brian Cherne <brian(at)cherne(dot)net> + */ +(function($) { + $.fn.hoverIntent = function(handlerIn,handlerOut,selector) { - // A private function for getting mouse position - var track = function(ev) { - cX = ev.pageX; - cY = ev.pageY; - }; + // default configuration values + var cfg = { + interval: 100, + sensitivity: 6, + timeout: 0 + }; - // A private function for comparing current and previous mouse position - var compare = function(ev,ob) { - ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); - // compare mouse positions to see if they've crossed the threshold - if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) { - $(ob).unbind("mousemove",track); - // set hoverIntent state to true (so mouseOut can be called) - ob.hoverIntent_s = 1; - return cfg.over.apply(ob,[ev]); - } else { - // set previous coordinates for next time - pX = cX; pY = cY; - // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs) - ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval ); - } - }; + if ( typeof handlerIn === "object" ) { + cfg = $.extend(cfg, handlerIn ); + } else if ($.isFunction(handlerOut)) { + cfg = $.extend(cfg, { over: handlerIn, out: handlerOut, selector: selector } ); + } else { + cfg = $.extend(cfg, { over: handlerIn, out: handlerIn, selector: handlerOut } ); + } - // A private function for delaying the mouseOut function - var delay = function(ev,ob) { - ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); - ob.hoverIntent_s = 0; - return cfg.out.apply(ob,[ev]); - }; + // instantiate variables + // cX, cY = current X and Y position of mouse, updated by mousemove event + // pX, pY = previous X and Y position of mouse, set by mouseover and polling interval + var cX, cY, pX, pY; - // A private function for handling mouse 'hovering' - var handleHover = function(e) { - // next three lines copied from jQuery.hover, ignore children onMouseOver/onMouseOut - var p = (e.type == "mouseover" ? e.fromElement : e.toElement) || e.relatedTarget; - while ( p && p != this ) { try { p = p.parentNode; } catch(e) { p = this; } } - if ( p == this ) { return false; } + // A private function for getting mouse position + var track = function(ev) { + cX = ev.pageX; + cY = ev.pageY; + }; - // copy objects to be passed into t (required for event object to be passed in IE) - var ev = jQuery.extend({},e); - var ob = this; + // A private function for comparing current and previous mouse position + var compare = function(ev,ob) { + ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); + // compare mouse positions to see if they've crossed the threshold + if ( Math.sqrt( (pX-cX)*(pX-cX) + (pY-cY)*(pY-cY) ) < cfg.sensitivity ) { + $(ob).off("mousemove.hoverIntent",track); + // set hoverIntent state to true (so mouseOut can be called) + ob.hoverIntent_s = true; + return cfg.over.apply(ob,[ev]); + } else { + // set previous coordinates for next time + pX = cX; pY = cY; + // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs) + ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval ); + } + }; - // cancel hoverIntent timer if it exists - if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); } + // A private function for delaying the mouseOut function + var delay = function(ev,ob) { + ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); + ob.hoverIntent_s = false; + return cfg.out.apply(ob,[ev]); + }; - // else e.type == "onmouseover" - if (e.type == "mouseover") { - // set "previous" X and Y position based on initial entry point - pX = ev.pageX; pY = ev.pageY; - // update "current" X and Y position based on mousemove - $(ob).bind("mousemove",track); - // start polling interval (self-calling timeout) to compare mouse coordinates over time - if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );} + // A private function for handling mouse 'hovering' + var handleHover = function(e) { + // copy objects to be passed into t (required for event object to be passed in IE) + var ev = $.extend({},e); + var ob = this; - // else e.type == "onmouseout" - } else { - // unbind expensive mousemove event - $(ob).unbind("mousemove",track); - // if hoverIntent state is true, then call the mouseOut function after the specified delay - if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );} - } - }; + // cancel hoverIntent timer if it exists + if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); } - // bind the function to the two event listeners - return this.mouseover(handleHover).mouseout(handleHover); - }; - -})(jQuery); \ No newline at end of file + // if e.type === "mouseenter" + if (e.type === "mouseenter") { + // set "previous" X and Y position based on initial entry point + pX = ev.pageX; pY = ev.pageY; + // update "current" X and Y position based on mousemove + $(ob).on("mousemove.hoverIntent",track); + // start polling interval (self-calling timeout) to compare mouse coordinates over time + if (!ob.hoverIntent_s) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );} + + // else e.type == "mouseleave" + } else { + // unbind expensive mousemove event + $(ob).off("mousemove.hoverIntent",track); + // if hoverIntent state is true, then call the mouseOut function after the specified delay + if (ob.hoverIntent_s) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );} + } + }; + + // listen for mouseenter and mouseleave + return this.on({'mouseenter.hoverIntent':handleHover,'mouseleave.hoverIntent':handleHover}, cfg.selector); + }; +})(jQuery); Added: XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/assets/js/jquery-1.11.2.min.js =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/assets/js/jquery-1.11.2.min.js (rev 0) +++ XoopsModules/modulepacks/x257basicmodulepack/zyspec/mymenus/assets/js/jquery-1.11.2.min.js 2015-01-21 17:33:38 UTC (rev 12940) @@ -0,0 +1,4 @@ +/*! jQuery v1.11.2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.2",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e+... [truncated message content] |
From: <txm...@us...> - 2015-01-20 10:51:42
|
Revision: 12939 http://sourceforge.net/p/xoops/svn/12939 Author: txmodxoops Date: 2015-01-20 10:51:37 +0000 (Tue, 20 Jan 2015) Log Message: ----------- newmylinks with tdmcreate v.1.37 Added Paths: ----------- XoopsModules/mylinks/branches/timgno/newmylinks/ XoopsModules/mylinks/branches/timgno/newmylinks/admin/ XoopsModules/mylinks/branches/timgno/newmylinks/admin/about.php XoopsModules/mylinks/branches/timgno/newmylinks/admin/admin_footer.php XoopsModules/mylinks/branches/timgno/newmylinks/admin/admin_header.php XoopsModules/mylinks/branches/timgno/newmylinks/admin/broken.php XoopsModules/mylinks/branches/timgno/newmylinks/admin/cat.php XoopsModules/mylinks/branches/timgno/newmylinks/admin/index.html XoopsModules/mylinks/branches/timgno/newmylinks/admin/index.php XoopsModules/mylinks/branches/timgno/newmylinks/admin/links.php XoopsModules/mylinks/branches/timgno/newmylinks/admin/menu.php XoopsModules/mylinks/branches/timgno/newmylinks/admin/mod.php XoopsModules/mylinks/branches/timgno/newmylinks/admin/permissions.php XoopsModules/mylinks/branches/timgno/newmylinks/admin/text.php XoopsModules/mylinks/branches/timgno/newmylinks/admin/votedata.php XoopsModules/mylinks/branches/timgno/newmylinks/blocks/ XoopsModules/mylinks/branches/timgno/newmylinks/blocks/blocks_broken.php XoopsModules/mylinks/branches/timgno/newmylinks/blocks/blocks_cat.php XoopsModules/mylinks/branches/timgno/newmylinks/blocks/blocks_links.php XoopsModules/mylinks/branches/timgno/newmylinks/blocks/blocks_mod.php XoopsModules/mylinks/branches/timgno/newmylinks/blocks/blocks_text.php XoopsModules/mylinks/branches/timgno/newmylinks/blocks/blocks_votedata.php XoopsModules/mylinks/branches/timgno/newmylinks/blocks/index.html XoopsModules/mylinks/branches/timgno/newmylinks/broken.php XoopsModules/mylinks/branches/timgno/newmylinks/cat.php XoopsModules/mylinks/branches/timgno/newmylinks/class/ XoopsModules/mylinks/branches/timgno/newmylinks/class/index.html XoopsModules/mylinks/branches/timgno/newmylinks/class/mylinks_broken.php XoopsModules/mylinks/branches/timgno/newmylinks/class/mylinks_cat.php XoopsModules/mylinks/branches/timgno/newmylinks/class/mylinks_links.php XoopsModules/mylinks/branches/timgno/newmylinks/class/mylinks_mod.php XoopsModules/mylinks/branches/timgno/newmylinks/class/mylinks_text.php XoopsModules/mylinks/branches/timgno/newmylinks/class/mylinks_votedata.php XoopsModules/mylinks/branches/timgno/newmylinks/css/ XoopsModules/mylinks/branches/timgno/newmylinks/css/admin.css XoopsModules/mylinks/branches/timgno/newmylinks/css/index.html XoopsModules/mylinks/branches/timgno/newmylinks/css/style.css XoopsModules/mylinks/branches/timgno/newmylinks/docs/ XoopsModules/mylinks/branches/timgno/newmylinks/docs/changelog.txt XoopsModules/mylinks/branches/timgno/newmylinks/docs/credits.txt XoopsModules/mylinks/branches/timgno/newmylinks/docs/index.html XoopsModules/mylinks/branches/timgno/newmylinks/docs/install.txt XoopsModules/mylinks/branches/timgno/newmylinks/docs/lang_diff.txt XoopsModules/mylinks/branches/timgno/newmylinks/docs/licence.txt XoopsModules/mylinks/branches/timgno/newmylinks/docs/readme.txt XoopsModules/mylinks/branches/timgno/newmylinks/header.php XoopsModules/mylinks/branches/timgno/newmylinks/images/ XoopsModules/mylinks/branches/timgno/newmylinks/images/icons/ XoopsModules/mylinks/branches/timgno/newmylinks/images/icons/index.html XoopsModules/mylinks/branches/timgno/newmylinks/images/icons/off.png XoopsModules/mylinks/branches/timgno/newmylinks/images/icons/on.png XoopsModules/mylinks/branches/timgno/newmylinks/images/index.html XoopsModules/mylinks/branches/timgno/newmylinks/images/menu/ XoopsModules/mylinks/branches/timgno/newmylinks/images/menu/bg.png XoopsModules/mylinks/branches/timgno/newmylinks/images/menu/index.html XoopsModules/mylinks/branches/timgno/newmylinks/images/menu/left_both.png XoopsModules/mylinks/branches/timgno/newmylinks/images/menu/right_both.png XoopsModules/mylinks/branches/timgno/newmylinks/images/mylinks_slogo.png XoopsModules/mylinks/branches/timgno/newmylinks/include/ XoopsModules/mylinks/branches/timgno/newmylinks/include/configs.php XoopsModules/mylinks/branches/timgno/newmylinks/include/functions.php XoopsModules/mylinks/branches/timgno/newmylinks/include/index.html XoopsModules/mylinks/branches/timgno/newmylinks/include/install.php XoopsModules/mylinks/branches/timgno/newmylinks/index.php XoopsModules/mylinks/branches/timgno/newmylinks/language/ XoopsModules/mylinks/branches/timgno/newmylinks/language/index.html XoopsModules/mylinks/branches/timgno/newmylinks/language/italian/ XoopsModules/mylinks/branches/timgno/newmylinks/language/italian/admin.php XoopsModules/mylinks/branches/timgno/newmylinks/language/italian/blocks.php XoopsModules/mylinks/branches/timgno/newmylinks/language/italian/help/ XoopsModules/mylinks/branches/timgno/newmylinks/language/italian/help/help.html XoopsModules/mylinks/branches/timgno/newmylinks/language/italian/help/index.html XoopsModules/mylinks/branches/timgno/newmylinks/language/italian/index.html XoopsModules/mylinks/branches/timgno/newmylinks/language/italian/main.php XoopsModules/mylinks/branches/timgno/newmylinks/language/italian/modinfo.php XoopsModules/mylinks/branches/timgno/newmylinks/links.php XoopsModules/mylinks/branches/timgno/newmylinks/mod.php XoopsModules/mylinks/branches/timgno/newmylinks/sql/ XoopsModules/mylinks/branches/timgno/newmylinks/sql/index.html XoopsModules/mylinks/branches/timgno/newmylinks/sql/mysql.sql XoopsModules/mylinks/branches/timgno/newmylinks/templates/ XoopsModules/mylinks/branches/timgno/newmylinks/templates/admin/ XoopsModules/mylinks/branches/timgno/newmylinks/templates/admin/index.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/ XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/index.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_broken_block_day.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_broken_block_random.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_broken_block_recent.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_cat_block_day.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_cat_block_random.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_cat_block_recent.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_links_block_day.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_links_block_random.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_links_block_recent.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_mod_block_day.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_mod_block_random.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_mod_block_recent.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_text_block_day.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_text_block_random.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_text_block_recent.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_votedata_block_day.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_votedata_block_random.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/blocks/mylinks_votedata_block_recent.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/index.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/mylinks_broken.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/mylinks_cat.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/mylinks_footer.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/mylinks_header.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/mylinks_index.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/mylinks_links.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/mylinks_mod.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/mylinks_text.html XoopsModules/mylinks/branches/timgno/newmylinks/templates/mylinks_votedata.html XoopsModules/mylinks/branches/timgno/newmylinks/text.php XoopsModules/mylinks/branches/timgno/newmylinks/votedata.php XoopsModules/mylinks/branches/timgno/newmylinks/xoops_version.php Added: XoopsModules/mylinks/branches/timgno/newmylinks/admin/about.php =================================================================== --- XoopsModules/mylinks/branches/timgno/newmylinks/admin/about.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/newmylinks/admin/about.php 2015-01-20 10:51:37 UTC (rev 12939) @@ -0,0 +1,43 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * **************************************************************************** + * MYLINKS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package mylinks + * @author TXMod Xoops (in...@tx...) + * + * Version : 3.02 Sat 2012/01/14 6:36:59 : Timgno Exp $ + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); +$aboutAdmin = new ModuleAdmin(); +echo $aboutAdmin->addNavigation("about.php"); +echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false); +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/mylinks/branches/timgno/newmylinks/admin/admin_footer.php =================================================================== --- XoopsModules/mylinks/branches/timgno/newmylinks/admin/admin_footer.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/newmylinks/admin/admin_footer.php 2015-01-20 10:51:37 UTC (rev 12939) @@ -0,0 +1,41 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * **************************************************************************** + * MYLINKS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package mylinks + * @author TXMod Xoops (in...@tx...) + * + * Version : 3.02 Sat 2012/01/14 6:36:59 : Timgno Exp $ + * **************************************************************************** + */ + +global $pathImageAdmin; +echo "<div align=\"center\"><a href=\"http://www.xoops.org\" target=\"_blank\"><img src='" . $pathImageAdmin."/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a></div>"; +echo "<div class='center smallsmall italic pad5'><strong>" . $xoopsModule->getVar("name") . "</strong> "._AM_MYLINKS_MAINTAINEDBY." <a class='tooltip' rel='external' href='http://www.xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"; + xoops_cp_footer(); Added: XoopsModules/mylinks/branches/timgno/newmylinks/admin/admin_header.php =================================================================== --- XoopsModules/mylinks/branches/timgno/newmylinks/admin/admin_header.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/newmylinks/admin/admin_header.php 2015-01-20 10:51:37 UTC (rev 12939) @@ -0,0 +1,98 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * **************************************************************************** + * MYLINKS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package mylinks + * @author TXMod Xoops (in...@tx...) + * + * Version : 3.02 Sat 2012/01/14 6:36:59 : Timgno Exp $ + * **************************************************************************** + */ + +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; +include_once '../include/functions.php'; + +$pathDir = $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin'); +$globlang = $GLOBALS['xoopsConfig']['language']; + +if ( file_exists($pathDir.'/language/'.$globlang.'/main.php')){ + include_once $pathDir.'/language/'.$globlang.'/main.php'; + }else{ + include_once $pathDir.'/language/english/main.php'; + } + +if ( file_exists($pathDir.'/moduleadmin.php')){ + include_once $pathDir.'/moduleadmin.php'; + //return true; + }else{ + xoops_cp_header(); + echo xoops_error(_AM_MYLINKS_MODULEADMIN_MISSING); + xoops_cp_footer(); + //return false; + } +$dirname = basename(dirname(dirname( __FILE__ ) )); +$module_handler =& xoops_gethandler('module'); +$xoopsModule = & $module_handler->getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); +$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); +$brokenHandler=& xoops_getModuleHandler('mylinks_broken', $dirname ); +$catHandler=& xoops_getModuleHandler('mylinks_cat', $dirname ); +$linksHandler=& xoops_getModuleHandler('mylinks_links', $dirname ); +$modHandler=& xoops_getModuleHandler('mylinks_mod', $dirname ); +$textHandler=& xoops_getModuleHandler('mylinks_text', $dirname ); +$votedataHandler=& xoops_getModuleHandler('mylinks_votedata', $dirname ); + +$myts =& MyTextSanitizer::getInstance(); + +if ($xoopsUser) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $xoopsModule->getVar( 'mid' ), $xoopsUser->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } +} else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); +} + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $xoopsTpl = new XoopsTpl(); +} +$xoopsTpl->assign('pathImageIcon', $pathImageIcon); +$xoopsTpl->assign('pathImageAdmin', $pathImageAdmin); + +$style_admin = "../css/admin.css"; + +//Load languages +xoops_loadLanguage('admin', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('modinfo', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('main', $xoopsModule->getVar("dirname")); Added: XoopsModules/mylinks/branches/timgno/newmylinks/admin/broken.php =================================================================== --- XoopsModules/mylinks/branches/timgno/newmylinks/admin/broken.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/newmylinks/admin/broken.php 2015-01-20 10:51:37 UTC (rev 12939) @@ -0,0 +1,164 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * **************************************************************************** + * MYLINKS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package mylinks + * @author TXMod Xoops (in...@tx...) + * + * Version : 3.02 Sat 2012/01/14 6:36:59 : Timgno Exp $ + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); +global $pathImageIcon; + +//It retrieves the value of the argument in op URL$ +$op = mylinks_CleanVars($_REQUEST, 'op', 'list_broken', 'string'); +// counts the number of uncommitted gets +$criteria = new CriteriaCompo(); +$criteria->add(new Criteria('status', 0)); +$broken_waiting = $brokenHandler->getCount($criteria); +$status_menu = mylinks_CleanVars($_REQUEST, 'status_display', 1, 'int'); + +switch ($op) { +default: + case "list_broken": + $broken_admin = new ModuleAdmin(); + echo $broken_admin->addNavigation('broken.php'); + if ($status_menu == 1){ + $broken_admin->addItemButton(_AM_MYLINKS_BROKENNEW, 'broken.php?op=new_broken', 'add'); + }else{ + $broken_admin->addItemButton(_AM_MYLINKS_BROKEN_LIST, 'broken.php?op=list_broken', 'list'); + $broken_admin->addItemButton(_AM_MYLINKS_BROKENNEW, 'broken.php?op=new_broken', 'add'); + } + echo $broken_admin->renderButton(); + $criteria = new CriteriaCompo(); + $criteria->setSort("broken_reportid"); + $criteria->setOrder("ASC"); + $numrows = $brokenHandler->getCount(); + $broken_arr = $brokenHandler->getall($criteria); + + //Table view + if ($numrows>0) + { + echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\"> + <tr> + <th align=\"center\">"._AM_MYLINKS_BROKEN_LID."</th> + <th align=\"center\">"._AM_MYLINKS_BROKEN_SENDER."</th> + <th align=\"center\">"._AM_MYLINKS_BROKEN_IP."</th> + <th align=\"center\" width=\"10%\">"._AM_MYLINKS_FORMACTION."</th> + </tr>"; + $class = "odd"; + foreach (array_keys($broken_arr) as $i) + { + if ( $broken_arr[$i]->getVar("topic_pid") == 0) + { + echo "<tr class=\"".$class."\">"; + $class = ($class == "even") ? "odd" : "even";echo "<td align='center'>".$broken_arr[$i]->getVar("broken_lid")."</td>"; + echo "<td align='center'>".$broken_arr[$i]->getVar("broken_sender")."</td>"; + echo "<td align='center'>".$broken_arr[$i]->getVar("broken_ip")."</td>"; + + echo "<td align=\"center\" width=\"10%\"> + <a href=\"broken.php?op=edit_broken&broken_reportid=".$broken_arr[$i]->getVar("broken_reportid")."\"><img src=".$pathImageIcon."/edit.png alt=\""._EDIT."\" title=\""._EDIT."\"></a> + <a href=\"broken.php?op=delete_broken&broken_reportid=".$broken_arr[$i]->getVar("broken_reportid")."\"><img src=".$pathImageIcon."/delete.png alt=\""._DELETE."\" title=\""._DELETE."\"></a> + </td>"; + echo "</tr>"; + } + } + echo "</table><br><br>"; + } + + // Form display + //$obj =& $brokenHandler->create(); + //$form = $obj->getForm(); + //$form->display(); + break; + + case "new_broken": + $member_admin = new ModuleAdmin(); + echo $member_admin->addNavigation("broken.php"); + $member_admin->addItemButton(_AM_MYLINKS_BROKEN_LIST, 'broken.php?op=list_broken', 'list'); + echo $member_admin->renderButton(); + + $obj =& $brokenHandler->create(); + $form = $obj->getForm(); + $form->display(); + break; + + case "save_broken": + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("broken.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if (isset($_REQUEST["broken_reportid"])) { + $obj =& $brokenHandler->get($_REQUEST["broken_reportid"]); + } else { + $obj =& $brokenHandler->create(); + } + //Form broken_lid + $obj->setVar("broken_lid", $_REQUEST["broken_lid"]); + //Form broken_sender + $obj->setVar("broken_sender", $_REQUEST["broken_sender"]); + //Form broken_ip + $obj->setVar("broken_ip", $_REQUEST["broken_ip"]); + + + if ($brokenHandler->insert($obj)) { + redirect_header("broken.php?op=list_broken", 2, _AM_MYLINKS_FORMOK); + } + //include_once("../include/forms.php"); + echo $obj->getHtmlErrors(); + $form =& $obj->getForm(); + break; + + case "edit_broken": + $obj = $brokenHandler->get($_REQUEST["broken_reportid"]); + $form = $obj->getForm(); + $form->display(); + break; + + case "delete_broken": + $obj =& $brokenHandler->get($_REQUEST["broken_reportid"]); + if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) { + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("broken.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if ($brokenHandler->delete($obj)) { + redirect_header("broken.php", 3, _AM_MYLINKS_FORMDELOK); + } else { + echo $obj->getHtmlErrors(); + } + } else { + xoops_confirm(array("ok" => 1, "broken_reportid" => $_REQUEST["broken_reportid"], "op" => "delete_broken"), $_SERVER["REQUEST_URI"], sprintf(_AM_MYLINKS_FORMSUREDEL, $obj->getVar("broken"))); + } + break; + +} +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/mylinks/branches/timgno/newmylinks/admin/cat.php =================================================================== --- XoopsModules/mylinks/branches/timgno/newmylinks/admin/cat.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/newmylinks/admin/cat.php 2015-01-20 10:51:37 UTC (rev 12939) @@ -0,0 +1,182 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * **************************************************************************** + * MYLINKS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package mylinks + * @author TXMod Xoops (in...@tx...) + * + * Version : 3.02 Sat 2012/01/14 6:36:59 : Timgno Exp $ + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); +global $pathImageIcon; + +//It retrieves the value of the argument in op URL$ +$op = mylinks_CleanVars($_REQUEST, 'op', 'list_cat', 'string'); +// counts the number of uncommitted gets +$criteria = new CriteriaCompo(); +$criteria->add(new Criteria('status', 0)); +$cat_waiting = $catHandler->getCount($criteria); +$status_menu = mylinks_CleanVars($_REQUEST, 'status_display', 1, 'int'); + +switch ($op) { +default: + case "list_cat": + $cat_admin = new ModuleAdmin(); + echo $cat_admin->addNavigation('cat.php'); + if ($status_menu == 1){ + $cat_admin->addItemButton(_AM_MYLINKS_CATNEW, 'cat.php?op=new_cat', 'add'); + }else{ + $cat_admin->addItemButton(_AM_MYLINKS_CAT_LIST, 'cat.php?op=list_cat', 'list'); + $cat_admin->addItemButton(_AM_MYLINKS_CATNEW, 'cat.php?op=new_cat', 'add'); + } + echo $cat_admin->renderButton(); + $criteria = new CriteriaCompo(); + $criteria->setSort("cat_id"); + $criteria->setOrder("ASC"); + $numrows = $catHandler->getCount(); + $cat_arr = $catHandler->getall($criteria); + + //Table view + if ($numrows>0) + { + echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\"> + <tr> + <th align=\"center\">"._AM_MYLINKS_CAT_PID."</th> + <th align=\"center\">"._AM_MYLINKS_CAT_TITLE."</th> + <th align=\"center\">"._AM_MYLINKS_CAT_IMGURL."</th> + <th align=\"center\" width=\"10%\">"._AM_MYLINKS_FORMACTION."</th> + </tr>"; + $class = "odd"; + foreach (array_keys($cat_arr) as $i) + { + if ( $cat_arr[$i]->getVar("topic_pid") == 0) + { + echo "<tr class=\"".$class."\">"; + $class = ($class == "even") ? "odd" : "even";echo "<td align='center'>".$cat_arr[$i]->getVar("cat_pid")."</td>"; + echo "<td align='center'>".$cat_arr[$i]->getVar("cat_title")."</td>"; + echo "<td align='center'><img src='".XOOPS_URL."/uploads/mylinks/cat/cat_imgurl/".$cat_arr[$i]->getVar("cat_imgurl")."' height='30px' title='cat_imgurl' alt='cat_imgurl'></td>"; + + echo "<td align=\"center\" width=\"10%\"> + <a href=\"cat.php?op=edit_cat&cat_id=".$cat_arr[$i]->getVar("cat_id")."\"><img src=".$pathImageIcon."/edit.png alt=\""._EDIT."\" title=\""._EDIT."\"></a> + <a href=\"cat.php?op=delete_cat&cat_id=".$cat_arr[$i]->getVar("cat_id")."\"><img src=".$pathImageIcon."/delete.png alt=\""._DELETE."\" title=\""._DELETE."\"></a> + </td>"; + echo "</tr>"; + } + } + echo "</table><br><br>"; + } + + // Form display + //$obj =& $catHandler->create(); + //$form = $obj->getForm(); + //$form->display(); + break; + + case "new_cat": + $member_admin = new ModuleAdmin(); + echo $member_admin->addNavigation("cat.php"); + $member_admin->addItemButton(_AM_MYLINKS_CAT_LIST, 'cat.php?op=list_cat', 'list'); + echo $member_admin->renderButton(); + + $obj =& $catHandler->create(); + $form = $obj->getForm(); + $form->display(); + break; + + case "save_cat": + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("cat.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if (isset($_REQUEST["cat_id"])) { + $obj =& $catHandler->get($_REQUEST["cat_id"]); + } else { + $obj =& $catHandler->create(); + } + //Form cat_pid + $obj->setVar("cat_pid", $_REQUEST["cat_pid"]); + //Form cat_title + $obj->setVar("cat_title", $_REQUEST["cat_title"]); + //Form cat_imgurl + include_once XOOPS_ROOT_PATH."/class/uploader.php"; + $uploaddir_cat_imgurl = XOOPS_ROOT_PATH."/uploads/mylinks/cat/cat_imgurl/"; + $uploader_cat_imgurl = new XoopsMediaUploader($uploaddir_cat_imgurl, + $GLOBALS["xoopsModuleConfig"]["cat_imgurl_mimetypes"], + $GLOBALS["xoopsModuleConfig"]["cat_imgurl_size"], + null, null); + + if ($uploader_cat_imgurl->fetchMedia("cat_imgurl")) { + $uploader_cat_imgurl->setPrefix("cat_imgurl_") ; + $uploader_cat_imgurl->fetchMedia("cat_imgurl"); + if (!$uploader_cat_imgurl->upload()) { + $errors = $uploader_cat_imgurl->getErrors(); + redirect_header("javascript:history.go(-1)",3, $errors); + } else { + $obj->setVar("cat_imgurl", $uploader_cat_imgurl->getSavedFileName()); + } + } else { + $obj->setVar("cat_imgurl", $_REQUEST["cat_imgurl"]); + } + + + if ($catHandler->insert($obj)) { + redirect_header("cat.php?op=list_cat", 2, _AM_MYLINKS_FORMOK); + } + //include_once("../include/forms.php"); + echo $obj->getHtmlErrors(); + $form =& $obj->getForm(); + break; + + case "edit_cat": + $obj = $catHandler->get($_REQUEST["cat_id"]); + $form = $obj->getForm(); + $form->display(); + break; + + case "delete_cat": + $obj =& $catHandler->get($_REQUEST["cat_id"]); + if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) { + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("cat.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if ($catHandler->delete($obj)) { + redirect_header("cat.php", 3, _AM_MYLINKS_FORMDELOK); + } else { + echo $obj->getHtmlErrors(); + } + } else { + xoops_confirm(array("ok" => 1, "cat_id" => $_REQUEST["cat_id"], "op" => "delete_cat"), $_SERVER["REQUEST_URI"], sprintf(_AM_MYLINKS_FORMSUREDEL, $obj->getVar("cat"))); + } + break; + +} +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/mylinks/branches/timgno/newmylinks/admin/index.html =================================================================== --- XoopsModules/mylinks/branches/timgno/newmylinks/admin/index.html (rev 0) +++ XoopsModules/mylinks/branches/timgno/newmylinks/admin/index.html 2015-01-20 10:51:37 UTC (rev 12939) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/mylinks/branches/timgno/newmylinks/admin/index.php =================================================================== --- XoopsModules/mylinks/branches/timgno/newmylinks/admin/index.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/newmylinks/admin/index.php 2015-01-20 10:51:37 UTC (rev 12939) @@ -0,0 +1,68 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * **************************************************************************** + * MYLINKS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package mylinks + * @author TXMod Xoops (in...@tx...) + * + * Version : 3.02 Sat 2012/01/14 6:36:59 : Timgno Exp $ + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + //account "total" + $count_broken = $brokenHandler->getCount(); + //account "total" + $count_cat = $catHandler->getCount(); + //account "total" + $count_links = $linksHandler->getCount(); + //account "total" + $count_mod = $modHandler->getCount(); + //account "total" + $count_text = $textHandler->getCount(); + //account "total" + $count_votedata = $votedataHandler->getCount(); + $indexAdmin->addInfoBox(_AM_MYLINKS_BROKEN); + $indexAdmin->addInfoBoxLine(_AM_MYLINKS_BROKEN,_AM_MYLINKS_THEREARE_BROKEN, $count_broken) ; + $indexAdmin->addInfoBox(_AM_MYLINKS_CAT); + $indexAdmin->addInfoBoxLine(_AM_MYLINKS_CAT,_AM_MYLINKS_THEREARE_CAT, $count_cat) ; + $indexAdmin->addInfoBox(_AM_MYLINKS_LINKS); + $indexAdmin->addInfoBoxLine(_AM_MYLINKS_LINKS,_AM_MYLINKS_THEREARE_LINKS, $count_links) ; + $indexAdmin->addInfoBox(_AM_MYLINKS_MOD); + $indexAdmin->addInfoBoxLine(_AM_MYLINKS_MOD,_AM_MYLINKS_THEREARE_MOD, $count_mod) ; + $indexAdmin->addInfoBox(_AM_MYLINKS_TEXT); + $indexAdmin->addInfoBoxLine(_AM_MYLINKS_TEXT,_AM_MYLINKS_THEREARE_TEXT, $count_text) ; + $indexAdmin->addInfoBox(_AM_MYLINKS_VOTEDATA); + $indexAdmin->addInfoBoxLine(_AM_MYLINKS_VOTEDATA,_AM_MYLINKS_THEREARE_VOTEDATA, $count_votedata) ; + echo $indexAdmin->addNavigation("index.php"); + echo $indexAdmin->renderIndex(); +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/mylinks/branches/timgno/newmylinks/admin/links.php =================================================================== --- XoopsModules/mylinks/branches/timgno/newmylinks/admin/links.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/newmylinks/admin/links.php 2015-01-20 10:51:37 UTC (rev 12939) @@ -0,0 +1,216 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * **************************************************************************** + * MYLINKS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package mylinks + * @author TXMod Xoops (in...@tx...) + * + * Version : 3.02 Sat 2012/01/14 6:36:59 : Timgno Exp $ + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); +global $pathImageIcon; + +//It retrieves the value of the argument in op URL$ +$op = mylinks_CleanVars($_REQUEST, 'op', 'list_links', 'string'); +// counts the number of uncommitted gets +$criteria = new CriteriaCompo(); +$criteria->add(new Criteria('status', 0)); +$links_waiting = $linksHandler->getCount($criteria); +$status_menu = mylinks_CleanVars($_REQUEST, 'status_display', 1, 'int'); + +switch ($op) { +default: + case "list_links": + $links_admin = new ModuleAdmin(); + echo $links_admin->addNavigation('links.php'); + if ($status_menu == 1){ + $links_admin->addItemButton(_AM_MYLINKS_LINKSNEW, 'links.php?op=new_links', 'add'); + }else{ + $links_admin->addItemButton(_AM_MYLINKS_LINKS_LIST, 'links.php?op=list_links', 'list'); + $links_admin->addItemButton(_AM_MYLINKS_LINKSNEW, 'links.php?op=new_links', 'add'); + } + echo $links_admin->renderButton(); + $criteria = new CriteriaCompo(); + $criteria->setSort("links_lid"); + $criteria->setOrder("ASC"); + $numrows = $linksHandler->getCount(); + $links_arr = $linksHandler->getall($criteria); + + //Table view + if ($numrows>0) + { + echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\"> + <tr> + <th align=\"center\">"._AM_MYLINKS_LINKS_CID."</th> + <th align=\"center\">"._AM_MYLINKS_LINKS_TITLE."</th> + <th align=\"center\">"._AM_MYLINKS_LINKS_URL."</th> + <th align=\"center\">"._AM_MYLINKS_LINKS_LOGOURL."</th> + <th align=\"center\">"._AM_MYLINKS_LINKS_SUBMITTER."</th> + <th align=\"center\">"._AM_MYLINKS_LINKS_STATUS."</th> + <th align=\"center\">"._AM_MYLINKS_LINKS_DATE."</th> + <th align=\"center\">"._AM_MYLINKS_LINKS_HITS."</th> + <th align=\"center\">"._AM_MYLINKS_LINKS_RATING."</th> + <th align=\"center\">"._AM_MYLINKS_LINKS_VOTES."</th> + <th align=\"center\">"._AM_MYLINKS_LINKS_COMMENTS."</th> + <th align=\"center\" width=\"10%\">"._AM_MYLINKS_FORMACTION."</th> + </tr>"; + $class = "odd"; + foreach (array_keys($links_arr) as $i) + { + if ( $links_arr[$i]->getVar("topic_pid") == 0) + { + echo "<tr class=\"".$class."\">"; + $class = ($class == "even") ? "odd" : "even";echo "<td align='center'>".$links_arr[$i]->getVar("links_title")."</td>"; + echo "<td align='center'>".$links_arr[$i]->getVar("links_url")."</td>"; + echo "<td align='center'><img src='".XOOPS_URL."/uploads/mylinks/links/links_logourl/".$links_arr[$i]->getVar("links_logourl")."' height='30px' title='links_logourl' alt='links_logourl'></td>"; + echo "<td align='center'>".XoopsUser::getUnameFromId($links_arr[$i]->getVar("links_submitter"),"S")."</td>"; + + $verif_links_status = ( $links_arr[$i]->getVar("links_status") == 1 ) ? _YES : _NO; + echo "<td align='center'>".$verif_links_status."</td>"; + echo "<td align='center'>".formatTimeStamp($links_arr[$i]->getVar("links_date"),"S")."</td>"; + echo "<td align='center'>".$links_arr[$i]->getVar("links_hits")."</td>"; + echo "<td align='center'>".$links_arr[$i]->getVar("links_rating")."</td>"; + echo "<td align='center'>".$links_arr[$i]->getVar("links_votes")."</td>"; + echo "<td align='center'>".$links_arr[$i]->getVar("links_comments")."</td>"; + + echo "<td align=\"center\" width=\"10%\"> + <a href=\"links.php?op=edit_links&links_lid=".$links_arr[$i]->getVar("links_lid")."\"><img src=".$pathImageIcon."/edit.png alt=\""._EDIT."\" title=\""._EDIT."\"></a> + <a href=\"links.php?op=delete_links&links_lid=".$links_arr[$i]->getVar("links_lid")."\"><img src=".$pathImageIcon."/delete.png alt=\""._DELETE."\" title=\""._DELETE."\"></a> + </td>"; + echo "</tr>"; + } + } + echo "</table><br><br>"; + } + + // Form display + //$obj =& $linksHandler->create(); + //$form = $obj->getForm(); + //$form->display(); + break; + + case "new_links": + $member_admin = new ModuleAdmin(); + echo $member_admin->addNavigation("links.php"); + $member_admin->addItemButton(_AM_MYLINKS_LINKS_LIST, 'links.php?op=list_links', 'list'); + echo $member_admin->renderButton(); + + $obj =& $linksHandler->create(); + $form = $obj->getForm(); + $form->display(); + break; + + case "save_links": + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("links.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if (isset($_REQUEST["links_lid"])) { + $obj =& $linksHandler->get($_REQUEST["links_lid"]); + } else { + $obj =& $linksHandler->create(); + } + //Form links_cid + $obj->setVar("links_cid", $_REQUEST["links_cid"]); + //Form links_title + $obj->setVar("links_title", $_REQUEST["links_title"]); + //Form links_url + $obj->setVar("links_url", $_REQUEST["links_url"]); + //Form links_logourl + include_once XOOPS_ROOT_PATH."/class/uploader.php"; + $uploaddir_links_logourl = XOOPS_ROOT_PATH."/uploads/mylinks/links/links_logourl/"; + $uploader_links_logourl = new XoopsMediaUploader($uploaddir_links_logourl, + $GLOBALS["xoopsModuleConfig"]["links_logourl_mimetypes"], + $GLOBALS["xoopsModuleConfig"]["links_logourl_size"], + null, null); + + if ($uploader_links_logourl->fetchMedia("links_logourl")) { + $uploader_links_logourl->setPrefix("links_logourl_") ; + $uploader_links_logourl->fetchMedia("links_logourl"); + if (!$uploader_links_logourl->upload()) { + $errors = $uploader_links_logourl->getErrors(); + redirect_header("javascript:history.go(-1)",3, $errors); + } else { + $obj->setVar("links_logourl", $uploader_links_logourl->getSavedFileName()); + } + } else { + $obj->setVar("links_logourl", $_REQUEST["links_logourl"]); + } + //Form links_submitter + $obj->setVar("links_submitter", $_REQUEST["links_submitter"]); + //Form links_status + $verif_links_status = ($_REQUEST["links_status"] == 1) ? "1" : "0"; + $obj->setVar("links_status", $verif_links_status); + //Form links_date + $obj->setVar("links_date", mylinks_convertDate($_REQUEST["links_date"])); + //Form links_hits + $obj->setVar("links_hits", $_REQUEST["links_hits"]); + //Form links_rating + $obj->setVar("links_rating", $_REQUEST["links_rating"]); + //Form links_votes + $obj->setVar("links_votes", $_REQUEST["links_votes"]); + //Form links_comments + $obj->setVar("links_comments", $_REQUEST["links_comments"]); + + + if ($linksHandler->insert($obj)) { + redirect_header("links.php?op=list_links", 2, _AM_MYLINKS_FORMOK); + } + //include_once("../include/forms.php"); + echo $obj->getHtmlErrors(); + $form =& $obj->getForm(); + break; + + case "edit_links": + $obj = $linksHandler->get($_REQUEST["links_lid"]); + $form = $obj->getForm(); + $form->display(); + break; + + case "delete_links": + $obj =& $linksHandler->get($_REQUEST["links_lid"]); + if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) { + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("links.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if ($linksHandler->delete($obj)) { + redirect_header("links.php", 3, _AM_MYLINKS_FORMDELOK); + } else { + echo $obj->getHtmlErrors(); + } + } else { + xoops_confirm(array("ok" => 1, "links_lid" => $_REQUEST["links_lid"], "op" => "delete_links"), $_SERVER["REQUEST_URI"], sprintf(_AM_MYLINKS_FORMSUREDEL, $obj->getVar("links"))); + } + break; + +} +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/mylinks/branches/timgno/newmylinks/admin/menu.php =================================================================== --- XoopsModules/mylinks/branches/timgno/newmylinks/admin/menu.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/newmylinks/admin/menu.php 2015-01-20 10:51:37 UTC (rev 12939) @@ -0,0 +1,89 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * **************************************************************************** + * MYLINKS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package mylinks + * @author TXMod Xoops (in...@tx...) + * + * Version : 3.02 Sat 2012/01/14 6:36:59 : Timgno Exp $ + * **************************************************************************** + */ + + +$dirname = basename( dirname( dirname( __FILE__ ) ) ) ; + +$module_handler =& xoops_gethandler("module"); +$xoopsModule =& XoopsModule::getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar("mid")); +$pathImageAdmin = $moduleInfo->getInfo("icons32"); + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]["title"] = _MI_MYLINKS_ADMENU1; +$adminmenu[$i]["link"] = "admin/index.php"; +//$adminmenu[$i]["desc"] = _MI_MYLINKS_ADMENU1_DESC; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/home.png"; +$i++; +$adminmenu[$i]["title"] = _MI_MYLINKS_ADMENU2; +$adminmenu[$i]["link"] = "admin/broken.php"; +//$adminmenu[$i]["desc"] = _MI_MYLINKS_ADMENU2_DESC +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/brokenlink.png"; +$i++; +$adminmenu[$i]["title"] = _MI_MYLINKS_ADMENU3; +$adminmenu[$i]["link"] = "admin/cat.php"; +//$adminmenu[$i]["desc"] = _MI_MYLINKS_ADMENU3_DESC +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/category.png"; +$i++; +$adminmenu[$i]["title"] = _MI_MYLINKS_ADMENU4; +$adminmenu[$i]["link"] = "admin/links.php"; +//$adminmenu[$i]["desc"] = _MI_MYLINKS_ADMENU4_DESC +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/link.png"; +$i++; +$adminmenu[$i]["title"] = _MI_MYLINKS_ADMENU5; +$adminmenu[$i]["link"] = "admin/mod.php"; +//$adminmenu[$i]["desc"] = _MI_MYLINKS_ADMENU5_DESC +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/modifiedlink.png"; +$i++; +$adminmenu[$i]["title"] = _MI_MYLINKS_ADMENU6; +$adminmenu[$i]["link"] = "admin/text.php"; +//$adminmenu[$i]["desc"] = _MI_MYLINKS_ADMENU6_DESC +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/bookcase.png"; +$i++; +$adminmenu[$i]["title"] = _MI_MYLINKS_ADMENU7; +$adminmenu[$i]["link"] = "admin/votedata.php"; +//$adminmenu[$i]["desc"] = _MI_MYLINKS_ADMENU7_DESC +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/stats.png"; +$i++; +$adminmenu[$i]["title"] = _MI_MYLINKS_ADMENU8; +$adminmenu[$i]["link"] = "admin/about.php"; +//$adminmenu[$i]["desc"] = _MI_MYLINKS_ADMENU8_DESC; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/about.png"; +unset( $i ); +?> \ No newline at end of file Added: XoopsModules/mylinks/branches/timgno/newmylinks/admin/mod.php =================================================================== --- XoopsModules/mylinks/branches/timgno/newmylinks/admin/mod.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/newmylinks/admin/mod.php 2015-01-20 10:51:37 UTC (rev 12939) @@ -0,0 +1,196 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * **************************************************************************** + * MYLINKS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package mylinks + * @author TXMod Xoops (in...@tx...) + * + * Version : 3.02 Sat 2012/01/14 6:36:59 : Timgno Exp $ + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); +global $pathImageIcon; + +//It retrieves the value of the argument in op URL$ +$op = mylinks_CleanVars($_REQUEST, 'op', 'list_mod', 'string'); +// counts the number of uncommitted gets +$criteria = new CriteriaCompo(); +$criteria->add(new Criteria('status', 0)); +$mod_waiting = $modHandler->getCount($criteria); +$status_menu = mylinks_CleanVars($_REQUEST, 'status_display', 1, 'int'); + +switch ($op) { +default: + case "list_mod": + $mod_admin = new ModuleAdmin(); + echo $mod_admin->addNavigation('mod.php'); + if ($status_menu == 1){ + $mod_admin->addItemButton(_AM_MYLINKS_MODNEW, 'mod.php?op=new_mod', 'add'); + }else{ + $mod_admin->addItemButton(_AM_MYLINKS_MOD_LIST, 'mod.php?op=list_mod', 'list'); + $mod_admin->addItemButton(_AM_MYLINKS_MODNEW, 'mod.php?op=new_mod', 'add'); + } + echo $mod_admin->renderButton(); + $criteria = new CriteriaCompo(); + $criteria->setSort("mod_requestid"); + $criteria->setOrder("ASC"); + $numrows = $modHandler->getCount(); + $mod_arr = $modHandler->getall($criteria); + + //Table view + if ($numrows>0) + { + echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\"> + <tr> + <th align=\"center\">"._AM_MYLINKS_MOD_LID."</th> + <th align=\"center\">"._AM_MYLINKS_MOD_CID."</th> + <th align=\"center\">"._AM_MYLINKS_MOD_TITLE."</th> + <th align=\"center\">"._AM_MYLINKS_MOD_URL."</th> + <th align=\"center\">"._AM_MYLINKS_MOD_LOGOURL."</th> + <th align=\"center\">"._AM_MYLINKS_MOD_DESCRIPTION."</th> + <th align=\"center\">"._AM_MYLINKS_MOD_MODIFYSUBMITTER."</th> + <th align=\"center\" width=\"10%\">"._AM_MYLINKS_FORMACTION."</th> + </tr>"; + $class = "odd"; + foreach (array_keys($mod_arr) as $i) + { + if ( $mod_arr[$i]->getVar("topic_pid") == 0) + { + echo "<tr class=\"".$class."\">"; + $class = ($class == "even") ? "odd" : "even";echo "<td align='center'>".$mod_arr[$i]->getVar("mod_title")."</td>"; + echo "<td align='center'>".$mod_arr[$i]->getVar("mod_url")."</td>"; + echo "<td align='center'><img src='".XOOPS_URL."/uploads/mylinks/mod/mod_logourl/".$mod_arr[$i]->getVar("mod_logourl")."' height='30px' title='mod_logourl' alt='mod_logourl'></td>"; + echo "<td align='center'>".$mod_arr[$i]->getVar("mod_description")."</td>"; + echo "<td align='center'>".XoopsUser::getUnameFromId($mod_arr[$i]->getVar("mod_modifysubmitter"),"S")."</td>"; + + echo "<td align=\"center\" width=\"10%\"> + <a href=\"mod.php?op=edit_mod&mod_requestid=".$mod_arr[$i]->getVar("mod_requestid")."\"><img src=".$pathImageIcon."/edit.png alt=\""._EDIT."\" title=\""._EDIT."\"></a> + <a href=\"mod.php?op=delete_mod&mod_requestid=".$mod_arr[$i]->getVar("mod_requestid")."\"><img src=".$pathImageIcon."/delete.png alt=\""._DELETE."\" title=\""._DELETE."\"></a> + </td>"; + echo "</tr>"; + } + } + echo "</table><br><br>"; + } + + // Form display + //$obj =& $modHandler->create(); + //$form = $obj->getForm(); + //$form->display(); + break; + + case "new_mod": + $member_admin = new ModuleAdmin(); + echo $member_admin->addNavigation("mod.php"); + $member_admin->addItemButton(_AM_MYLINKS_MOD_LIST, 'mod.php?op=list_mod', 'list'); + echo $member_admin->renderButton(); + + $obj =& $modHandler->create(); + $form = $obj->getForm(); + $form->display(); + break; + + case "save_mod": + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("mod.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if (isset($_REQUEST["mod_requestid"])) { + $obj =& $modHandler->get($_REQUEST["mod_requestid"]); + } else { + $obj =& $modHandler->create(); + } + //Form mod_lid + $obj->setVar("mod_lid", $_REQUEST["mod_lid"]); + //Form mod_cid + $obj->setVar("mod_cid", $_REQUEST["mod_cid"]); + //Form mod_title + $obj->setVar("mod_title", $_REQUEST["mod_title"]); + //Form mod_url + $obj->setVar("mod_url", $_REQUEST["mod_url"]); + //Form mod_logourl + include_once XOOPS_ROOT_PATH."/class/uploader.php"; + $uploaddir_mod_logourl = XOOPS_ROOT_PATH."/uploads/mylinks/mod/mod_logourl/"; + $uploader_mod_logourl = new XoopsMediaUploader($uploaddir_mod_logourl, + $GLOBALS["xoopsModuleConfig"]["mod_logourl_mimetypes"], + $GLOBALS["xoopsModuleConfig"]["mod_logourl_size"], + null, null); + + if ($uploader_mod_logourl->fetchMedia("mod_logourl")) { + $uploader_mod_logourl->setPrefix("mod_logourl_") ; + $uploader_mod_logourl->fetchMedia("mod_logourl"); + if (!$uploader_mod_logourl->upload()) { + $errors = $uploader_mod_logourl->getErrors(); + redirect_header("javascript:history.go(-1)",3, $errors); + } else { + $obj->setVar("mod_logourl", $uploader_mod_logourl->getSavedFileName()); + } + } else { + $obj->setVar("mod_logourl", $_REQUEST["mod_logourl"]); + } + //Form mod_description + $obj->setVar("mod_description", $_REQUEST["mod_description"]); + //Form mod_modifysubmitter + $obj->setVar("mod_modifysubmitter", $_REQUEST["mod_modifysubmitter"]); + + + if ($modHandler->insert($obj)) { + redirect_header("mod.php?op=list_mod", 2, _AM_MYLINKS_FORMOK); + } + //include_once("../include/forms.php"); + echo $obj->getHtmlErrors(); + $form =& $obj->getForm(); + break; + + case "edit_mod": + $obj = $modHandler->get($_REQUEST["mod_requestid"]); + $form = $obj->getForm(); + $form->display(); + break; + + case "delete_mod": + $obj =& $modHandler->get($_REQUEST["mod_requestid"]); + if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) { + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("mod.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if ($modHandler->delete($obj)) { + redirect_header("mod.php", 3, _AM_MYLINKS_FORMDELOK); + } else { + echo $obj->getHtmlErrors(); + } + } else { + xoops_confirm(array("ok" => 1, "mod_requestid" => $_REQUEST["mod_requestid"], "op" => "delete_mod"), $_SERVER["REQUEST_URI"], sprintf(_AM_MYLINKS_FORMSUREDEL, $obj->getVar("mod"))); + } + break; + +} +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/mylinks/branches/timgno/newmylinks/admin/permissions.php =================================================================== --- XoopsModules/mylinks/branches/timgno/newmylinks/admin/permissions.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/newmylinks/admin/permissions.php 2015-01-20 10:51:37 UTC (rev 12939) @@ -0,0 +1,87 @@ +<?php +/** + * TDMArticle + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without ev... [truncated message content] |
From: <txm...@us...> - 2015-01-20 10:39:43
|
Revision: 12938 http://sourceforge.net/p/xoops/svn/12938 Author: txmodxoops Date: 2015-01-20 10:39:25 +0000 (Tue, 20 Jan 2015) Log Message: ----------- branches/mylinks timgno v.3.01 Added Paths: ----------- XoopsModules/mylinks/branches/timgno/mylinks/.htaccess XoopsModules/mylinks/branches/timgno/mylinks/admin/ XoopsModules/mylinks/branches/timgno/mylinks/admin/about.php XoopsModules/mylinks/branches/timgno/mylinks/admin/admin.php XoopsModules/mylinks/branches/timgno/mylinks/admin/footer.php XoopsModules/mylinks/branches/timgno/mylinks/admin/footer1.php XoopsModules/mylinks/branches/timgno/mylinks/admin/header.php XoopsModules/mylinks/branches/timgno/mylinks/admin/header1.php XoopsModules/mylinks/branches/timgno/mylinks/admin/help.php XoopsModules/mylinks/branches/timgno/mylinks/admin/index.php XoopsModules/mylinks/branches/timgno/mylinks/admin/main.php XoopsModules/mylinks/branches/timgno/mylinks/admin/menu.php XoopsModules/mylinks/branches/timgno/mylinks/admin/myblockform.php XoopsModules/mylinks/branches/timgno/mylinks/admin/myblocksadmin.php XoopsModules/mylinks/branches/timgno/mylinks/admin/myblocksadmin2.php XoopsModules/mylinks/branches/timgno/mylinks/admin/mygroupperm.php XoopsModules/mylinks/branches/timgno/mylinks/admin/mygrouppermform.php XoopsModules/mylinks/branches/timgno/mylinks/admin/mytplsadmin.php XoopsModules/mylinks/branches/timgno/mylinks/admin/mytplsform.php XoopsModules/mylinks/branches/timgno/mylinks/atom.php XoopsModules/mylinks/branches/timgno/mylinks/blocks/ XoopsModules/mylinks/branches/timgno/mylinks/blocks/index.html XoopsModules/mylinks/branches/timgno/mylinks/blocks/last.php XoopsModules/mylinks/branches/timgno/mylinks/blocks/mylinks_block_last.html XoopsModules/mylinks/branches/timgno/mylinks/blocks/mylinks_block_new.html XoopsModules/mylinks/branches/timgno/mylinks/blocks/mylinks_block_rand.html XoopsModules/mylinks/branches/timgno/mylinks/blocks/mylinks_block_top.html XoopsModules/mylinks/branches/timgno/mylinks/blocks/mylinks_rand.php XoopsModules/mylinks/branches/timgno/mylinks/blocks/mylinks_top.php XoopsModules/mylinks/branches/timgno/mylinks/bookmark.php XoopsModules/mylinks/branches/timgno/mylinks/brokenlink.php XoopsModules/mylinks/branches/timgno/mylinks/class/ XoopsModules/mylinks/branches/timgno/mylinks/class/admin.php XoopsModules/mylinks/branches/timgno/mylinks/class/category.php XoopsModules/mylinks/branches/timgno/mylinks/class/google_pagerank.php XoopsModules/mylinks/branches/timgno/mylinks/class/index.html XoopsModules/mylinks/branches/timgno/mylinks/class/menu.php XoopsModules/mylinks/branches/timgno/mylinks/class/mylinks_links.php XoopsModules/mylinks/branches/timgno/mylinks/class/mylinks_text.php XoopsModules/mylinks/branches/timgno/mylinks/class/mylinkspagenav.php XoopsModules/mylinks/branches/timgno/mylinks/class/mylinkstree.php XoopsModules/mylinks/branches/timgno/mylinks/class/mylinksutility.php XoopsModules/mylinks/branches/timgno/mylinks/comment_delete.php XoopsModules/mylinks/branches/timgno/mylinks/comment_edit.php XoopsModules/mylinks/branches/timgno/mylinks/comment_new.php XoopsModules/mylinks/branches/timgno/mylinks/comment_post.php XoopsModules/mylinks/branches/timgno/mylinks/comment_reply.php XoopsModules/mylinks/branches/timgno/mylinks/css/ XoopsModules/mylinks/branches/timgno/mylinks/css/admin.css XoopsModules/mylinks/branches/timgno/mylinks/css/index.html XoopsModules/mylinks/branches/timgno/mylinks/docs/ XoopsModules/mylinks/branches/timgno/mylinks/docs/addto/ XoopsModules/mylinks/branches/timgno/mylinks/docs/addto/MPL-1.1.txt XoopsModules/mylinks/branches/timgno/mylinks/docs/addto/index.html XoopsModules/mylinks/branches/timgno/mylinks/docs/addto/readme.txt XoopsModules/mylinks/branches/timgno/mylinks/docs/changelog.txt XoopsModules/mylinks/branches/timgno/mylinks/docs/credits.txt XoopsModules/mylinks/branches/timgno/mylinks/docs/index.html XoopsModules/mylinks/branches/timgno/mylinks/docs/install.txt XoopsModules/mylinks/branches/timgno/mylinks/docs/lang_diff.txt XoopsModules/mylinks/branches/timgno/mylinks/docs/licence.txt XoopsModules/mylinks/branches/timgno/mylinks/docs/readme.txt XoopsModules/mylinks/branches/timgno/mylinks/feedsubscription.php XoopsModules/mylinks/branches/timgno/mylinks/footer.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/ XoopsModules/mylinks/branches/timgno/mylinks/fpdf/chinese.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/ex.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/ XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/courier.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/helvetica.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/helveticab.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/helveticabi.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/helveticai.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/index.html XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/ XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/cp1250.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/cp1251.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/cp1252.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/cp1253.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/cp1254.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/cp1255.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/cp1257.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/cp1258.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/cp874.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/index.html XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/iso-8859-1.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/iso-8859-11.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/iso-8859-15.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/iso-8859-16.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/iso-8859-2.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/iso-8859-4.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/iso-8859-5.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/iso-8859-7.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/iso-8859-9.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/koi8-r.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/koi8-u.map XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/makefont/makefont.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/symbol.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/times.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/timesb.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/timesbi.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/timesi.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/font/zapfdingbats.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/fpdf.inc.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/fpdf.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/gif.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/index.html XoopsModules/mylinks/branches/timgno/mylinks/fpdf/japanese.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/korean.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/language/ XoopsModules/mylinks/branches/timgno/mylinks/fpdf/language/english.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/language/french.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/language/index.html XoopsModules/mylinks/branches/timgno/mylinks/fpdf/language/japanese.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/language/korean.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/language/schinese.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/language/tchinese.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/makepdf_class.php XoopsModules/mylinks/branches/timgno/mylinks/fpdf/makepdf_config.php XoopsModules/mylinks/branches/timgno/mylinks/getgfx.php XoopsModules/mylinks/branches/timgno/mylinks/header.php XoopsModules/mylinks/branches/timgno/mylinks/images/ XoopsModules/mylinks/branches/timgno/mylinks/images/Thumbs.db XoopsModules/mylinks/branches/timgno/mylinks/images/acrobat.gif XoopsModules/mylinks/branches/timgno/mylinks/images/acrobat_s.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/ XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Blink.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Blogmarks.png XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Bluedot.png XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Bookmarktracker.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Delicious.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Digg.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_FC2.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Furl.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Google.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Hatena.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Livedoorclip.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Magnolia.png XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Netscape.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Newsvine.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Newsvine.png XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Niftyclip.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Pookmark.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Reddit.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Simpy.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Spurl.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Tailrank.png XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Technorati.png XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Windowslive.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/AddTo_Yahoo.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/index.html XoopsModules/mylinks/branches/timgno/mylinks/images/addto/msn.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/pageflakes.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/pr-1.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/pr0.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/pr1.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/pr10.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/pr2.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/pr3.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/pr4.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/pr5.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/pr6.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/pr7.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/pr8.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/pr9.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/rojo.gif XoopsModules/mylinks/branches/timgno/mylinks/images/addto/solosub.gif XoopsModules/mylinks/branches/timgno/mylinks/images/admin/ XoopsModules/mylinks/branches/timgno/mylinks/images/admin/about.png XoopsModules/mylinks/branches/timgno/mylinks/images/admin/addlink.png XoopsModules/mylinks/branches/timgno/mylinks/images/admin/blocks.png XoopsModules/mylinks/branches/timgno/mylinks/images/admin/brokenlink.png XoopsModules/mylinks/branches/timgno/mylinks/images/admin/help.png XoopsModules/mylinks/branches/timgno/mylinks/images/admin/home.png XoopsModules/mylinks/branches/timgno/mylinks/images/admin/index.html XoopsModules/mylinks/branches/timgno/mylinks/images/admin/index.png XoopsModules/mylinks/branches/timgno/mylinks/images/admin/modifiedlink.png XoopsModules/mylinks/branches/timgno/mylinks/images/admin/permissions.png XoopsModules/mylinks/branches/timgno/mylinks/images/admin/preferences.png XoopsModules/mylinks/branches/timgno/mylinks/images/admin/submittedlink.png XoopsModules/mylinks/branches/timgno/mylinks/images/admin/templateadmin.png XoopsModules/mylinks/branches/timgno/mylinks/images/admin/update.png XoopsModules/mylinks/branches/timgno/mylinks/images/admin/xoopsmicrobutton.gif XoopsModules/mylinks/branches/timgno/mylinks/images/arrow.gif XoopsModules/mylinks/branches/timgno/mylinks/images/atom.png XoopsModules/mylinks/branches/timgno/mylinks/images/blocks/ XoopsModules/mylinks/branches/timgno/mylinks/images/blocks/index.html XoopsModules/mylinks/branches/timgno/mylinks/images/blocks/last.png XoopsModules/mylinks/branches/timgno/mylinks/images/bookmark.gif XoopsModules/mylinks/branches/timgno/mylinks/images/bookmark_s.gif XoopsModules/mylinks/branches/timgno/mylinks/images/bottom.gif XoopsModules/mylinks/branches/timgno/mylinks/images/code_bg.jpg XoopsModules/mylinks/branches/timgno/mylinks/images/deco/ XoopsModules/mylinks/branches/timgno/mylinks/images/deco/about.png XoopsModules/mylinks/branches/timgno/mylinks/images/deco/arrow.gif XoopsModules/mylinks/branches/timgno/mylinks/images/deco/blank.gif XoopsModules/mylinks/branches/timgno/mylinks/images/deco/contact.png XoopsModules/mylinks/branches/timgno/mylinks/images/deco/delete.png XoopsModules/mylinks/branches/timgno/mylinks/images/deco/edit.png XoopsModules/mylinks/branches/timgno/mylinks/images/deco/index.html XoopsModules/mylinks/branches/timgno/mylinks/images/deco/index.png XoopsModules/mylinks/branches/timgno/mylinks/images/deco/off.png XoopsModules/mylinks/branches/timgno/mylinks/images/deco/on.png XoopsModules/mylinks/branches/timgno/mylinks/images/deco/permissions.png XoopsModules/mylinks/branches/timgno/mylinks/images/deco/pref.png XoopsModules/mylinks/branches/timgno/mylinks/images/deco/table1_search.png XoopsModules/mylinks/branches/timgno/mylinks/images/deco/topic.png XoopsModules/mylinks/branches/timgno/mylinks/images/deco/update.png XoopsModules/mylinks/branches/timgno/mylinks/images/delete.png XoopsModules/mylinks/branches/timgno/mylinks/images/down.gif XoopsModules/mylinks/branches/timgno/mylinks/images/edit.png XoopsModules/mylinks/branches/timgno/mylinks/images/editicon.gif XoopsModules/mylinks/branches/timgno/mylinks/images/feed-icon.gif XoopsModules/mylinks/branches/timgno/mylinks/images/home.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/ XoopsModules/mylinks/branches/timgno/mylinks/images/icons/about.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/acrobat.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/acrobat_s.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/addlink.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/arrow.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/atom.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/blocks.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/bookmark.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/bookmark_s.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/bottom.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/brokenlink.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/delete.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/down.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/edit.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/feed-icon.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/help.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/home.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/home.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/index.html XoopsModules/mylinks/branches/timgno/mylinks/images/icons/index.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/konqueror.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/link.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/logo.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/minimize.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/modifiedlink.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/newred.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/off.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/ok.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/on.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/pda.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/pop.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/preferences.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/print.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/print_s.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/qrcode.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/qrcode_s.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/rdf.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/restore.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/rss.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/submittedlink.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/templateadmin.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/text.png XoopsModules/mylinks/branches/timgno/mylinks/images/icons/top.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/up.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/update.gif XoopsModules/mylinks/branches/timgno/mylinks/images/icons/update.png XoopsModules/mylinks/branches/timgno/mylinks/images/index.html XoopsModules/mylinks/branches/timgno/mylinks/images/link.gif XoopsModules/mylinks/branches/timgno/mylinks/images/logo.gif XoopsModules/mylinks/branches/timgno/mylinks/images/menu/ XoopsModules/mylinks/branches/timgno/mylinks/images/menu/bg.png XoopsModules/mylinks/branches/timgno/mylinks/images/menu/index.html XoopsModules/mylinks/branches/timgno/mylinks/images/menu/left_both.png XoopsModules/mylinks/branches/timgno/mylinks/images/menu/right_both.png XoopsModules/mylinks/branches/timgno/mylinks/images/minimize.gif XoopsModules/mylinks/branches/timgno/mylinks/images/mylinks_slogo.png XoopsModules/mylinks/branches/timgno/mylinks/images/newred.gif XoopsModules/mylinks/branches/timgno/mylinks/images/no_picture.gif XoopsModules/mylinks/branches/timgno/mylinks/images/pagerank/ XoopsModules/mylinks/branches/timgno/mylinks/images/pagerank/index.html XoopsModules/mylinks/branches/timgno/mylinks/images/pagerank/pr0.gif XoopsModules/mylinks/branches/timgno/mylinks/images/pagerank/pr1.gif XoopsModules/mylinks/branches/timgno/mylinks/images/pagerank/pr10.gif XoopsModules/mylinks/branches/timgno/mylinks/images/pagerank/pr2.gif XoopsModules/mylinks/branches/timgno/mylinks/images/pagerank/pr3.gif XoopsModules/mylinks/branches/timgno/mylinks/images/pagerank/pr4.gif XoopsModules/mylinks/branches/timgno/mylinks/images/pagerank/pr5.gif XoopsModules/mylinks/branches/timgno/mylinks/images/pagerank/pr6.gif XoopsModules/mylinks/branches/timgno/mylinks/images/pagerank/pr7.gif XoopsModules/mylinks/branches/timgno/mylinks/images/pagerank/pr8.gif XoopsModules/mylinks/branches/timgno/mylinks/images/pagerank/pr9.gif XoopsModules/mylinks/branches/timgno/mylinks/images/pda.png XoopsModules/mylinks/branches/timgno/mylinks/images/pop.gif XoopsModules/mylinks/branches/timgno/mylinks/images/print.gif XoopsModules/mylinks/branches/timgno/mylinks/images/print_s.gif XoopsModules/mylinks/branches/timgno/mylinks/images/qrcode.gif XoopsModules/mylinks/branches/timgno/mylinks/images/qrcode_s.gif XoopsModules/mylinks/branches/timgno/mylinks/images/rdf.png XoopsModules/mylinks/branches/timgno/mylinks/images/restore.gif XoopsModules/mylinks/branches/timgno/mylinks/images/rss.gif XoopsModules/mylinks/branches/timgno/mylinks/images/rss.png XoopsModules/mylinks/branches/timgno/mylinks/images/shots/ XoopsModules/mylinks/branches/timgno/mylinks/images/shots/Banner New Mbila GIF.png XoopsModules/mylinks/branches/timgno/mylinks/images/shots/NAMPULA - musica tradicional_resize.jpg XoopsModules/mylinks/branches/timgno/mylinks/images/shots/Supreme falcon.jpg XoopsModules/mylinks/branches/timgno/mylinks/images/shots/artentrenimento.jpg XoopsModules/mylinks/branches/timgno/mylinks/images/shots/banner1.gif XoopsModules/mylinks/branches/timgno/mylinks/images/shots/dueloforca01.jpg XoopsModules/mylinks/branches/timgno/mylinks/images/shots/esportes.gif XoopsModules/mylinks/branches/timgno/mylinks/images/shots/game design.jpg XoopsModules/mylinks/branches/timgno/mylinks/images/shots/index.html XoopsModules/mylinks/branches/timgno/mylinks/images/shots/internet.jpg XoopsModules/mylinks/branches/timgno/mylinks/images/shots/linux-inside.gif XoopsModules/mylinks/branches/timgno/mylinks/images/shots/livro_hardware.jpg XoopsModules/mylinks/branches/timgno/mylinks/images/shots/musica.jpg XoopsModules/mylinks/branches/timgno/mylinks/images/shots/mzonline.jpg XoopsModules/mylinks/branches/timgno/mylinks/images/shots/office.jpg XoopsModules/mylinks/branches/timgno/mylinks/images/shots/php-variables.png XoopsModules/mylinks/branches/timgno/mylinks/images/shots/python-logo.png XoopsModules/mylinks/branches/timgno/mylinks/images/shots/solidariedade.jpg XoopsModules/mylinks/branches/timgno/mylinks/images/shots/video.jpg XoopsModules/mylinks/branches/timgno/mylinks/images/shots/webmasteroy5.jpg XoopsModules/mylinks/branches/timgno/mylinks/images/text.gif XoopsModules/mylinks/branches/timgno/mylinks/images/thump/ XoopsModules/mylinks/branches/timgno/mylinks/images/thump/image-nothump.jpg XoopsModules/mylinks/branches/timgno/mylinks/images/top.gif XoopsModules/mylinks/branches/timgno/mylinks/images/up.gif XoopsModules/mylinks/branches/timgno/mylinks/images/update.gif XoopsModules/mylinks/branches/timgno/mylinks/images/vq.png XoopsModules/mylinks/branches/timgno/mylinks/images/vr.png XoopsModules/mylinks/branches/timgno/mylinks/images/xoopsmicrobutton.gif XoopsModules/mylinks/branches/timgno/mylinks/images2/ XoopsModules/mylinks/branches/timgno/mylinks/images2/admin/ XoopsModules/mylinks/branches/timgno/mylinks/images2/admin/about.png XoopsModules/mylinks/branches/timgno/mylinks/images2/admin/help.png XoopsModules/mylinks/branches/timgno/mylinks/images2/admin/index.html XoopsModules/mylinks/branches/timgno/mylinks/images2/admin/index.png XoopsModules/mylinks/branches/timgno/mylinks/images2/admin/preferences.png XoopsModules/mylinks/branches/timgno/mylinks/images2/admin/update.png XoopsModules/mylinks/branches/timgno/mylinks/images2/arrow.gif XoopsModules/mylinks/branches/timgno/mylinks/images2/delete.png XoopsModules/mylinks/branches/timgno/mylinks/images2/down.gif XoopsModules/mylinks/branches/timgno/mylinks/images2/edit.png XoopsModules/mylinks/branches/timgno/mylinks/images2/editicon.gif XoopsModules/mylinks/branches/timgno/mylinks/images2/home.gif XoopsModules/mylinks/branches/timgno/mylinks/images2/icons/ XoopsModules/mylinks/branches/timgno/mylinks/images2/icons/about.png XoopsModules/mylinks/branches/timgno/mylinks/images2/icons/help.png XoopsModules/mylinks/branches/timgno/mylinks/images2/icons/home.png XoopsModules/mylinks/branches/timgno/mylinks/images2/icons/index.html XoopsModules/mylinks/branches/timgno/mylinks/images2/icons/index.png XoopsModules/mylinks/branches/timgno/mylinks/images2/icons/preferences.png XoopsModules/mylinks/branches/timgno/mylinks/images2/icons/update.png XoopsModules/mylinks/branches/timgno/mylinks/images2/index.html XoopsModules/mylinks/branches/timgno/mylinks/images2/link.gif XoopsModules/mylinks/branches/timgno/mylinks/images2/link.gif.OLD XoopsModules/mylinks/branches/timgno/mylinks/images2/logo.gif XoopsModules/mylinks/branches/timgno/mylinks/images2/mylinks_slogo.png XoopsModules/mylinks/branches/timgno/mylinks/images2/mylinks_slogo0.png XoopsModules/mylinks/branches/timgno/mylinks/images2/newred.gif XoopsModules/mylinks/branches/timgno/mylinks/images2/pop.gif XoopsModules/mylinks/branches/timgno/mylinks/images2/shots/ XoopsModules/mylinks/branches/timgno/mylinks/images2/shots/index.html XoopsModules/mylinks/branches/timgno/mylinks/images2/up.gif XoopsModules/mylinks/branches/timgno/mylinks/images2/update.gif XoopsModules/mylinks/branches/timgno/mylinks/images2/xoopsmicrobutton.gif XoopsModules/mylinks/branches/timgno/mylinks/include/ XoopsModules/mylinks/branches/timgno/mylinks/include/addto-multi.js XoopsModules/mylinks/branches/timgno/mylinks/include/blocksadmin.inc.php XoopsModules/mylinks/branches/timgno/mylinks/include/comment_functions.php XoopsModules/mylinks/branches/timgno/mylinks/include/common.php XoopsModules/mylinks/branches/timgno/mylinks/include/data.inc.php XoopsModules/mylinks/branches/timgno/mylinks/include/feeddata.inc.php XoopsModules/mylinks/branches/timgno/mylinks/include/feedfunc.new.php XoopsModules/mylinks/branches/timgno/mylinks/include/functions.php XoopsModules/mylinks/branches/timgno/mylinks/include/gtickets.php XoopsModules/mylinks/branches/timgno/mylinks/include/index.html XoopsModules/mylinks/branches/timgno/mylinks/include/mylinks.css XoopsModules/mylinks/branches/timgno/mylinks/include/mylinks.js XoopsModules/mylinks/branches/timgno/mylinks/include/notification.inc.php XoopsModules/mylinks/branches/timgno/mylinks/include/oninstall.inc.php XoopsModules/mylinks/branches/timgno/mylinks/include/onuninstall.inc.php XoopsModules/mylinks/branches/timgno/mylinks/include/onupdate.inc.php XoopsModules/mylinks/branches/timgno/mylinks/include/pagerank_curl.php XoopsModules/mylinks/branches/timgno/mylinks/include/search.inc.php XoopsModules/mylinks/branches/timgno/mylinks/include/updateblock.inc.php XoopsModules/mylinks/branches/timgno/mylinks/include/xoopssearchform.php XoopsModules/mylinks/branches/timgno/mylinks/index.html XoopsModules/mylinks/branches/timgno/mylinks/index.php XoopsModules/mylinks/branches/timgno/mylinks/language/ XoopsModules/mylinks/branches/timgno/mylinks/language/english/ XoopsModules/mylinks/branches/timgno/mylinks/language/english/admin.php XoopsModules/mylinks/branches/timgno/mylinks/language/english/blocks.php XoopsModules/mylinks/branches/timgno/mylinks/language/english/changelog.txt XoopsModules/mylinks/branches/timgno/mylinks/language/english/help/ XoopsModules/mylinks/branches/timgno/mylinks/language/english/help/help.html XoopsModules/mylinks/branches/timgno/mylinks/language/english/help/index.html XoopsModules/mylinks/branches/timgno/mylinks/language/english/help.php XoopsModules/mylinks/branches/timgno/mylinks/language/english/index.html XoopsModules/mylinks/branches/timgno/mylinks/language/english/mail_template/ XoopsModules/mylinks/branches/timgno/mylinks/language/english/mail_template/category_linksubmit_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/english/mail_template/category_newlink_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/english/mail_template/global_linkbroken_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/english/mail_template/global_linkmodify_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/english/mail_template/global_linksubmit_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/english/mail_template/global_newcategory_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/english/mail_template/global_newlink_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/english/mail_template/index.html XoopsModules/mylinks/branches/timgno/mylinks/language/english/mail_template/link_approve_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/english/main.php XoopsModules/mylinks/branches/timgno/mylinks/language/english/modinfo.php XoopsModules/mylinks/branches/timgno/mylinks/language/english/sql/ XoopsModules/mylinks/branches/timgno/mylinks/language/english/sql/index.html XoopsModules/mylinks/branches/timgno/mylinks/language/english/sql/mylinks_cat.dat XoopsModules/mylinks/branches/timgno/mylinks/language/index.html XoopsModules/mylinks/branches/timgno/mylinks/language/italian/ XoopsModules/mylinks/branches/timgno/mylinks/language/italian/admin.php XoopsModules/mylinks/branches/timgno/mylinks/language/italian/blocks.php XoopsModules/mylinks/branches/timgno/mylinks/language/italian/help.php XoopsModules/mylinks/branches/timgno/mylinks/language/italian/index.html XoopsModules/mylinks/branches/timgno/mylinks/language/italian/mail_template/ XoopsModules/mylinks/branches/timgno/mylinks/language/italian/mail_template/category_linksubmit_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/italian/mail_template/category_newlink_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/italian/mail_template/global_linkbroken_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/italian/mail_template/global_linkmodify_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/italian/mail_template/global_linksubmit_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/italian/mail_template/global_newcategory_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/italian/mail_template/global_newlink_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/italian/mail_template/link_approve_notify.tpl XoopsModules/mylinks/branches/timgno/mylinks/language/italian/main.php XoopsModules/mylinks/branches/timgno/mylinks/language/italian/modinfo.php XoopsModules/mylinks/branches/timgno/mylinks/makepdf.php XoopsModules/mylinks/branches/timgno/mylinks/modlink.php XoopsModules/mylinks/branches/timgno/mylinks/myheader.php XoopsModules/mylinks/branches/timgno/mylinks/mylinks_atom.html XoopsModules/mylinks/branches/timgno/mylinks/mylinks_breadcrumbs.html XoopsModules/mylinks/branches/timgno/mylinks/mylinks_brokenlink.html XoopsModules/mylinks/branches/timgno/mylinks/mylinks_header.html XoopsModules/mylinks/branches/timgno/mylinks/mylinks_index.html XoopsModules/mylinks/branches/timgno/mylinks/mylinks_link.html XoopsModules/mylinks/branches/timgno/mylinks/mylinks_modlink.html XoopsModules/mylinks/branches/timgno/mylinks/mylinks_pda.html XoopsModules/mylinks/branches/timgno/mylinks/mylinks_ratelink.html XoopsModules/mylinks/branches/timgno/mylinks/mylinks_rss.html XoopsModules/mylinks/branches/timgno/mylinks/mylinks_search_inc.html XoopsModules/mylinks/branches/timgno/mylinks/mylinks_singlelink.html XoopsModules/mylinks/branches/timgno/mylinks/mylinks_submit.html XoopsModules/mylinks/branches/timgno/mylinks/mylinks_topten.html XoopsModules/mylinks/branches/timgno/mylinks/mylinks_viewcat.html XoopsModules/mylinks/branches/timgno/mylinks/notification_update.php XoopsModules/mylinks/branches/timgno/mylinks/pda.php XoopsModules/mylinks/branches/timgno/mylinks/pdf.php XoopsModules/mylinks/branches/timgno/mylinks/print.php XoopsModules/mylinks/branches/timgno/mylinks/qrcode.php XoopsModules/mylinks/branches/timgno/mylinks/ratelink.php XoopsModules/mylinks/branches/timgno/mylinks/rss.php XoopsModules/mylinks/branches/timgno/mylinks/seo.php XoopsModules/mylinks/branches/timgno/mylinks/singlelink.php XoopsModules/mylinks/branches/timgno/mylinks/sql/ XoopsModules/mylinks/branches/timgno/mylinks/sql/index.html XoopsModules/mylinks/branches/timgno/mylinks/sql/mysql.sql XoopsModules/mylinks/branches/timgno/mylinks/submit.php XoopsModules/mylinks/branches/timgno/mylinks/summary.php XoopsModules/mylinks/branches/timgno/mylinks/templates/ XoopsModules/mylinks/branches/timgno/mylinks/templates/admin/ XoopsModules/mylinks/branches/timgno/mylinks/templates/admin/mylinks_admin_about.html XoopsModules/mylinks/branches/timgno/mylinks/templates/admin/mylinks_admin_help.html XoopsModules/mylinks/branches/timgno/mylinks/templates/admin/mylinks_admin_index.html XoopsModules/mylinks/branches/timgno/mylinks/templates/blocks/ XoopsModules/mylinks/branches/timgno/mylinks/templates/blocks/index.html XoopsModules/mylinks/branches/timgno/mylinks/templates/blocks/mylinks_block_last.html XoopsModules/mylinks/branches/timgno/mylinks/templates/blocks/mylinks_block_new.html XoopsModules/mylinks/branches/timgno/mylinks/templates/blocks/mylinks_block_rand.html XoopsModules/mylinks/branches/timgno/mylinks/templates/blocks/mylinks_block_top.html XoopsModules/mylinks/branches/timgno/mylinks/templates/index.html XoopsModules/mylinks/branches/timgno/mylinks/templates/mylinks_atom.html XoopsModules/mylinks/branches/timgno/mylinks/templates/mylinks_brokenlink.html XoopsModules/mylinks/branches/timgno/mylinks/templates/mylinks_header.html XoopsModules/mylinks/branches/timgno/mylinks/templates/mylinks_index.html XoopsModules/mylinks/branches/timgno/mylinks/templates/mylinks_link.html XoopsModules/mylinks/branches/timgno/mylinks/templates/mylinks_modlink.html XoopsModules/mylinks/branches/timgno/mylinks/templates/mylinks_pda.html XoopsModules/mylinks/branches/timgno/mylinks/templates/mylinks_ratelink.html XoopsModules/mylinks/branches/timgno/mylinks/templates/mylinks_rss.html XoopsModules/mylinks/branches/timgno/mylinks/templates/mylinks_search_inc.html XoopsModules/mylinks/branches/timgno/mylinks/templates/mylinks_singlelink.html XoopsModules/mylinks/branches/timgno/mylinks/templates/mylinks_submit.html XoopsModules/mylinks/branches/timgno/mylinks/templates/mylinks_topten.html XoopsModules/mylinks/branches/timgno/mylinks/templates/mylinks_viewcat.html XoopsModules/mylinks/branches/timgno/mylinks/test/ XoopsModules/mylinks/branches/timgno/mylinks/test/index.html XoopsModules/mylinks/branches/timgno/mylinks/topten.php XoopsModules/mylinks/branches/timgno/mylinks/viewcat.php XoopsModules/mylinks/branches/timgno/mylinks/visit.php XoopsModules/mylinks/branches/timgno/mylinks/xoops_version.php Removed Paths: ------------- XoopsModules/mylinks/branches/timgno/mylinks/admin/ XoopsModules/mylinks/branches/timgno/mylinks/blocks/ XoopsModules/mylinks/branches/timgno/mylinks/broken.php XoopsModules/mylinks/branches/timgno/mylinks/cat.php XoopsModules/mylinks/branches/timgno/mylinks/class/ XoopsModules/mylinks/branches/timgno/mylinks/css/ XoopsModules/mylinks/branches/timgno/mylinks/docs/ XoopsModules/mylinks/branches/timgno/mylinks/header.php XoopsModules/mylinks/branches/timgno/mylinks/images/ XoopsModules/mylinks/branches/timgno/mylinks/include/ XoopsModules/mylinks/branches/timgno/mylinks/index.php XoopsModules/mylinks/branches/timgno/mylinks/language/ XoopsModules/mylinks/branches/timgno/mylinks/links.php XoopsModules/mylinks/branches/timgno/mylinks/mod.php XoopsModules/mylinks/branches/timgno/mylinks/sql/ XoopsModules/mylinks/branches/timgno/mylinks/templates/ XoopsModules/mylinks/branches/timgno/mylinks/text.php XoopsModules/mylinks/branches/timgno/mylinks/votedata.php XoopsModules/mylinks/branches/timgno/mylinks/xoops_version.php Added: XoopsModules/mylinks/branches/timgno/mylinks/.htaccess =================================================================== --- XoopsModules/mylinks/branches/timgno/mylinks/.htaccess (rev 0) +++ XoopsModules/mylinks/branches/timgno/mylinks/.htaccess 2015-01-20 10:39:25 UTC (rev 12938) @@ -0,0 +1,65 @@ +## Copy htaccess file to your module root dir and rename to .htaccess + +RewriteEngine On +## mylinks - begin ## +RewriteCond %{request_uri} !^/mylinks/([a-z\x2D]+)\/([a-z]+)\/([0-9.]+) +RewriteRule ^([a-z\x2D]+)\/([a-z]+)\/([0-9.]+)/ ?seoOp=$2&seoArg=$3 [L,NC,QSA] + +RewriteCond %{request_uri} !^/mylinks/([a-z]+)\/([0-9.]+) +RewriteRule ^([a-z]+)\/([0-9.]+)/ ?seoOp=$1&seoArg=$2 [L,NC,QSA] +## mylinks - end + +RewriteCond %{HTTP_REFERER} !^http://directory.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://directory.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://downloads.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://downloads.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://forum.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://forum.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://m.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://m.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://mobile.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://mobile.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://modules.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://modules.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://news.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://news.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://openid.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://openid.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://themes.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://themes.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://tutorials.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://tutorials.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://txmodxoops.it/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://txmodxoops.it$ [NC] +RewriteCond %{HTTP_REFERER} !^http://txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.directory.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.directory.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.downloads.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.downloads.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.forum.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.forum.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.m.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.m.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.mobile.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.mobile.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.modules.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.modules.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.news.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.news.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.openid.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.openid.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.themes.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.themes.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.tutorials.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.tutorials.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.txmodxoops.it/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.txmodxoops.it$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.x260.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://www.x260.txmodxoops.org$ [NC] +RewriteCond %{HTTP_REFERER} !^http://x260.txmodxoops.org/.*$ [NC] +RewriteCond %{HTTP_REFERER} !^http://x260.txmodxoops.org$ [NC] +RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ http://www.txmodxoops.org [R,NC] + Added: XoopsModules/mylinks/branches/timgno/mylinks/admin/about.php =================================================================== --- XoopsModules/mylinks/branches/timgno/mylinks/admin/about.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/mylinks/admin/about.php 2015-01-20 10:39:25 UTC (rev 12938) @@ -0,0 +1,50 @@ +<?php +/** + * Slideshow module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Marquee + * @since 2.5.0 + * @author kris <http://www.xoofoo.org> - dugris <http://dugris.info> + * @version $Id $ +**/ + +include "header1.php"; + +$module_info =& $module_handler->get( $xoopsModule->getVar("mid") ); + +$xoopsTpl->assign("module_name", $xoopsModule->getVar("name") ); +$xoopsTpl->assign("module_dirname", $xoopsModule->getVar("dirname") ); +$xoopsTpl->assign("module_image", $module_info->getInfo("image") ); +$xoopsTpl->assign("module_version", $module_info->getInfo("version") ); +$xoopsTpl->assign("module_description", $module_info->getInfo("description") ); +//$xoopsTpl->assign("module_release", $module_info->getInfo("release") ); +$xoopsTpl->assign("module_author", $module_info->getInfo("author") ); +$xoopsTpl->assign("module_credits", $module_info->getInfo("credits") ); +$xoopsTpl->assign("module_license_url", $module_info->getInfo("license_url") ); +$xoopsTpl->assign("module_license", $module_info->getInfo("license") ); +$xoopsTpl->assign("module_status", $module_info->getInfo("module_status") ); +$xoopsTpl->assign("module_website_url", $module_info->getInfo("module_website_url") ); +$xoopsTpl->assign("module_website_name", $module_info->getInfo("module_website_name") ); +$xoopsTpl->assign("author_website_url", $module_info->getInfo("author_website_url") ); +$xoopsTpl->assign("author_website_name", $module_info->getInfo("author_website_name") ); + +global $xoopsModule; +$xoopsTpl->assign("module_update_date", formatTimestamp($xoopsModule->getVar("last_update"),"m") ); + +if ( is_readable( $changelog = XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar("dirname") . "/docs/changelog.txt" ) ){ + $xoopsTpl->assign("changelog", implode("<br />", file( $changelog ) ) ); +} + +$xoopsTpl->display("db: admin/" . $xoopsModule->getVar("dirname") . "_admin_about.html"); + +include "footer1.php"; +?> \ No newline at end of file Added: XoopsModules/mylinks/branches/timgno/mylinks/admin/admin.php =================================================================== --- XoopsModules/mylinks/branches/timgno/mylinks/admin/admin.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/mylinks/admin/admin.php 2015-01-20 10:39:25 UTC (rev 12938) @@ -0,0 +1,160 @@ +<?php +// $Id: admin.php,v 1.7 2003/04/11 13:00:53 okazu Exp $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +// Author: Kazumi Ono (AKA onokazu) // +// URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // + +$admin_mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; + +$fct = empty( $_POST['fct'] ) ? '' : trim( $_POST['fct'] ) ; +$fct = empty( $_GET['fct'] ) ? $fct : trim( $_GET['fct'] ) ; +if( empty( $fct ) ) $fct = 'preferences' ; +//if (isset($fct) && $fct == "users") { +// $xoopsOption['pagetype'] = "user"; +//} +include "../../../mainfile.php"; +// include "../../mainfile.php"; GIJ +include XOOPS_ROOT_PATH."/include/cp_functions.php"; + +include_once XOOPS_ROOT_PATH."/class/xoopsmodule.php"; +include_once "../include/gtickets.php" ;// GIJ + +$admintest = 0; + +if (is_object($xoopsUser)) { + $xoopsModule =& XoopsModule::getByDirname("system"); + if ( !$xoopsUser->isAdmin($xoopsModule->mid()) ) { + redirect_header(XOOPS_URL.'/user.php',3,_NOPERM); + exit(); + } + $admintest=1; +} else { + redirect_header(XOOPS_URL.'/user.php',3,_NOPERM); + exit(); +} + +// include system category definitions +include_once XOOPS_ROOT_PATH."/modules/system/constants.php"; +$error = false; +if ($admintest != 0) { + if (isset($fct) && $fct != '') { + if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/xoops_version.php")) { + + if ( file_exists(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin.php") ) { + include XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin.php"; + } else { + include XOOPS_ROOT_PATH."/modules/system/language/english/admin.php"; + } + + if (file_exists(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/".$fct.".php")) { + include XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/".$fct.".php"; + } elseif (file_exists(XOOPS_ROOT_PATH."/modules/system/language/english/admin/".$fct.".php")) { + include XOOPS_ROOT_PATH."/modules/system/language/english/admin/".$fct.".php"; + } + include XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/xoops_version.php"; + $sysperm_handler =& xoops_gethandler('groupperm'); + $category = !empty($modversion['category']) ? intval($modversion['category']) : 0; + unset($modversion); + if ($category > 0) { + $groups = $xoopsUser->getGroups(); + if (in_array(XOOPS_GROUP_ADMIN, $groups) || false != $sysperm_handler->checkRight('system_admin', $category, $groups, $xoopsModule->getVar('mid'))){ +// if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/main.php")) { +// include_once XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/main.php"; GIJ + if (file_exists("../include/{$fct}.inc.php")) { + include_once "../include/{$fct}.inc.php" ; + } else { + $error = true; + } + } else { + $error = true; + } + } elseif ($fct == 'version') { + if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/version/main.php")) { + include_once XOOPS_ROOT_PATH."/modules/system/admin/version/main.php"; + } else { + $error = true; + } + } else { + $error = true; + } + } else { + $error = true; + } + } else { + $error = true; + } +} + +if (false != $error) { + xoops_cp_header(); + echo "<h4>System Configuration</h4>"; + echo '<table class="outer" cellpadding="4" cellspacing="1">'; + echo '<tr>'; + $groups = $xoopsUser->getGroups(); + $all_ok = false; + if (!in_array(XOOPS_GROUP_ADMIN, $groups)) { + $sysperm_handler =& xoops_gethandler('groupperm'); + $ok_syscats = $sysperm_handler->getItemIds('system_admin', $groups); + } else { + $all_ok = true; + } + $admin_dir = XOOPS_ROOT_PATH."/modules/system/admin"; + $handle = opendir($admin_dir); + $counter = 0; + $class = 'even'; + while ($file = readdir($handle)) { + if (strtolower($file) != 'cvs' && !preg_match("/[.]/", $file) && is_dir($admin_dir.'/'.$file)) { + include $admin_dir.'/'.$file.'/xoops_version.php'; + if ($modversion['hasAdmin']) { + $category = isset($modversion['category']) ? intval($modversion['category']) : 0; + if (false != $all_ok || in_array($modversion['category'], $ok_syscats)) { + echo "<td class='$class' align='center' valign='bottom' width='19%'>"; + echo "<a href='".XOOPS_URL."/modules/system/admin.php?fct=".$file."'><b>" .trim($modversion['name'])."</b></a>\n"; + echo "</td>"; + $counter++; + $class = ($class == 'even') ? 'odd' : 'even'; + } + if ( $counter > 4 ) { + $counter = 0; + echo "</tr>"; + echo "<tr>"; + } + } + unset($modversion); + } + } + while ($counter < 5) { + echo '<td class="'.$class.'"> </td>'; + $class = ($class == 'even') ? 'odd' : 'even'; + $counter++; + } + echo '</tr></table>'; + xoops_cp_footer(); +} + +?> \ No newline at end of file Added: XoopsModules/mylinks/branches/timgno/mylinks/admin/footer.php =================================================================== --- XoopsModules/mylinks/branches/timgno/mylinks/admin/footer.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/mylinks/admin/footer.php 2015-01-20 10:39:25 UTC (rev 12938) @@ -0,0 +1,27 @@ +<?php +/** + * MyLinks module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright:: The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license:: http://www.fsf.org/copyleft/gpl.html GNU public license + * @package:: mylinks + * @subpackage:: admin + * @since: 2.5.0 + * @author:: Magic.Shao <mag...@gm...> - Susheng Yang <ezs...@gm...> + * @version:: $Id $ +**/ + +echo "<div class='adminfooter'>\n" + ." <div style='text-align: center;'>\n" + ." <a href='http://www.xoops.org' target='_blank'><img src='../images/admin/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + ." </div>\n" + ." " . _AM_MYLINKS_ADMIN_FOOTER . "\n" + ."</div>"; +xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/mylinks/branches/timgno/mylinks/admin/footer1.php =================================================================== --- XoopsModules/mylinks/branches/timgno/mylinks/admin/footer1.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/mylinks/admin/footer1.php 2015-01-20 10:39:25 UTC (rev 12938) @@ -0,0 +1,21 @@ +<?php +/** + * Slideshow module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Slideshow + * @since 2.5.0 + * @author Magic.Shao <mag...@gm...> - Susheng Yang <ezs...@gm...> + * @version $Id $ +**/ +echo _AM_MARQUEE_ADMIN_FOOTER; +xoops_cp_footer(); +?> Added: XoopsModules/mylinks/branches/timgno/mylinks/admin/header.php =================================================================== --- XoopsModules/mylinks/branches/timgno/mylinks/admin/header.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/mylinks/admin/header.php 2015-01-20 10:39:25 UTC (rev 12938) @@ -0,0 +1,55 @@ +<?php +/** + * MyLinks module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright:: The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license:: http://www.fsf.org/copyleft/gpl.html GNU public license + * @package:: mylinks + * @subpackage:: admin + * @since:: 2.5.0 + * @author:: Magic.Shao <mag...@gm...> - Susheng Yang <ezs...@gm...> + * @version:: $Id $ +**/ + +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; +include("../../../include/cp_header.php"); +include_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar("dirname") . "/class/admin.php"; + +//defined("FRAMEWORKS_ART_FUNCTIONS_INI") || include_once XOOPS_ROOT_PATH.'/Frameworks/art/functions.ini.php'; +//load_functions("admin"); + +$myts =& MyTextSanitizer::getInstance(); + +if ($xoopsUser) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $xoopsModule->getVar( 'mid' ), $xoopsUser->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } +} else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); +} + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $xoopsTpl = new XoopsTpl(); +} + +xoops_cp_header(); + +// Define Stylesheet and JScript +$xoTheme->addStylesheet( XOOPS_URL . "/modules/" . $xoopsModule->getVar("dirname") . "/css/admin.css" ); + +//Load languages +xoops_loadLanguage('admin', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('modinfo', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('main', $xoopsModule->getVar("dirname")); \ No newline at end of file Added: XoopsModules/mylinks/branches/timgno/mylinks/admin/header1.php =================================================================== --- XoopsModules/mylinks/branches/timgno/mylinks/admin/header1.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/mylinks/admin/header1.php 2015-01-20 10:39:25 UTC (rev 12938) @@ -0,0 +1,41 @@ +<?php +/** + * Slideshow module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Slideshow + * @since 2.5.0 + * @author Magic.Shao <mag...@gm...> - Susheng Yang <ezs...@gm...> + * @version $Id $ +**/ + +include("../../../include/cp_header.php"); + +defined("FRAMEWORKS_ART_FUNCTIONS_INI") || include_once XOOPS_ROOT_PATH.'/Frameworks/art/functions.ini.php'; +load_functions("admin"); + +if ( !@include_once(XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar("dirname")."/language/" . $xoopsConfig['language'] . "/main.php")) { + include_once(XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar("dirname")."/language/english/main.php"); +} + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $xoopsTpl = new XoopsTpl(); +} + +xoops_cp_header(); + +// Define Stylesheet and JScript +$xoTheme->addStylesheet( XOOPS_URL . "/modules/" . $xoopsModule->getVar("dirname") . "/css/admin.css" ); +//$xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js"); +//$xoTheme->addScript("browse.php?modules/" . $xoopsModule->getVar("dirname") . "/js/admin.js"); + +?> Added: XoopsModules/mylinks/branches/timgno/mylinks/admin/help.php =================================================================== --- XoopsModules/mylinks/branches/timgno/mylinks/admin/help.php (rev 0) +++ XoopsModules/mylinks/branches/timgno/mylinks/admin/help.php 2015-01-20 10:39:25 UTC (rev 12938) @@ -0,0 +1,27 @@ +<?php +/** + * Ghost module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Ghost + * @since 2.3.0 + * @author Dugris <http://www.dugris.info> + * @version $Id: xoops_version.php 273 2010-05-14 14:40:51Z kris_fr $ +**/ + +include "header1.php"; + +xoops_loadLanguage("help", $xoopsModule->getVar("dirname", "e")); + +$xoopsTpl->display("db: admin/" . $xoopsModule->getVar("dirname") . "_admin_help.html"); + +include "footer1.php"; +?> \ No newline at end of fi... [truncated message content] |
From: <txm...@us...> - 2015-01-20 10:20:00
|
Revision: 12937 http://sourceforge.net/p/xoops/svn/12937 Author: txmodxoops Date: 2015-01-20 10:19:43 +0000 (Tue, 20 Jan 2015) Log Message: ----------- branches/timgno xoopstube v.1.12 Added Paths: ----------- XoopsModules/xoopstube/branches/timgno/ XoopsModules/xoopstube/branches/timgno/xoopstube/ XoopsModules/xoopstube/branches/timgno/xoopstube/.htaccess XoopsModules/xoopstube/branches/timgno/xoopstube/admin/ XoopsModules/xoopstube/branches/timgno/xoopstube/admin/about.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/admin_footer.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/admin_header.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/altcat.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/blockform.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/blocksadmin.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/brokenvideo.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/category.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/index.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/indexpage.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/main.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/menu.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/modifications.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/newvideos.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/permissions.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/upload.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/votedata.php XoopsModules/xoopstube/branches/timgno/xoopstube/admin/vupload.php XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/ XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/banner.php XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/last.php XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/tag.php XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/top.php XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/xoopstube.html XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/xoopstube0.html XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/xoopstube_block_last.html XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/xoopstube_block_new.html XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/xoopstube_block_new_h.html XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/xoopstube_block_new_t.html XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/xoopstube_block_random.html XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/xoopstube_block_random_h.html XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/xoopstube_block_spotlight.html XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/xoopstube_block_spotlight_slider.html XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/xoopstube_block_top.html XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/xoopstube_block_top_t.html XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/xoopstube_tag_block_cloud.html XoopsModules/xoopstube/branches/timgno/xoopstube/blocks/xoopstube_tag_block_tag.html XoopsModules/xoopstube/branches/timgno/xoopstube/brokenvideo.php XoopsModules/xoopstube/branches/timgno/xoopstube/class/ XoopsModules/xoopstube/branches/timgno/xoopstube/class/categories.php XoopsModules/xoopstube/branches/timgno/xoopstube/class/class_lists.php XoopsModules/xoopstube/branches/timgno/xoopstube/class/class_thumbnail.php XoopsModules/xoopstube/branches/timgno/xoopstube/class/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/class/myts_extended.php XoopsModules/xoopstube/branches/timgno/xoopstube/class/uploader.php XoopsModules/xoopstube/branches/timgno/xoopstube/class/videos.php XoopsModules/xoopstube/branches/timgno/xoopstube/class/xoopstubetree.php XoopsModules/xoopstube/branches/timgno/xoopstube/class/xtube_lists.php XoopsModules/xoopstube/branches/timgno/xoopstube/comment_delete.php XoopsModules/xoopstube/branches/timgno/xoopstube/comment_edit.php XoopsModules/xoopstube/branches/timgno/xoopstube/comment_new.php XoopsModules/xoopstube/branches/timgno/xoopstube/comment_post.php XoopsModules/xoopstube/branches/timgno/xoopstube/comment_reply.php XoopsModules/xoopstube/branches/timgno/xoopstube/docs/ XoopsModules/xoopstube/branches/timgno/xoopstube/docs/changelog.txt XoopsModules/xoopstube/branches/timgno/xoopstube/docs/credits.txt XoopsModules/xoopstube/branches/timgno/xoopstube/docs/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/docs/install.txt XoopsModules/xoopstube/branches/timgno/xoopstube/docs/lang_diff.txt XoopsModules/xoopstube/branches/timgno/xoopstube/docs/license.txt XoopsModules/xoopstube/branches/timgno/xoopstube/docs/readme.txt XoopsModules/xoopstube/branches/timgno/xoopstube/footer.php XoopsModules/xoopstube/branches/timgno/xoopstube/header.php XoopsModules/xoopstube/branches/timgno/xoopstube/images/ XoopsModules/xoopstube/branches/timgno/xoopstube/images/blank.gif XoopsModules/xoopstube/branches/timgno/xoopstube/images/blank.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/blocks/ XoopsModules/xoopstube/branches/timgno/xoopstube/images/blocks/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/images/blocks/last.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/brokenimg.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/category/ XoopsModules/xoopstube/branches/timgno/xoopstube/images/category/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/images/category/thumbs/ XoopsModules/xoopstube/branches/timgno/xoopstube/images/category/thumbs/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/images/forum.gif XoopsModules/xoopstube/branches/timgno/xoopstube/images/get_flash_player.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/ XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/Thumbs.db XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/admintools.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/back.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/backgnd.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/backgnd_green.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/blocks.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/clapboard.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/clock_red.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/computer.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/down.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/film.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/film_accept.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/film_approve.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/film_delete.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/film_edit.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/film_ignore.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/film_off.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/film_on.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/folder.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/folder_add.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/indexpage.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/linkload.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/linkload1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/linkload1_small.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/linkload2.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/linkload2_small.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/linkload3.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/linkload3_small.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/linkload4.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/linkload4_small.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/links.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/new.gif XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/new0.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/play.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/popular.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/rate0.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/rate1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/rate2.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/rate3.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/rate4.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/rate5.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/security.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/server.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/up.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/update.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/updated.gif XoopsModules/xoopstube/branches/timgno/xoopstube/images/icon/view.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/images/logo-en.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/ XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/backflip.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/backflip_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/bibsonomy.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/bibsonomy_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/blinklist.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/blinklist_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/blogmarks.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/blogmarks_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/citeulike.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/citeulike_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/connotea.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/connotea_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/del.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/del_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/digg.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/digg_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/diigo.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/diigo_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/dzone.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/dzone_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/earthlink.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/earthlink_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/eatmyhamster.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/eatmyhamster_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/facebook.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/fantacular.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/fantacular_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/fark.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/fark_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/feedmarker.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/feedmarker_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/feedmelinks.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/feedmelinks_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/furl.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/furl_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/google.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/google_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/gravee.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/gravee_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/igooi.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/igooi_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/italknews.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/italknews_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/jookster.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/jookster_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/kinja.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/kinja_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/linkagogo.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/linkagogo_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/linkroll.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/linkroll_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/linuxquestions.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/linuxquestions_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/live.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/live_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/lookmarks.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/lookmarks_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/lycos.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/lycos_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/magnolia.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/magnolia_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/markabboo.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/markabboo_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/netscape.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/netscape_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/netvouz.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/netvouz_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/newsvine.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/newsvine_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/ning.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/ning_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/nowpublic.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/nowpublic_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/rawsugar.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/rawsugar_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/reddit.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/reddit_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/riffs.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/riffs_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/rojo.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/rojo_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/shadows.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/shadows_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/simpy.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/simpy_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/spurl.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/spurl_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/squidoo.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/squidoo_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/stumbleupon.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/stumbleupon_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/tagtooga.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/tagtooga_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/technorati.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/technorati_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/vista.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/vista_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/what.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/what_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/windows_live.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/windows_live_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/wink.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/wink_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/yahoo.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/sbookmarks/yahoo_1.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/screenshots/ XoopsModules/xoopstube/branches/timgno/xoopstube/images/screenshots/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/images/screenshots/thumbs/ XoopsModules/xoopstube/branches/timgno/xoopstube/images/screenshots/thumbs/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/images/size2.gif XoopsModules/xoopstube/branches/timgno/xoopstube/images/thumbs/ XoopsModules/xoopstube/branches/timgno/xoopstube/images/thumbs/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/images/xoopstube_ilogo.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/xtube_iconbig.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/xtube_iconsmall.png XoopsModules/xoopstube/branches/timgno/xoopstube/images/xtube_slogo.png XoopsModules/xoopstube/branches/timgno/xoopstube/include/ XoopsModules/xoopstube/branches/timgno/xoopstube/include/comment_functions.php XoopsModules/xoopstube/branches/timgno/xoopstube/include/common.php XoopsModules/xoopstube/branches/timgno/xoopstube/include/config.php XoopsModules/xoopstube/branches/timgno/xoopstube/include/functions.php XoopsModules/xoopstube/branches/timgno/xoopstube/include/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/include/install.php XoopsModules/xoopstube/branches/timgno/xoopstube/include/mediaplayer.swf XoopsModules/xoopstube/branches/timgno/xoopstube/include/notification.inc.php XoopsModules/xoopstube/branches/timgno/xoopstube/include/onupdate.inc.php XoopsModules/xoopstube/branches/timgno/xoopstube/include/plugin.tag.php XoopsModules/xoopstube/branches/timgno/xoopstube/include/search.inc.php XoopsModules/xoopstube/branches/timgno/xoopstube/include/update.php XoopsModules/xoopstube/branches/timgno/xoopstube/include/video.php XoopsModules/xoopstube/branches/timgno/xoopstube/include/videoloadinfo.php XoopsModules/xoopstube/branches/timgno/xoopstube/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/index.php XoopsModules/xoopstube/branches/timgno/xoopstube/language/ XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/ XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/admin.php XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/blocks.php XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/help/ XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/help/help.html XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/help/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/local.php XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/mail_template/ XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/mail_template/category_newvideo_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/mail_template/category_videosubmit_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/mail_template/global_newcategory_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/mail_template/global_newvideo_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/mail_template/global_videobroken_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/mail_template/global_videomodify_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/mail_template/global_videosubmit_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/mail_template/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/mail_template/video_approve_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/mail_template/videobroken_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/main.php XoopsModules/xoopstube/branches/timgno/xoopstube/language/english/modinfo.php XoopsModules/xoopstube/branches/timgno/xoopstube/language/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/ XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/admin.php XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/blocks.php XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/help/ XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/help/help.html XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/help/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/local.php XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/mail_template/ XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/mail_template/category_newvideo_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/mail_template/category_videosubmit_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/mail_template/global_newcategory_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/mail_template/global_newvideo_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/mail_template/global_videobroken_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/mail_template/global_videomodify_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/mail_template/global_videosubmit_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/mail_template/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/mail_template/video_approve_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/mail_template/videobroken_notify.tpl XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/main.php XoopsModules/xoopstube/branches/timgno/xoopstube/language/italian/modinfo.php XoopsModules/xoopstube/branches/timgno/xoopstube/list.tag.php XoopsModules/xoopstube/branches/timgno/xoopstube/newlist.php XoopsModules/xoopstube/branches/timgno/xoopstube/notification_update.php XoopsModules/xoopstube/branches/timgno/xoopstube/pdf.php XoopsModules/xoopstube/branches/timgno/xoopstube/print.php XoopsModules/xoopstube/branches/timgno/xoopstube/ratevideo.php XoopsModules/xoopstube/branches/timgno/xoopstube/sbookmarks.php XoopsModules/xoopstube/branches/timgno/xoopstube/seo.php XoopsModules/xoopstube/branches/timgno/xoopstube/singlevideo.php XoopsModules/xoopstube/branches/timgno/xoopstube/sql/ XoopsModules/xoopstube/branches/timgno/xoopstube/sql/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/sql/xoopstube.sql XoopsModules/xoopstube/branches/timgno/xoopstube/submit.php XoopsModules/xoopstube/branches/timgno/xoopstube/summary.php XoopsModules/xoopstube/branches/timgno/xoopstube/templates/ XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/ XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/xoopstube.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/xoopstube0.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/xoopstube_block_last.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/xoopstube_block_new.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/xoopstube_block_new_h.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/xoopstube_block_new_t.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/xoopstube_block_random.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/xoopstube_block_random_h.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/xoopstube_block_spotlight.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/xoopstube_block_spotlight_slider.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/xoopstube_block_top.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/xoopstube_block_top_t.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/xoopstube_tag_block_cloud.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/blocks/xoopstube_tag_block_tag.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/index.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/xoopstube_brokenvideo.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/xoopstube_index.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/xoopstube_newlistindex.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/xoopstube_ratevideo.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/xoopstube_rss.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/xoopstube_singlevideo.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/xoopstube_singlevideo.htmlold XoopsModules/xoopstube/branches/timgno/xoopstube/templates/xoopstube_topten.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/xoopstube_videoload.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/xoopstube_videoloadsimple.html XoopsModules/xoopstube/branches/timgno/xoopstube/templates/xoopstube_viewcat.html XoopsModules/xoopstube/branches/timgno/xoopstube/topten.php XoopsModules/xoopstube/branches/timgno/xoopstube/view.tag.php XoopsModules/xoopstube/branches/timgno/xoopstube/viewcat.php XoopsModules/xoopstube/branches/timgno/xoopstube/xoops_version.php XoopsModules/xoopstube/branches/timgno/xoopstube/xtubestyle.css Added: XoopsModules/xoopstube/branches/timgno/xoopstube/.htaccess =================================================================== --- XoopsModules/xoopstube/branches/timgno/xoopstube/.htaccess (rev 0) +++ XoopsModules/xoopstube/branches/timgno/xoopstube/.htaccess 2015-01-20 10:19:43 UTC (rev 12937) @@ -0,0 +1,10 @@ +## Copy htaccess file to your module root dir and rename to .htaccess + +RewriteEngine On +## xnews - begin ## +RewriteCond %{request_uri} !^/xoopstube/([a-z\x2D]+)\/([a-z]+)\/([0-9.]+) +RewriteRule ^([a-z\x2D]+)\/([a-z]+)\/([0-9.]+)/ ?seoOp=$2&seoArg=$3 [L,NC,QSA] + +RewriteCond %{request_uri} !^/xoopstube/([a-z]+)\/([0-9.]+) +RewriteRule ^([a-z]+)\/([0-9.]+)/ ?seoOp=$1&seoArg=$2 [L,NC,QSA] +## xnews - end Added: XoopsModules/xoopstube/branches/timgno/xoopstube/admin/about.php =================================================================== --- XoopsModules/xoopstube/branches/timgno/xoopstube/admin/about.php (rev 0) +++ XoopsModules/xoopstube/branches/timgno/xoopstube/admin/about.php 2015-01-20 10:19:43 UTC (rev 12937) @@ -0,0 +1,29 @@ +<?php +/** + * Module: XoopsTube + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * + * PHP version 5 + * + * @category Module + * @package Xoopstube + * @author XOOPS Development Team + * @copyright 2001-2013 The XOOPS Project + * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) + * @version $Id$ + * @link http://sourceforge.net/projects/xoops/ + * @since 1.0.6 + */ + +include_once dirname(__FILE__) . '/admin_header.php'; +xoops_cp_header(); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation('about.php'); +echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false); + +include 'admin_footer.php'; Added: XoopsModules/xoopstube/branches/timgno/xoopstube/admin/admin_footer.php =================================================================== --- XoopsModules/xoopstube/branches/timgno/xoopstube/admin/admin_footer.php (rev 0) +++ XoopsModules/xoopstube/branches/timgno/xoopstube/admin/admin_footer.php 2015-01-20 10:19:43 UTC (rev 12937) @@ -0,0 +1,24 @@ +<?php +/** + * Module: XoopsTube + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * + * PHP version 5 + * + * @category Module + * @package Xoopstube + * @author XOOPS Development Team + * @copyright 2001-2013 The XOOPS Project + * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) + * @version $Id$ + * @link http://sourceforge.net/projects/xoops/ + * @since 1.0.6 + */ + +echo "<div class='adminfooter'>\n" . " <div style='text-align: center;'>\n" . " <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + . " </div>\n" . " " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" . "</div>"; + +xoops_cp_footer(); Added: XoopsModules/xoopstube/branches/timgno/xoopstube/admin/admin_header.php =================================================================== --- XoopsModules/xoopstube/branches/timgno/xoopstube/admin/admin_header.php (rev 0) +++ XoopsModules/xoopstube/branches/timgno/xoopstube/admin/admin_header.php 2015-01-20 10:19:43 UTC (rev 12937) @@ -0,0 +1,80 @@ +<?php +/** + * Module: XoopsTube + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * + * PHP version 5 + * + * @category Module + * @package Xoopstube + * @author XOOPS Development Team + * @copyright 2001-2013 The XOOPS Project + * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) + * @version $Id$ + * @link http://sourceforge.net/projects/xoops/ + * @since 1.0.6 + */ + +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; + +include_once dirname(dirname(__FILE__)) . '/include/common.php'; + +global $xoopsModule; + +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); +$thisModulePath = dirname(dirname(__FILE__)); + +//if functions.php file exist +//require_once dirname(dirname(__FILE__)) . '/include/functions.php'; +//require_once $thisModulePath . '/include/functions.php'; + +// Load language files +//xoops_loadLanguage('admin', $thisModuleDir); +//xoops_loadLanguage('modinfo', $thisModuleDir); +//xoops_loadLanguage('main', $thisModuleDir); +xoops_loadLanguage('admin', XTUBE_DIRNAME); +xoops_loadLanguage('modinfo', XTUBE_DIRNAME); +xoops_loadLanguage('main', XTUBE_DIRNAME); + +$pathIcon16 = '../' . $xoopsModule->getInfo('icons16'); +$pathIcon32 = '../' . $xoopsModule->getInfo('icons32'); +$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); + +require_once $GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'); + +include $thisModulePath . '/include/config.php'; +include_once $thisModulePath . '/include/functions.php'; +include_once $thisModulePath . '/include/video.php'; +include_once $thisModulePath . '/class/xtube_lists.php'; +include_once $thisModulePath . '/class/myts_extended.php'; + +include_once XOOPS_ROOT_PATH . '/modules/xoopstube/class/xoopstubetree.php'; +include_once XOOPS_ROOT_PATH . '/class/xoopslists.php'; +include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; + +$xtubemyts = new xtubeTextSanitizer(); // MyTextSanitizer object + +$xtubeImageArray = array( + 'editimg' => "<img src='$pathIcon16/edit.png' alt='" . _AM_XTUBE_ICO_EDIT . "' align='middle'>", + 'deleteimg' => "<img src='$pathIcon16/delete.png' alt='" . _AM_XTUBE_ICO_DELETE . "' align='middle'>", + 'altcat' => "<img src='$pathIcon16/folder_add.png' alt='" . _AM_XTUBE_ALTCAT_CREATEF . "' align='middle'>", + 'online' => "<img src='$pathIcon16/1.png' alt='" . _AM_XTUBE_ICO_ONLINE . "' title='" . _AM_XTUBE_ICO_ONLINE . "' align='middle'>", + 'offline' => "<img src='$pathIcon16/0.png' alt='" . _AM_XTUBE_ICO_OFFLINE . "' title='" . _AM_XTUBE_ICO_OFFLINE . "' align='middle'>", + 'approved' => "<img src='$pathIcon16/1.png' alt=''" . _AM_XTUBE_ICO_APPROVED . "' align='middle'>", + 'notapproved' => "<img src='$pathIcon16/0.png' alt='" . _AM_XTUBE_ICO_NOTAPPROVED . "' align='middle'>", + 'relatedfaq' => "<img src='../images/icon/link.gif' alt='" . _AM_XTUBE_ICO_VIDEO . "' align='absmiddle'>", + 'expired' => "<img src='../images/icon/clock_red.png' alt='" . _AM_XTUBE_ICO_EXPIRE . "' title='" . _AM_XTUBE_ICO_EXPIRE . "' align='absmiddle'>", + 'approve' => "<img src='$pathIcon16/1.png' alt='" . _AM_XTUBE_ICO_APPROVE . "' align='middle'>", + 'ignore' => "<img src='$pathIcon16/0.png' alt='" . _AM_XTUBE_ICO_IGNORE . "' align='middle'>", + 'ack_yes' => "<img src='$pathIcon16/1.png' alt='" . _AM_XTUBE_ICO_ACK . "' align='middle'>", + 'ack_no' => "<img src='$pathIcon16/0.png' alt='" . _AM_XTUBE_ICO_REPORT . "' align='middle'>", + 'con_yes' => "<img src='$pathIcon16/1.png' alt='" . _AM_XTUBE_ICO_CONFIRM . "' align='middle'>", + 'con_no' => "<img src='$pathIcon16/0.png' alt='" . _AM_XTUBE_ICO_CONBROKEN . "' align='middle'>", + 'view' => "<img src='$pathIcon16/search.png' alt='" . _AM_XTUBE_ICO_VIEW . "' align='middle'>" +); \ No newline at end of file Added: XoopsModules/xoopstube/branches/timgno/xoopstube/admin/altcat.php =================================================================== --- XoopsModules/xoopstube/branches/timgno/xoopstube/admin/altcat.php (rev 0) +++ XoopsModules/xoopstube/branches/timgno/xoopstube/admin/altcat.php 2015-01-20 10:19:43 UTC (rev 12937) @@ -0,0 +1,128 @@ +<?php +/** + * Module: XoopsTube + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * + * PHP version 5 + * + * @category Module + * @package Xoopstube + * @author XOOPS Development Team + * @copyright 2001-2013 The XOOPS Project + * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) + * @version $Id$ + * @link http://sourceforge.net/projects/xoops/ + * @since 1.0.6 + */ + +include 'admin_header.php'; + +global $xoopsModuleConfig; + +$op = xtubeCleanRequestVars($_REQUEST, 'op', ''); +$lid = xtubeCleanRequestVars($_REQUEST, 'lid', 0); + +function makeTreeCheckTable($xt, $itemid, $title, $checks, $order = '') +{ + global $xtubemyts; + + echo '<div style="text-align: left;">'; + echo '<form name="altcat" method="post" action="' . xoops_getenv('PHP_SELF') . '">'; + echo '<table width="100%" callspacing="1" class="outer">'; + $sql = 'SELECT ' . $xt->id . ', ' . $title . ' FROM ' . $xt->table . ' WHERE ' . $xt->pid . '=0' + . ' ORDER BY ' . $title; + if ($order != '') { + $sql .= ' ORDER BY ' . $order; + } + $result = $xt->db->query($sql); + + while (list($cid, $name) = $xt->db->fetchRow($result)) { + $checked = array_key_exists($cid, $checks) ? "checked='checked'" : ""; + $disabled = ($cid == intval($_GET['cid'])) ? "disabled='yes'" : ""; + $level = 1; + echo ' + <tr style="text-align: left;"> + <td width="30%" class="head">' . $name . '</td> + <td class="head"> + <input type="checkbox" name="cid-' . $cid . '" value="0" ' . $checked . ' ' . $disabled . '/> + </td> + </tr>'; + $arr = $xt->getChildTreeArray($cid, $order); + foreach ($arr as $cat) { + $cat['prefix'] = str_replace('.', '-', $cat['prefix']); + $catpath = ' ' . $cat['prefix'] . ' ' . $xtubemyts->htmlSpecialCharsStrip($cat[$title]); + $checked = array_key_exists($cat['cid'], $checks) ? "checked='checked'" : ""; + $disabled = ($cat['cid'] == intval($_GET['cid'])) ? "disabled='yes'" : ""; + $level = substr_count($cat['prefix'], '-') + 1; +// echo "<tr><td>" . $catpath . "<input type='checkbox' name='cid-" . $cat['cid'] . "' value='0' " . $checked . " " . $disabled . "/></td></tr>\n"; + echo ' + <tr style="text-align: left;"> + <td width="30%" class="even">' . $catpath . '</td> + <td class="even"> + <input type="checkbox" name="cid-' . $cat['cid'] . '" value="0" ' . $checked . ' ' . $disabled . '/> + </td> + </tr>'; + } + + } + echo '<tr> + <td width="30%"></td> + <td style="text-align: left;"> + <input type="submit" class="mainbutton" value="save" /> + <input type="hidden" name="op" value="save" /> + <input type="hidden" name="lid" value="' . $itemid . '" /> + </td> + </tr>'; + echo '</table></form></div>'; +} + +switch (strtolower($op)) { + case 'save': + // first delete all alternate categories for this topic + $sql = 'DELETE FROM ' . $xoopsDB->prefix('xoopstube_altcat') . ' WHERE lid=' . $lid; + if (!$result = $xoopsDB->query($sql)) { + XoopsErrorHandler_HandleError(E_USER_WARNING, $sql, __FILE__, __LINE__); + + return false; + } + + $k = array_keys($_REQUEST); + foreach ($k as $sid) { + if (preg_match("/cid-([0-9]*)/", $sid, $cid)) { + $sql + = 'INSERT INTO ' . $xoopsDB->prefix('xoopstube_altcat') . '(cid, lid) VALUES("' . $cid[1] . '","' + . $lid . '")'; + if (!$result = $xoopsDB->query($sql)) { + XoopsErrorHandler_HandleError(E_USER_WARNING, $sql, __FILE__, __LINE__); + + return false; + } + } + } + redirect_header('index.php', 1, _AM_XTUBE_ALTCAT_CREATED); + break; + + case 'main': + default: + xoops_cp_header(); + //xtubeRenderAdminMenu(_AM_XTUBE_MALTCAT); + echo '<fieldset><legend style="font-weight: bold; color: #0A3760;">' . _AM_XTUBE_ALTCAT_MODIFYF . '</legend> + <div style="padding: 8px;">' . _AM_XTUBE_ALTCAT_INFOTEXT . '</div> + </fieldset>'; + + echo '<div style="text-align: left;"><h3> ' . $_REQUEST['title'] . ' </h3></div>'; + // Get an array of all alternate categories for this topic + $sql = $xoopsDB->query( + 'SELECT cid FROM ' . $xoopsDB->prefix('xoopstube_altcat') . ' WHERE lid="' . $lid . '" ORDER BY lid' + ); + $altcats = array(); + while ($altcat = $xoopsDB->fetchArray($sql)) { + $altcats[$altcat['cid']] = true; + } + $mytree = new XoopstubeTree($xoopsDB->prefix('xoopstube_cat'), 'cid', 'pid'); + makeTreeCheckTable($mytree, $lid, 'title', $altcats); + xoops_cp_footer(); +} Added: XoopsModules/xoopstube/branches/timgno/xoopstube/admin/blockform.php =================================================================== --- XoopsModules/xoopstube/branches/timgno/xoopstube/admin/blockform.php (rev 0) +++ XoopsModules/xoopstube/branches/timgno/xoopstube/admin/blockform.php 2015-01-20 10:19:43 UTC (rev 12937) @@ -0,0 +1,127 @@ +<?php +/** + * Module: XoopsTube + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * + * PHP version 5 + * + * @category Module + * @package Xoopstube + * @author Fernando Santos (topet05), fer...@ma... + * @copyright Mastop InfoDigital \xA9 2003-2007 + * @link http://www.mastop.com.br + * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) + * @since 1.0.6 + * @version $Id$ + */ + + +include_once XOOPS_ROOT_PATH . "/class/xoopsformloader.php"; +$form = new XoopsThemeForm($block['form_title'], 'blockform', 'blocksadmin.php', "post", true); +if (isset($block['name'])) { + $form->addElement(new XoopsFormLabel(_AM_NAME, $block['name'])); +} +$side_select = new XoopsFormSelect(_AM_BLKTYPE, "bside", $block['side']); +$side_select->addOptionArray( + array( + 0 => _AM_SBLEFT, + 1 => _AM_SBRIGHT, + 3 => _AM_CBLEFT, + 4 => _AM_CBRIGHT, + 5 => _AM_CBCENTER, + 7 => _AM_CBBOTTOMLEFT, + 8 => _AM_CBBOTTOMRIGHT, + 9 => _AM_CBBOTTOM, + ) +); +$form->addElement($side_select); +$form->addElement(new XoopsFormText(_AM_WEIGHT, "bweight", 2, 5, $block['weight'])); +$form->addElement(new XoopsFormRadioYN(_AM_VISIBLE, 'bvisible', $block['visible'])); +$mod_select = new XoopsFormSelect(_AM_VISIBLEIN, "bmodule", $block['modules'], 5, true); +$module_handler =& xoops_gethandler('module'); +$criteria = new CriteriaCompo(new Criteria('hasmain', 1)); +$criteria->add(new Criteria('isactive', 1)); +$module_list =& $module_handler->getList($criteria); +$module_list[-1] = _AM_TOPPAGE; +$module_list[0] = _AM_ALLPAGES; +ksort($module_list); +$mod_select->addOptionArray($module_list); +$form->addElement($mod_select); +$form->addElement(new XoopsFormText(_AM_TITLE, 'btitle', 50, 255, $block['title']), false); +if ($block['is_custom']) { + $textarea = new XoopsFormDhtmlTextArea(_AM_CONTENT, 'bcontent', $block['content'], 15, 70); + $textarea->setDescription( + '<span style="font-size:x-small;font-weight:bold;">' . _AM_USEFULTAGS + . '</span><br /><span style="font-size:x-small;font-weight:normal;">' . sprintf( + _AM_BLOCKTAG1, + '{X_SITEURL}', + XOOPS_URL . '/' + ) . '</span>' + ); + $form->addElement($textarea, true); + $ctype_select = new XoopsFormSelect(_AM_CTYPE, 'bctype', $block['ctype']); + $ctype_select->addOptionArray( + array( + 'H' => _AM_HTML, + 'P' => _AM_PHP, + 'S' => _AM_AFWSMILE, + 'T' => _AM_AFNOSMILE + ) + ); + $form->addElement($ctype_select); +} else { + if ($block['template'] != '') { + $tplfile_handler =& xoops_gethandler('tplfile'); + $btemplate =& $tplfile_handler->find($GLOBALS['xoopsConfig']['template_set'], 'block', $block['bid']); + if (count($btemplate) > 0) { + $form->addElement( + new XoopsFormLabel(_AM_CONTENT, + '<a href="' . XOOPS_URL . '/modules/system/admin.php?fct=tplsets&op=edittpl&id=' + . $btemplate[0]->getVar('tpl_id') . '">' . _AM_EDITTPL . '</a>') + ); + } else { + $btemplate2 =& $tplfile_handler->find('default', 'block', $block['bid']); + if (count($btemplate2) > 0) { + $form->addElement( + new XoopsFormLabel(_AM_CONTENT, + '<a href="' . XOOPS_URL . '/modules/system/admin.php?fct=tplsets&op=edittpl&id=' + . $btemplate2[0]->getVar('tpl_id') . '" target="_blank">' . _AM_EDITTPL . '</a>') + ); + } + } + } + if ($block['edit_form'] != false) { + $form->addElement(new XoopsFormLabel(_AM_OPTIONS, $block['edit_form'])); + } +} +$cache_select = new XoopsFormSelect(_AM_BCACHETIME, 'bcachetime', $block['cachetime']); +$cache_select->addOptionArray( + array( + '0' => _NOCACHE, + '30' => sprintf(_SECONDS, 30), + '60' => _MINUTE, + '300' => sprintf(_MINUTES, 5), + '1800' => sprintf(_MINUTES, 30), + '3600' => _HOUR, + '18000' => sprintf(_HOURS, 5), + '86400' => _DAY, + '259200' => sprintf(_DAYS, 3), + '604800' => _WEEK, + '2592000' => _MONTH + ) +); +$form->addElement($cache_select); +if (isset($block['bid'])) { + $form->addElement(new XoopsFormHidden('bid', $block['bid'])); +} +$form->addElement(new XoopsFormHidden('op', $block['op'])); +$form->addElement(new XoopsFormHidden('fct', 'blocksadmin')); +$button_tray = new XoopsFormElementTray('', ' '); +if ($block['is_custom']) { + $button_tray->addElement(new XoopsFormButton('', 'previewblock', _PREVIEW, "submit")); +} +$button_tray->addElement(new XoopsFormButton('', 'submitblock', _SUBMIT, "submit")); +$form->addElement($button_tray); Added: XoopsModules/xoopstube/branches/timgno/xoopstube/admin/blocksadmin.php =================================================================== --- XoopsModules/xoopstube/branches/timgno/xoopstube/admin/blocksadmin.php (rev 0) +++ XoopsModules/xoopstube/branches/timgno/xoopstube/admin/blocksadmin.php 2015-01-20 10:19:43 UTC (rev 12937) @@ -0,0 +1,426 @@ +<?php +/** + * Module: XoopsTube + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * + * PHP version 5 + * + * @category Module + * @package Xoopstube + * @author Fernando Santos (topet05), fer...@ma... + * @copyright Mastop InfoDigital \xA9 2003-2007 + * @link http://www.mastop.com.br + * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) + * @since 1.0.6 + * @version $Id$ + */ + +include_once 'admin_header.php'; +if (!is_object($xoopsUser) || !is_object($xoopsModule) || !$xoopsUser->isAdmin($xoopsModule->mid())) { + exit(MPU_ADM_403); +} +if ($xoopsUser->isAdmin($xoopsModule->mid())) { + include_once XOOPS_ROOT_PATH . '/class/xoopsblock.php'; + $op = "list"; + if (isset($_POST)) { + foreach ($_POST as $k => $v) { + $$k = $v; + } + } + + if (isset($_GET['op'])) { + if ($_GET['op'] == "edit" || $_GET['op'] == "delete" || $_GET['op'] == "delete_ok" || $_GET['op'] == "clone") { + $op = $_GET['op']; + $bid = isset($_GET['bid']) ? intval($_GET['bid']) : 0; + } + } + + + /** + * + */ + function listBlocks() + { + global $xoopsUser, $xoopsConfig, $xoopsModule; + include_once XOOPS_ROOT_PATH . '/class/xoopslists.php'; + $db =& XoopsDatabaseFactory::getDatabaseConnection(); + if (file_exists( + XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin/blocksadmin.php" + ) + ) { + include_once(XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin.php"); + include_once(XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] + . "/admin/blocksadmin.php"); + //include_once(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/groups.php"); + } else { + include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin.php"); + include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin/blocksadmin.php"); + include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin/groups.php"); + } + $module_handler =& xoops_gethandler('module'); + $member_handler =& xoops_gethandler('member'); + $moduleperm_handler =& xoops_gethandler('groupperm'); + $groups =& $member_handler->getGroups(); + $criteria = new CriteriaCompo(new Criteria('hasmain', 1)); + $criteria->add(new Criteria('isactive', 1)); + $module_list =& $module_handler->getList($criteria); + $module_list[-1] = _AM_SYSTEM_BLOCKS_TOPPAGE; + $module_list[0] = _AM_SYSTEM_BLOCKS_ALLPAGES; + ksort($module_list); + echo " + <h4 style='text-align:left;'>" . _AM_XTUBE_BADMIN . "</h4>"; + $module_handler =& xoops_gethandler('module'); + echo "<form action='" . $_SERVER['PHP_SELF'] . "' name='blockadmin' method='post'> + <table width='100%' class='outer' cellpadding='4' cellspacing='1'> + <tr valign='middle'><th align='center'>" . _AM_XTUBE_TITLE . "</th><th align='center' nowrap='nowrap'>" + . _AM_XTUBE_SIDE . "<br />" . _LEFT . "-" . _CENTER . "-" . _RIGHT . "</th><th align='center'>" + . _AM_XTUBE_WEIGHT . "</th><th align='center'>" . _AM_XTUBE_VISIBLE . "</th><th align='center'>" + . _AM_SYSTEM_BLOCKS_VISIBLEIN . "</th><th align='center'>" . _AM_SYSTEM_ADGS . "</th><th align='center'>" + . _AM_XTUBE_ACTION . "</th></tr> + "; + $block_arr =& XoopsBlock::getByModule($xoopsModule->mid()); + $block_count = count($block_arr); + $class = 'even'; + foreach ($block_arr as $i) { + $groups_perms =& $moduleperm_handler->getGroupIds('block_read', $i->getVar("bid")); + $sql + = + 'SELECT module_id FROM ' . $db->prefix('block_module_link') . ' WHERE block_id=' . $i->getVar("bid"); + $result = $db->query($sql); + $modules = array(); + while ($row = $db->fetchArray($result)) { + $modules[] = intval($row['module_id']); + } + $sel0 = $sel1 = $ssel0 = $ssel1 = $ssel2 = $ssel3 = $ssel4 = $ssel5 = $ssel6 = $ssel7 = ""; + if ($i->getVar("visible") == 1) { + $sel1 = " checked='checked'"; + } else { + $sel0 = " checked='checked'"; + } + if ($i->getVar("side") == XOOPS_SIDEBLOCK_LEFT) { + $ssel0 = " checked='checked'"; + } elseif ($i->getVar("side") == XOOPS_SIDEBLOCK_RIGHT) { + $ssel1 = " checked='checked'"; + } elseif ($i->getVar("side") == XOOPS_CENTERBLOCK_LEFT) { + $ssel2 = " checked='checked'"; + } elseif ($i->getVar("side") == XOOPS_CENTERBLOCK_RIGHT) { + $ssel4 = " checked='checked'"; + } elseif ($i->getVar("side") == XOOPS_CENTERBLOCK_CENTER) { + $ssel3 = " checked='checked'"; + } elseif ($i->getVar("side") == XOOPS_CENTERBLOCK_BOTTOMLEFT) { + $ssel5 = " checked='checked'"; + } elseif ($i->getVar("side") == XOOPS_CENTERBLOCK_BOTTOMRIGHT) { + $ssel6 = " checked='checked'"; + } elseif ($i->getVar("side") == XOOPS_CENTERBLOCK_BOTTOM) { + $ssel7 = " checked='checked'"; + } + if ($i->getVar("title") == "") { + $title = " "; + } else { + $title = $i->getVar("title"); + } + $name = $i->getVar("name"); + echo + "<tr valign='top'><td class='$class' align='center'><input type='text' name='title[" . $i->getVar("bid") + . "]' value='" . $title . "'></td><td class='$class' align='center' nowrap='nowrap'> + <div align='center' > + <input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_CENTERBLOCK_LEFT . "'$ssel2 /> + <input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_CENTERBLOCK_CENTER + . "'$ssel3 /> + <input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_CENTERBLOCK_RIGHT . "'$ssel4 /> + </div> + <div> + <span style='float:right'><input type='radio' name='side[" . $i->getVar("bid") . "]' value='" + . XOOPS_SIDEBLOCK_RIGHT . "'$ssel1 /></span> + <div align='left'><input type='radio' name='side[" . $i->getVar("bid") . "]' value='" + . XOOPS_SIDEBLOCK_LEFT . "'$ssel0 /></div> + </div> + <div align='center'> + <input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_CENTERBLOCK_BOTTOMLEFT + . "'$ssel5 /> + <input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_CENTERBLOCK_BOTTOM + . "'$ssel7 /> + <input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_CENTERBLOCK_BOTTOMRIGHT + . "'$ssel6 /> + </div> + </td><td class='$class' align='center'><input type='text' name='weight[" . $i->getVar("bid") + . "]' value='" . $i->getVar("weight") . "' size='5' maxlength='5' /></td><td class='$class' align='center' nowrap><input type='radio' name='visible[" + . $i->getVar("bid") . "]' value='1'$sel1>" . _YES . " <input type='radio' name='visible[" + . $i->getVar("bid") . "]' value='0'$sel0>" . _NO . "</td>"; + + echo "<td class='$class' align='center'><select size='5' name='bmodule[" . $i->getVar("bid") + . "][]' id='bmodule[" . $i->getVar("bid") . "][]' multiple='multiple'>"; + foreach ($module_list as $k => $v) { + echo "<option value='$k'" . ((in_array($k, $modules)) ? " selected='selected'" : "") . ">$v</option>"; + } + echo "</select></td>"; + + echo "<td class='$class' align='center'><select size='5' name='groups[" . $i->getVar("bid") + . "][]' id='groups[" . $i->getVar("bid") . "][]' multiple='multiple'>"; + foreach ($groups as $grp) { + echo "<option value='" . $grp->getVar('groupid') . "' " . ((in_array( + $grp->getVar('groupid'), + $groups_perms + )) ? " selected='selected'" : "") . ">" . $grp->getVar('name') . "</option>"; + } + echo "</select></td>"; + + echo "<td class='$class' align='center'><a href='" . XOOPS_URL + . "/modules/system/admin.php?fct=blocksadmin&op=edit&bid=" . $i->getVar("bid") . "'>" . _EDIT + . "</a> <a href='blocksadmin.php?op=clone&bid=" . $i->getVar("bid") . "'>" . _CLONE . "</a>"; + if ($i->getVar('block_type') != 'S' && $i->getVar('block_type') != 'M') { + echo " <a href='" . XOOPS_URL . "/modules/system/admin.php?fct=blocksadmin&op=delete&bid=" + . $i->getVar("bid") . "'>" . _DELETE . "</a>"; + } + echo " + <input type='hidden' name='oldtitle[" . $i->getVar("bid") . "]' value='" . $i->getVar('title') . "' /> + <input type='hidden' name='oldside[" . $i->getVar("bid") . "]' value='" . $i->getVar('side') . "' /> + <input type='hidden' name='oldweight[" . $i->getVar("bid") . "]' value='" . $i->getVar('weight') . "' /> + <input type='hidden' name='oldvisible[" . $i->getVar("bid") . "]' value='" . $i->getVar('visible') . "' /> + <input type='hidden' name='bid[" . $i->getVar("bid") . "]' value='" . $i->getVar("bid") . "' /> + </td></tr> + "; + $class = ($class == 'even') ? 'odd' : 'even'; + } + echo "<tr><td class='foot' align='center' colspan='7'> + <input type='hidden' name='op' value='order' /> + " . $GLOBALS['xoopsSecurity']->getTokenHTML() . " + <input type='submit' name='submit' value='" . _SUBMIT . "' /> + </td></tr></table> + </form> + <br /><br />"; + } + + + /** + * @param $bid + */ + function cloneBlock($bid) + { + global $xoopsConfig; + if (file_exists( + XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin/blocksadmin.php" + ) + ) { + include_once(XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin.php"); + include_once(XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] + . "/admin/blocksadmin.php"); + //include_once(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/groups.php"); + } else { + include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin.php"); + include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin/blocksadmin.php"); + include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin/groups.php"); + } + mpu_adm_menu(); + $myblock = new XoopsBlock($bid); + $db =& XoopsDatabaseFactory::getDataba... [truncated message content] |
From: <be...@us...> - 2015-01-16 11:44:55
|
Revision: 12936 http://sourceforge.net/p/xoops/svn/12936 Author: beckmi Date: 2015-01-16 10:54:08 +0000 (Fri, 16 Jan 2015) Log Message: ----------- xBootstrap compatibility Modified Paths: -------------- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/admin/menu.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/cat.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/config.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/etablissement.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/event.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/eventmember.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/eventnotmember.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/file.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/pear/Calendar/Engine/PearDate.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/pear/Calendar/Week.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/perm.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/time.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/docs/changelog.txt XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/include/constantes.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/include/notification.inc.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/include/search.inc.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/view_agenda-day.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/view_agenda-week.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/view_calendar-month.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/view_calendar-week.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/view_day.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/view_month.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/view_new-event.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/view_search.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/view_week.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/view_year.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/xoops_version.php Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/admin/menu.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/admin/menu.php 2015-01-12 12:30:54 UTC (rev 12935) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/admin/menu.php 2015-01-16 10:54:08 UTC (rev 12936) @@ -1,53 +1,53 @@ -<?php - -// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined"); - -$path = dirname(dirname(dirname(__DIR__))); -include_once $path . '/mainfile.php'; - -$dirname = basename(dirname(__DIR__)); -$module_handler = xoops_gethandler('module'); -$module = $module_handler->getByDirname($dirname); -$pathIcon32 = $module->getInfo('icons32'); -$pathModuleAdmin = $module->getInfo('dirmoduleadmin'); -$pathLanguage = $path . $pathModuleAdmin; - -if (!file_exists($fileinc = $pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) { - $fileinc = $pathLanguage . '/language/english/main.php'; -} - -include_once $fileinc; - -$adminmenu = array(); - -$i = 1; -$adminmenu[$i]['title'] = _MI_EXTCAL_INDEX; -$adminmenu[$i]['link'] = "admin/index.php"; -$adminmenu[$i]["icon"] = $pathIcon32 . '/home.png'; -++$i; -$adminmenu[$i]['title'] = _MI_EXTCAL_CATEGORY; -$adminmenu[$i]['link'] = "admin/cat.php"; -$adminmenu[$i]["icon"] = $pathIcon32 . '/category.png'; -++$i; -$adminmenu[$i]['title'] = _MI_EXTCAL_EVENT; -$adminmenu[$i]['link'] = "admin/event.php"; -$adminmenu[$i]["icon"] = $pathIcon32 . '/event.png'; -++$i; -$adminmenu[$i]['title'] = _MI_EXTCAL_ETABLISSEMENTS; -$adminmenu[$i]['link'] = "admin/etablissement.php"; -//$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/etablissement.png'; -$adminmenu[$i]["icon"] = 'assets/images/icons/32/etablissement.png'; -//echo $adminmenu[$i]["icon"]."<br>"; - -++$i; -$adminmenu[$i]['title'] = _MI_EXTCAL_PERMISSIONS; -$adminmenu[$i]['link'] = "admin/permissions.php"; -$adminmenu[$i]["icon"] = $pathIcon32 . '/permissions.png'; -//++$i; -//$adminmenu[$i]['title'] = _MI_EXTCAL_PRUNING; -//$adminmenu[$i]['link'] = "admin/prune.php"; -//$adminmenu[$i]["icon"] = "assets/images/admin/about.png"; -++$i; -$adminmenu[$i]["title"] = _MI_EXTCAL_ABOUT; -$adminmenu[$i]["link"] = "admin/about.php"; -$adminmenu[$i]["icon"] = $pathIcon32 . '/about.png'; +<?php + +// defined("XOOPS_ROOT_PATH") || exit("XOOPS root path not defined"); + +$path = dirname(dirname(dirname(__DIR__))); +include_once $path . '/mainfile.php'; + +$dirname = basename(dirname(__DIR__)); +$module_handler = xoops_gethandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); +$pathModuleAdmin = $module->getInfo('dirmoduleadmin'); +$pathLanguage = $path . $pathModuleAdmin; + +if (!file_exists($fileinc = $pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) { + $fileinc = $pathLanguage . '/language/english/main.php'; +} + +include_once $fileinc; + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]['title'] = _MI_EXTCAL_INDEX; +$adminmenu[$i]['link'] = "admin/index.php"; +$adminmenu[$i]["icon"] = $pathIcon32 . '/home.png'; +++$i; +$adminmenu[$i]['title'] = _MI_EXTCAL_CATEGORY; +$adminmenu[$i]['link'] = "admin/cat.php"; +$adminmenu[$i]["icon"] = $pathIcon32 . '/category.png'; +++$i; +$adminmenu[$i]['title'] = _MI_EXTCAL_EVENT; +$adminmenu[$i]['link'] = "admin/event.php"; +$adminmenu[$i]["icon"] = $pathIcon32 . '/event.png'; +++$i; +$adminmenu[$i]['title'] = _MI_EXTCAL_ETABLISSEMENTS; +$adminmenu[$i]['link'] = "admin/etablissement.php"; +//$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/etablissement.png'; +$adminmenu[$i]["icon"] = 'assets/images/icons/32/etablissement.png'; +//echo $adminmenu[$i]["icon"]."<br>"; + +++$i; +$adminmenu[$i]['title'] = _MI_EXTCAL_PERMISSIONS; +$adminmenu[$i]['link'] = "admin/permissions.php"; +$adminmenu[$i]["icon"] = $pathIcon32 . '/permissions.png'; +//++$i; +//$adminmenu[$i]['title'] = _MI_EXTCAL_PRUNING; +//$adminmenu[$i]['link'] = "admin/prune.php"; +//$adminmenu[$i]["icon"] = "assets/images/admin/about.png"; +++$i; +$adminmenu[$i]["title"] = _MI_EXTCAL_ABOUT; +$adminmenu[$i]["link"] = "admin/about.php"; +$adminmenu[$i]["icon"] = $pathIcon32 . '/about.png'; Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/cat.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/cat.php 2015-01-12 12:30:54 UTC (rev 12935) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/cat.php 2015-01-16 10:54:08 UTC (rev 12936) @@ -1,216 +1,216 @@ -<?php - -// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined"); - -include_once XOOPS_ROOT_PATH . '/modules/extcal/class/ExtcalPersistableObjectHandler.php'; -include_once XOOPS_ROOT_PATH . '/modules/extcal/class/perm.php'; -include_once XOOPS_ROOT_PATH . '/modules/extcal/class/time.php'; - -/** - * Class ExtcalCat - */ -class ExtcalCat extends XoopsObject -{ - - var $externalKey = array(); - - function ExtcalCat() - { - $this->initVar('cat_id', XOBJ_DTYPE_INT, null, false); - $this->initVar('cat_name', XOBJ_DTYPE_TXTBOX, null, true, 255); - $this->initVar('cat_desc', XOBJ_DTYPE_TXTAREA, null, false); - $this->initVar('cat_color', XOBJ_DTYPE_TXTBOX, '000000', false, 255); - $this->initVar('cat_weight', XOBJ_DTYPE_INT, 0, false); - $this->initVar('cat_icone', XOBJ_DTYPE_TXTBOX, '', false, 50); - } - -} - -/** - * Class ExtcalCatHandler - */ -class ExtcalCatHandler extends ExtcalPersistableObjectHandler -{ - - var $_extcalPerm; - - /** - * @param $db - */ - function __construct(&$db) - { - $this->_extcalPerm = ExtcalPerm::getHandler(); - parent::__construct($db, 'extcal_cat', _EXTCAL_CLN_CAT, 'cat_id'); - } - - /** - * @param $data - * - * @return bool - */ - function createCat($data) - { - $cat = $this->create(); - $cat->setVars($data); - $this->insert($cat); - - $catId = $this->getInsertId(); - - // Retriving permission mask - $groupPermissionHandler =& xoops_gethandler('groupperm'); - $moduleId = $GLOBALS['xoopsModule']->getVar('mid'); - - $criteria = new CriteriaCompo(); - $criteria->add(new Criteria('gperm_name', 'extcal_perm_mask')); - $criteria->add(new Criteria('gperm_modid', $moduleId)); - $permMask = $groupPermissionHandler->getObjects($criteria); - - // Retriving group list - $memberHandler =& xoops_gethandler('member'); - $glist = $memberHandler->getGroupList(); - - // Applying permission mask - foreach ( - $permMask as $perm - ) { - if ($perm->getVar('gperm_itemid') == 1 - ) { - $groupPermissionHandler->addRight('extcal_cat_view', $cat->getVar('cat_id'), $perm->getVar('gperm_groupid'), $moduleId); - } - if ($perm->getVar('gperm_itemid') == 2 - ) { - $groupPermissionHandler->addRight('extcal_cat_submit', $cat->getVar('cat_id'), $perm->getVar('gperm_groupid'), $moduleId); - } - if ($perm->getVar('gperm_itemid') == 4 - ) { - $groupPermissionHandler->addRight('extcal_cat_autoapprove', $cat->getVar('cat_id'), $perm->getVar('gperm_groupid'), $moduleId); - } - if ($perm->getVar('gperm_itemid') == 8 - ) { - $groupPermissionHandler->addRight('extcal_cat_edit', $cat->getVar('cat_id'), $perm->getVar('gperm_groupid'), $moduleId); - } - } - - return true; - } - - /** - * @param $catId - * @param $data - * - * @return bool - */ - function modifyCat($catId, $data) - { - $cat = $this->get($catId); - $cat->setVars($data); - - return $this->insert($cat); - } - - /** - * @param $catId - */ - function deleteCat($catId) - { - /* TODO : - - Delete all event in this category - */ - $this->delete($catId); - } - - // Return one cat selected by his id - /** - * @param $catId - * @param bool $skipPerm - * - * @return bool - */ - function getCat($catId, $skipPerm = false) - { - $criteriaCompo = new CriteriaCompo(); - $criteriaCompo->add(new Criteria('cat_id', $catId)); - if (!$skipPerm) { - $this->_addCatPermCriteria($criteriaCompo, $GLOBALS['xoopsUser']); - } - $ret = $this->getObjects($criteriaCompo); - if (isset($ret[0])) { - return $ret[0]; - } else { - return false; - } - } - - /** - * @param $user - * @param string $perm - * - * @return array - */ - function getAllCat($user, $perm = 'extcal_cat_view') - { - $criteriaCompo = new CriteriaCompo(); - if ($perm != 'all') { - $this->_addCatPermCriteria($criteriaCompo, $user, $perm); - } - - return $this->getObjects($criteriaCompo); - } - - /** - * @param $user - * @param string $perm - * - * @return array - */ - function getAllCatById($user, $perm = 'all') - { - $criteriaCompo = new CriteriaCompo(); - if ($perm != 'all') { - $this->_addCatPermCriteria($criteriaCompo, $user, $perm); - } - - $t = $this->objectToArray($this->getObjects($criteriaCompo)); - $r = array(); - while (list($k, $v) = each($t)) { - $r[$v['cat_id']] = $v; - } - - return $r; - } - - /** - * @param $criteria - * @param $user - * @param string $perm - */ - function _addCatPermCriteria(&$criteria, &$user, $perm = 'extcal_cat_view') - { - $authorizedAccessCats = $this->_extcalPerm->getAuthorizedCat($user, 'extcal_cat_view'); - $count = count($authorizedAccessCats); - if ($count > 0) { - $in = '(' . $authorizedAccessCats[0]; - array_shift($authorizedAccessCats); - foreach ( - $authorizedAccessCats as $authorizedAccessCat - ) { - $in .= ',' . $authorizedAccessCat; - } - $in .= ')'; - $criteria->add(new Criteria('cat_id', $in, 'IN')); - } else { - $criteria->add(new Criteria('cat_id', '(0)', 'IN')); - } - } - - /** - * @param $xoopsUser - * - * @return bool - */ - function haveSubmitRight(&$xoopsUser) - { - return count($this->_extcalPerm->getAuthorizedCat($xoopsUser, 'extcal_cat_submit')) > 0; - } - -} +<?php + +// defined("XOOPS_ROOT_PATH") || exit("XOOPS root path not defined"); + +include_once XOOPS_ROOT_PATH . '/modules/extcal/class/ExtcalPersistableObjectHandler.php'; +include_once XOOPS_ROOT_PATH . '/modules/extcal/class/perm.php'; +include_once XOOPS_ROOT_PATH . '/modules/extcal/class/time.php'; + +/** + * Class ExtcalCat + */ +class ExtcalCat extends XoopsObject +{ + + var $externalKey = array(); + + function ExtcalCat() + { + $this->initVar('cat_id', XOBJ_DTYPE_INT, null, false); + $this->initVar('cat_name', XOBJ_DTYPE_TXTBOX, null, true, 255); + $this->initVar('cat_desc', XOBJ_DTYPE_TXTAREA, null, false); + $this->initVar('cat_color', XOBJ_DTYPE_TXTBOX, '000000', false, 255); + $this->initVar('cat_weight', XOBJ_DTYPE_INT, 0, false); + $this->initVar('cat_icone', XOBJ_DTYPE_TXTBOX, '', false, 50); + } + +} + +/** + * Class ExtcalCatHandler + */ +class ExtcalCatHandler extends ExtcalPersistableObjectHandler +{ + + var $_extcalPerm; + + /** + * @param $db + */ + function __construct(&$db) + { + $this->_extcalPerm = ExtcalPerm::getHandler(); + parent::__construct($db, 'extcal_cat', _EXTCAL_CLN_CAT, 'cat_id'); + } + + /** + * @param $data + * + * @return bool + */ + function createCat($data) + { + $cat = $this->create(); + $cat->setVars($data); + $this->insert($cat); + + $catId = $this->getInsertId(); + + // Retriving permission mask + $groupPermissionHandler =& xoops_gethandler('groupperm'); + $moduleId = $GLOBALS['xoopsModule']->getVar('mid'); + + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('gperm_name', 'extcal_perm_mask')); + $criteria->add(new Criteria('gperm_modid', $moduleId)); + $permMask = $groupPermissionHandler->getObjects($criteria); + + // Retriving group list + $memberHandler =& xoops_gethandler('member'); + $glist = $memberHandler->getGroupList(); + + // Applying permission mask + foreach ( + $permMask as $perm + ) { + if ($perm->getVar('gperm_itemid') == 1 + ) { + $groupPermissionHandler->addRight('extcal_cat_view', $cat->getVar('cat_id'), $perm->getVar('gperm_groupid'), $moduleId); + } + if ($perm->getVar('gperm_itemid') == 2 + ) { + $groupPermissionHandler->addRight('extcal_cat_submit', $cat->getVar('cat_id'), $perm->getVar('gperm_groupid'), $moduleId); + } + if ($perm->getVar('gperm_itemid') == 4 + ) { + $groupPermissionHandler->addRight('extcal_cat_autoapprove', $cat->getVar('cat_id'), $perm->getVar('gperm_groupid'), $moduleId); + } + if ($perm->getVar('gperm_itemid') == 8 + ) { + $groupPermissionHandler->addRight('extcal_cat_edit', $cat->getVar('cat_id'), $perm->getVar('gperm_groupid'), $moduleId); + } + } + + return true; + } + + /** + * @param $catId + * @param $data + * + * @return bool + */ + function modifyCat($catId, $data) + { + $cat = $this->get($catId); + $cat->setVars($data); + + return $this->insert($cat); + } + + /** + * @param $catId + */ + function deleteCat($catId) + { + /* TODO : + - Delete all event in this category + */ + $this->delete($catId); + } + + // Return one cat selected by his id + /** + * @param $catId + * @param bool $skipPerm + * + * @return bool + */ + function getCat($catId, $skipPerm = false) + { + $criteriaCompo = new CriteriaCompo(); + $criteriaCompo->add(new Criteria('cat_id', $catId)); + if (!$skipPerm) { + $this->_addCatPermCriteria($criteriaCompo, $GLOBALS['xoopsUser']); + } + $ret = $this->getObjects($criteriaCompo); + if (isset($ret[0])) { + return $ret[0]; + } else { + return false; + } + } + + /** + * @param $user + * @param string $perm + * + * @return array + */ + function getAllCat($user, $perm = 'extcal_cat_view') + { + $criteriaCompo = new CriteriaCompo(); + if ($perm != 'all') { + $this->_addCatPermCriteria($criteriaCompo, $user, $perm); + } + + return $this->getObjects($criteriaCompo); + } + + /** + * @param $user + * @param string $perm + * + * @return array + */ + function getAllCatById($user, $perm = 'all') + { + $criteriaCompo = new CriteriaCompo(); + if ($perm != 'all') { + $this->_addCatPermCriteria($criteriaCompo, $user, $perm); + } + + $t = $this->objectToArray($this->getObjects($criteriaCompo)); + $r = array(); + while (list($k, $v) = each($t)) { + $r[$v['cat_id']] = $v; + } + + return $r; + } + + /** + * @param $criteria + * @param $user + * @param string $perm + */ + function _addCatPermCriteria(&$criteria, &$user, $perm = 'extcal_cat_view') + { + $authorizedAccessCats = $this->_extcalPerm->getAuthorizedCat($user, 'extcal_cat_view'); + $count = count($authorizedAccessCats); + if ($count > 0) { + $in = '(' . $authorizedAccessCats[0]; + array_shift($authorizedAccessCats); + foreach ( + $authorizedAccessCats as $authorizedAccessCat + ) { + $in .= ',' . $authorizedAccessCat; + } + $in .= ')'; + $criteria->add(new Criteria('cat_id', $in, 'IN')); + } else { + $criteria->add(new Criteria('cat_id', '(0)', 'IN')); + } + } + + /** + * @param $xoopsUser + * + * @return bool + */ + function haveSubmitRight(&$xoopsUser) + { + return count($this->_extcalPerm->getAuthorizedCat($xoopsUser, 'extcal_cat_submit')) > 0; + } + +} Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/config.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/config.php 2015-01-12 12:30:54 UTC (rev 12935) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/config.php 2015-01-16 10:54:08 UTC (rev 12936) @@ -1,43 +1,43 @@ -<?php - -// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined"); - -/** - * Class ExtcalConfig - */ -class ExtcalConfig -{ - - /** - * @return ExtcalConfig - */ - static function &getHandler() - { - static $configHandler; - if (!isset($configHandler[0])) { - $configHandler[0] = new ExtcalConfig(); - } - - return $configHandler[0]; - } - - function getModuleConfig() - { - global $xoopsModule; - static $moduleConfig; - $dirname = (isset($xoopsModule) ? $xoopsModule->getVar('dirname') : 'system'); - if ($dirname == 'extcal') { - $moduleConfig = $GLOBALS['xoopsModuleConfig']; - } else { - if (!isset($moduleConfig)) { - $moduleHandler =& xoops_gethandler('module'); - $module = $moduleHandler->getByDirname('extcal'); - $configHandler =& xoops_gethandler('config'); - $moduleConfig = $configHandler->getConfigList($module->getVar("mid")); - } - } - - return $moduleConfig; - } - -} +<?php + +// defined("XOOPS_ROOT_PATH") || exit("XOOPS root path not defined"); + +/** + * Class ExtcalConfig + */ +class ExtcalConfig +{ + + /** + * @return ExtcalConfig + */ + static function &getHandler() + { + static $configHandler; + if (!isset($configHandler[0])) { + $configHandler[0] = new ExtcalConfig(); + } + + return $configHandler[0]; + } + + function getModuleConfig() + { + global $xoopsModule; + static $moduleConfig; + $dirname = (isset($xoopsModule) ? $xoopsModule->getVar('dirname') : 'system'); + if ($dirname == 'extcal') { + $moduleConfig = $GLOBALS['xoopsModuleConfig']; + } else { + if (!isset($moduleConfig)) { + $moduleHandler =& xoops_gethandler('module'); + $module = $moduleHandler->getByDirname('extcal'); + $configHandler =& xoops_gethandler('config'); + $moduleConfig = $configHandler->getConfigList($module->getVar("mid")); + } + } + + return $moduleConfig; + } + +} Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/etablissement.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/etablissement.php 2015-01-12 12:30:54 UTC (rev 12935) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/etablissement.php 2015-01-16 10:54:08 UTC (rev 12936) @@ -1,171 +1,171 @@ -<?php -//Kraven 30 -// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined"); - -include_once XOOPS_ROOT_PATH . '/kernel/object.php'; - -//class ExtcalEvent extends XoopsObject -//class extcal_etablissement extends XoopsObject -/** - * Class ExtcalEtablissement - */ -class ExtcalEtablissement extends XoopsObject -{ - /** - * - */ - function __construct() - { - //Toutes les attributs de la table - $this->initVar("id", XOBJ_DTYPE_INT, null, false, 5); - $this->initVar("nom", XOBJ_DTYPE_TXTBOX, null, false); - $this->initVar("description", XOBJ_DTYPE_TXTAREA, '', false); - $this->initVar("logo", XOBJ_DTYPE_TXTBOX, null, false); - $this->initVar("categorie", XOBJ_DTYPE_TXTBOX, null, false); - $this->initVar("adresse", XOBJ_DTYPE_TXTBOX, null, false); - $this->initVar("adresse2", XOBJ_DTYPE_TXTBOX, null, false); - $this->initVar("cp", XOBJ_DTYPE_TXTBOX, null, false); - $this->initVar("ville", XOBJ_DTYPE_TXTBOX, null, false); - $this->initVar("tel_fixe", XOBJ_DTYPE_TXTBOX, null, false); - $this->initVar("tel_portable", XOBJ_DTYPE_TXTBOX, null, false); - $this->initVar("mail", XOBJ_DTYPE_TXTBOX, null, false); - $this->initVar("site", XOBJ_DTYPE_TXTBOX, null, false); - $this->initVar("horaires", XOBJ_DTYPE_TXTAREA, '', false); - $this->initVar("divers", XOBJ_DTYPE_TXTBOX, null, false); - $this->initVar("tarifs", XOBJ_DTYPE_TXTAREA, '', false); - $this->initVar("map", XOBJ_DTYPE_URL, false); - } - - function ExtcalEtablissement() - { - $this->__construct(); - } - - /** - * @param bool $action - * - * @return XoopsThemeForm - */ - function getForm($action = false) - { - global $xoopsDB, $extcalConfig; - - if ($action === false) { - $action = $_SERVER["REQUEST_URI"]; - } - - $title = $this->isNew() ? sprintf(_MD_EXTCAL_ETABLISSEMENT_ADD) : sprintf(_MD_EXTCAL_ETABLISSEMENT_EDIT); - - include_once(XOOPS_ROOT_PATH . "/class/xoopsformloader.php"); - - $form = new XoopsThemeForm($title, "form", $action, "post", true); - $form->setExtra('enctype="multipart/form-data"'); - - $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_NOM, "nom", 50, 255, $this->getVar("nom")), true); - $form->addElement(new XoopsFormDhtmlTextArea(_MD_EXTCAL_ETABLISSEMENT_DESCRIPTION, 'description', $this->getVar("description"), 10), false); - $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_CATEGORIE, "categorie", 40, 255, $this->getVar("categorie")), false); - $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_ADRESSE, "adresse", 50, 255, $this->getVar("adresse")), false); - $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_ADRESSE2, "adresse2", 50, 255, $this->getVar("adresse2")), false); - $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_CP, "cp", 10, 10, $this->getVar("cp")), false); - $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_VILLE, "ville", 20, 255, $this->getVar("ville")), false); - $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_TEL_FIXE, "tel_fixe", 20, 20, $this->getVar("tel_fixe")), false); - $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_TEL_PORTABLE, "tel_portable", 20, 20, $this->getVar("tel_portable")), false); - $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_MAIL, "mail", 50, 255, $this->getVar("mail")), false); - $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_SITE, "site", 50, 255, $this->getVar("site")), false); - $form->addElement(new XoopsFormTextArea(_MD_EXTCAL_ETABLISSEMENT_HORAIRES, 'horaires', $this->getVar("horaires"), 3, 40)); - $form->addElement(new XoopsFormTextArea(_MD_EXTCAL_ETABLISSEMENT_DIVERS, 'divers', $this->getVar("divers"), 5, 40)); - //$form->addElement(new XoopsFormTextArea(_MD_EXTCAL_ETABLISSEMENT_TARIFS, 'tarifs', $this->getVar("tarifs"), 5, 40)); - $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_TARIFS . ' ( ' . _MD_EXTCAL_DEVISE2 . ' )', "tarifs", 20, 20, $this->getVar("tarifs")), false); - - //$form->addElement(new XoopsFormTextArea(_MD_EXTCAL_ETABLISSEMENT_MAP, 'map', $this->getVar("map"), 5, 40)); - $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_MAP, "map", 150, 255, $this->getVar("map")), false); - - //Logo - $file_tray = new XoopsFormElementTray(sprintf(_MD_EXTCAL_FORM_IMG, 2), ''); - if ($this->getVar("logo") != '') { - $file_tray->addElement(new XoopsFormLabel('', "<img src='" . XOOPS_URL . "/uploads/extcal/etablissement/" . $this->getVar("logo") . "' name='image' id='image' alt=''/><br /><br />")); - $check_del_img = new XoopsFormCheckBox('', 'delimg'); - $check_del_img->addOption(1, _MD_EXTCAL_DEL_IMG); - $file_tray->addElement($check_del_img); - $file_img = new XoopsFormFile(_MD_EXTCAL_IMG, 'attachedimage', 3145728); - unset($check_del_img); - } else { - $file_img = new XoopsFormFile('', 'attachedimage', 3145728); - } - $file_img->setExtra("size ='40'"); - $file_tray->addElement($file_img); - $msg = sprintf(_MD_EXTCAL_IMG_CONFIG, intval(3145728 / 1000), 500, 500); - $file_label = new XoopsFormLabel('', '<br />' . $msg); - $file_tray->addElement($file_label); - $form->addElement($file_tray); - $form->addElement(new XoopsFormHidden('file', $this->getVar("logo"))); - unset($file_img); - unset($file_tray); - - $form->addElement(new XoopsFormHidden("op", "save_etablissement")); - $form->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit")); - $form->display(); - - return $form; - } - -} - -/**************************************************************************/ - -/** - * Class ExtcalEtablissementHandler - */ -class ExtcalEtablissementHandler extends ExtcalPersistableObjectHandler -{ - /** - * @param $db - */ - function __construct(&$db) - { - parent::__construct($db, "extcal_etablissement", _EXTCAL_CLN_ETABLISSEMENT, "id", 'nom'); - } - - /** - * @param $etablissementId - * @param bool $skipPerm - * - * @return bool - */ - function getEtablissement($etablissementId, $skipPerm = false) - { - - $user = $GLOBALS['xoopsUser']; - - $criteriaCompo = new CriteriaCompo(); - $criteriaCompo->add(new Criteria('id', $etablissementId)); - - if (!$skipPerm) { - $this->_addCatPermCriteria($criteriaCompo, $user); - } - $ret = $this->getObjects($criteriaCompo); - if (isset($ret[0])) { - return $ret[0]; - } else { - return false; - } - } - - /** - * @param null $criteria - * @param bool $asObject - * - * @return array - */ - function getAll($criteria = null, $asObject = false) - { - - $rst = $this->getObjects($criteria, $asObject); - if ($asObject) { - return $rst; - } else { - return $this->objectToArray($rst); - } - } - -} +<?php +//Kraven 30 +// defined("XOOPS_ROOT_PATH") || exit("XOOPS root path not defined"); + +include_once XOOPS_ROOT_PATH . '/kernel/object.php'; + +//class ExtcalEvent extends XoopsObject +//class extcal_etablissement extends XoopsObject +/** + * Class ExtcalEtablissement + */ +class ExtcalEtablissement extends XoopsObject +{ + /** + * + */ + function __construct() + { + //Toutes les attributs de la table + $this->initVar("id", XOBJ_DTYPE_INT, null, false, 5); + $this->initVar("nom", XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar("description", XOBJ_DTYPE_TXTAREA, '', false); + $this->initVar("logo", XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar("categorie", XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar("adresse", XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar("adresse2", XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar("cp", XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar("ville", XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar("tel_fixe", XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar("tel_portable", XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar("mail", XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar("site", XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar("horaires", XOBJ_DTYPE_TXTAREA, '', false); + $this->initVar("divers", XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar("tarifs", XOBJ_DTYPE_TXTAREA, '', false); + $this->initVar("map", XOBJ_DTYPE_URL, false); + } + + function ExtcalEtablissement() + { + $this->__construct(); + } + + /** + * @param bool $action + * + * @return XoopsThemeForm + */ + function getForm($action = false) + { + global $xoopsDB, $extcalConfig; + + if ($action === false) { + $action = $_SERVER["REQUEST_URI"]; + } + + $title = $this->isNew() ? sprintf(_MD_EXTCAL_ETABLISSEMENT_ADD) : sprintf(_MD_EXTCAL_ETABLISSEMENT_EDIT); + + include_once(XOOPS_ROOT_PATH . "/class/xoopsformloader.php"); + + $form = new XoopsThemeForm($title, "form", $action, "post", true); + $form->setExtra('enctype="multipart/form-data"'); + + $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_NOM, "nom", 50, 255, $this->getVar("nom")), true); + $form->addElement(new XoopsFormDhtmlTextArea(_MD_EXTCAL_ETABLISSEMENT_DESCRIPTION, 'description', $this->getVar("description"), 10), false); + $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_CATEGORIE, "categorie", 40, 255, $this->getVar("categorie")), false); + $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_ADRESSE, "adresse", 50, 255, $this->getVar("adresse")), false); + $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_ADRESSE2, "adresse2", 50, 255, $this->getVar("adresse2")), false); + $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_CP, "cp", 10, 10, $this->getVar("cp")), false); + $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_VILLE, "ville", 20, 255, $this->getVar("ville")), false); + $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_TEL_FIXE, "tel_fixe", 20, 20, $this->getVar("tel_fixe")), false); + $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_TEL_PORTABLE, "tel_portable", 20, 20, $this->getVar("tel_portable")), false); + $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_MAIL, "mail", 50, 255, $this->getVar("mail")), false); + $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_SITE, "site", 50, 255, $this->getVar("site")), false); + $form->addElement(new XoopsFormTextArea(_MD_EXTCAL_ETABLISSEMENT_HORAIRES, 'horaires', $this->getVar("horaires"), 3, 40)); + $form->addElement(new XoopsFormTextArea(_MD_EXTCAL_ETABLISSEMENT_DIVERS, 'divers', $this->getVar("divers"), 5, 40)); + //$form->addElement(new XoopsFormTextArea(_MD_EXTCAL_ETABLISSEMENT_TARIFS, 'tarifs', $this->getVar("tarifs"), 5, 40)); + $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_TARIFS . ' ( ' . _MD_EXTCAL_DEVISE2 . ' )', "tarifs", 20, 20, $this->getVar("tarifs")), false); + + //$form->addElement(new XoopsFormTextArea(_MD_EXTCAL_ETABLISSEMENT_MAP, 'map', $this->getVar("map"), 5, 40)); + $form->addElement(new XoopsFormText(_MD_EXTCAL_ETABLISSEMENT_MAP, "map", 150, 255, $this->getVar("map")), false); + + //Logo + $file_tray = new XoopsFormElementTray(sprintf(_MD_EXTCAL_FORM_IMG, 2), ''); + if ($this->getVar("logo") != '') { + $file_tray->addElement(new XoopsFormLabel('', "<img src='" . XOOPS_URL . "/uploads/extcal/etablissement/" . $this->getVar("logo") . "' name='image' id='image' alt=''/><br /><br />")); + $check_del_img = new XoopsFormCheckBox('', 'delimg'); + $check_del_img->addOption(1, _MD_EXTCAL_DEL_IMG); + $file_tray->addElement($check_del_img); + $file_img = new XoopsFormFile(_MD_EXTCAL_IMG, 'attachedimage', 3145728); + unset($check_del_img); + } else { + $file_img = new XoopsFormFile('', 'attachedimage', 3145728); + } + $file_img->setExtra("size ='40'"); + $file_tray->addElement($file_img); + $msg = sprintf(_MD_EXTCAL_IMG_CONFIG, intval(3145728 / 1000), 500, 500); + $file_label = new XoopsFormLabel('', '<br />' . $msg); + $file_tray->addElement($file_label); + $form->addElement($file_tray); + $form->addElement(new XoopsFormHidden('file', $this->getVar("logo"))); + unset($file_img); + unset($file_tray); + + $form->addElement(new XoopsFormHidden("op", "save_etablissement")); + $form->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit")); + $form->display(); + + return $form; + } + +} + +/**************************************************************************/ + +/** + * Class ExtcalEtablissementHandler + */ +class ExtcalEtablissementHandler extends ExtcalPersistableObjectHandler +{ + /** + * @param $db + */ + function __construct(&$db) + { + parent::__construct($db, "extcal_etablissement", _EXTCAL_CLN_ETABLISSEMENT, "id", 'nom'); + } + + /** + * @param $etablissementId + * @param bool $skipPerm + * + * @return bool + */ + function getEtablissement($etablissementId, $skipPerm = false) + { + + $user = $GLOBALS['xoopsUser']; + + $criteriaCompo = new CriteriaCompo(); + $criteriaCompo->add(new Criteria('id', $etablissementId)); + + if (!$skipPerm) { + $this->_addCatPermCriteria($criteriaCompo, $user); + } + $ret = $this->getObjects($criteriaCompo); + if (isset($ret[0])) { + return $ret[0]; + } else { + return false; + } + } + + /** + * @param null $criteria + * @param bool $asObject + * + * @return array + */ + function getAll($criteria = null, $asObject = false) + { + + $rst = $this->getObjects($criteria, $asObject); + if ($asObject) { + return $rst; + } else { + return $this->objectToArray($rst); + } + } + +} Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/event.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/event.php 2015-01-12 12:30:54 UTC (rev 12935) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/extcal/class/event.php 2015-01-16 10:54:08 UTC (rev 12936) @@ -1,2862 +1,2862 @@ -<?php - -// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined"); - -include_once XOOPS_ROOT_PATH . '/modules/extcal/class/ExtcalPersistableObjectHandler.php'; -include_once XOOPS_ROOT_PATH . '/modules/extcal/class/perm.php'; -include_once XOOPS_ROOT_PATH . '/modules/extcal/class/time.php'; -include_once XOOPS_ROOT_PATH . '/modules/extcal/class/config.php'; -include_once XOOPS_ROOT_PATH . '/modules/extcal/class/extDateTime.php'; - -include_once XOOPS_ROOT_PATH . '/modules/extcal/include/constantes.php'; - -/** - * Class ExtcalEvent - */ -class ExtcalEvent extends XoopsObject -{ - - var $externalKey = array(); - - /** - * - */ - function __construct() - { - $this->initVar('event_id', XOBJ_DTYPE_INT, null, false); - $this->initVar('cat_id', XOBJ_DTYPE_INT, null, true); - $this->initVar('event_title', XOBJ_DTYPE_TXTBOX, null, true, 255); - $this->initVar('event_desc', XOBJ_DTYPE_TXTAREA, '', false); - $this->initVar('event_organisateur', XOBJ_DTYPE_TXTBOX, '', false); - $this->initVar('event_contact', XOBJ_DTYPE_TXTBOX, '', false); - $this->initVar('event_url', XOBJ_DTYPE_URL, '', false); - $this->initVar('event_email', XOBJ_DTYPE_TXTBOX, '', false); - $this->initVar('event_address', XOBJ_DTYPE_TXTAREA, '', false); - $this->initVar('event_approved', XOBJ_DTYPE_INT, 0, false); - $this->initVar('event_start', XOBJ_DTYPE_INT, null, true); - $this->initVar('event_end', XOBJ_DTYPE_INT, 0, false); - $this->initVar('event_submitter', XOBJ_DTYPE_INT, 0, false); - $this->initVar('event_submitdate', XOBJ_DTYPE_INT, 0, false); - $this->initVar('event_nbmember', XOBJ_DTYPE_INT, 0, false); - $this->initVar('event_isrecur', XOBJ_DTYPE_INT, 0, false); - $this->initVar('event_recur_rules', XOBJ_DTYPE_TXTBOX, null, false); - $this->initVar('event_recur_start', XOBJ_DTYPE_INT, 0, false); - $this->initVar('event_recur_end', XOBJ_DTYPE_INT, 0, false); - $this->initVar('dohtml', XOBJ_DTYPE_INT, 0, false); - $this->initVar('event_picture1', XOBJ_DTYPE_TXTBOX, null, false); - $this->initVar('event_picture2', XOBJ_DTYPE_TXTBOX, null, false); - //$this->initVar("event_price",XOBJ_DTYPE_OTHER,null,false,10); - $this->initVar('event_price', XOBJ_DTYPE_TXTBOX, '', false); - $this->initVar('event_etablissement', XOBJ_DTYPE_INT, 5, false); - $this->initVar('event_icone', XOBJ_DTYPE_TXTBOX, '', false); - - $this->externalKey['cat_id'] = array( - 'className' => 'cat', - 'getMethodeName' => 'getCat', - 'keyName' => 'cat', - 'core' => false - ); - $this->externalKey['event_submitter'] = array( - 'className' => 'user', - 'getMethodeName' => 'get', - 'keyName' => 'user', - 'core' => true - ); - } - - /** - * @param $key - * - * @return mixed - */ - function getExternalKey($key) - { - return $this->externalKey[$key]; - } - -} - -/** - * Class ExtcalEventHandler - */ -class ExtcalEventHandler extends ExtcalPersistableObjectHandler -{ - - private $_extcalPerm; - private $_extcalTime; - private $_extcalConfig; - - /** - * @param $db - */ - function __construct(&$db) - { - $this->_extcalPerm = ExtcalPerm::getHandler(); - $this->_extcalTime = ExtcalTime::getHandler(); - // $extcalConfig = ExtcalConfig::getHandler(); - // $this->_extcalConfig = $extcalConfig->getModuleConfig(); - parent::__construct($db, 'extcal_event', _EXTCAL_CLN_EVENT, 'event_id'); - } - - /** - * @param $data - * - * @return bool - */ - function createEvent($data) - { - $event = $this->create(); - $this->_checkDate($data); - $this->_userTimeToServerTime($data); - $this->_addRecurValue($data); - $event->setVars($data); - - return $this->insert($event, true); - } - - /** - * @param $data - * - * @return object - */ - function createEventForPreview($data) - { - $event = $this->create(); - $this->_checkDate($data); - $this->_addRecurValue($data); - $event->setVars($data); - - return $event; - } - - /** - * @param $eventId - * @param $data - * - * @return bool - */ - function modifyEvent($eventId, $data) - { - $event = $this->get($eventId); - $this->_checkDate($data); - $this->_userTimeToServerTime($data); - $this->_addRecurValue($data); - $event->setVars($data); - - return $this->insert($event); - } - - /** - * @param $eventId - */ - function deleteEvent($eventId) - { - /* TODO : - - Delete who's going - - Delete who's not going - - Delete comment - - Delete notifications - */ - $this->delete($eventId, true); - } - - /** - * @param null $criteria - * @param bool $force - * @param bool $asObject - */ - function deleteAllEvents($criteria = null, $force = true, $asObject = false) - { - /* TODO : - - Delete who's going - - Delete who's not going - - Delete comment - - Delete notifications - */ - $this->deleteAll($criteria, $force, $asObject); - } - - /** - * @param null $criteria - * @param bool $asObject - * - * @return array - */ - function getAllEvents($criteria = null, $asObject = false) - { - - $rst = $this->getObjects($criteria, $asObject); - if ($asObject) { - return $rst; - } else { - return $this->objectToArray($rst); - } - } - - // Return one approved event selected by his id - /** - * @param $eventId - * @param bool $skipPerm - * - * @return bool - */ - function getEvent($eventId, $skipPerm = false) - { - - $user = $GLOBALS['xoopsUser']; - - $criteriaCompo = new CriteriaCompo(); - $criteriaCompo->add(new Criteria('event_id', $eventId)); - $criteriaCompo->add(new Criteria('event_approved', 1)); - if (!$skipPerm) { - $this->_addCatPermCriteria($criteriaCompo, $user); - } - $ret = $this->getObjects($criteriaCompo); - if (isset($ret[0])) { - return $ret[0]; - } else { - return false; - } - } - - // Return one event selected by his id (approve or not) - /** - * @param $eventId - * @param bool $skipPerm - * - * @return bool - */ - function getEventWithNotApprove($eventId, $skipPerm = false) - { - - $user = $GLOBALS['xoopsUser']; - - $criteriaCompo = new CriteriaCompo(); - $criteriaCompo->add(new Criteria('event_id', $eventId)); - if (!$skipPerm) { - $this->_addCatPermCriteria($criteriaCompo, $user); - } - $ret = $this->getObjects($criteriaCompo); - if (isset($ret[0])) { - return $ret[0]; - } else { - return false; - } - } - - /** - * @param $events - * @param $pattern - */ - function formatEventsDate(&$events, $pattern) - { - $max = count($events); - for ( - $i = 0; $i < $max; ++$i - ) { - $this->formatEventDate($events[$i], $pattern); - } - } - -// function getPicture1(&$event) { -// return $event['event_picture1']; -// } -// function getPicture2(&$event) { -// return $event['event_picture2']; -// } -// function getDesc(&$event) { -// return $event['event_desc']; -// } - - /** - * @param $event - * @param $pattern - */ - function formatEventDate(&$event, $pattern) - { - if (!$event['event_isrecur']) { - $event['formated_event_start'] = $this->_extcalTime->getFormatedDate($pattern, $event['event_start']); - $event['formated_event_end'] = $this->_extcalTime->getFormatedDate($pattern, $event['event_end']); - } else { - $event['formated_event_start'] = $this->_extcalTime->getFormatedDate($pattern, $event['event_start']); - $event['formated_event_end'] = $this->_extcalTime->getFormatedDate($pattern, $event['event_end']); - $event['formated_reccur_rule'] = $this->_extcalTime->getFormatedReccurRule($event['event_recur_rules']); - } - $event['formated_event_submitdate'] = $this->_extcalTime->getFormatedDate($pattern, $event['event_submitdate']); - } - -//JJD - to valid modif -// function _checkDate(&$data) -// { -// -// list($year, $month, $day) = explode("-", $data['event_start']['date']); -// $data['event_start'] -// = -// mktime(0, 0, 0, $month, $day, $year) + $data['event_start']['time']; -// list($year, $month, $day) = explode("-", $data['event_end']['date']); -// $data['event_end'] -// = mktime(0, 0, 0, $month, $day, $year) + $data['event_end']['time']; -// -// if ($data['have_end'] == 0 || $data['event_start'] > $data['event_end'] -//) { -// $data['event_end'] = $data['event_start']; -// } -// -// } - - /** - * @param $data - */ - function _checkDate(&$data) - { - - $data['event_start'] = strtotime($data['event_start']['date']) + $data['event_start']['time']; - $data['event_end'] = strtotime($data['event_end']['date']) + $data['event_end']['time']; - - if ($data['have_end'] == 0 || $data['event_start'] > $data['event_end'] - ) { - $data['event_end'] = $data['event_start']; - } - - } - - /** - * @param $data - */ - function _userTimeToServerTime(&$data) - { - - $user = $GLOBALS['xoopsUser']; - - $data['event_start'] = userTimeToServerTime($data['event_start'], $this->_extcalTime->_getUserTimeZone($user)); - $data['event_end'] = userTimeToServerTime($data['event_end'], $this->_extcalTime->_getUserTimeZone($user)); - - } - - /** - * @param $data - */ - function serverTimeToUserTime(&$data) - { - - $user = $GLOBALS['xoopsUser']; - - $data['event_start'] = xoops_getUserTimestamp($data['event_start'], $this->_extcalTime->_getUserTimeZone($user)); - $data['event_end'] = xoops_getUserTimestamp($data['event_end'], $this->_extcalTime->_getUserTimeZone($user)); - $data['event_submitdate'] = xoops_getUserTimestamp($data['event_submitdate'], $this->_extcalTime->_getUserTimeZone($user)); - - } - - /** - * @param $events - */ - function serverTimeToUserTimes(&$events) - { - $max = count($events); - - for ( - $i = 0; $i < $max; ++$i - ) { - $this->serverTimeToUserTime($events[$i]); - } - } - - /** - * @param $data - */ - function _addRecurValue(&$data) - { - $data['event_isrecur'] = $this->getIsRecur($_POST); - $data['event_recur_rules'] = $this->getRecurRules($_POST); - $data['event_recur_start'] = $this->getRecurStart($data, $_POST); - $data['event_recur_end'] = $this->getRecurEnd($data, $_POST); - } - - /*************************************************************** - * Return events on perioe - ************************************************************** - * - * @param $criteres - * - * @return array - */ - function getEventsOnPeriode($criteres) - { - //ext_echoArray($criteres); - global $extcalConfig; - $myts =& MyTextSanitizer::getInstance(); // MyTextSanitizer object - - $eventsU = $this->getEventsUniques($criteres); - $eventsR = $this->getEventsRecurents($criteres); - $events = array_merge($eventsU, $eventsR); - - // $events = $eventsU; - - //ext_echoArray($events); - - //Tri des evennement par date ascendante - $ordre = array(); - $eventArray = array(); - - while (list($k, $v) = each($events)) { - $ordre[] = intval($v['event_start']); - $this->formatEventDate($v, $extcalConfig['event_date_week']); - //$v['cat']['cat_light_color'] = $v['cat']['cat_color']; - $v['cat']['cat_light_color'] = eclaircirCouleur($v['cat']['cat_color'], _EXTCAL_INFOBULLE_RGB_MIN, _EXTCAL_INFOBULLE_RGB_MAX); - if ($v['event_icone'] == '') { - $v['event_icone'] = $v['cat']['cat_icone']; - } - $v['event_desc'] = html_entity_decode($v['event_desc']); - $eventArray[] = $v; - } - array_multisort($eventArray, SORT_ASC, SORT_NUMERIC, $ordre, SORT_ASC, SORT_NUMERIC); - - return $eventArray; - } - - /***************************************************************** - * - **************************************************************** - * @param $criteres - * @return array -*/ - function getEventsUniques($criteres) - { - global $extcalConfig; - while (list($k, $v) = each($criteres)) { - $$k = $v; - - } - if (!isset($nbDays)) { - $nbDays = 7; - } - if (!isset($sens)) { - $sens = 'ASC'; - } - if (!isset($externalKeys)) { - $externalKeys = array('cat_id'); - } - //------------------------------------------------------ - switch ($periode) { - - case _EXTCAL_EVENTS_CALENDAR_WEEK: - $criteriaCompo = $this->_getEventWeekCriteria($day, $month, $year, $cat, $nbDays); - if (!$extcalConfig['diplay_past_event_cal']) { - $criteriaCompo->add(new Criteria('event_end', time(), '>')); - } - break; - - case _EXTCAL_EVENTS_WEEK: - case _EXTCAL_EVENTS_AGENDA_WEEK: - $criteriaCompo = $this->_getEventWeekCriteria($day, $month, $year, $cat, $nbDays); - if (!$extcalConfig['diplay_past_event_list']) { - $criteriaCompo->add(new Criteria('event_end', time(), '>')); - } - break; - - case _EXTCAL_EVENTS_CALENDAR_MONTH: - $criteriaCompo = $this->_getEventMonthCriteria($month, $year, $cat); - - if (!$extcalConfig['diplay_past_event_cal']) { - $criteriaCompo->add(new Criteria('event_end', time(), '>')); - } - break; - - case _EXTCAL_EVENTS_MONTH: - $criteriaCompo = $this->_getEventMonthCriteria($month, $year, $cat); - - if (!$extcalConfig['diplay_past_event_list']) { - $criteriaCompo->add(new Criteria('event_end', time(), '>')); - } - break; - - case _EXTCAL_EVENTS_DAY: - $criteriaCompo = $this->_getEventDayCriteria($day, $month, $year, $cat); - - break; - - case _EXTCAL_EVENTS_YEAR: - $criteriaCompo = $this->_getEventYearCriteria($year, $cat); - break; - - case _EXTCAL_EVENTS_UPCOMING: - $criteriaCompo = $this->_getEventWeekCriteria($day, $month, $year, $cat, $nbDays); - break; - - } - //-------------------------------------------------------------------------- - $criteriaCompo->add(new Criteria('event_isrecur', 0, '=')); - $criteriaCompo->setOrder($sens); - - $result = $this->getObjects($criteriaCompo); - $events = $this->objectToArray($result, $externalKeys); - $this->serverTimeToUserTimes($events); - - return $events; - - } - - /***************************************************************** - * evennement récurents - **************************************************************** - * @param $criteres - * @return array -*/ - - function getEventsRecurents($criteres) - { - global $extcalConfig; - - while (list($k, $v) = each($criteres)) { - $$k = $v; - } - if (!isset($nbDays)) { - $nbDays = 7; - } - if (!isset($sens)) { - $sens = 'ASC'; - } - if (!isset($externalKeys)) { - $externalKeys = array('cat_id'); - } - $user = $GLOBALS['xoopsUser']; - //------------------------------------------------------ - - $criteriaCompo = new CriteriaCompo(); - - switch ($periode) { - case _EXTCAL_EVENTS_WEEK: - case _EXTCAL_EVENTS_CALENDAR_WEEK: - case _EXTCAL_EVENTS_AGENDA_WEEK: - case _EXTCAL_EVENTS_UPCOMING: - $start = userTimeToServerTime(mktime(0, 0, 0, $month, $day, $year), $this->_extcalTime->_getUserTimeZone($user)); - $end = userTimeToServerTime( - mktime( - 0, - 0, - 0, - $month, - $day + $nbDays + 1, - $year - ), - $this->_extcalTime->_getUserTimeZone($user) - ); - //$end = $start + (($nbDays + 1 )* _EXTCAL_TS_DAY); - //$end = userTimeToServerTime(mktime(0, 0, 0, $month, $day+(($nbJours)+1 * _EXTCAL_TS_DAY), $year), $this->_extcalTime->_getUserTimeZone($user));; - break; - - case _EXTCAL_EVENTS_MONTH: - case _EXTCAL_EVENTS_CALENDAR_MONTH: - $start = userTimeToServerTime(mktime(0, 0, 0, $month, 1, $year), $this->_extcalTime->_getUserTimeZone($user)); - $end = userTimeToServerTime( - mktime(23, 59, 59, $month + 1, 1, $year) - _EXTCAL_TS_DAY, - $this->_extcalTime->_getUserTimeZone($user) - ); - - $criteriaCompo->add(new Criteria('event_start', $end, '<=')); - //$criteriaCompo->add(new Criteria('event_end', $start, '>=')); - - break; - - case _EXTCAL_EVENTS_DAY: - $start = userTimeToServerTime(mktime(0, 0, 0, $month, $day, $year), $this->_extcalTime->_getUserTimeZone($user)); - $end = userTimeToServerTime( - mktime( - 0, - 0, - 0, - $month, - $day + 1, - $year - ), - $this->_extcalTime->_getUserTimeZone($user) - );; - //$criteriaCompo->add(new Criteria('event_start', $end, '<=')); - - break; - - case _EXTCAL_EVENTS_YEAR: - $start = userTimeToServerTime(mktime(0, 0, 0, 1, 1, $year), $this->_extcalTime->_getUserTimeZone($user)); - $end = userTimeToServerTime(mktime(0, 0, 0, 12, 31, $year), $this->_extcalTime->_getUserTimeZone($user)); - break; - - } - $formatDate = $extcalConfig['event_date_week']; - //-------------------------------------------------------------------------- - $criteriaCompo->add(new Criteria('event_isrecur', 1, '=')); - $criteriaCompo->setOrder($sens); - - $result = $this->getObjects($criteriaCompo); - $events = $this->objectToArray($result, $externalKeys); - $this->serverTimeToUserTimes($events); - - //Balyage de tous les evennements récurrents et creation de toutes le events - $eventsR = array(); - while (list($k, $event) = each($events)) { - //$te = $this->GetInterval($event, $start, $end); - //$eventsR = array_merge($eventsR, $te); - //echo 'event : ' . $event['event_id'] . '<br>'; - //ext_echoArray($event); - $recurEvents = $this->getRecurEventToDisplay($event, $start, $end); - if (count($recurEvents) > 0) { - $eventsR = array_merge($eventsR, $recurEvents); - } - - // Formating date - //$eventsR = array_merge($eventsArray, $recurEvents); - - } - - return $eventsR; - - } - - /***************************************************************** - * - **************************************************************** - * @param $period - * @param string $caption -*/ - function echoDateArray($period, $caption = '') - { - if ($caption != '') { - echo "<hr>echoDateArray -> {$caption}<br>"; - } else { - echo "<hr>echoDateArray<br>"; - } - - reset($period); - foreach ( - $period as $dt - ) { - echo $dt->format("l d-m-Y H:i:s\n") . '<br>'; - } - - } - - /***************************************************************** - * Criteria - **************************************************************** - * @param $day - * @param $month - * @param $year - * @param int $cat - * @return \CriteriaCompo -*/ - // Return the criteria compo object for a day - function _getEventDayCriteria($day, $month, $year, $cat = 0) - { - - $user = $GLOBALS['xoopsUser']; - - $dayStart = userTimeToServerTime(mktime(0, 0, 0, $month, $day, $year), $this->_extcalTime->_getUserTimeZone($user)); - $dayEnd = userTimeToServerTime(mktime(23, 59, 59, $month, $day, $year), $this->_extcalTime->_getUserTimeZone($user)); - $criteriaCompo = $this->_getListCriteriaCompo($dayStart, $dayEnd, $cat, $user); - - return $criteriaCompo; - } - - // Return the criteria compo object for a week - /** - * @param $day - * @param $month - * @param $year - * @param $cat - * @param int $nbDays - * - * @return CriteriaCompo - */ - function _getEventWeekCriteria($day, $month, $year, $cat, $nbDays = 7) - { - - $user = $GLOBALS['xoopsUser']; - - $userStartTime = mktime(0, 0, 0, $month, $day, $year); - $userEndTime = $userStartTime + (_EXTCAL_TS_DAY * $nbDays); - $weekStart = userTimeToServerTime($userStartTime, $this->_extcalTime->_getUserTimeZone($user)); - $weekEnd = userTimeToServerTime($userEndTime, $this->_extcalTime->_getUserTimeZone($user)); - $criteriaCompo = $this->_getCriteriaCompo($weekStart, $weekEnd, $cat, $user); - - ... [truncated message content] |
From: <wis...@us...> - 2015-01-12 13:43:59
|
Revision: 12933 http://sourceforge.net/p/xoops/svn/12933 Author: wishcraft Date: 2015-01-12 12:17:47 +0000 (Mon, 12 Jan 2015) Log Message: ----------- Signed 1.15 - Minor Changes to Major Final Modified Paths: -------------- XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/certificate.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/emails-bcc.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/class-entity.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/descriptions-fields.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/enumerator-gender.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/enumerator-im-type.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/fieldnames-countries.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/fieldnames-dates.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/fieldnames-emails.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/fieldnames-enumerators.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/fieldnames-numeric.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/fieldnames-strings.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/fieldnames-urls.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/fields-entity.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/fields-identification.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/fields-personal.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/identifications-entity.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/identifications-personal.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/prompts-entity.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/prompts-personal.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/prompts-request-entity.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/prompts-request-personal.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/provided-entity.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/provided-personal.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/resize-dimensions.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/signatures.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/upload-dimensions.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/validations-entity.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/english/validations-personal.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/language-files.txt XoopsModules/signed/trunk/xoops_lib/modules/signed/processes/si...@la....txt Added Paths: ----------- XoopsModules/signed/releases/1.15/ XoopsModules/signed/releases/1.15/htaccess.dist XoopsModules/signed/releases/1.15/modules/ XoopsModules/signed/releases/1.15/modules/index.html XoopsModules/signed/releases/1.15/modules/signed/ XoopsModules/signed/releases/1.15/modules/signed/.htaccess XoopsModules/signed/releases/1.15/modules/signed/admin/ XoopsModules/signed/releases/1.15/modules/signed/admin/about.php XoopsModules/signed/releases/1.15/modules/signed/admin/admin.php XoopsModules/signed/releases/1.15/modules/signed/admin/admin_footer.php XoopsModules/signed/releases/1.15/modules/signed/admin/admin_header.php XoopsModules/signed/releases/1.15/modules/signed/admin/events.php XoopsModules/signed/releases/1.15/modules/signed/admin/index.html XoopsModules/signed/releases/1.15/modules/signed/admin/menu.php XoopsModules/signed/releases/1.15/modules/signed/admin/signatures.php XoopsModules/signed/releases/1.15/modules/signed/api/ XoopsModules/signed/releases/1.15/modules/signed/api/banned/ XoopsModules/signed/releases/1.15/modules/signed/api/banned/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/banned/index.php XoopsModules/signed/releases/1.15/modules/signed/api/classes/ XoopsModules/signed/releases/1.15/modules/signed/api/classes/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/classes/index.php XoopsModules/signed/releases/1.15/modules/signed/api/descriptions/ XoopsModules/signed/releases/1.15/modules/signed/api/descriptions/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/descriptions/index.php XoopsModules/signed/releases/1.15/modules/signed/api/enumerators/ XoopsModules/signed/releases/1.15/modules/signed/api/enumerators/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/enumerators/index.php XoopsModules/signed/releases/1.15/modules/signed/api/fields/ XoopsModules/signed/releases/1.15/modules/signed/api/fields/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/fields/index.php XoopsModules/signed/releases/1.15/modules/signed/api/fieldtypes/ XoopsModules/signed/releases/1.15/modules/signed/api/fieldtypes/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/fieldtypes/index.php XoopsModules/signed/releases/1.15/modules/signed/api/identifications/ XoopsModules/signed/releases/1.15/modules/signed/api/identifications/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/identifications/index.php XoopsModules/signed/releases/1.15/modules/signed/api/index.php XoopsModules/signed/releases/1.15/modules/signed/api/language/ XoopsModules/signed/releases/1.15/modules/signed/api/language/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/language/index.php XoopsModules/signed/releases/1.15/modules/signed/api/languages/ XoopsModules/signed/releases/1.15/modules/signed/api/languages/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/languages/index.php XoopsModules/signed/releases/1.15/modules/signed/api/processes/ XoopsModules/signed/releases/1.15/modules/signed/api/processes/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/processes/index.php XoopsModules/signed/releases/1.15/modules/signed/api/prompts/ XoopsModules/signed/releases/1.15/modules/signed/api/prompts/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/prompts/index.php XoopsModules/signed/releases/1.15/modules/signed/api/providers/ XoopsModules/signed/releases/1.15/modules/signed/api/providers/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/providers/index.php XoopsModules/signed/releases/1.15/modules/signed/api/request/ XoopsModules/signed/releases/1.15/modules/signed/api/request/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/request/index.php XoopsModules/signed/releases/1.15/modules/signed/api/sign/ XoopsModules/signed/releases/1.15/modules/signed/api/sign/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/sign/index.php XoopsModules/signed/releases/1.15/modules/signed/api/signatures/ XoopsModules/signed/releases/1.15/modules/signed/api/signatures/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/signatures/index.php XoopsModules/signed/releases/1.15/modules/signed/api/sites/ XoopsModules/signed/releases/1.15/modules/signed/api/sites/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/sites/index.php XoopsModules/signed/releases/1.15/modules/signed/api/states/ XoopsModules/signed/releases/1.15/modules/signed/api/states/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/states/index.php XoopsModules/signed/releases/1.15/modules/signed/api/validate.php XoopsModules/signed/releases/1.15/modules/signed/api/validations/ XoopsModules/signed/releases/1.15/modules/signed/api/validations/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/validations/index.php XoopsModules/signed/releases/1.15/modules/signed/api/verification/ XoopsModules/signed/releases/1.15/modules/signed/api/verification/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/verification/index.php XoopsModules/signed/releases/1.15/modules/signed/api/verify/ XoopsModules/signed/releases/1.15/modules/signed/api/verify/.htaccess XoopsModules/signed/releases/1.15/modules/signed/api/verify/index.php XoopsModules/signed/releases/1.15/modules/signed/class/ XoopsModules/signed/releases/1.15/modules/signed/class/cache/ XoopsModules/signed/releases/1.15/modules/signed/class/cache/apc.php XoopsModules/signed/releases/1.15/modules/signed/class/cache/file.php XoopsModules/signed/releases/1.15/modules/signed/class/cache/index.html XoopsModules/signed/releases/1.15/modules/signed/class/cache/memcache.php XoopsModules/signed/releases/1.15/modules/signed/class/cache/model.php XoopsModules/signed/releases/1.15/modules/signed/class/cache/signedcache.php XoopsModules/signed/releases/1.15/modules/signed/class/cache/xcache.php XoopsModules/signed/releases/1.15/modules/signed/class/captcha/ XoopsModules/signed/releases/1.15/modules/signed/class/captcha/index.html XoopsModules/signed/releases/1.15/modules/signed/class/captcha/signedcaptcha.php XoopsModules/signed/releases/1.15/modules/signed/class/event_links.php XoopsModules/signed/releases/1.15/modules/signed/class/events.php XoopsModules/signed/releases/1.15/modules/signed/class/file/ XoopsModules/signed/releases/1.15/modules/signed/class/file/index.html XoopsModules/signed/releases/1.15/modules/signed/class/file/signedfile.php XoopsModules/signed/releases/1.15/modules/signed/class/index.html XoopsModules/signed/releases/1.15/modules/signed/class/mail/ XoopsModules/signed/releases/1.15/modules/signed/class/mail/index.html XoopsModules/signed/releases/1.15/modules/signed/class/mail/signedmultimailer.php XoopsModules/signed/releases/1.15/modules/signed/class/mobile/ XoopsModules/signed/releases/1.15/modules/signed/class/mobile/handlers/ XoopsModules/signed/releases/1.15/modules/signed/class/mobile/handlers/index.html XoopsModules/signed/releases/1.15/modules/signed/class/mobile/handlers/sms.cardboardfish.php XoopsModules/signed/releases/1.15/modules/signed/class/mobile/index.html XoopsModules/signed/releases/1.15/modules/signed/class/mobile/plugin/ XoopsModules/signed/releases/1.15/modules/signed/class/mobile/plugin/index.html XoopsModules/signed/releases/1.15/modules/signed/class/mobile/signedsmscontroller.php XoopsModules/signed/releases/1.15/modules/signed/class/mobile/signedsmsmobile.php XoopsModules/signed/releases/1.15/modules/signed/class/qcp/ XoopsModules/signed/releases/1.15/modules/signed/class/qcp/index.html XoopsModules/signed/releases/1.15/modules/signed/class/qcp/qcp.base.php XoopsModules/signed/releases/1.15/modules/signed/class/qcp/qcp.class.php XoopsModules/signed/releases/1.15/modules/signed/class/qcp/qcp.enumerator.php XoopsModules/signed/releases/1.15/modules/signed/class/qcp/qcp.leaver-beaver.php XoopsModules/signed/releases/1.15/modules/signed/class/signatures.php XoopsModules/signed/releases/1.15/modules/signed/class/signedapi.php XoopsModules/signed/releases/1.15/modules/signed/class/signedarrays.php XoopsModules/signed/releases/1.15/modules/signed/class/signedcanvas.php XoopsModules/signed/releases/1.15/modules/signed/class/signedciphers.php XoopsModules/signed/releases/1.15/modules/signed/class/signededitor/ XoopsModules/signed/releases/1.15/modules/signed/class/signededitor/index.html XoopsModules/signed/releases/1.15/modules/signed/class/signededitor/readme.txt XoopsModules/signed/releases/1.15/modules/signed/class/signededitor/signededitor.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/ XoopsModules/signed/releases/1.15/modules/signed/class/signedform/form.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formbutton.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formbuttontray.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formcaptcha.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formcheckbox.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formcolorpicker.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formdatetime.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formdhtmltextarea.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formeditor.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formelement.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formelementtray.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formfile.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formhidden.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formhiddentoken.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formlabel.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formpassword.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formradio.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formradioyn.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formselect.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formselectcheckgroup.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formselectcountry.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formselecteditor.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formselectenumerator.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formselectmatchoption.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formselectmonths.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formselecttimezone.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formselectyears.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formtext.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formtextarea.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/formtextdateselect.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/index.html XoopsModules/signed/releases/1.15/modules/signed/class/signedform/simpleform.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/tableform.php XoopsModules/signed/releases/1.15/modules/signed/class/signedform/themeform.php XoopsModules/signed/releases/1.15/modules/signed/class/signedformloader.php XoopsModules/signed/releases/1.15/modules/signed/class/signedlists.php XoopsModules/signed/releases/1.15/modules/signed/class/signedlogger.php XoopsModules/signed/releases/1.15/modules/signed/class/signedmailer.php XoopsModules/signed/releases/1.15/modules/signed/class/signedmobile.php XoopsModules/signed/releases/1.15/modules/signed/class/signedobject.php XoopsModules/signed/releases/1.15/modules/signed/class/signedpackages.php XoopsModules/signed/releases/1.15/modules/signed/class/signedprocesses.php XoopsModules/signed/releases/1.15/modules/signed/class/signedprompts.php XoopsModules/signed/releases/1.15/modules/signed/class/signedsecurity.php XoopsModules/signed/releases/1.15/modules/signed/class/signedsession.php XoopsModules/signed/releases/1.15/modules/signed/class/signedstorage.php XoopsModules/signed/releases/1.15/modules/signed/class/uploader.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/ XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Canvas.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Coordinate.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Exception.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Font/ XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Font/GDF.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Font/PS.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Font/TTF.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Image.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Mapper/ XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Mapper/BMP.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Mapper/GD.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Mapper/GD2.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Mapper/GIF.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Mapper/JPEG.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Mapper/PNG.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Mapper/TGA.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/MapperFactory.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/ XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/AddNoise.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/ApplyConvolution.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/ApplyFilter.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/ApplyMask.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/AsGrayscale.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/AsNegative.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/AutoCrop.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/CopyChannelsPalette.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/CopyChannelsTrueColor.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/CorrectGamma.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/Crop.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/Flip.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/GetMask.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/Merge.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/Mirror.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/Resize.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/ResizeCanvas.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/Rotate.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/RoundCorners.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/Operation/Unsharp.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/OperationFactory.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/PaletteImage.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/TrueColorImage.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/WideImage.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/index.html XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/vendor/ XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/vendor/de77/ XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/vendor/de77/BMP.php XoopsModules/signed/releases/1.15/modules/signed/class/wideimage/vendor/de77/TGA.php XoopsModules/signed/releases/1.15/modules/signed/class/xmlarray.php XoopsModules/signed/releases/1.15/modules/signed/class/xmlwrapper.php XoopsModules/signed/releases/1.15/modules/signed/crons/ XoopsModules/signed/releases/1.15/modules/signed/crons/.htaccess XoopsModules/signed/releases/1.15/modules/signed/crons/callbacks.php XoopsModules/signed/releases/1.15/modules/signed/crons/expires.php XoopsModules/signed/releases/1.15/modules/signed/crons/expiry.php XoopsModules/signed/releases/1.15/modules/signed/crons/index.html XoopsModules/signed/releases/1.15/modules/signed/crons/request.php XoopsModules/signed/releases/1.15/modules/signed/css/ XoopsModules/signed/releases/1.15/modules/signed/css/calendar-blue.css XoopsModules/signed/releases/1.15/modules/signed/css/index.html XoopsModules/signed/releases/1.15/modules/signed/css/signed.css XoopsModules/signed/releases/1.15/modules/signed/css/style.css XoopsModules/signed/releases/1.15/modules/signed/docs/ XoopsModules/signed/releases/1.15/modules/signed/docs/changelog.txt XoopsModules/signed/releases/1.15/modules/signed/docs/credits.txt XoopsModules/signed/releases/1.15/modules/signed/docs/index.html XoopsModules/signed/releases/1.15/modules/signed/docs/install.txt XoopsModules/signed/releases/1.15/modules/signed/docs/lang_diff.txt XoopsModules/signed/releases/1.15/modules/signed/dojsonids.php XoopsModules/signed/releases/1.15/modules/signed/dojsonoperations.php XoopsModules/signed/releases/1.15/modules/signed/fonts/ XoopsModules/signed/releases/1.15/modules/signed/fonts/COOPBL.eot XoopsModules/signed/releases/1.15/modules/signed/fonts/COOPBL.otf XoopsModules/signed/releases/1.15/modules/signed/fonts/COOPBL.svg XoopsModules/signed/releases/1.15/modules/signed/fonts/COOPBL.ttf XoopsModules/signed/releases/1.15/modules/signed/fonts/COOPBL.woff XoopsModules/signed/releases/1.15/modules/signed/fonts/ERASMD.eot XoopsModules/signed/releases/1.15/modules/signed/fonts/ERASMD.otf XoopsModules/signed/releases/1.15/modules/signed/fonts/ERASMD.svg XoopsModules/signed/releases/1.15/modules/signed/fonts/ERASMD.ttf XoopsModules/signed/releases/1.15/modules/signed/fonts/ERASMD.woff XoopsModules/signed/releases/1.15/modules/signed/fonts/index.html XoopsModules/signed/releases/1.15/modules/signed/footer.php XoopsModules/signed/releases/1.15/modules/signed/generator.php XoopsModules/signed/releases/1.15/modules/signed/go/ XoopsModules/signed/releases/1.15/modules/signed/go/.htaccess XoopsModules/signed/releases/1.15/modules/signed/go/index.php XoopsModules/signed/releases/1.15/modules/signed/header.php XoopsModules/signed/releases/1.15/modules/signed/image/ XoopsModules/signed/releases/1.15/modules/signed/image/icons/ XoopsModules/signed/releases/1.15/modules/signed/image/icons/16/ XoopsModules/signed/releases/1.15/modules/signed/image/icons/16/index.html XoopsModules/signed/releases/1.15/modules/signed/image/icons/32/ XoopsModules/signed/releases/1.15/modules/signed/image/icons/32/about.png XoopsModules/signed/releases/1.15/modules/signed/image/icons/32/event.png XoopsModules/signed/releases/1.15/modules/signed/image/icons/32/identity.png XoopsModules/signed/releases/1.15/modules/signed/image/icons/32/index.html XoopsModules/signed/releases/1.15/modules/signed/image/icons/32/security.png XoopsModules/signed/releases/1.15/modules/signed/image/icons/index.html XoopsModules/signed/releases/1.15/modules/signed/image/index.html XoopsModules/signed/releases/1.15/modules/signed/image/signed.png XoopsModules/signed/releases/1.15/modules/signed/image/watermark.gif XoopsModules/signed/releases/1.15/modules/signed/image/watermark.php XoopsModules/signed/releases/1.15/modules/signed/include/ XoopsModules/signed/releases/1.15/modules/signed/include/common.php XoopsModules/signed/releases/1.15/modules/signed/include/configs.php XoopsModules/signed/releases/1.15/modules/signed/include/constants.php XoopsModules/signed/releases/1.15/modules/signed/include/form-edit-object.php XoopsModules/signed/releases/1.15/modules/signed/include/form-generic-edit-form.php XoopsModules/signed/releases/1.15/modules/signed/include/form-generic-form.php XoopsModules/signed/releases/1.15/modules/signed/include/form-identification-edit-form.php XoopsModules/signed/releases/1.15/modules/signed/include/form-identification-form.php XoopsModules/signed/releases/1.15/modules/signed/include/form-object.php XoopsModules/signed/releases/1.15/modules/signed/include/functions.php XoopsModules/signed/releases/1.15/modules/signed/include/index.html XoopsModules/signed/releases/1.15/modules/signed/include/language.php XoopsModules/signed/releases/1.15/modules/signed/index.php XoopsModules/signed/releases/1.15/modules/signed/js/ XoopsModules/signed/releases/1.15/modules/signed/js/calendar.js XoopsModules/signed/releases/1.15/modules/signed/js/color-picker.js XoopsModules/signed/releases/1.15/modules/signed/js/formdhtmltextarea.js XoopsModules/signed/releases/1.15/modules/signed/js/index.html XoopsModules/signed/releases/1.15/modules/signed/js/json.validation.js XoopsModules/signed/releases/1.15/modules/signed/js/layersmenu.js XoopsModules/signed/releases/1.15/modules/signed/js/signed.js XoopsModules/signed/releases/1.15/modules/signed/language/ XoopsModules/signed/releases/1.15/modules/signed/language/english/ XoopsModules/signed/releases/1.15/modules/signed/language/english/admin.php XoopsModules/signed/releases/1.15/modules/signed/language/english/calendar.php XoopsModules/signed/releases/1.15/modules/signed/language/english/captcha.php XoopsModules/signed/releases/1.15/modules/signed/language/english/content.php XoopsModules/signed/releases/1.15/modules/signed/language/english/countries.php XoopsModules/signed/releases/1.15/modules/signed/language/english/errors.php XoopsModules/signed/releases/1.15/modules/signed/language/english/formdhtmltextarea.php XoopsModules/signed/releases/1.15/modules/signed/language/english/global.php XoopsModules/signed/releases/1.15/modules/signed/language/english/help/ XoopsModules/signed/releases/1.15/modules/signed/language/english/help/help.html XoopsModules/signed/releases/1.15/modules/signed/language/english/help/index.html XoopsModules/signed/releases/1.15/modules/signed/language/english/index.html XoopsModules/signed/releases/1.15/modules/signed/language/english/mail.php XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/ XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/html/ XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/html/expired-identification.html XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/html/expired-signature.html XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/html/index.html XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/html/signature-email.html XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/html/update-request.html XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/html/verify-email.html XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/index.html XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/text/ XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/text/expired-identification.txt XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/text/expired-signature.txt XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/text/index.html XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/text/signature-email.txt XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/text/update-request.txt XoopsModules/signed/releases/1.15/modules/signed/language/english/mail_template/text/verify-email.txt XoopsModules/signed/releases/1.15/modules/signed/language/english/main.php XoopsModules/signed/releases/1.15/modules/signed/language/english/modinfo.php XoopsModules/signed/releases/1.15/modules/signed/language/english/months.php XoopsModules/signed/releases/1.15/modules/signed/language/english/signedmailerlocal.php XoopsModules/signed/releases/1.15/modules/signed/language/english/signedmobilelocal.php XoopsModules/signed/releases/1.15/modules/signed/language/english/sms_template/ XoopsModules/signed/releases/1.15/modules/signed/language/english/sms_template/index.html XoopsModules/signed/releases/1.15/modules/signed/language/english/sms_template/verify-mobile.txt XoopsModules/signed/releases/1.15/modules/signed/language/english/style.css XoopsModules/signed/releases/1.15/modules/signed/language/english/timezone.php XoopsModules/signed/releases/1.15/modules/signed/language/english/titles.php XoopsModules/signed/releases/1.15/modules/signed/language/english/uploader.php XoopsModules/signed/releases/1.15/modules/signed/language/index.html XoopsModules/signed/releases/1.15/modules/signed/preloads/ XoopsModules/signed/releases/1.15/modules/signed/preloads/api.php XoopsModules/signed/releases/1.15/modules/signed/preloads/index.html XoopsModules/signed/releases/1.15/modules/signed/request.php XoopsModules/signed/releases/1.15/modules/signed/reset.php XoopsModules/signed/releases/1.15/modules/signed/signed/ XoopsModules/signed/releases/1.15/modules/signed/signed/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/admin/ XoopsModules/signed/releases/1.15/modules/signed/signed/admin/about.php XoopsModules/signed/releases/1.15/modules/signed/signed/admin/admin.php XoopsModules/signed/releases/1.15/modules/signed/signed/admin/admin_footer.php XoopsModules/signed/releases/1.15/modules/signed/signed/admin/admin_header.php XoopsModules/signed/releases/1.15/modules/signed/signed/admin/events.php XoopsModules/signed/releases/1.15/modules/signed/signed/admin/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/admin/menu.php XoopsModules/signed/releases/1.15/modules/signed/signed/admin/signatures.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/banned/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/banned/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/banned/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/classes/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/classes/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/classes/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/descriptions/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/descriptions/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/descriptions/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/enumerators/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/enumerators/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/enumerators/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/fields/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/fields/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/fields/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/fieldtypes/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/fieldtypes/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/fieldtypes/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/identifications/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/identifications/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/identifications/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/language/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/language/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/language/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/languages/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/languages/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/languages/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/processes/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/processes/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/processes/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/prompts/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/prompts/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/prompts/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/providers/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/providers/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/providers/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/request/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/request/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/request/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/sign/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/sign/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/sign/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/signatures/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/signatures/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/signatures/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/sites/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/sites/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/sites/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/states/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/states/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/states/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/validate.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/validations/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/validations/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/validations/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/verification/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/verification/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/verification/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/api/verify/ XoopsModules/signed/releases/1.15/modules/signed/signed/api/verify/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/api/verify/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/cache/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/cache/apc.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/cache/file.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/cache/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/class/cache/memcache.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/cache/model.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/cache/signedcache.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/cache/xcache.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/captcha/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/captcha/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/class/captcha/signedcaptcha.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/event_links.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/events.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/file/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/file/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/class/file/signedfile.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/class/mail/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/mail/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/class/mail/signedmultimailer.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/mobile/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/mobile/handlers/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/mobile/handlers/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/class/mobile/handlers/sms.cardboardfish.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/mobile/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/class/mobile/plugin/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/mobile/plugin/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/class/mobile/signedsmscontroller.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/mobile/signedsmsmobile.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/qcp/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/qcp/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/class/qcp/qcp.base.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/qcp/qcp.class.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/qcp/qcp.enumerator.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/qcp/qcp.leaver-beaver.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signatures.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedapi.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedarrays.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedcanvas.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedciphers.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signededitor/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/signededitor/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/class/signededitor/readme.txt XoopsModules/signed/releases/1.15/modules/signed/signed/class/signededitor/signededitor.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/form.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formbutton.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formbuttontray.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formcaptcha.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formcheckbox.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formcolorpicker.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formdatetime.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formdhtmltextarea.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formeditor.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formelement.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formelementtray.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formfile.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formhidden.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formhiddentoken.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formlabel.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formpassword.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formradio.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formradioyn.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formselect.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formselectcheckgroup.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formselectcountry.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formselecteditor.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formselectenumerator.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formselectmatchoption.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formselectmonths.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formselecttimezone.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formselectyears.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formtext.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formtextarea.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/formtextdateselect.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/simpleform.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/tableform.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedform/themeform.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedformloader.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedlists.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedlogger.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedmailer.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedmobile.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedobject.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedpackages.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedprocesses.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedprompts.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedsecurity.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedsession.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/signedstorage.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/uploader.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Canvas.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Coordinate.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Exception.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Font/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Font/GDF.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Font/PS.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Font/TTF.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Image.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Mapper/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Mapper/BMP.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Mapper/GD.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Mapper/GD2.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Mapper/GIF.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Mapper/JPEG.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Mapper/PNG.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Mapper/TGA.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/MapperFactory.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/AddNoise.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/ApplyConvolution.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/ApplyFilter.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/ApplyMask.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/AsGrayscale.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/AsNegative.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/AutoCrop.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/CopyChannelsPalette.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/CopyChannelsTrueColor.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/CorrectGamma.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/Crop.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/Flip.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/GetMask.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/Merge.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/Mirror.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/Resize.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/ResizeCanvas.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/Rotate.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/RoundCorners.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/Operation/Unsharp.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/OperationFactory.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/PaletteImage.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/TrueColorImage.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/WideImage.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/vendor/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/vendor/de77/ XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/vendor/de77/BMP.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/wideimage/vendor/de77/TGA.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/xmlarray.php XoopsModules/signed/releases/1.15/modules/signed/signed/class/xmlwrapper.php XoopsModules/signed/releases/1.15/modules/signed/signed/crons/ XoopsModules/signed/releases/1.15/modules/signed/signed/crons/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/crons/callbacks.php XoopsModules/signed/releases/1.15/modules/signed/signed/crons/expires.php XoopsModules/signed/releases/1.15/modules/signed/signed/crons/expiry.php XoopsModules/signed/releases/1.15/modules/signed/signed/crons/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/crons/request.php XoopsModules/signed/releases/1.15/modules/signed/signed/css/ XoopsModules/signed/releases/1.15/modules/signed/signed/css/calendar-blue.css XoopsModules/signed/releases/1.15/modules/signed/signed/css/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/css/signed.css XoopsModules/signed/releases/1.15/modules/signed/signed/css/style.css XoopsModules/signed/releases/1.15/modules/signed/signed/docs/ XoopsModules/signed/releases/1.15/modules/signed/signed/docs/changelog.txt XoopsModules/signed/releases/1.15/modules/signed/signed/docs/credits.txt XoopsModules/signed/releases/1.15/modules/signed/signed/docs/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/docs/install.txt XoopsModules/signed/releases/1.15/modules/signed/signed/docs/lang_diff.txt XoopsModules/signed/releases/1.15/modules/signed/signed/dojsonids.php XoopsModules/signed/releases/1.15/modules/signed/signed/dojsonoperations.php XoopsModules/signed/releases/1.15/modules/signed/signed/fonts/ XoopsModules/signed/releases/1.15/modules/signed/signed/fonts/COOPBL.eot XoopsModules/signed/releases/1.15/modules/signed/signed/fonts/COOPBL.otf XoopsModules/signed/releases/1.15/modules/signed/signed/fonts/COOPBL.svg XoopsModules/signed/releases/1.15/modules/signed/signed/fonts/COOPBL.ttf XoopsModules/signed/releases/1.15/modules/signed/signed/fonts/COOPBL.woff XoopsModules/signed/releases/1.15/modules/signed/signed/fonts/ERASMD.eot XoopsModules/signed/releases/1.15/modules/signed/signed/fonts/ERASMD.otf XoopsModules/signed/releases/1.15/modules/signed/signed/fonts/ERASMD.svg XoopsModules/signed/releases/1.15/modules/signed/signed/fonts/ERASMD.ttf XoopsModules/signed/releases/1.15/modules/signed/signed/fonts/ERASMD.woff XoopsModules/signed/releases/1.15/modules/signed/signed/fonts/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/footer.php XoopsModules/signed/releases/1.15/modules/signed/signed/generator.php XoopsModules/signed/releases/1.15/modules/signed/signed/go/ XoopsModules/signed/releases/1.15/modules/signed/signed/go/.htaccess XoopsModules/signed/releases/1.15/modules/signed/signed/go/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/header.php XoopsModules/signed/releases/1.15/modules/signed/signed/image/ XoopsModules/signed/releases/1.15/modules/signed/signed/image/icons/ XoopsModules/signed/releases/1.15/modules/signed/signed/image/icons/16/ XoopsModules/signed/releases/1.15/modules/signed/signed/image/icons/16/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/image/icons/32/ XoopsModules/signed/releases/1.15/modules/signed/signed/image/icons/32/about.png XoopsModules/signed/releases/1.15/modules/signed/signed/image/icons/32/event.png XoopsModules/signed/releases/1.15/modules/signed/signed/image/icons/32/identity.png XoopsModules/signed/releases/1.15/modules/signed/signed/image/icons/32/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/image/icons/32/security.png XoopsModules/signed/releases/1.15/modules/signed/signed/image/icons/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/image/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/image/signed.png XoopsModules/signed/releases/1.15/modules/signed/signed/image/watermark.gif XoopsModules/signed/releases/1.15/modules/signed/signed/image/watermark.php XoopsModules/signed/releases/1.15/modules/signed/signed/include/ XoopsModules/signed/releases/1.15/modules/signed/signed/include/common.php XoopsModules/signed/releases/1.15/modules/signed/signed/include/configs.php XoopsModules/signed/releases/1.15/modules/signed/signed/include/constants.php XoopsModules/signed/releases/1.15/modules/signed/signed/include/form-edit-object.php XoopsModules/signed/releases/1.15/modules/signed/signed/include/form-generic-edit-form.php XoopsModules/signed/releases/1.15/modules/signed/signed/include/form-generic-form.php XoopsModules/signed/releases/1.15/modules/signed/signed/include/form-identification-edit-form.php XoopsModules/signed/releases/1.15/modules/signed/signed/include/form-identification-form.php XoopsModules/signed/releases/1.15/modules/signed/signed/include/form-object.php XoopsModules/signed/releases/1.15/modules/signed/signed/include/functions.php XoopsModules/signed/releases/1.15/modules/signed/signed/include/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/include/language.php XoopsModules/signed/releases/1.15/modules/signed/signed/index.php XoopsModules/signed/releases/1.15/modules/signed/signed/js/ XoopsModules/signed/releases/1.15/modules/signed/signed/js/calendar.js XoopsModules/signed/releases/1.15/modules/signed/signed/js/color-picker.js XoopsModules/signed/releases/1.15/modules/signed/signed/js/formdhtmltextarea.js XoopsModules/signed/releases/1.15/modules/signed/signed/js/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/js/json.validation.js XoopsModules/signed/releases/1.15/modules/signed/signed/js/layersmenu.js XoopsModules/signed/releases/1.15/modules/signed/signed/js/signed.js XoopsModules/signed/releases/1.15/modules/signed/signed/language/ XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/ XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/admin.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/calendar.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/captcha.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/content.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/countries.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/errors.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/formdhtmltextarea.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/global.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/help/ XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/help/help.html XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/help/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/ XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/html/ XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/html/expired-identification.html XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/html/expired-signature.html XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/html/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/html/signature-email.html XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/html/update-request.html XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/html/verify-email.html XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/text/ XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/text/expired-identification.txt XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/text/expired-signature.txt XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/text/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/text/signature-email.txt XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/text/update-request.txt XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/mail_template/text/verify-email.txt XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/main.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/modinfo.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/months.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/signedmailerlocal.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/signedmobilelocal.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/sms_template/ XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/sms_template/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/sms_template/verify-mobile.txt XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/style.css XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/timezone.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/titles.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/english/uploader.php XoopsModules/signed/releases/1.15/modules/signed/signed/language/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/preloads/ XoopsModules/signed/releases/1.15/modules/signed/signed/preloads/api.php XoopsModules/signed/releases/1.15/modules/signed/signed/preloads/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/request.php XoopsModules/signed/releases/1.15/modules/signed/signed/reset.php XoopsModules/signed/releases/1.15/modules/signed/signed/sql/ XoopsModules/signed/releases/1.15/modules/signed/signed/sql/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/sql/mysql.sql XoopsModules/signed/releases/1.15/modules/signed/signed/templates/ XoopsModules/signed/releases/1.15/modules/signed/signed/templates/admin/ XoopsModules/signed/releases/1.15/modules/signed/signed/templates/admin/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/templates/admin/signed_events.html XoopsModules/signed/releases/1.15/modules/signed/signed/templates/admin/signed_signatures.html XoopsModules/signed/releases/1.15/modules/signed/signed/templates/common/ XoopsModules/signed/releases/1.15/modules/signed/signed/templates/common/api.php XoopsModules/signed/releases/1.15/modules/signed/signed/templates/common/canvas.php XoopsModules/signed/releases/1.15/modules/signed/signed/templates/common/index.html XoopsModules/signed/releases/1.15/modules/signed/signed/templates/common/no-url.php XoopsModules/signed/releases/1.15/modules/signed/signed/templates/common/reset.php XoopsModules/signed/releases/1.15/modules/signed/signed/templates/common/start.php XoopsModules/signed/releases/1.15/modules/signed/signed/templates/common/u... [truncated message content] |
From: <wis...@us...> - 2015-01-12 12:30:57
|
Revision: 12935 http://sourceforge.net/p/xoops/svn/12935 Author: wishcraft Date: 2015-01-12 12:30:54 +0000 (Mon, 12 Jan 2015) Log Message: ----------- Signed 1.15 - Minor Changes to Major Final Modified Paths: -------------- XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/enumerator-gender.txt XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/enumerator-im-type.txt XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/fieldnames-enumerators.txt XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/fields-personal.txt XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/identifications-entity.txt XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/identifications-personal.txt XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/validations-entity.txt Modified: XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/enumerator-gender.txt =================================================================== --- XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/enumerator-gender.txt 2015-01-12 12:29:17 UTC (rev 12934) +++ XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/enumerator-gender.txt 2015-01-12 12:30:54 UTC (rev 12935) @@ -1,4 +1,5 @@ -Male -Female -Transgender + +Male +Female +Transgender Other \ No newline at end of file Modified: XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/enumerator-im-type.txt =================================================================== --- XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/enumerator-im-type.txt 2015-01-12 12:29:17 UTC (rev 12934) +++ XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/enumerator-im-type.txt 2015-01-12 12:30:54 UTC (rev 12935) @@ -1,6 +1,7 @@ -None -Skype -Google Talk -Yahoo Messenger -VOIP (SIP) + +None +Skype +Google Talk +Yahoo Messenger +VOIP (SIP) Other \ No newline at end of file Modified: XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/fieldnames-enumerators.txt =================================================================== --- XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/fieldnames-enumerators.txt 2015-01-12 12:29:17 UTC (rev 12934) +++ XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/fieldnames-enumerators.txt 2015-01-12 12:30:54 UTC (rev 12935) @@ -1,2 +1,4 @@ gender -im-type \ No newline at end of file +im-type +titled +suffix \ No newline at end of file Modified: XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/fields-personal.txt =================================================================== --- XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/fields-personal.txt 2015-01-12 12:29:17 UTC (rev 12934) +++ XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/fields-personal.txt 2015-01-12 12:30:54 UTC (rev 12935) @@ -1,22 +1,24 @@ -photo|Your Recent Photo|required -name|Your Name|required -address|Street Address|required -suburb|Suburb|required -state|State/Province|required -postcode|Postcode|required -country|Country|required -gender|Your Gender|required -dob|Your Date of Birth|required -email|Private Email|required -paypal-email|Private PayPal Email|open -im-type|Instant Messaging Type|open -im-address|Instant Messaging Address|open -phone|Phone Number|open -fax|Fax Number|open -mobile|Mobile Number|required -twitter|Your Personal Twitter Profile URL|open -facebook|Your Personal Facebook Profile URL|open -linkedin|Your Personal Linked-in Profile URL|open -googleplus|Your Personal Google+ Profile URL|open -youtube|Your Personal YouTube Channel URL|open +photo|Your Recent Photo|required +titled|Your Prefixed Title|required +name|Your Name|required +suffix|Your Suffix Title|open +address|Street Address|required +suburb|Suburb|required +state|State/Province|required +postcode|Postcode|required +country|Country|required +gender|Your Gender|required +dob|Your Date of Birth|required +email|Private Email|required +paypal-email|Private PayPal Email|open +im-type|Instant Messaging Type|open +im-address|Instant Messaging Address|open +phone|Phone Number|open +fax|Fax Number|open +mobile|Mobile Number|required +twitter|Your Personal Twitter Profile URL|open +facebook|Your Personal Facebook Profile URL|open +linkedin|Your Personal Linked-in Profile URL|open +googleplus|Your Personal Google+ Profile URL|open +youtube|Your Personal YouTube Channel URL|open blog|Your Personal Blog URL|open \ No newline at end of file Modified: XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/identifications-entity.txt =================================================================== --- XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/identifications-entity.txt 2015-01-12 12:29:17 UTC (rev 12934) +++ XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/identifications-entity.txt 2015-01-12 12:30:54 UTC (rev 12935) @@ -1,20 +1,20 @@ -First Page of National Police Record|80:id-national-police-record|image,serial-number,issue-country -Drivers Licence|55:id-drivers-licence|image,serial-number,expiry-month,expiry-year,issue-country -Proof of Age|50:id-proof-age|image,serial-number,expiry-month,expiry-year,issue-country -Passport|45:id-passport|image,serial-number,expiry-month,expiry-year,issue-country -Birth Certificate|45:id-birth-certificate|image,serial-number,issue-country -Birth Card|45:id-birth-card|image,serial-number,expiry-month,expiry-year,issue-country -Marriage Certificate|35:id-marriage-certificate|image,serial-number,issue-country -Builders/Trade Licence|15:id-trade-licence|image,serial-number,expiry-month,expiry-year,issue-country -Working Permit Card (ie. Green-card)|15:id-work-permit|image,serial-number,expiry-month,expiry-year,issue-country -Health Services Card (ie. Medicare)|15:id-health-card|image,serial-number,expiry-month,expiry-year,issue-country -Detailed Invoice/Bank Statement|10:id-detailed-statement|image,serial-number,expiry-month,expiry-year,issue-country -Financial Debit Card|20:id-debit-card|image,serial-number,expiry-month,expiry-year,issue-country -Financial Credit Card|20:id-credit-card|image,serial-number,expiry-month,expiry-year,issue-country -Social Services Card|25:id-social-services-card|image,serial-number,expiry-month,expiry-year,issue-country -Government Pension Card|25:id-gov-pension-card|image,serial-number,expiry-month,expiry-year,issue-country -State Police Identification Badge|40:id-police-badge|image,serial-number,issue-country -State Fire Identification Badge|40:id-fire-badge|image,serial-number,issue-country -State Health Identification Badge|30:id-health-badge|image,serial-number,issue-country -Government Employment Certificate|35:id-gov-employ-certificate|image,serial-number,issue-country +First Page of National Police Record|80:id-national-police-record|image,serial-number,issue-country +Drivers Licence|55:id-drivers-licence|image,serial-number,expiry-month,expiry-year,issue-country +Proof of Age|50:id-proof-age|image,serial-number,expiry-month,expiry-year,issue-country +Passport|45:id-passport|image,serial-number,expiry-month,expiry-year,issue-country +Birth Certificate|45:id-birth-certificate|image,serial-number,issue-country +Birth Card|45:id-birth-card|image,serial-number,expiry-month,expiry-year,issue-country +Marriage Certificate|35:id-marriage-certificate|image,serial-number,issue-country +Builders/Trade Licence|15:id-trade-licence|image,serial-number,expiry-month,expiry-year,issue-country +Working Permit Card (ie. Green-card)|15:id-work-permit|image,serial-number,expiry-month,expiry-year,issue-country +Health Services Card (ie. Medicare)|15:id-health-card|image,serial-number,expiry-month,expiry-year,issue-country +Detailed Invoice/Bank Statement|10:id-detailed-statement|image,serial-number,expiry-month,expiry-year,issue-country +Financial Debit Card|20:id-debit-card|image,serial-number,expiry-month,expiry-year,issue-country +Financial Credit Card|20:id-credit-card|image,serial-number,expiry-month,expiry-year,issue-country +Social Services Card|25:id-social-services-card|image,serial-number,expiry-month,expiry-year,issue-country +Government Pension Card|25:id-gov-pension-card|image,serial-number,expiry-month,expiry-year,issue-country +State Police Identification Badge|40:id-police-badge|image,serial-number,issue-country +State Fire Identification Badge|40:id-fire-badge|image,serial-number,issue-country +State Health Identification Badge|30:id-health-badge|image,serial-number,issue-country +Government Employment Certificate|35:id-gov-employ-certificate|image,serial-number,issue-country Current Employment Certificate/Letter|25:id-current-employ-certificate|image,serial-number,issue-country \ No newline at end of file Modified: XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/identifications-personal.txt =================================================================== --- XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/identifications-personal.txt 2015-01-12 12:29:17 UTC (rev 12934) +++ XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/identifications-personal.txt 2015-01-12 12:30:54 UTC (rev 12935) @@ -1,20 +1,20 @@ -First Page of National Police Record|80:id-national-police-record|image,serial-number,issue-country -Drivers Licence|55:id-drivers-licence|image,serial-number,expiry-month,expiry-year,issue-country -Proof of Age|50:id-proof-age|image,serial-number,expiry-month,expiry-year,issue-country -Passport|45:id-passport|image,serial-number,expiry-month,expiry-year,issue-country -Birth Certificate|45:id-birth-certificate|image,serial-number,issue-country -Birth Card|45:id-birth-card|image,serial-number,expiry-month,expiry-year,issue-country -Marriage Certificate|35:id-marriage-certificate|image,serial-number,issue-country -Builders/Trade Licence|15:id-trade-licence|image,serial-number,expiry-month,expiry-year,issue-country -Working Permit Card (ie. Green-card)|15:id-work-permit|image,serial-number,expiry-month,expiry-year,issue-country -Health Services Card (ie. Medicare)|15:id-health-card|image,serial-number,expiry-month,expiry-year,issue-country -Detailed Invoice/Bank Statement|10:id-detailed-statement|image,serial-number,expiry-month,expiry-year,issue-country -Financial Debit Card|20:id-debit-card|image,serial-number,expiry-month,expiry-year,issue-country -Financial Credit Card|20:id-credit-card|image,serial-number,expiry-month,expiry-year,issue-country -Social Services Card|25:id-social-services-card|image,serial-number,expiry-month,expiry-year,issue-country -Government Pension Card|25:id-gov-pension-card|image,serial-number,expiry-month,expiry-year,issue-country -State Police Identification Badge|40:id-police-badge|image,serial-number,issue-country -State Fire Identification Badge|40:id-fire-badge|image,serial-number,issue-country -State Health Identification Badge|30:id-health-badge|image,serial-number,issue-country -Government Employment Certificate|35:id-gov-employ-certificate|image,serial-number,issue-country +First Page of National Police Record|80:id-national-police-record|image,serial-number,issue-country +Drivers Licence|55:id-drivers-licence|image,serial-number,expiry-month,expiry-year,issue-country +Proof of Age|50:id-proof-age|image,serial-number,expiry-month,expiry-year,issue-country +Passport|45:id-passport|image,serial-number,expiry-month,expiry-year,issue-country +Birth Certificate|45:id-birth-certificate|image,serial-number,issue-country +Birth Card|45:id-birth-card|image,serial-number,expiry-month,expiry-year,issue-country +Marriage Certificate|35:id-marriage-certificate|image,serial-number,issue-country +Builders/Trade Licence|15:id-trade-licence|image,serial-number,expiry-month,expiry-year,issue-country +Working Permit Card (ie. Green-card)|15:id-work-permit|image,serial-number,expiry-month,expiry-year,issue-country +Health Services Card (ie. Medicare)|15:id-health-card|image,serial-number,expiry-month,expiry-year,issue-country +Detailed Invoice/Bank Statement|10:id-detailed-statement|image,serial-number,expiry-month,expiry-year,issue-country +Financial Debit Card|20:id-debit-card|image,serial-number,expiry-month,expiry-year,issue-country +Financial Credit Card|20:id-credit-card|image,serial-number,expiry-month,expiry-year,issue-country +Social Services Card|25:id-social-services-card|image,serial-number,expiry-month,expiry-year,issue-country +Government Pension Card|25:id-gov-pension-card|image,serial-number,expiry-month,expiry-year,issue-country +State Police Identification Badge|40:id-police-badge|image,serial-number,issue-country +State Fire Identification Badge|40:id-fire-badge|image,serial-number,issue-country +State Health Identification Badge|30:id-health-badge|image,serial-number,issue-country +Government Employment Certificate|35:id-gov-employ-certificate|image,serial-number,issue-country Current Employment Certificate/Letter|25:id-current-employ-certificate|image,serial-number,issue-country \ No newline at end of file Modified: XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/validations-entity.txt =================================================================== --- XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/validations-entity.txt 2015-01-12 12:29:17 UTC (rev 12934) +++ XoopsModules/signed/releases/1.15/xoops_lib/modules/signed/processes/english/validations-entity.txt 2015-01-12 12:30:54 UTC (rev 12935) @@ -1,13 +1,13 @@ -id-score-required:100 -personal-required:name,address,suburb,state,country,postcode,email,mobile,dob,gender -entity-required:entity-name,entity-address,entity-suburb,entity-state,entity-country,entity-postcode,entity-manager-email,entity-email,entity-phone,entity-accountant-email,entity-rbn,entity-dor -email-verification:email,entity-email,entity-manager-email -mobile-verification:mobile,entity-mobile -social-verification: -web-verification: -email-validation:email,paypal-email,entity-email,entity-manager-email,entity-accountant-email,entity-paypal-email -url-validation:twitter,facebook,linkedin,googleplus,youtube,blog,entity-twitter,entity-facebook,entity-linkedin,entity-googleplus,entity-youtube,entity-blog -banning-validation:email,paypal-email,twitter,facebook,linkedin,googleplus,youtube,blog,entity-email,entity-manager-email,entity-accountant-email,entity-paypal-email,entity-twitter,entity-facebook,entity-linkedin,entity-googleplus,entity-youtube,entity-blog -pathways-emails:email,paypal-email,entity-email,entity-manager-email,entity-accountant-email,entity-paypal-email -pathways-names:name,entity-name +id-score-required:100 +personal-required:name,address,suburb,state,country,postcode,email,mobile,dob,gender +entity-required:entity-name,entity-address,entity-suburb,entity-state,entity-country,entity-postcode,entity-manager-email,entity-email,entity-phone,entity-accountant-email,entity-rbn,entity-dor +email-verification:email,entity-email,entity-manager-email +mobile-verification:mobile,entity-mobile +social-verification: +web-verification: +email-validation:email,paypal-email,entity-email,entity-manager-email,entity-accountant-email,entity-paypal-email +url-validation:twitter,facebook,linkedin,googleplus,youtube,blog,entity-twitter,entity-facebook,entity-linkedin,entity-googleplus,entity-youtube,entity-blog +banning-validation:email,paypal-email,twitter,facebook,linkedin,googleplus,youtube,blog,entity-email,entity-manager-email,entity-accountant-email,entity-paypal-email,entity-twitter,entity-facebook,entity-linkedin,entity-googleplus,entity-youtube,entity-blog +pathways-emails:email,paypal-email,entity-email,entity-manager-email,entity-accountant-email,entity-paypal-email +pathways-names:name,entity-name pathways-dates:dob,entity-dor \ No newline at end of file |
From: <be...@us...> - 2015-01-09 19:31:21
|
Revision: 12932 http://sourceforge.net/p/xoops/svn/12932 Author: beckmi Date: 2015-01-09 19:31:18 +0000 (Fri, 09 Jan 2015) Log Message: ----------- Fixing a bug (geekwright) Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8/htdocs/xmlrpc.php Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/xmlrpc.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/xmlrpc.php 2015-01-08 14:29:25 UTC (rev 12931) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/xmlrpc.php 2015-01-09 19:31:18 UTC (rev 12932) @@ -25,7 +25,7 @@ include_once $GLOBALS['xoops']->path('class/xml/rpc/xmlrpctag.php'); include_once $GLOBALS['xoops']->path('class/xml/rpc/xmlrpcparser.php'); -$GLOBALS['xoopsLogger']->activate(false); +$GLOBALS['xoopsLogger']->activated = false; $response = new XoopsXmlRpcResponse(); $parser = new XoopsXmlRpcParser(rawurlencode($GLOBALS['HTTP_RAW_POST_DATA'])); |
From: <be...@us...> - 2015-01-08 14:29:32
|
Revision: 12931 http://sourceforge.net/p/xoops/svn/12931 Author: beckmi Date: 2015-01-08 14:29:25 +0000 (Thu, 08 Jan 2015) Log Message: ----------- removing wrong "/" Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xmlrpcparser.php 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-01-05 17:16:47 UTC (rev 12930) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xmlrpcparser.php 2015-01-08 14:29:25 UTC (rev 12931) @@ -168,7 +168,6 @@ return $this->_tempValue; } -/ function resetTempValue() { unset($this->_tempValue); |
From: <wis...@us...> - 2015-01-05 17:16:55
|
Revision: 12930 http://sourceforge.net/p/xoops/svn/12930 Author: wishcraft Date: 2015-01-05 17:16:47 +0000 (Mon, 05 Jan 2015) Log Message: ----------- Xortify 4.99.1 for XOOPS 2.5 -- Minor Fixes, new ban window! Modified Paths: -------------- XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/admin/index.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/admin/menu.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/blocks/spoof.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_curl.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_curl_provisionning.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_curlserialised.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_curlserialised_provisionning.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_curlxml.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_curlxml_provisionning.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_json.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_json_provisionning.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_minimumcloud.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_minimumcloud_provisionning.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_rest_curl.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_rest_curl_provisionning.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_rest_curlserialised.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_rest_curlserialised_provisionning.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_rest_curlxml.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_rest_curlxml_provisionning.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_rest_json.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_rest_json_provisionning.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_rest_wgetserialised.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_rest_wgetserialised_provisionning.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_rest_wgetxml.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_rest_wgetxml_provisionning.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_soap.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_soap_provisionning.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_wgetserialised.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_wgetserialised_provisionning.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_wgetxml.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/auth_wgetxml_provisionning.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/auth/authfactory.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/curl.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/curlserialised.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/curlxml.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/emails.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/emails_links.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/json.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/log.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/minimumcloud.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/rest_curl.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/rest_curlserialised.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/rest_curlxml.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/rest_json.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/rest_wgetserialised.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/rest_wgetxml.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/servers.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/soap.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/wgetserialised.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/class/wgetxml.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/cron/serverup.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/docs/changelog.txt XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/docs/install.txt XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/images/arck.png XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/images/chronolabs.png XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/include/forms.objects.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/include/forms.xortify.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/include/functions.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/include/install.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/include/instance.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/include/post.footer.end.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/include/post.header.addmeta.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/include/post.header.endcache.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/include/post.loader.mainfile.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/include/pre.loader.mainfile.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/include/uninstall.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/include/update.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/language/english/admin.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/language/english/ban.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/language/english/main.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/language/english/modinfo.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/plugin/projecthoneypot.org.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/plugin/protector.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/plugin/spiders.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/plugin/stopforumspam.com.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/plugin/xortify.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/poll/index.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/preloads/bans.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/preloads/core.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/preloads/php.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/preloads/sfs.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/preloads/usercrawl.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/preloads/users.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/providers/projecthoneypot.org/post.loader.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/providers/protector/footer.post.loader.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/providers/protector/header.post.loader.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/providers/providers.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/providers/spiders/post.loader.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/providers/stopforumspam.com/post.loader.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/providers/xortify/footer.post.loader.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/providers/xortify/header.post.loader.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/providers/xortify/post.loader.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/providers/xortify/pre.loader.php XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/templates/xortify_cpanel_bans.html XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/templates/xortify_instance_key.php.txt XoopsModules/xortify/trunk/XOOPS 2.5/htdocs/modules/xortify/xoops_version.php Added Paths: ----------- XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/INSTALL XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/UPGRADE XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/CURLSERIALISEDXortifyExchange.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/CURLXMLXortifyExchange.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/CURLXortifyExchange.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/JSONXortifyExchange.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/MinimumcloudXortifyExchange.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/Providers.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/REST_CURLSERIALISEDXortifyExchange.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/REST_CURLXMLXortifyExchange.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/REST_CURLXortifyExchange.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/REST_JSONXortifyExchange.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/REST_WGETSERIALISEDXortifyExchange.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/REST_WGETXMLXortifyExchange.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/SOAPXortifyExchange.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/Services_JSON.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/Services_JSON_Error.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/SystemXortifyPreload.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/WGETSERIALISEDXortifyExchange.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/WGETXMLXortifyExchange.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XoopsFormDhtmlTextArea.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XoopsFormEditor.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XoopsFormTextArea.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuth.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthCurl.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthCurlProvisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthCurlserialised.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthCurlserialisedProvisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthCurlxml.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthCurlxmlProvisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthFactory.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthJson.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthJsonProvisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthMinimumCloud.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthMinimumCloudProvisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthRest_Curl.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthRest_CurlProvisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthRest_Curlserialised.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthRest_CurlserialisedProvisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthRest_Curlxml.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthRest_CurlxmlProvisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthRest_Json.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthRest_JsonProvisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthRest_Wgetserialised.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthRest_WgetserialisedProvisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthRest_Wgetxml.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthRest_WgetxmlProvisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthSoap.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthSoapProvisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthWgetserialised.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthWgetserialisedProvisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthWgetxml.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyAuthWgetxmlProvisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyBansPreload.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyCorePreload.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyEmails.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyEmailsHandler.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyEmails_links.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyEmails_linksHandler.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyLog.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyLogHandler.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyMarkonlinePreload.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyPhpPreload.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyServers.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyServersHandler.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyServersPreload.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifySfsPreload.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyUnbannerPreload.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyUnbansPreload.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyUsercrawlPreload.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/classes/XortifyUsersPreload.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/css/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/css/jquery.iviewer.css XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/css/phpdocumentor-clean-icons/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/css/phpdocumentor-clean-icons/Read Me.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/css/phpdocumentor-clean-icons/fonts/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.dev.svg XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.eot XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.svg XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.ttf XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.woff XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/css/phpdocumentor-clean-icons/lte-ie7.js XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/css/phpdocumentor-clean-icons/style.css XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/css/prism.css XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/css/template.css XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/banned.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/banned.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/class/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/class/xoopsform/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/class/xoopsform/formdhtmltextarea.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/class/xoopsform/formeditor.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/class/xoopsform/formtextarea.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/class.xoopsform.formdhtmltextarea.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/class.xoopsform.formeditor.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/class.xoopsform.formtextarea.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/system/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/system/preloads/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/system/preloads/xortify.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/admin/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/admin/index.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/admin/menu.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/blocks/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/blocks/spoof.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_curl.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_curl_provisionning.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_curlserialised.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_curlserialised_provisionning.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_curlxml.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_curlxml_provisionning.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_json.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_json_provisionning.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_minimumcloud.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_minimumcloud_provisionning.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_rest_curl.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_rest_curl_provisionning.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_rest_curlserialised.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_rest_curlserialised_provisionning.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_rest_curlxml.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_rest_curlxml_provisionning.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_rest_json.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_rest_json_provisionning.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_rest_wgetserialised.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_rest_wgetserialised_provisionning.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_rest_wgetxml.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_rest_wgetxml_provisionning.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_soap.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_soap_provisionning.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_wgetserialised.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_wgetserialised_provisionning.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_wgetxml.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/auth_wgetxml_provisionning.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/auth/authfactory.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/curl.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/curlserialised.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/curlxml.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/emails.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/emails_links.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/json.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/log.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/minimumcloud.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/rest_curl.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/rest_curlserialised.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/rest_curlxml.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/rest_json.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/rest_wgetserialised.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/rest_wgetxml.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/servers.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/soap.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/wgetserialised.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/class/wgetxml.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/cron/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/cron/serverup.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/cron/unbanner.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/include/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/include/JSON.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/include/forms.objects.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/include/forms.xortify.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/include/functions.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/include/install.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/include/instance.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/include/post.footer.end.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/include/post.header.addmeta.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/include/post.header.endcache.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/include/post.loader.mainfile.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/include/pre.loader.mainfile.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/include/uninstall.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/include/update.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/language/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/language/english/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/language/english/admin.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/language/english/ban.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/language/english/main.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/language/english/modinfo.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/plugin/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/plugin/projecthoneypot.org.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/plugin/protector.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/plugin/spiders.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/plugin/stopforumspam.com.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/plugin/xortify.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/poll/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/poll/index.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/preloads/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/preloads/bans.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/preloads/core.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/preloads/markonline.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/preloads/php.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/preloads/servers.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/preloads/sfs.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/preloads/unbanner.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/preloads/unbans.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/preloads/usercrawl.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/preloads/users.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/projecthoneypot.org/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/projecthoneypot.org/post.loader.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/protector/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/protector/footer.post.loader.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/protector/header.post.loader.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/providers.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/spiders/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/spiders/post.loader.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/stopforumspam.com/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/stopforumspam.com/post.loader.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/xortify/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/xortify/footer.post.loader.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/xortify/header.post.loader.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/xortify/post.loader.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/providers/xortify/pre.loader.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules/xortify/xoops_version.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.system.preloads.xortify.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.admin.index.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.admin.menu.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.blocks.spoof.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_curl.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_curl_provisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_curlserialised.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_curlserialised_provisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_curlxml.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_curlxml_provisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_json.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_json_provisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_minimumcloud.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_minimumcloud_provisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_rest_curl.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_rest_curl_provisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_rest_curlserialised.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_rest_curlserialised_provisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_rest_curlxml.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_rest_curlxml_provisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_rest_json.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_rest_json_provisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_rest_wgetserialised.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_rest_wgetserialised_provisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_rest_wgetxml.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_rest_wgetxml_provisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_soap.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_soap_provisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_wgetserialised.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_wgetserialised_provisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_wgetxml.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.auth_wgetxml_provisionning.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.auth.authfactory.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.curl.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.curlserialised.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.curlxml.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.emails.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.emails_links.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.json.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.log.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.minimumcloud.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.rest_curl.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.rest_curlserialised.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.rest_curlxml.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.rest_json.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.rest_wgetserialised.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.rest_wgetxml.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.servers.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.soap.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.wgetserialised.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.class.wgetxml.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.cron.serverup.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.cron.unbanner.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.include.JSON.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.include.forms.objects.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.include.forms.xortify.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.include.functions.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.include.install.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.include.instance.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.include.post.footer.end.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.include.post.header.addmeta.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.include.post.header.endcache.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.include.post.loader.mainfile.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.include.pre.loader.mainfile.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.include.uninstall.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.include.update.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.language.english.admin.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.language.english.ban.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.language.english.main.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.language.english.modinfo.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.plugin.projecthoneypot.org.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.plugin.protector.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.plugin.spiders.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.plugin.stopforumspam.com.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.plugin.xortify.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.poll.index.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.preloads.bans.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.preloads.core.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.preloads.markonline.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.preloads.php.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.preloads.servers.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.preloads.sfs.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.preloads.unbanner.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.preloads.unbans.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.preloads.usercrawl.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.preloads.users.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.providers.projecthoneypot.org.post.loader.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.providers.protector.footer.post.loader.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.providers.protector.header.post.loader.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.providers.providers.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.providers.spiders.post.loader.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.providers.stopforumspam.com.post.loader.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.providers.xortify.footer.post.loader.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.providers.xortify.header.post.loader.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.providers.xortify.post.loader.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.providers.xortify.pre.loader.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/modules.xortify.xoops_version.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/xoops_lib/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/xoops_lib/modules/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/xoops_lib/modules/protector/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/xoops_lib/modules/protector/include/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/xoops_lib/modules/protector/include/precheck.inc.php.txt XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/files/xoops_lib.modules.protector.include.precheck.inc.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/graphs/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/graphs/class.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/graphs/classes.svg XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/apple-touch-icon-114x114.png XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/apple-touch-icon-72x72.png XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/apple-touch-icon.png XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/custom-icons.svg XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/favicon.ico XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/hierarchy-item.png XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/icon-class-13x13.png XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/icon-class.svg XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/icon-interface-13x13.png XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/icon-interface.svg XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/icon-trait-13x13.png XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/icon-trait.svg XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/iviewer/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/iviewer/grab.cur XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/iviewer/hand.cur XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/iviewer/iviewer.rotate_left.png XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/iviewer/iviewer.rotate_right.png XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/iviewer/iviewer.zoom_fit.png XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/iviewer/iviewer.zoom_in.png XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/iviewer/iviewer.zoom_out.png XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/images/iviewer/iviewer.zoom_zero.png XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/index.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/js/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/js/jquery.dotdotdot-1.5.9.js XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/js/jquery.dotdotdot-1.5.9.min.js XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/js/jquery.iviewer.js XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/js/jquery.iviewer.min.js XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/js/jquery.mousewheel.js XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/js/jquery.smooth-scroll.js XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/js/prism.min.js XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/namespaces/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/namespaces/default.html XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-00/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-00/phpdoc-cache-file_5233c53d50578d5304480d152a690a88.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-01/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-01/phpdoc-cache-file_3aa7731af155e91bdaf526ee9f0973b0.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-02/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-02/phpdoc-cache-file_fc127a782e374f8784888b3d3b80109d.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-03/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-03/phpdoc-cache-file_23765df34c36965c44909f911c361676.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-04/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-04/phpdoc-cache-file_778edaad0267c0f4948f595bacaf5768.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-04/phpdoc-cache-file_78fd92e41a63b3550feeb60ae1bd1b17.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-05/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-05/phpdoc-cache-file_0dc0293c197b613eb67ffe58b1964e14.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-06/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-06/phpdoc-cache-file_27c0ef37466b07175390d7ec3d7cd540.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-09/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-09/phpdoc-cache-file_ea392376db79caf9524831d40b369923.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-0b/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-0b/phpdoc-cache-file_0606d8b114c502f9767b92ab8b4c6476.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-0c/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-0c/phpdoc-cache-file_0656286f5ecae9e89755a56b7f51fe38.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-0c/phpdoc-cache-file_903b635157191c1b25875ff07e46a8e1.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-0d/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-0d/phpdoc-cache-file_bbba9e9839eb29d8a60ec69a8cc9f25e.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-0d/phpdoc-cache-file_f5c50f1b4c518312dc8d53cdad9d5863.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-0e/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-0e/phpdoc-cache-file_065b8458f7524d60eba52d3b9b079283.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-0e/phpdoc-cache-file_b966348608a5b8076c3137f3269c6bdb.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-12/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-12/phpdoc-cache-file_a4d03405506456d5bc64bf4ea41cf331.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-14/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-14/phpdoc-cache-file_05788e368f8272f2ef877136fca96cb6.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-15/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-15/phpdoc-cache-file_87abd767eeb128501c6ac3e3dd58033c.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-18/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-18/phpdoc-cache-file_0cff32460d7a114ea63972d3eecdc199.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-1a/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-1a/phpdoc-cache-file_634344e7af96d93b49b55dcf9b85f936.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-1a/phpdoc-cache-file_c4ac8c17cfb2d3ad33375ced3079fd3b.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-1b/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-1b/phpdoc-cache-file_0b15b14fbca4385e8154b124b46dd868.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-1d/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-1d/phpdoc-cache-file_d91e0ce3bb752af16a35f870fe7cb1a6.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-28/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-28/phpdoc-cache-file_8055aaf790e344af25b5a7d8c017a050.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-2b/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-2b/phpdoc-cache-file_fe885a4d21ad17988595a1ab833d5d2b.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-2c/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-2c/phpdoc-cache-file_21efd972290af4c55b46ddd300ff1efc.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-2e/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-2e/phpdoc-cache-file_4296aef2f2715fa6da62f0daf03108ad.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-2e/phpdoc-cache-settings.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-30/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-30/phpdoc-cache-file_348397b1c26d3eff0e73b62bb3b6fe64.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-31/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-31/phpdoc-cache-file_81ce7db475c8b1da36815e29501afbbd.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-33/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-33/phpdoc-cache-file_45a4cedf981f2df677803fa5c62fc7d6.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-33/phpdoc-cache-file_8566a545ea03d4a802781e16fcbba75e.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-36/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-36/phpdoc-cache-file_586613d7e598f0ad98b34d9cb901fe90.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-39/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-39/phpdoc-cache-file_58a4c116e1e2eeddd88e76407460dda1.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-3a/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-3a/phpdoc-cache-file_dc5eb5af88a1b8ec5ea085c36aa5dd04.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-3c/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-3c/phpdoc-cache-file_bfe6970e4ad9eb917d828b5bd8435930.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-40/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-40/phpdoc-cache-file_a281f95f1aa0f8751792de8ea4aff5eb.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-40/phpdoc-cache-file_edaf4ac0904af560e65a043ef9cd5e5d.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-41/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-41/phpdoc-cache-file_fb26bdca7cebc870f3f98d5a065777da.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-42/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-42/phpdoc-cache-file_7a66ca06d01c030e7250d4daa853a541.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-43/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-43/phpdoc-cache-file_89a26496c2982ea8c33dfa99b092dc73.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-45/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-45/phpdoc-cache-file_4d545bdd8b6797f6f68c0981d0e33e97.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-46/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-46/phpdoc-cache-file_7e872c29bc5a09ec5541b5cefe6333ab.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-49/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-49/phpdoc-cache-file_7af1059fd5e34e45a965e5fbcb509e74.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-56/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-56/phpdoc-cache-file_02b089874b5dfc74b4533abbc9c0582c.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-57/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-57/phpdoc-cache-file_f4fa7c3572ed738f1707e2c381dbd376.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-58/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-58/phpdoc-cache-file_45b4be0ac25c34703a5f9050fadd09f4.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-5b/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-5b/phpdoc-cache-file_517203516418fd0cee1ced4f87ff2016.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-5b/phpdoc-cache-file_8a4ef908b67535c67095810cd196c2ec.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-5d/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-5d/phpdoc-cache-file_e2ff0323e39cfa7af29d2773b846fd87.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-60/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-60/phpdoc-cache-file_8e71c7d2947f1e469ab121e7171b9b18.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-62/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-62/phpdoc-cache-file_de2a7ad710819a631cda6646ecaf2f2f.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-63/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-63/phpdoc-cache-file_e033ab8f085a7c2230e3c94ec402bb8d.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-69/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-69/phpdoc-cache-file_d8c8e611b392f2bd566fe040b6b62ee1.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-6a/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-6a/phpdoc-cache-file_b58316e41160671ef91cd65ccb5db0af.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-6f/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-6f/phpdoc-cache-file_e464ab8bf25a86cd6db73208988dc921.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-75/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-75/phpdoc-cache-file_296f167b1b2829b1df8002168d9faeac.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-7a/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-7a/phpdoc-cache-file_e7524214335d3e3c166b9958e82210c8.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-7e/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-7e/phpdoc-cache-file_6a996abdbd736e92cb58793c347d72f1.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-80/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-80/phpdoc-cache-file_5baaa8563230206243f9f3ef692e933b.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-85/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-85/phpdoc-cache-file_10d741de8fed0d97d0faa518d5654343.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-87/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-87/phpdoc-cache-file_81ec0034d9ab5e141b4d03b38216ee6d.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-88/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-88/phpdoc-cache-file_e4444a895ae906df232ce24351e38d7e.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-89/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-89/phpdoc-cache-file_6e5906e799d17badff972341164f9e06.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-89/phpdoc-cache-file_e596f89dd81e072412a434677c662cc5.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-92/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-92/phpdoc-cache-file_f4b3d359110344fb204506cef8eb4895.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-93/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-93/phpdoc-cache-file_be47113bb0f1994694199369e5410901.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-9a/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-9a/phpdoc-cache-file_23f46085de9bc8008d784450abb6cbe3.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-9a/phpdoc-cache-file_db3d9b5f808f61d74e5aad9d54c687bb.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-9d/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-9d/phpdoc-cache-file_7f549d5b5e8fe8dd09ad4809b30525dc.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-9d/phpdoc-cache-file_846de95e3f869fc8dac455a27f9f2d1d.dat XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-9f/ XoopsModules/xortify/releases/XOOPS 2.5/4.99.1/docs/api/phpdoc-cache-9f/phpdoc-cache-file_3a23a3469a56f20a7ed1bc648... [truncated message content] |
From: <wis...@us...> - 2014-12-30 02:17:39
|
Revision: 12929 http://sourceforge.net/p/xoops/svn/12929 Author: wishcraft Date: 2014-12-30 02:17:27 +0000 (Tue, 30 Dec 2014) Log Message: ----------- database final refactorisation - final model 1.1 SQL92 Modified Paths: -------------- XoopsModules/xalky/trunk/modules/xalky/sql/chat.sql Modified: XoopsModules/xalky/trunk/modules/xalky/sql/chat.sql =================================================================== --- XoopsModules/xalky/trunk/modules/xalky/sql/chat.sql 2014-12-29 21:54:51 UTC (rev 12928) +++ XoopsModules/xalky/trunk/modules/xalky/sql/chat.sql 2014-12-30 02:17:27 UTC (rev 12929) @@ -1,40 +1,495 @@ -CREATE TABLE `xalky_online` ( - `id` MEDIUMINT(18) NOT NULL AUTO_INCREMENT, - `userID` INT(11) NOT NULL, - `userName` VARCHAR(64) NOT NULL, - `userRole` INT(1) NOT NULL, - `channel` INT(11) NOT NULL, - `time` INT(13) NOT NULL, - `ip` VARBINARY(16) NOT NULL, - PRIMARY KEY (`id`) -) DEFAULT CHARSET=utf8 COLLATE=utf8_generic; +DROP TABLE IF EXISTS `xalky_bans`; +CREATE TABLE `xalky_bans` ( + `banID` mediumint(18) unsigned NOT NULL AUTO_INCREMENT, + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `userID` int(13) unsigned NOT NULL DEFAULT '0', + `userName` varchar(64) NOT NULL DEFAULT '', + `time` float(26,12) unsigned NOT NULL DEFAULT '0.000000000000', + `ip` varchar(128) NOT NULL DEFAULT '::1', + PRIMARY KEY (`banID`), + KEY `SEARCH` (`userID`,`time`,`ip`(8),`userName`(12),`key`(11)) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + +DROP TABLE IF EXISTS `xalky_bean_counter`; +CREATE TABLE `xalky_bean_counter` ( + `beanscounterID` mediumint(42) unsigned NOT NULL AUTO_INCREMENT, + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `parentKey` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `typal` enum('_XALKY_ENUM_COUNT','_XALKY_ENUM_TALLEY') NOT NULL DEFAULT '_XALKY_ENUM_COUNT', + `method` enum('_XALKY_ENUM_USERS','_XALKY_ENUM_ROLES','_XALKY_ENUM_CHANNELS','_XALKY_ENUM_EMAILS','_XALKY_ENUM_UNKNOWN') NOT NULL DEFAULT '_XALKY_ENUM_UNKNOWN', + `period` enum('_XALKY_ENUM_FIVEMINS','_XALKY_ENUM_TENMINS','_XALKY_ENUM_TWENTYMINS','_XALKY_ENUM_THIRTYMINS','_XALKY_ENUM_HOURLY','_XALKY_ENUM_DAILY','_XALKY_ENUM_WEEKLY','_XALKY_ENUM_FORTNIGHLY','_XALKY_ENUM_MONTHLY','_XALKY_ENUM_QUARTERLY','_XALKY_ENUM_YEARLY','_XALKY_ENUM_TODAY','_XALKY_ENUM_TOTAL') NOT NULL DEFAULT '_XALKY_ENUM_TODAY', + `onlineID` mediumint(18) unsigned NOT NULL DEFAULT '0', + `banID` mediumint(18) unsigned NOT NULL DEFAULT '0', + `emailID` mediumint(18) unsigned NOT NULL DEFAULT '0', + `userID` int(13) unsigned NOT NULL DEFAULT '0', + `roleID` int(4) unsigned NOT NULL DEFAULT '0', + `channelID` int(8) unsigned NOT NULL DEFAULT '0', + `start` int(12) unsigned NOT NULL DEFAULT '0', + `ended` int(12) unsigned NOT NULL DEFAULT '0', + `sized` int(12) unsigned NOT NULL DEFAULT '0', + `bytes` float(9,5) unsigned NOT NULL DEFAULT '0.00000', + `email` float(9,5) unsigned NOT NULL DEFAULT '0.00000', + `channel` float(9,5) unsigned NOT NULL DEFAULT '0.00000', + `user` float(9,5) unsigned NOT NULL DEFAULT '0.00000', + `second` float(9,5) unsigned NOT NULL DEFAULT '0.00000', + `message` float(9,5) unsigned NOT NULL DEFAULT '0.00000', + `baning` float(9,5) unsigned NOT NULL DEFAULT '0.00000', + `moderator` float(9,5) unsigned NOT NULL DEFAULT '0.00000', + `administrator` float(9,5) unsigned NOT NULL DEFAULT '0.00000', + `invite` float(9,5) unsigned NOT NULL DEFAULT '0.00000', + `response` float(9,5) unsigned NOT NULL DEFAULT '0.00000', + `idling` float(9,5) unsigned NOT NULL DEFAULT '0.00000', + `active` float(9,5) unsigned NOT NULL DEFAULT '0.00000', + `paused` float(9,5) unsigned NOT NULL DEFAULT '0.00000', + `when` float(26,12) unsigned NOT NULL DEFAULT '0.000000000000', + PRIMARY KEY (`beanscounterID`), + KEY `SEARCH` (`userID`,`roleID`,`channelID`,`typal`,`method`,`period`,`start`,`sized`,`key`(11),`parentKey`(10)), + KEY `CHRONOLOGICS` (`when`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `xalky_channels_notify`; +CREATE TABLE `xalky_channels_notify` ( + `channelnotifierID` mediumint(18) unsigned NOT NULL AUTO_INCREMENT, + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `type` enum('_XALKY_ENUM_LOGONS','_XALKY_ENUM_LOGOFF','_XALKY_ENUM_SCHEDULE','_XALKY_ENUM_MADEBAN','_XALKY_ENUM_BANNED','_XALKY_ENUM_BANSTOP','_XALKY_ENUM_JOINS','_XALKY_ENUM_REQUESTS') NOT NULL DEFAULT '_XALKY_ENUM_JOINS', + `channelID` int(8) unsigned NOT NULL DEFAULT '0', + `roleID` int(4) unsigned NOT NULL DEFAULT '0', + `userID` int(13) unsigned NOT NULL DEFAULT '0', + `fromUserID` int(13) unsigned NOT NULL DEFAULT '0', + `toUserID` int(13) unsigned NOT NULL DEFAULT '0', + `emailID` mediumint(18) unsigned NOT NULL DEFAULT '0', + `lastsent` int(13) unsigned NOT NULL DEFAULT '0', + `nomore` int(13) unsigned NOT NULL DEFAULT '0', + `created` int(11) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`channelnotifierID`), + KEY `CHRONOLOGICS` (`created`,`nomore`,`lastsent`,`type`), + KEY `SEARCH` (`channelID`,`userID`,`roleID`,`toUserID`,`fromUserID`,`emailID`,`key`(11)) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `xalky_channels_roles`; +CREATE TABLE `xalky_channels_roles` ( + `channelroleID` mediumint(18) unsigned NOT NULL AUTO_INCREMENT, + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `channelID` int(8) unsigned NOT NULL DEFAULT '0', + `roleID` int(4) unsigned NOT NULL DEFAULT '0', + `bytes` int(11) unsigned NOT NULL DEFAULT '0', + `emails` int(11) unsigned NOT NULL DEFAULT '0', + `roles` int(11) unsigned NOT NULL DEFAULT '0', + `users` int(11) unsigned NOT NULL DEFAULT '0', + `session` int(11) unsigned NOT NULL DEFAULT '0', + `online` int(11) unsigned NOT NULL DEFAULT '0', + `active` int(11) unsigned NOT NULL DEFAULT '0', + `idling` int(11) unsigned NOT NULL DEFAULT '0', + `message` int(11) unsigned NOT NULL DEFAULT '0', + `banning` int(11) unsigned NOT NULL DEFAULT '0', + `invites` int(11) unsigned NOT NULL DEFAULT '0', + `respond` int(11) unsigned NOT NULL DEFAULT '0', + `created` int(13) unsigned NOT NULL DEFAULT '0', + `denied` int(13) unsigned NOT NULL DEFAULT '0', + `access` int(13) unsigned NOT NULL DEFAULT '0', + `login` int(13) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`channelroleID`), + KEY `SEARCH` (`channelID`,`roleID`,`denied`,`access`,`key`(11)), + KEY `CHRONOLOGICS` (`created`,`denied`,`access`,`login`), + KEY `STATISTICS` (`users`,`session`,`online`,`active`,`idling`,`message`,`banning`,`invites`,`respond`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `xalky_channels_scheduler`; +CREATE TABLE `xalky_channels_scheduler` ( + `channelscheduleID` mediumint(42) unsigned NOT NULL AUTO_INCREMENT, + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `typal` enum('_XALKY_ENUM_DEFAULT','_XALKY_ENUM_GRANTED','_XALKY_ENUM_DENIED','_XALKY_ENUM_HOLIDAY') NOT NULL DEFAULT '_XALKY_ENUM_DEFAULT', + `period` enum('_XALKY_ENUM_HOURLY','_XALKY_ENUM_DAILY','_XALKY_ENUM_WEEKLY','_XALKY_ENUM_FORTNIGHLY','_XALKY_ENUM_MONTHLY') NOT NULL DEFAULT '_XALKY_ENUM_HOURLY', + `requires` enum('_XALKY_ENUM_NOTHING','_XALKY_ENUM_GUEST','_XALKY_ENUM_MEMBER','_XALKY_ENUM_NOIDLE','_XALKY_ENUM_NOBANS','_XALKY_ENUM_FEMALE','_XALKY_ENUM_MALE','_XALKY_ENUM_TEEN','_XALKY_ENUM_ADULT','_XALKY_ENUM_CLIENT','_XALKY_ENUM_OVER50','_XALKY_ENUM_IPRADIUS','_XALKY_ENUM_IPCOUNTRY','_XALKY_ENUM_IPSTATE','_XALKY_ENUM_CHNMODS') NOT NULL DEFAULT '_XALKY_ENUM_NOTHING', + `channelID` int(8) unsigned NOT NULL DEFAULT '0', + `roleID` int(4) unsigned NOT NULL DEFAULT '0', + `longitude` float(12,8) unsigned NOT NULL DEFAULT '0.00000000', + `latitude` float(12,8) unsigned NOT NULL DEFAULT '0.00000000', + `radius` float(12,4) unsigned NOT NULL DEFAULT '0.0000', + `country` varchar(32) NOT NULL DEFAULT '--------------------------------', + `place` varchar(32) NOT NULL DEFAULT '--------------------------------', + `state` varchar(32) NOT NULL DEFAULT '--------------------------------', + `start` int(12) unsigned NOT NULL DEFAULT '0', + `ended` int(12) unsigned NOT NULL DEFAULT '0', + `sized` int(12) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`channelscheduleID`), + KEY `SEARCH` (`channelID`,`roleID`,`typal`,`requires`,`period`,`start`,`sized`,`key`(11)), + KEY `PERMITS` (`channelID`,`roleID`,`requires`,`longitude`,`latitude`,`radius`,`country`(6),`place`(6),`state`(6)) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `xalky_channels_statistics`; +CREATE TABLE `xalky_channels_statistics` ( + `channelstatisticsID` mediumint(42) unsigned NOT NULL AUTO_INCREMENT, + `channelID` int(8) unsigned NOT NULL DEFAULT '0', + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `group` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `typal` enum('_XALKY_ENUM_METRIC','_XALKY_ENUM_HISTORICAL','_XALKY_ENUM_THEBESTWAS') NOT NULL DEFAULT '_XALKY_ENUM_METRIC', + `method` enum('_XALKY_ENUM_TOTAL','_XALKY_ENUM_AVERAGE','_XALKY_ENUM_STDDEV','_XALKY_ENUM_MAXIMUM','_XALKY_ENUM_MINIMUM') NOT NULL DEFAULT '_XALKY_ENUM_TOTAL', + `period` enum('_XALKY_ENUM_FIVEMINS','_XALKY_ENUM_TENMINS','_XALKY_ENUM_TWENTYMINS','_XALKY_ENUM_THIRTYMINS','_XALKY_ENUM_HOURLY','_XALKY_ENUM_DAILY','_XALKY_ENUM_WEEKLY','_XALKY_ENUM_FORTNIGHLY','_XALKY_ENUM_MONTHLY','_XALKY_ENUM_QUARTERLY','_XALKY_ENUM_YEARLY','_XALKY_ENUM_TODAY','_XALKY_ENUM_TOTAL') NOT NULL DEFAULT '_XALKY_ENUM_TODAY', + `start` int(12) unsigned NOT NULL DEFAULT '0', + `ended` int(12) unsigned NOT NULL DEFAULT '0', + `sized` int(12) unsigned NOT NULL DEFAULT '0', + `bytes` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `emails` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `roles` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `users` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `seconds` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `messages` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `banned` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `moderators` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `administrator` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `invites` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `responses` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `idling` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `active` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `paused` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `created` int(13) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`channelstatisticsID`), + KEY `SEARCH` (`channelID`,`typal`,`method`,`period`,`start`,`sized`,`key`(11),`group`(10)), + KEY `CHRONOLOGICS` (`created`,`start`,`ended`,`sized`,`period`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `xalky_channels_users`; +CREATE TABLE `xalky_channels_users` ( + `channeluserID` mediumint(18) unsigned NOT NULL AUTO_INCREMENT, + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `channelID` int(8) unsigned NOT NULL DEFAULT '0', + `userID` int(13) unsigned NOT NULL DEFAULT '0', + `condition` enum('_XALKY_ENUM_GUEST','_XALKY_ENUM_MEMBER','_XALKY_ENUM_MODERATOR','_XALKY_ENUM_ADMINISTRATOR') NOT NULL DEFAULT '_XALKY_ENUM_MEMBER', + `bytes` int(11) unsigned NOT NULL DEFAULT '0', + `session` int(11) unsigned NOT NULL DEFAULT '0', + `online` int(11) unsigned NOT NULL DEFAULT '0', + `active` int(11) unsigned NOT NULL DEFAULT '0', + `idling` int(11) unsigned NOT NULL DEFAULT '0', + `message` int(11) unsigned NOT NULL DEFAULT '0', + `banning` int(11) unsigned NOT NULL DEFAULT '0', + `invites` int(11) unsigned NOT NULL DEFAULT '0', + `response` int(11) unsigned NOT NULL DEFAULT '0', + `created` int(13) unsigned NOT NULL DEFAULT '0', + `denied` int(13) unsigned NOT NULL DEFAULT '0', + `access` int(13) unsigned NOT NULL DEFAULT '0', + `login` int(13) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`channeluserID`), + KEY `CHRONOLOGICS` (`created`,`denied`,`access`,`login`), + KEY `STATISTICS` (`session`,`online`,`active`,`idling`,`message`,`banning`,`invites`,`response`), + KEY `SEARCH` (`channelID`,`userID`,`condition`,`denied`,`access`,`key`(11)) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `xalky_invitations`; +CREATE TABLE `xalky_invitations` ( + `invitesID` mediumint(18) unsigned NOT NULL AUTO_INCREMENT, + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `userID` int(13) unsigned NOT NULL DEFAULT '0', + `channelID` int(8) unsigned NOT NULL DEFAULT '0', + `time` float(26,12) unsigned NOT NULL DEFAULT '0.000000000000', + PRIMARY KEY (`invitesID`), + KEY `SEARCH` (`userID`,`channelID`,`time`,`key`(11)) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `xalky_messages`; CREATE TABLE `xalky_messages` ( - `id` INT(11) NOT NULL AUTO_INCREMENT, - `userID` INT(11) NOT NULL, - `userName` VARCHAR(64) NOT NULL, - `userRole` INT(1) NOT NULL, - `channel` INT(11) NOT NULL, - `time` INT(13) NOT NULL, - `ip` VARBINARY(16) NOT NULL, - `text` TEXT, - PRIMARY KEY (`id`) -) DEFAULT CHARSET=utf8 COLLATE=utf8_generic; + `messageID` int(11) unsigned NOT NULL AUTO_INCREMENT, + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `onlineID` mediumint(18) unsigned NOT NULL DEFAULT '0', + `userID` int(13) unsigned NOT NULL DEFAULT '0', + `userName` varchar(64) NOT NULL, + `roleID` int(4) unsigned NOT NULL DEFAULT '0', + `channelID` int(8) unsigned NOT NULL DEFAULT '0', + `time` float(26,12) unsigned NOT NULL DEFAULT '0.000000000000', + `ip` varchar(128) NOT NULL DEFAULT '::1', + `text` varchar(500) DEFAULT NULL, + PRIMARY KEY (`messageID`), + KEY `SEARCH` (`userID`,`channelID`,`roleID`,`ip`(8),`text`(14),`key`(11)) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; -CREATE TABLE `xalky_bans` ( - `id` MEDIUMINT(18) NOT NULL AUTO_INCREMENT, - `userID` INT(11) NOT NULL, - `userName` VARCHAR(64) NOT NULL, - `time` INT(13) NOT NULL, - `ip` VARBINARY(16) NOT NULL, - PRIMARY KEY (`id`) -) DEFAULT CHARSET=utf8 COLLATE=utf8_generic; -CREATE TABLE `xalky_invitations` ( - `id` MEDIUMINT(18) NOT NULL AUTO_INCREMENT, - `userID` INT(11) NOT NULL, - `channel` INT(11) NOT NULL, - `time` INT(13) NOT NULL, - PRIMARY KEY (`id`) -) DEFAULT CHARSET=utf8 COLLATE=utf8_generic; +DROP TABLE IF EXISTS `xalky_notifier_queue`; +CREATE TABLE `xalky_notifier_queue` ( + `queueID` mediumint(32) unsigned NOT NULL AUTO_INCREMENT, + `emailID` mediumint(25) unsigned NOT NULL DEFAULT '0', + `fromUserID` int(13) unsigned NOT NULL DEFAULT '0', + `toUserID` int(13) unsigned NOT NULL DEFAULT '0', + `queued` int(12) unsigned NOT NULL DEFAULT '0', + `sent` int(12) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`queueID`), + KEY `SEARCH` (`queued`,`sent`,`emailID`,`fromUserID`,`toUserID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `xalky_online`; +CREATE TABLE `xalk_online` ( + `onlineID` mediumint(18) unsigned NOT NULL AUTO_INCREMENT, + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `userID` int(13) unsigned NOT NULL DEFAULT '0', + `roleID` int(4) unsigned NOT NULL DEFAULT '0', + `channelID` int(8) unsigned NOT NULL DEFAULT '0', + `time` float(26,12) unsigned NOT NULL DEFAULT '0.000000000000', + `ip` varchar(128) NOT NULL DEFAULT '::1', + PRIMARY KEY (`onlineID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `xalky_roles_groups`; +CREATE TABLE `xalky_roles_groups` ( + `rolegroupID` mediumint(18) unsigned NOT NULL AUTO_INCREMENT, + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `roleID` int(4) unsigned NOT NULL DEFAULT '0', + `groupid` int(8) NOT NULL DEFAULT '0', + `bytes` int(11) unsigned NOT NULL DEFAULT '0', + `channel` int(11) unsigned NOT NULL DEFAULT '0', + `users` int(11) unsigned NOT NULL DEFAULT '0', + `session` int(11) unsigned NOT NULL DEFAULT '0', + `online` int(11) unsigned NOT NULL DEFAULT '0', + `active` int(11) unsigned NOT NULL DEFAULT '0', + `idling` int(11) unsigned NOT NULL DEFAULT '0', + `message` int(11) unsigned NOT NULL DEFAULT '0', + `banning` int(11) unsigned NOT NULL DEFAULT '0', + `invites` int(11) unsigned NOT NULL DEFAULT '0', + `response` int(11) unsigned NOT NULL DEFAULT '0', + `created` int(13) unsigned NOT NULL DEFAULT '0', + `denied` int(13) unsigned NOT NULL DEFAULT '0', + `access` int(13) unsigned NOT NULL DEFAULT '0', + `login` int(13) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`rolegroupID`), + KEY `SEARCH` (`roleID`,`groupid`,`key`(11)), + KEY `CHRONOLOGICS` (`created`,`denied`,`access`,`login`), + KEY `STATISTICS` (`channel`,`users`,`session`,`online`,`active`,`idling`,`message`,`banning`,`invites`,`response`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `xalky_roles_statistics`; +CREATE TABLE `xalky_roles_statistics` ( + `rolestatisticID` mediumint(42) unsigned NOT NULL AUTO_INCREMENT, + `roleID` int(4) unsigned NOT NULL DEFAULT '0', + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `group` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `typal` enum('_XALKY_ENUM_METRIC','_XALKY_ENUM_HISTORICAL','_XALKY_ENUM_THEBESTWAS') NOT NULL DEFAULT '_XALKY_ENUM_METRIC', + `method` enum('_XALKY_ENUM_TOTAL','_XALKY_ENUM_AVERAGE','_XALKY_ENUM_STDDEV','_XALKY_ENUM_MAXIMUM','_XALKY_ENUM_MINIMUM') NOT NULL DEFAULT '_XALKY_ENUM_TOTAL', + `period` enum('_XALKY_ENUM_FIVEMINS','_XALKY_ENUM_TENMINS','_XALKY_ENUM_TWENTYMINS','_XALKY_ENUM_THIRTYMINS','_XALKY_ENUM_HOURLY','_XALKY_ENUM_DAILY','_XALKY_ENUM_WEEKLY','_XALKY_ENUM_FORTNIGHLY','_XALKY_ENUM_MONTHLY','_XALKY_ENUM_QUARTERLY','_XALKY_ENUM_YEARLY','_XALKY_ENUM_TODAY','_XALKY_ENUM_TOTAL') NOT NULL DEFAULT '_XALKY_ENUM_TODAY', + `start` int(12) unsigned NOT NULL DEFAULT '0', + `ended` int(12) unsigned NOT NULL DEFAULT '0', + `sized` int(12) NOT NULL DEFAULT '0', + `bytes` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `emails` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `channels` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `users` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `seconds` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `messages` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `banned` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `moderators` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `administrator` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `invites` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `responses` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `idling` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `active` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `paused` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `created` int(13) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`rolestatisticID`), + KEY `SEARCH` (`roleID`,`typal`,`method`,`period`,`start`,`sized`,`key`(11),`group`(10)), + KEY `CHRONOLOGICS` (`created`,`start`,`ended`,`sized`,`period`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + +DROP TABLE IF EXISTS `xalky_users_roles`; +CREATE TABLE `xalky_users_roles` ( + `userroleid` mediumint(18) unsigned NOT NULL AUTO_INCREMENT, + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `roleID` int(4) unsigned NOT NULL DEFAULT '0', + `userID` int(13) unsigned NOT NULL DEFAULT '0', + `channels` int(11) unsigned NOT NULL DEFAULT '0', + `bytes` int(11) unsigned NOT NULL DEFAULT '0', + `roles` int(11) unsigned NOT NULL DEFAULT '0', + `users` int(11) unsigned NOT NULL DEFAULT '0', + `session` int(11) unsigned NOT NULL DEFAULT '0', + `online` int(11) unsigned NOT NULL DEFAULT '0', + `active` int(11) unsigned NOT NULL DEFAULT '0', + `idling` int(11) unsigned NOT NULL DEFAULT '0', + `message` int(11) unsigned NOT NULL DEFAULT '0', + `banning` int(11) unsigned NOT NULL DEFAULT '0', + `invites` int(11) unsigned NOT NULL DEFAULT '0', + `respond` int(11) unsigned NOT NULL DEFAULT '0', + `created` int(13) unsigned NOT NULL DEFAULT '0', + `denied` int(13) unsigned NOT NULL DEFAULT '0', + `access` int(13) unsigned NOT NULL DEFAULT '0', + `login` int(13) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`userroleid`), + KEY `SEARCH` (`roleID`,`userID`,`key`(11)), + KEY `CHRONOLOGICS` (`created`,`denied`,`access`,`login`), + KEY `STATISTICS` (`users`,`session`,`online`,`active`,`idling`,`message`,`banning`,`invites`,`respond`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `xalky_users_statistics`; +CREATE TABLE `xalky_users_statistics` ( + `userstatisticID` mediumint(42) unsigned NOT NULL, + `userID` int(13) unsigned NOT NULL DEFAULT '0', + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `group` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `typal` enum('_XALKY_ENUM_METRIC','_XALKY_ENUM_HISTORICAL','_XALKY_ENUM_THEBESTWAS') NOT NULL DEFAULT '_XALKY_ENUM_METRIC', + `method` enum('_XALKY_ENUM_TOTAL','_XALKY_ENUM_AVERAGE','_XALKY_ENUM_STDDEV','_XALKY_ENUM_MAXIMUM','_XALKY_ENUM_MINIMUM') NOT NULL DEFAULT '_XALKY_ENUM_TOTAL', + `period` enum('_XALKY_ENUM_FIVEMINS','_XALKY_ENUM_TENMINS','_XALKY_ENUM_TWENTYMINS','_XALKY_ENUM_THIRTYMINS','_XALKY_ENUM_HOURLY','_XALKY_ENUM_DAILY','_XALKY_ENUM_WEEKLY','_XALKY_ENUM_FORTNIGHLY','_XALKY_ENUM_MONTHLY','_XALKY_ENUM_QUARTERLY','_XALKY_ENUM_YEARLY','_XALKY_ENUM_TODAY','_XALKY_ENUM_TOTAL') NOT NULL DEFAULT '_XALKY_ENUM_TODAY', + `start` int(12) unsigned NOT NULL DEFAULT '0', + `ended` int(12) unsigned NOT NULL DEFAULT '0', + `sized` int(12) NOT NULL DEFAULT '0', + `bytes` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `emails` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `channels` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `users` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `seconds` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `messages` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `banned` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `moderators` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `administrator` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `invites` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `responses` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `idling` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `active` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `paused` float(12,6) unsigned NOT NULL DEFAULT '0.000000', + `created` int(13) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`userstatisticID`), + KEY `SEARCH` (`userID`,`typal`,`method`,`period`,`start`,`sized`,`key`(11),`group`(10)), + KEY `CHRONOLOGICS` (`created`,`start`,`ended`,`sized`,`period`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `xalky_notifier_emails`; +CREATE TABLE `xalky_notifier_emails` ( + `emailID` mediumint(25) unsigned NOT NULL AUTO_INCREMENT, + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `type` enum('_XALKY_ENUM_INVITE','_XALKY_ENUM_NOTICE','_XALKY_ENUM_BANNING','_XALKY_ENUM_STATISTIC','_XALKY_ENUM_SYSTEM','_XALKY_ENUM_UNKNOWN') NOT NULL DEFAULT '_XALKY_ENUM_UNKNOWN', + `finger` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `channelID` int(8) unsigned NOT NULL DEFAULT '0', + `roleID` int(4) unsigned NOT NULL DEFAULT '0', + `userID` int(13) unsigned NOT NULL DEFAULT '0', + `template` varchar(128) NOT NULL DEFAULT '', + `language` varchar(128) NOT NULL DEFAULT 'english', + `subject` varchar(128) NOT NULL DEFAULT '', + `message` tinytext, + `sent` int(8) unsigned NOT NULL DEFAULT '0', + `last` int(12) unsigned NOT NULL DEFAULT '0', + `created` int(12) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`emailID`), + KEY `SEARCH` (`sent`,`last`,`created`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `xalky_channels`; +CREATE TABLE `xalky_channels` ( + `channelID` int(8) unsigned NOT NULL AUTO_INCREMENT, + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `parentKey` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `default` enum('_XALKY_ENUM_YES','_XALKY_ENUM_NO') NOT NULL DEFAULT '_XALKY_ENUM_NO', + `condition` enum('_XALKY_ENUM_GUESTANY','_XALKY_ENUM_OPENANY','_XALKY_ENUM_CLOSEDANY','_XALKY_ENUM_SYSOPSANY','_XALKY_ENUM_GUESTTIMED','_XALKY_ENUM_OPENTIMED','_XALKY_ENUM_CLOSEDTIMED','_XALKY_ENUM_SYSOPSTIMED') NOT NULL DEFAULT '_XALKY_ENUM_OPENANY', + `required` enum('_XALKY_ENUM_NOTHING','_XALKY_ENUM_GUEST','_XALKY_ENUM_MEMBER','_XALKY_ENUM_NOIDLE','_XALKY_ENUM_NOBANS','_XALKY_ENUM_FEMALE','_XALKY_ENUM_MALE','_XALKY_ENUM_TEEN','_XALKY_ENUM_ADULT','_XALKY_ENUM_CLIENT','_XALKY_ENUM_OVER50','_XALKY_ENUM_IPRADIUS','_XALKY_ENUM_IPCOUNTRY','_XALKY_ENUM_IPSTATE','_XALKY_ENUM_CHNMODS') NOT NULL DEFAULT '_XALKY_ENUM_NOTHING', + `language` varchar(64) NOT NULL DEFAULT 'english', + `datezone` varchar(64) NOT NULL DEFAULT 'Australia/Sydney', + `longitude` float(12,8) unsigned NOT NULL DEFAULT '0.00000000', + `latitude` float(12,8) unsigned NOT NULL DEFAULT '0.00000000', + `radius` float(12,4) unsigned NOT NULL DEFAULT '0.0000', + `country` varchar(32) NOT NULL DEFAULT '--------------------------------', + `place` varchar(32) NOT NULL DEFAULT '--------------------------------', + `state` varchar(32) NOT NULL DEFAULT '--------------------------------', + `icon` varchar(128) NOT NULL DEFAULT 'default-icon.png', + `background` varchar(128) NOT NULL DEFAULT 'default-background.png', + `channel` varchar(24) NOT NULL DEFAULT '', + `title` varchar(128) NOT NULL DEFAULT '', + `description` tinytext, + `ownerUserID` mediumint(18) unsigned NOT NULL DEFAULT '0', + `moderatorUserID` mediumint(18) unsigned NOT NULL DEFAULT '0', + `lastAdminUserID` mediumint(18) unsigned NOT NULL DEFAULT '0', + `lastModeratorUserID` mediumint(18) unsigned NOT NULL DEFAULT '0', + `lastAccessedUserID` mediumint(18) unsigned NOT NULL DEFAULT '0', + `lastRespondedUserID` mediumint(18) unsigned NOT NULL DEFAULT '0', + `lastIdlingUserID` mediumint(18) unsigned NOT NULL DEFAULT '0', + `lastBannedUserID` mediumint(18) unsigned NOT NULL DEFAULT '0', + `lastSessioning` int(13) unsigned NOT NULL DEFAULT '0', + `allowedIdling` int(14) unsigned NOT NULL DEFAULT '0', + `allowedUsers` int(14) unsigned NOT NULL DEFAULT '0', + `allowedModerators` int(14) unsigned NOT NULL DEFAULT '0', + `allowedInvites` int(14) unsigned NOT NULL DEFAULT '0', + `allowedResponses` int(14) unsigned NOT NULL DEFAULT '0', + `bytes` int(11) unsigned NOT NULL DEFAULT '0', + `emails` int(14) unsigned NOT NULL DEFAULT '0', + `roles` int(11) unsigned NOT NULL DEFAULT '0', + `users` int(11) unsigned NOT NULL DEFAULT '0', + `session` int(21) unsigned NOT NULL DEFAULT '0', + `online` int(21) unsigned NOT NULL DEFAULT '0', + `active` int(21) unsigned NOT NULL DEFAULT '0', + `idling` int(21) unsigned NOT NULL DEFAULT '0', + `message` int(21) unsigned NOT NULL DEFAULT '0', + `banning` int(21) unsigned NOT NULL DEFAULT '0', + `invites` int(21) unsigned NOT NULL DEFAULT '0', + `respond` int(21) unsigned NOT NULL DEFAULT '0', + `created` int(13) unsigned NOT NULL DEFAULT '0', + `denied` int(13) unsigned NOT NULL DEFAULT '0', + `access` int(13) unsigned NOT NULL DEFAULT '0', + `login` int(13) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`channelID`), + KEY `SEARCH` (`condition`,`required`,`ownerUserID`,`moderatorUserID`,`channel`(12),`key`(12),`parentKey`(12)), + KEY `PERMITS` (`condition`,`required`,`allowedIdling`,`allowedUsers`,`allowedModerators`,`allowedInvites`,`allowedResponses`), + KEY `CHRONOLOGICS` (`created`,`denied`,`access`,`login`), + KEY `STATISTICS` (`users`,`roles`,`session`,`online`,`active`,`idling`,`message`,`banning`,`invites`,`respond`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + +DROP TABLE IF EXISTS `xalky_roles`; +CREATE TABLE `xalky_roles` ( + `roleID` int(4) unsigned NOT NULL AUTO_INCREMENT, + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `roleName` varchar(64) NOT NULL, + `roleDescription` varchar(250) NOT NULL, + `condition` enum('_XALKY_ENUM_INVITATION','_XALKY_ENUM_GUEST','_XALKY_ENUM_MEMBER','_XALKY_ENUM_MODERATOR','_XALKY_ENUM_ADMINISTRATOR') NOT NULL DEFAULT '_XALKY_ENUM_GUEST', + `bytes` int(11) unsigned NOT NULL DEFAULT '0', + `channels` int(11) unsigned NOT NULL DEFAULT '0', + `users` int(11) unsigned NOT NULL DEFAULT '0', + `session` int(11) unsigned NOT NULL DEFAULT '0', + `online` int(11) unsigned NOT NULL DEFAULT '0', + `active` int(11) unsigned NOT NULL DEFAULT '0', + `idling` int(11) unsigned NOT NULL DEFAULT '0', + `message` int(11) unsigned NOT NULL DEFAULT '0', + `banning` int(11) unsigned NOT NULL DEFAULT '0', + `invites` int(11) unsigned NOT NULL DEFAULT '0', + `response` int(11) unsigned NOT NULL DEFAULT '0', + `created` int(13) unsigned NOT NULL DEFAULT '0', + `denied` int(13) unsigned NOT NULL DEFAULT '0', + `access` int(13) unsigned NOT NULL DEFAULT '0', + `login` int(13) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`roleID`), + KEY `SEARCH` (`roleID`,`condition`,`roleName`(12),`key`(11)), + KEY `CHRONOLOGICS` (`created`,`denied`,`access`,`login`), + KEY `STATISTICS` (`channels`,`users`,`session`,`online`,`active`,`idling`,`message`,`banning`,`invites`,`response`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + +DROP TABLE IF EXISTS `xalky_users`; +CREATE TABLE `xalky_users` ( + `userID` int(13) unsigned NOT NULL AUTO_INCREMENT, + `key` varchar(44) NOT NULL DEFAULT '--------------------------------------------', + `state` enum('_XALKY_ENUM_INVITEE','_XALKY_ENUM_ACTIVATION','_XALKY_ENUM_GUEST','_XALKY_ENUM_ACTIVE','_XALKY_ENUM_REMINDED','_XALKY_ENUM_BANNED','_XALKY_ENUM_SUPERSYSOP','_XALKY_ENUM_SUPERMOD') NOT NULL DEFAULT '_XALKY_ENUM_GUEST', + `uid` int(11) unsigned NOT NULL DEFAULT '0', + `userPass` varchar(44) DEFAULT '--------------------------------------------', + `userName` varchar(64) NOT NULL, + `userEmail` varchar(198) NOT NULL, + `signature` tinytext, + `bytes` int(11) unsigned NOT NULL DEFAULT '0', + `channel` int(11) unsigned NOT NULL DEFAULT '0', + `roles` int(11) unsigned NOT NULL DEFAULT '0', + `users` int(11) unsigned NOT NULL DEFAULT '0', + `session` int(11) unsigned NOT NULL DEFAULT '0', + `online` int(11) unsigned NOT NULL DEFAULT '0', + `active` int(11) unsigned NOT NULL DEFAULT '0', + `idling` int(11) unsigned NOT NULL DEFAULT '0', + `message` int(11) unsigned NOT NULL DEFAULT '0', + `banning` int(11) unsigned NOT NULL DEFAULT '0', + `invites` int(11) unsigned NOT NULL DEFAULT '0', + `respond` int(11) unsigned NOT NULL DEFAULT '0', + `created` int(13) unsigned NOT NULL DEFAULT '0', + `denied` int(13) unsigned NOT NULL DEFAULT '0', + `access` int(13) unsigned NOT NULL DEFAULT '0', + `login` int(13) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`userID`), + KEY `SEARCH` (`userID`,`state`,`uid`,`userPass`(12),`userName`(12),`userEmail`(10),`key`(11)), + KEY `CHRONOLOGICS` (`created`,`denied`,`access`,`login`), + KEY `STATISTICS` (`users`,`session`,`online`,`active`,`idling`,`message`,`banning`,`invites`,`respond`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + + + |
From: <wis...@us...> - 2014-12-29 21:54:56
|
Revision: 12928 http://sourceforge.net/p/xoops/svn/12928 Author: wishcraft Date: 2014-12-29 21:54:51 +0000 (Mon, 29 Dec 2014) Log Message: ----------- Final Copy of Extreme Super Closest XOOPS 2.5 Theme! Modified Paths: -------------- XoopsThemes/extreme-super-closest/releases/1.1.0/css/contents.css XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css XoopsThemes/extreme-super-closest/releases/1.1.0/css/leftcolumn.css XoopsThemes/extreme-super-closest/releases/1.1.0/css/rightcolumn.css XoopsThemes/extreme-super-closest/releases/1.1.0/css/styles.css XoopsThemes/extreme-super-closest/releases/1.1.0/theme.html XoopsThemes/extreme-super-closest/trunk/css/contents.css XoopsThemes/extreme-super-closest/trunk/css/elements.css XoopsThemes/extreme-super-closest/trunk/css/leftcolumn.css XoopsThemes/extreme-super-closest/trunk/css/rightcolumn.css XoopsThemes/extreme-super-closest/trunk/css/styles.css XoopsThemes/extreme-super-closest/trunk/theme.html Modified: XoopsThemes/extreme-super-closest/releases/1.1.0/css/contents.css =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/css/contents.css 2014-12-29 21:11:52 UTC (rev 12927) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/css/contents.css 2014-12-29 21:54:51 UTC (rev 12928) @@ -29,11 +29,6 @@ } -#complete-length, .complete-length -{ - width: 96.765% !important; -} - #content ol, #content ul { margin-left: 21px !important; list-style: disc !important; Modified: XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css 2014-12-29 21:11:52 UTC (rev 12927) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css 2014-12-29 21:54:51 UTC (rev 12928) @@ -23,7 +23,7 @@ { font-size: 1.125666em; font-family: sans-serif; font-family: 'Ubuntu Condensed', sans-serif; - min-height: 101% !important;; + min-height: 119% !important;; max-width: 100% !important;; width: 100% !important; margin: 0px; @@ -43,7 +43,7 @@ -moz-opacity: 0.89; -khtml-opacity: 0.89; opacity: 0.89; - min-height: 101% !important; + min-height: 119% !important; max-width: 100% !important; width: 100% !important; margin: 0px; @@ -87,7 +87,7 @@ h1 { - font-size: 215.1831%; + font-size: 199.1831%; color: #feedcb; font-style: italic; font-weight: bold; @@ -97,18 +97,19 @@ h2 { - font-size: 181.1831%; + font-size: 176.1831%; color: #feedcb; font-style: italic; font-weight: bold; margin-top: 13px; margin-bottom: 7px; + } h3 { - font-size: 163.1831%; + font-size: 158.1831%; color: #feedcb; font-style: italic; font-weight: normal; @@ -137,17 +138,68 @@ } -ol, ul, label { +h1, h2 +{ + -webkit-text-stroke: 2px #000; + -moz-text-stroke: 2px #000; + text-stroke: 2px #000; + -webkit-text-shadow: + 3px 3px 0 #000, + -2px -2px 0 #000, + 2px -2px 0 #000, + -2px 2px 0 #000, + 2px 2px 0 #000; + -moz-text-shadow: + 3px 3px 0 #000, + -2px -2px 0 #000, + 2px -2px 0 #000, + -2px 2px 0 #000, + 2px 2px 0 #000; + text-shadow: + 3px 3px 0 #000, + -2px -2px 0 #000, + 2px -2px 0 #000, + -2px 2px 0 #000, + 2px 2px 0 #000; +} + +h3, h4, h5 +{ + -webkit-text-stroke: 1px #000; + -moz-text-stroke: 1px #000; + text-stroke: 1px #000; + -webkit-text-shadow: + 2px 2px 0 #000, + -1px -1px 0 #000, + 1px -1px 0 #000, + -1px 1px 0 #000, + 1px 1px 2px #000; + -moz-text-shadow: + 2px 2px 0 #000, + -1px -1px 0 #000, + 1px -1px 0 #000, + -1px 1px 0 #000, + 1px 1px 2px #000; + text-shadow: + 2px 2px 0 #000, + -1px -1px 0 #000, + 1px -1px 0 #000, + -1px 1px 0 #000, + 1px 1px 2px #000; +} + +p, ol, ul, label,form { margin-bottom: 11px; font-size: 123.138111%; padding-top: 1px; padding-bottom: 25px; line-height: 0.986521em; + padding-left: 21px; + padding-right: 21px; letter-spacing: 89%; - padding-right: 6px; } -p, blockquote, iframe, textarea { +blockquote, iframe, textarea { margin-top: 4px !important; margin-bottom: 2px !important; padding-top: 11px; Modified: XoopsThemes/extreme-super-closest/releases/1.1.0/css/leftcolumn.css =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/css/leftcolumn.css 2014-12-29 21:11:52 UTC (rev 12927) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/css/leftcolumn.css 2014-12-29 21:54:51 UTC (rev 12928) @@ -21,7 +21,7 @@ #left_column { min-width: 682px; - width: 864px; + width: 100%; float: left; box-shadow: 6px 6px 3px #8e14fa; border: 14px solid #87ae87; @@ -33,9 +33,17 @@ #left_column li { + padding-left: 15%; margin-bottom: 11px; - font-size: 121.000009%; + font-size: 111.1831%; padding-top: 4px; padding-bottom: 5px; - letter-spacing: 94%; -} \ No newline at end of file + letter-spacing: 101.1831%; + list-style: disc #0e0a01 !important! +} + + +.complete-length +{ + width: 1010px !important; +} Modified: XoopsThemes/extreme-super-closest/releases/1.1.0/css/rightcolumn.css =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/css/rightcolumn.css 2014-12-29 21:11:52 UTC (rev 12927) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/css/rightcolumn.css 2014-12-29 21:54:51 UTC (rev 12928) @@ -20,13 +20,14 @@ #right_column { - width: 246px !important; + width: 232px !important; float: right; box-shadow: 6px 6px 3px #84e8a5; border: 8px solid #87ae87; border-radius: 18px; padding: 0px; display: inline-block; + margin-left: 13px; } Modified: XoopsThemes/extreme-super-closest/releases/1.1.0/css/styles.css =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/css/styles.css 2014-12-29 21:11:52 UTC (rev 12927) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/css/styles.css 2014-12-29 21:54:51 UTC (rev 12928) @@ -133,4 +133,3 @@ -1px 1px 0 #0a0a0a, 1px 1px 0 #0a0a0a; } - Modified: XoopsThemes/extreme-super-closest/releases/1.1.0/theme.html =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/theme.html 2014-12-29 21:11:52 UTC (rev 12927) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/theme.html 2014-12-29 21:54:51 UTC (rev 12928) @@ -50,10 +50,10 @@ <{includeq file="$theme_tpls/xo_slider.html"}> <{/if}> <!-- Header End --> - <table id="content"> - <tr> - <td <{if count($xoBlocks.canvas_right) == 0}> id="complete-length"<{/if}> style="padding-right: 21px; vertical-align: top;" <{if count($xoBlocks.canvas_right) == 0}> colspan="2"<{/if}>> - <div id="left_column"> + <table id="content" <{if count($xoBlocks.canvas_right) == 0}> width="1010px"<{/if}>> + <tr <{if count($xoBlocks.canvas_right) == 0}> width="1010px"<{/if}>> + <td <{if count($xoBlocks.canvas_right) == 0}> width="1010px"<{/if}> style="padding-right: 21px; vertical-align: top;" <{if count($xoBlocks.canvas_right) == 0}> colspan="2"<{/if}>> + <div id="left_column" <{if count($xoBlocks.canvas_right) == 0}> class="complete-length"<{/if}>> <div id="content_bg" style=""> <!-- Start content module page --> <{if $xoops_contents && ($xoops_contents != ' ') }><div id="content"><{$xoops_contents}></div><{/if}> @@ -68,7 +68,7 @@ </div> <!-- End left news box --> <!-- Start left news box --> - <div class="left_news_box"> + <div class="left_news_box" <{if count($xoBlocks.canvas_right) == 0}> class="complete-length"<{/if}>> <div class="left_news_top"></div> <div class="left_news_bg"> <div id="bottomCcolumn" colspan="2"> @@ -106,7 +106,7 @@ </table> </div> </div> - + <div class="clear" style="height: 55px;"></div> <{if $show_mission}> <div id="blocker"> <div id="mission"> Modified: XoopsThemes/extreme-super-closest/trunk/css/contents.css =================================================================== --- XoopsThemes/extreme-super-closest/trunk/css/contents.css 2014-12-29 21:11:52 UTC (rev 12927) +++ XoopsThemes/extreme-super-closest/trunk/css/contents.css 2014-12-29 21:54:51 UTC (rev 12928) @@ -29,11 +29,6 @@ } -#complete-length, .complete-length -{ - width: 96.765% !important; -} - #content ol, #content ul { margin-left: 21px !important; list-style: disc !important; Modified: XoopsThemes/extreme-super-closest/trunk/css/elements.css =================================================================== --- XoopsThemes/extreme-super-closest/trunk/css/elements.css 2014-12-29 21:11:52 UTC (rev 12927) +++ XoopsThemes/extreme-super-closest/trunk/css/elements.css 2014-12-29 21:54:51 UTC (rev 12928) @@ -23,7 +23,7 @@ { font-size: 1.125666em; font-family: sans-serif; font-family: 'Ubuntu Condensed', sans-serif; - min-height: 101% !important;; + min-height: 119% !important;; max-width: 100% !important;; width: 100% !important; margin: 0px; @@ -43,7 +43,7 @@ -moz-opacity: 0.89; -khtml-opacity: 0.89; opacity: 0.89; - min-height: 101% !important; + min-height: 119% !important; max-width: 100% !important; width: 100% !important; margin: 0px; @@ -87,7 +87,7 @@ h1 { - font-size: 215.1831%; + font-size: 199.1831%; color: #feedcb; font-style: italic; font-weight: bold; @@ -97,18 +97,19 @@ h2 { - font-size: 181.1831%; + font-size: 176.1831%; color: #feedcb; font-style: italic; font-weight: bold; margin-top: 13px; margin-bottom: 7px; + } h3 { - font-size: 163.1831%; + font-size: 158.1831%; color: #feedcb; font-style: italic; font-weight: normal; @@ -137,17 +138,68 @@ } -ol, ul, label { +h1, h2 +{ + -webkit-text-stroke: 2px #000; + -moz-text-stroke: 2px #000; + text-stroke: 2px #000; + -webkit-text-shadow: + 3px 3px 0 #000, + -2px -2px 0 #000, + 2px -2px 0 #000, + -2px 2px 0 #000, + 2px 2px 0 #000; + -moz-text-shadow: + 3px 3px 0 #000, + -2px -2px 0 #000, + 2px -2px 0 #000, + -2px 2px 0 #000, + 2px 2px 0 #000; + text-shadow: + 3px 3px 0 #000, + -2px -2px 0 #000, + 2px -2px 0 #000, + -2px 2px 0 #000, + 2px 2px 0 #000; +} + +h3, h4, h5 +{ + -webkit-text-stroke: 1px #000; + -moz-text-stroke: 1px #000; + text-stroke: 1px #000; + -webkit-text-shadow: + 2px 2px 0 #000, + -1px -1px 0 #000, + 1px -1px 0 #000, + -1px 1px 0 #000, + 1px 1px 2px #000; + -moz-text-shadow: + 2px 2px 0 #000, + -1px -1px 0 #000, + 1px -1px 0 #000, + -1px 1px 0 #000, + 1px 1px 2px #000; + text-shadow: + 2px 2px 0 #000, + -1px -1px 0 #000, + 1px -1px 0 #000, + -1px 1px 0 #000, + 1px 1px 2px #000; +} + +p, ol, ul, label,form { margin-bottom: 11px; font-size: 123.138111%; padding-top: 1px; padding-bottom: 25px; line-height: 0.986521em; + padding-left: 21px; + padding-right: 21px; letter-spacing: 89%; - padding-right: 6px; } -p, blockquote, iframe, textarea { +blockquote, iframe, textarea { margin-top: 4px !important; margin-bottom: 2px !important; padding-top: 11px; Modified: XoopsThemes/extreme-super-closest/trunk/css/leftcolumn.css =================================================================== --- XoopsThemes/extreme-super-closest/trunk/css/leftcolumn.css 2014-12-29 21:11:52 UTC (rev 12927) +++ XoopsThemes/extreme-super-closest/trunk/css/leftcolumn.css 2014-12-29 21:54:51 UTC (rev 12928) @@ -21,7 +21,7 @@ #left_column { min-width: 682px; - width: 864px; + width: 100%; float: left; box-shadow: 6px 6px 3px #8e14fa; border: 14px solid #87ae87; @@ -33,9 +33,17 @@ #left_column li { + padding-left: 15%; margin-bottom: 11px; - font-size: 121.000009%; + font-size: 111.1831%; padding-top: 4px; padding-bottom: 5px; - letter-spacing: 94%; -} \ No newline at end of file + letter-spacing: 101.1831%; + list-style: disc #0e0a01 !important! +} + + +.complete-length +{ + width: 1010px !important; +} Modified: XoopsThemes/extreme-super-closest/trunk/css/rightcolumn.css =================================================================== --- XoopsThemes/extreme-super-closest/trunk/css/rightcolumn.css 2014-12-29 21:11:52 UTC (rev 12927) +++ XoopsThemes/extreme-super-closest/trunk/css/rightcolumn.css 2014-12-29 21:54:51 UTC (rev 12928) @@ -20,13 +20,14 @@ #right_column { - width: 246px !important; + width: 232px !important; float: right; box-shadow: 6px 6px 3px #84e8a5; border: 8px solid #87ae87; border-radius: 18px; padding: 0px; display: inline-block; + margin-left: 13px; } Modified: XoopsThemes/extreme-super-closest/trunk/css/styles.css =================================================================== --- XoopsThemes/extreme-super-closest/trunk/css/styles.css 2014-12-29 21:11:52 UTC (rev 12927) +++ XoopsThemes/extreme-super-closest/trunk/css/styles.css 2014-12-29 21:54:51 UTC (rev 12928) @@ -133,4 +133,3 @@ -1px 1px 0 #0a0a0a, 1px 1px 0 #0a0a0a; } - Modified: XoopsThemes/extreme-super-closest/trunk/theme.html =================================================================== --- XoopsThemes/extreme-super-closest/trunk/theme.html 2014-12-29 21:11:52 UTC (rev 12927) +++ XoopsThemes/extreme-super-closest/trunk/theme.html 2014-12-29 21:54:51 UTC (rev 12928) @@ -50,10 +50,10 @@ <{includeq file="$theme_tpls/xo_slider.html"}> <{/if}> <!-- Header End --> - <table id="content"> - <tr> - <td <{if count($xoBlocks.canvas_right) == 0}> id="complete-length"<{/if}> style="padding-right: 21px; vertical-align: top;" <{if count($xoBlocks.canvas_right) == 0}> colspan="2"<{/if}>> - <div id="left_column"> + <table id="content" <{if count($xoBlocks.canvas_right) == 0}> width="1010px"<{/if}>> + <tr <{if count($xoBlocks.canvas_right) == 0}> width="1010px"<{/if}>> + <td <{if count($xoBlocks.canvas_right) == 0}> width="1010px"<{/if}> style="padding-right: 21px; vertical-align: top;" <{if count($xoBlocks.canvas_right) == 0}> colspan="2"<{/if}>> + <div id="left_column" <{if count($xoBlocks.canvas_right) == 0}> class="complete-length"<{/if}>> <div id="content_bg" style=""> <!-- Start content module page --> <{if $xoops_contents && ($xoops_contents != ' ') }><div id="content"><{$xoops_contents}></div><{/if}> @@ -68,7 +68,7 @@ </div> <!-- End left news box --> <!-- Start left news box --> - <div class="left_news_box"> + <div class="left_news_box" <{if count($xoBlocks.canvas_right) == 0}> class="complete-length"<{/if}>> <div class="left_news_top"></div> <div class="left_news_bg"> <div id="bottomCcolumn" colspan="2"> @@ -106,7 +106,7 @@ </table> </div> </div> - + <div class="clear" style="height: 55px;"></div> <{if $show_mission}> <div id="blocker"> <div id="mission"> |
From: <wis...@us...> - 2014-12-29 21:12:07
|
Revision: 12927 http://sourceforge.net/p/xoops/svn/12927 Author: wishcraft Date: 2014-12-29 21:11:52 +0000 (Mon, 29 Dec 2014) Log Message: ----------- Final Copy of Extreme Super Closest XOOPS 2.5 Theme! Modified Paths: -------------- XoopsThemes/extreme-super-closest/releases/1.1.0/theme.html XoopsThemes/extreme-super-closest/trunk/theme.html Modified: XoopsThemes/extreme-super-closest/releases/1.1.0/theme.html =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/theme.html 2014-12-29 20:54:36 UTC (rev 12926) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/theme.html 2014-12-29 21:11:52 UTC (rev 12927) @@ -74,6 +74,7 @@ <div id="bottomCcolumn" colspan="2"> <{foreach from=$xoBlocks.page_bottomcenter item=block}> <{include file="$theme_tpls/xo_block_center_c.html"}> + <div class="clear"></div> <{/foreach}> </div> <div class="text"> </div> @@ -90,12 +91,12 @@ <div id="rightcolumn"> <{foreach item=block from=$xoBlocks.canvas_right}> <{includeq file="$theme_tpls/xo_block_right.html"}> + <div class="clear"></div> <{/foreach}> </div> <{/if}> <!-- End right blocks loop --> - < div class="clear"></div> - <div class="clear"></div> + <div class="clear"></div> </div> </div> </td> Modified: XoopsThemes/extreme-super-closest/trunk/theme.html =================================================================== --- XoopsThemes/extreme-super-closest/trunk/theme.html 2014-12-29 20:54:36 UTC (rev 12926) +++ XoopsThemes/extreme-super-closest/trunk/theme.html 2014-12-29 21:11:52 UTC (rev 12927) @@ -74,6 +74,7 @@ <div id="bottomCcolumn" colspan="2"> <{foreach from=$xoBlocks.page_bottomcenter item=block}> <{include file="$theme_tpls/xo_block_center_c.html"}> + <div class="clear"></div> <{/foreach}> </div> <div class="text"> </div> @@ -90,12 +91,12 @@ <div id="rightcolumn"> <{foreach item=block from=$xoBlocks.canvas_right}> <{includeq file="$theme_tpls/xo_block_right.html"}> + <div class="clear"></div> <{/foreach}> </div> <{/if}> <!-- End right blocks loop --> - < div class="clear"></div> - <div class="clear"></div> + <div class="clear"></div> </div> </div> </td> |
From: <wis...@us...> - 2014-12-29 20:54:38
|
Revision: 12926 http://sourceforge.net/p/xoops/svn/12926 Author: wishcraft Date: 2014-12-29 20:54:36 +0000 (Mon, 29 Dec 2014) Log Message: ----------- Final Copy of Extreme Super Closest XOOPS 2.5 Theme! Modified Paths: -------------- XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css XoopsThemes/extreme-super-closest/trunk/css/elements.css Modified: XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css 2014-12-29 20:45:12 UTC (rev 12925) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css 2014-12-29 20:54:36 UTC (rev 12926) @@ -147,8 +147,9 @@ padding-right: 6px; } -p, blockquote { - margin: 0px !important; +p, blockquote, iframe, textarea { + margin-top: 4px !important; + margin-bottom: 2px !important; padding-top: 11px; padding-left: 5.69%; padding-right: 8.9859%; @@ -158,6 +159,7 @@ letter-spacing: -0.75px; } + input, select, checkbox, radio, textarea, blockquote, button, iframe { font-name: inherit !important; padding: 4px 3px 2px 4px; @@ -176,11 +178,11 @@ { box-shadow: 6px 4px 9px #0ee111 !important; border: 5px solid #0ee111 !important; - margin-top: 7px !important; + margin-top: 27px !important; margin-bottom: 8px !important; - margin-right: auto !important; - margin-left: auto !important; - width: 79% !important; + margin-left: 9% !important; + margin-right: 9% !important; + width: 81% !important; border-radius: 9px; } @@ -191,10 +193,10 @@ background-color: #099111 !important; margin-top: 15px !important; margin-bottom: 8px !important; - margin-right: auto 2% !important; - margin-left: auto !important; + margin-left: 9% !important; + margin-right: 9% !important; border-radius: 5px !important; - width: 235px !important; + width: 81% !important; border: 1px solid rgb(11, 11 11) !important; } @@ -204,10 +206,11 @@ background-color: #eeaeef !important; color: rgb(40, 235, 99) !important; font-weight: 700 !important; - margin-top: 15px; + margin-top: 19px !important; margin-bottom: 4px; - margin-left: 13px; - margin-right: 49px; + margin-left: 9% !important; + margin-right: 9% !important; + width: 81% !important; border: 3px dash rgb(11, 11 11) !important; text-shadow: 2px 4px 3px #786e99 !important; box-shadow: 6px 4px 9px #0ee111 !important; Modified: XoopsThemes/extreme-super-closest/trunk/css/elements.css =================================================================== --- XoopsThemes/extreme-super-closest/trunk/css/elements.css 2014-12-29 20:45:12 UTC (rev 12925) +++ XoopsThemes/extreme-super-closest/trunk/css/elements.css 2014-12-29 20:54:36 UTC (rev 12926) @@ -147,8 +147,9 @@ padding-right: 6px; } -p, blockquote { - margin: 0px !important; +p, blockquote, iframe, textarea { + margin-top: 4px !important; + margin-bottom: 2px !important; padding-top: 11px; padding-left: 5.69%; padding-right: 8.9859%; @@ -158,6 +159,7 @@ letter-spacing: -0.75px; } + input, select, checkbox, radio, textarea, blockquote, button, iframe { font-name: inherit !important; padding: 4px 3px 2px 4px; @@ -176,11 +178,11 @@ { box-shadow: 6px 4px 9px #0ee111 !important; border: 5px solid #0ee111 !important; - margin-top: 7px !important; + margin-top: 27px !important; margin-bottom: 8px !important; - margin-right: auto !important; - margin-left: auto !important; - width: 79% !important; + margin-left: 9% !important; + margin-right: 9% !important; + width: 81% !important; border-radius: 9px; } @@ -191,10 +193,10 @@ background-color: #099111 !important; margin-top: 15px !important; margin-bottom: 8px !important; - margin-right: auto 2% !important; - margin-left: auto !important; + margin-left: 9% !important; + margin-right: 9% !important; border-radius: 5px !important; - width: 235px !important; + width: 81% !important; border: 1px solid rgb(11, 11 11) !important; } @@ -204,10 +206,11 @@ background-color: #eeaeef !important; color: rgb(40, 235, 99) !important; font-weight: 700 !important; - margin-top: 15px; + margin-top: 19px !important; margin-bottom: 4px; - margin-left: 13px; - margin-right: 49px; + margin-left: 9% !important; + margin-right: 9% !important; + width: 81% !important; border: 3px dash rgb(11, 11 11) !important; text-shadow: 2px 4px 3px #786e99 !important; box-shadow: 6px 4px 9px #0ee111 !important; |