uawdijnntqw1x1x1
IP : 216.73.217.102
Hostname : webm003.cluster107.gra.hosting.ovh.net
Kernel : Linux webm003.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
opticamezl
/
www
/
newok
/
libraries
/
..
/
api
/
..
/
plugins
/
xmap
/
..
/
..
/
cli
/
..
/
tmp
/
..
/
api
/
..
/
layouts.tar
/
/
emails/default.php000060400000016164151721414620010162 0ustar00<?php /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access defined('_JEXEC') or die; extract($displayData); ?> <!doctype html> <html> <head> <meta name="viewport" content="width=device-width"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Simple Transactional Email</title> <style> @media only screen and (max-width: 620px) { table[class=body] h1 { font-size: 28px !important; margin-bottom: 10px !important; } table[class=body] p, table[class=body] ul, table[class=body] ol, table[class=body] td, table[class=body] span, table[class=body] a { font-size: 16px !important; } table[class=body] .wrapper, table[class=body] .article { padding: 10px !important; } table[class=body] .content { padding: 0 !important; } table[class=body] .container { padding: 0 !important; width: 100% !important; } table[class=body] .main { border-left-width: 0 !important; border-radius: 0 !important; border-right-width: 0 !important; } table[class=body] .btn table { width: 100% !important; } table[class=body] .btn a { width: 100% !important; } table[class=body] .img-responsive { height: auto !important; max-width: 100% !important; width: auto !important; } } @media all { .ExternalClass { width: 100%; } .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div { line-height: 100%; } .apple-link a { color: inherit !important; font-family: inherit !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; text-decoration: none !important; } .btn-primary table td:hover { background-color: #34495e !important; } .btn-primary a:hover { background-color: #34495e !important; border-color: #34495e !important; } } </style> </head> <body class="" style="background-color: #f6f6f6; font-family: sans-serif; -webkit-font-smoothing: antialiased; font-size: 14px; line-height: 1.4; margin: 0; padding: 0; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;"> <table role="presentation" border="0" cellpadding="0" cellspacing="0" class="body" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #f6f6f6; width: 100%;" width="100%" bgcolor="#f6f6f6"> <tr> <td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> </td> <td class="container" style="font-family: sans-serif; font-size: 14px; vertical-align: top; display: block; max-width: 580px; padding: 10px; width: 580px; Margin: 0 auto;" width="580" valign="top"> <div class="content" style="box-sizing: border-box; display: block; Margin: 0 auto; max-width: 580px; padding: 10px;"> <!-- START CENTERED WHITE CONTAINER --> <table role="presentation" class="main" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background: #ffffff; border-radius: 3px; width: 100%;" width="100%"> <!-- START MAIN CONTENT AREA --> <tr> <td class="wrapper" style="font-family: sans-serif; font-size: 14px; vertical-align: top; box-sizing: border-box; padding: 20px;" valign="top"> <table role="presentation" border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"> <tr> <td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> <table style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"> <?php foreach ($contents as $content) { ?> <tr height="40"> <td style="font-family: sans-serif; font-size: 14px; vertical-align: middle;" valign="middle"><strong><?php echo $content['label']; ?>:</strong></td> <td style="font-family: sans-serif; font-size: 14px; vertical-align: middle;" valign="middle"><?php echo is_array($content['value']) ? implode(', ', $content['value']) : $content['value']; ?></td> </tr> <?php } ?> </table> </td> </tr> </table> </td> </tr> <!-- END MAIN CONTENT AREA --> </table> <!-- START FOOTER --> <div class="footer" style="clear: both; Margin-top: 10px; text-align: center; width: 100%;"> <table role="presentation" border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"> <tr> <td class="content-block powered-by" style="font-family: sans-serif; vertical-align: top; padding-bottom: 10px; padding-top: 10px; color: #999999; font-size: 12px; text-align: center;" valign="top" align="center"> Powered by <a href="https://www.joomdev.com/products/extensions/jd-simple-contact-form" style="color: #999999; font-size: 12px; text-align: center; text-decoration: none;"><?php echo JText::_('MOD_JDSIMPLECONTACTFORM'); ?></a>. </td> </tr> </table> </div> <!-- END FOOTER --> <!-- END CENTERED WHITE CONTAINER --> </div> </td> <td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> </td> </tr> </table> </body> </html>emails/index.html000060400000000563151721414620010016 0ustar00<!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> </body> </html> field.php000060400000001202151721414620006332 0ustar00<?php /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access defined('_JEXEC') or die; extract($displayData); $show_label = $field->show_label === null ? 1 : $field->show_label; if ($field->type == 'hidden') { echo $input; } else { ?> <div class="jdscf-col-md-<?php echo $field->width; ?>"> <div class="form-group"> <?php echo $label; ?> <?php echo $input; ?> </div> </div> <?php } ?>index.html000060400000000563151721414620006544 0ustar00<!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> </body> </html> fields/singlecc.php000060400000001416151721414620010313 0ustar00<?php /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access defined('_JEXEC') or die; extract($displayData); $singleCCName = $params->get('singleSendCopyEmail_field', ''); $singleCCTitle = $params->get('singleSendCopyEmailField_title', 'MOD_JDSCF_SINGLE_SEND_COPY_LBL_TITLE'); ?> <div class="form-group form-check"> <input id="<?php echo $singleCCName; ?>" type="checkbox" name="jdscf[<?php echo $singleCCName; ?>][single_cc]" value="1" /> <label for="<?php echo $singleCCName; ?>" class="form-check-label"><?php echo JText::_($singleCCTitle); ?></label> </div>fields/radio.php000060400000003100151721414620007612 0ustar00<?php /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access defined('_JEXEC') or die; extract($displayData); $options = ModJDSimpleContactFormHelper::getOptions($field->options); $attrs = []; if ($field->required) { $attrs[] = 'required'; if (isset($field->custom_error) && !empty(trim($field->custom_error))) { $attrs[] = 'data-parsley-required-message="' . JText::sprintf($field->custom_error) . '"'; } else { $attrs[] = 'data-parsley-required-message="' . JText::sprintf('MOD_JDSCF_REQUIRED_ERROR', strip_tags($label)) . '"'; } } $optionslayout = isset($field->optionslayout) ? $field->optionslayout : 'vertical'; ?> <?php foreach ($options as $key => $option) { ?> <div class="form-check<?php echo $optionslayout == 'inline' ? ' form-check-inline' : ''; ?>"> <input data-parsley-errors-container="#<?php echo $field->name; ?>-errors" class="form-check-input" type="radio" name="jdscf[<?php echo $field->name; ?>]" value="<?php echo $option['value']; ?>" id="<?php echo $field->name; ?>-<?php echo $option['value']; ?>-<?php echo $key; ?>" <?php echo implode(' ', $attrs); ?> /> <label class="form-check-label" for="<?php echo $field->name; ?>-<?php echo $option['value']; ?>-<?php echo $key; ?>"> <?php echo $option['text']; ?> </label> </div> <?php } ?> <div id="<?php echo $field->name; ?>-errors"></div>fields/list.php000060400000002045151721414620007476 0ustar00<?php /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access defined('_JEXEC') or die; extract($displayData); $options = ModJDSimpleContactFormHelper::getOptions($field->options); $attrs = []; if ($field->required) { $attrs[] = 'required'; if (isset($field->custom_error) && !empty(trim($field->custom_error))) { $attrs[] = 'data-parsley-required-message="' . JText::sprintf($field->custom_error) . '"'; } else { $attrs[] = 'data-parsley-required-message="' . JText::sprintf('MOD_JDSCF_REQUIRED_ERROR', strip_tags($label)) . '"'; } } ?> <select name="jdscf[<?php echo $field->name; ?>]" class="form-control" <?php echo implode(' ', $attrs); ?>> <?php foreach ($options as $option) { ?> <option value="<?php echo $option['value']; ?>"><?php echo $option['text']; ?></option> <?php } ?> </select>fields/checkbox.php000060400000002235151721414620010312 0ustar00<?php /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access defined('_JEXEC') or die; extract($displayData); $options = ModJDSimpleContactFormHelper::getOptions($field->options); $attrs = []; $attrs[] = 'id="' . $field->name . '-' . $module->id .'"'; if ($field->required) { $attrs[] = 'required'; if (isset($field->custom_error) && !empty(trim($field->custom_error))) { $attrs[] = 'data-parsley-required-message="' . JText::sprintf($field->custom_error) . '"'; } else { $attrs[] = 'data-parsley-required-message="' . JText::sprintf('MOD_JDSCF_REQUIRED_ERROR', strip_tags($label)) . '"'; } } ?> <div class="form-check form-check-inline"> <input class="form-check-input" type="checkbox" name="jdscf[<?php echo $field->name; ?>][cb]" value="1" <?php echo implode(' ', $attrs); ?> /> <label class="form-check-label" for="<?php echo $field->name; ?>-<?php echo $module->id; ?>"> <?php echo $label; ?> </label> </div>fields/checkboxes.php000060400000003112151721414620010635 0ustar00<?php /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access defined('_JEXEC') or die; extract($displayData); $options = ModJDSimpleContactFormHelper::getOptions($field->options); $attrs = []; if ($field->required) { $attrs[] = 'required'; if (isset($field->custom_error) && !empty(trim($field->custom_error))) { $attrs[] = 'data-parsley-required-message="' . JText::sprintf($field->custom_error) . '"'; } else { $attrs[] = 'data-parsley-required-message="' . JText::sprintf('MOD_JDSCF_REQUIRED_ERROR', strip_tags($label)) . '"'; } } $optionslayout = isset($field->optionslayout) ? $field->optionslayout : 'vertical'; ?> <?php foreach ($options as $key => $option) { ?> <div class="form-check<?php echo $optionslayout == 'inline' ? ' form-check-inline' : ''; ?>"> <input data-parsley-errors-container="#<?php echo $field->name; ?>-errors" class="form-check-input" type="checkbox" name="jdscf[<?php echo $field->name; ?>][cbs][]" value="<?php echo $option['value']; ?>" id="<?php echo $field->name; ?>-<?php echo $option['value']; ?>-<?php echo $key; ?>" <?php echo implode(' ', $attrs); ?> /> <label class="form-check-label" for="<?php echo $field->name; ?>-<?php echo $option['value']; ?>-<?php echo $key; ?>"> <?php echo $option['text']; ?> </label> </div> <?php } ?> <div id="<?php echo $field->name; ?>-errors"></div>fields/index.html000060400000000563151721414620010012 0ustar00<!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> </body> </html> fields/text.php000060400000004731151721414620007513 0ustar00<?php /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access defined('_JEXEC') or die; extract($displayData); $attrs = []; $attrs[] = 'id="' . $field->id . '"'; switch ($field->type) { case 'email': $attrs[] = 'data-parsley-type="email"'; $attrs[] = 'data-parsley-type-message="' . JText::_("MOD_JDSCF_EMAIL_REQUIRED_ERROR") . '"'; break; case 'number': $attrs[] = 'data-parsley-type="number"'; break; case 'url': $attrs[] = 'data-parsley-type="url"'; break; } if (isset($field->placeholder) && !empty($field->placeholder)) { $attrs[] = 'placeholder="' . $field->placeholder . '"'; } if ($field->type == 'text' || $field->type == 'number') { if (!empty($field->min_length)) { $attrs[] = 'data-parsley-minlength="' . $field->min_length . '"'; $attrs[] = 'data-parsley-minlength-message="' . JText::sprintf('MOD_JDSCF_NUMBER_MIN_LENGTH_ERROR', strip_tags($label), $field->min_length) . '"'; } if (!empty($field->max_length)) { $attrs[] = 'data-parsley-maxlength="' . $field->max_length . '"'; $attrs[] = 'data-parsley-maxlength-message="' . JText::sprintf('MOD_JDSCF_NUMBER_MAX_LENGTH_ERROR', strip_tags($label), $field->max_length) . '"'; } if ($field->type == 'number') { if (!empty($field->min)) { $attrs[] = 'data-parsley-min="' . $field->min . '"'; $attrs[] = 'data-parsley-min-message="' . JText::sprintf('MOD_JDSCF_NUMBER_MIN_ERROR', strip_tags($label), $field->min) . '"'; } if (!empty($field->max)) { $attrs[] = 'data-parsley-max="' . $field->max . '"'; $attrs[] = 'data-parsley-max-message="' . JText::sprintf('MOD_JDSCF_NUMBER_MAX_ERROR', strip_tags($label), $field->max) . '"'; } } } if ($field->required) { $attrs[] = 'required'; if (isset($field->custom_error) && !empty(trim($field->custom_error))) { $attrs[] = 'data-parsley-required-message="' . JText::sprintf($field->custom_error) . '"'; } else { $attrs[] = 'data-parsley-required-message="' . JText::sprintf('MOD_JDSCF_REQUIRED_ERROR', strip_tags($label)) . '"'; } } ?> <input type="text" name="jdscf[<?php echo $field->name; ?>][<?php echo $field->type; ?>]" class="form-control" <?php echo implode(' ', $attrs); ?> />fields/file.php000060400000005675151721414620007456 0ustar00<?php /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access defined('_JEXEC') or die; extract($displayData); $attrs = []; $attrs[] = 'id="' . $field->name . '-' . $module->id . '"'; if ($field->required) { $attrs[] = 'required'; if (isset($field->custom_error) && !empty(trim($field->custom_error))) { $attrs[] = 'data-parsley-required-message="' . JText::sprintf($field->custom_error) . '"'; } else { $attrs[] = 'data-parsley-required-message="' . JText::sprintf('MOD_JDSCF_REQUIRED_ERROR', strip_tags($label)) . '"'; } } // fetching allowed types $params = JComponentHelper::getParams('com_media'); $allowable = array_map('trim', explode(',', $params->get('upload_extensions'))); $allowedMaxSize = $params->get('upload_maxsize'); $document = JFactory::getDocument(); $style = '.filesize-err {' . 'display: none;' . 'margin-top: 10px;' . '}' . '.custom-file-label::after {' . 'content: "' . JText::sprintf('MOD_JDSCF_FILE_BTN_LBL') . '" !important;' . '}'; $document->addStyleDeclaration($style); ?> <div class="custom-file"> <input accept="<?php echo '.' . implode( ',.', $allowable ); ?>" type="file" name="jdscf[<?php echo $field->name; ?>]" class="custom-file-input" <?php echo implode(' ', $attrs); ?>> <label class="custom-file-label" for="<?php echo $field->name; ?>-<?php echo $module->id; ?>"><?php echo JText::_('MOD_JDSCF_FILE_LBL'); ?></label> </div> <div class="filesize-err filesize-error-<?php echo $field->name; ?>-<?php echo $module->id; ?> alert alert-danger alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> File size is too big! </div> <?php // File size validation $js = 'var uploadField_'.$field->name.' = document.getElementById("' . $field->name . '-' .$module->id .'");'; $js .= 'uploadField_' . $field->name .'.onchange = function() {'; $js .= 'var fileSizeBytes = this.files[0].size;'; // $js .= 'var i = parseInt(Math.floor(Math.log(fileSizeBytes) / Math.log(1024)));'; // $js .= 'var fileSizeMb = parseFloat(Math.round(fileSizeBytes / Math.pow(1024, i), 2));'; $js .= 'var filesizeMb = fileSizeBytes/1024/1024;'; $js .= 'if(filesizeMb > ' . $allowedMaxSize .'){'; $js .= 'uploadField_'.$field->name.'.value = "";'; $js .= 'jQuery(".filesize-error-' . $field->name . '-' . $module->id . '").show();'; $js .= '}'; $js .= '};'; $js .= 'jQuery("#' . $field->name . '-' .$module->id . '").on("change", function() {'; $js .= 'var fileName = jQuery(this).val().split("\\\").pop();'; $js .= 'jQuery(this).siblings(".custom-file-label").addClass("selected").html(fileName);'; $js .= '});'; ModJDSimpleContactFormHelper::addJS($js, $module->id); ?>fields/hidden.php000060400000000765151721414620007765 0ustar00<?php /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access defined('_JEXEC') or die; extract($displayData); $attrs = []; ?> <input type="hidden" name="jdscf[<?php echo $field->name; ?>][<?php echo $field->type; ?>]" value="<?php echo $field->value; ?>" <?php echo implode(' ', $attrs); ?> />fields/textarea.php000060400000002025151721414620010336 0ustar00<?php /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access defined('_JEXEC') or die; extract($displayData); $attrs = []; $attrs[] = 'id="' . $field->id . '"'; if ($field->required) { $attrs[] = 'required'; if (isset($field->custom_error) && !empty(trim($field->custom_error))) { $attrs[] = 'data-parsley-required-message="' . JText::sprintf($field->custom_error) . '"'; } else { $attrs[] = 'data-parsley-required-message="' . JText::sprintf('MOD_JDSCF_REQUIRED_ERROR', strip_tags($label)) . '"'; } } if (isset($field->placeholder) && !empty($field->placeholder)) { $attrs[] = 'placeholder="' . $field->placeholder . '"'; } ?> <textarea class="form-control" rows="<?php echo $field->textarearows; ?>" name="jdscf[<?php echo $field->name; ?>]" <?php echo implode(' ', $attrs); ?>></textarea>fields/submit.php000060400000001322151721414620010023 0ustar00<?php /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access defined('_JEXEC') or die; extract($displayData); $buttonText = $params->get('submittext', 'JSUBMIT'); $buttonClass = $params->get('submitclass', 'btn-primary'); $buttonWidth = $params->get('submit_btn_width', '12'); ?> <div class="jdscf-submit-btn jdscf-col-md-<?php echo $buttonWidth ?>"> <button type="submit" class="btn<?php echo!empty($buttonClass) ? ' ' . $buttonClass : ''; ?> btn-block"><?php echo JText::_($buttonText); ?></button> </div>fields/calendar.php000060400000012130151721414620010270 0ustar00<?php /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access defined('_JEXEC') or die; extract($displayData); $attrs = []; $attrs[] = 'id="' . $field->id . '"'; if (isset($field->placeholder) && !empty($field->placeholder)) { $attrs[] = 'placeholder="' . $field->placeholder . '"'; } if (!empty($field->id)) { $attrs[] = 'id="' . $field->id . '"'; } if ($field->required) { $attrs[] = 'required'; if (isset($field->custom_error) && !empty(trim($field->custom_error))) { $attrs[] = 'data-parsley-required-message="' . JText::sprintf($field->custom_error) . '"'; } else { $attrs[] = 'data-parsley-required-message="' . JText::sprintf('MOD_JDSCF_REQUIRED_ERROR', strip_tags($label)) . '"'; } } $document = JFactory::getDocument(); $style = 'label.calendar_icon {' . 'display: inherit;' . 'cursor: pointer;' . 'margin: 0px;' . 'border-radius: 0;' . '}'; $document->addStyleDeclaration($style); ?> <div class="input-group mb-2"> <input type="text" name="jdscf[<?php echo $field->name; ?>]" class="form-control" <?php echo implode(' ', $attrs); ?> autocomplete="off" /> <label class="calendar_icon" for="<?php echo $field->id; ?>"> <div class="input-group-prepend"> <div class="input-group-text"> <img height="16" width="16" src="data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgZGF0YS1wcmVmaXg9ImZhciIgZGF0YS1pY29uPSJjYWxlbmRhci1hbHQiIGNsYXNzPSJzdmctaW5saW5lLS1mYSBmYS1jYWxlbmRhci1hbHQgZmEtdy0xNCIgcm9sZT0iaW1nIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0xNDggMjg4aC00MGMtNi42IDAtMTItNS40LTEyLTEydi00MGMwLTYuNiA1LjQtMTIgMTItMTJoNDBjNi42IDAgMTIgNS40IDEyIDEydjQwYzAgNi42LTUuNCAxMi0xMiAxMnptMTA4LTEydi00MGMwLTYuNi01LjQtMTItMTItMTJoLTQwYy02LjYgMC0xMiA1LjQtMTIgMTJ2NDBjMCA2LjYgNS40IDEyIDEyIDEyaDQwYzYuNiAwIDEyLTUuNCAxMi0xMnptOTYgMHYtNDBjMC02LjYtNS40LTEyLTEyLTEyaC00MGMtNi42IDAtMTIgNS40LTEyIDEydjQwYzAgNi42IDUuNCAxMiAxMiAxMmg0MGM2LjYgMCAxMi01LjQgMTItMTJ6bS05NiA5NnYtNDBjMC02LjYtNS40LTEyLTEyLTEyaC00MGMtNi42IDAtMTIgNS40LTEyIDEydjQwYzAgNi42IDUuNCAxMiAxMiAxMmg0MGM2LjYgMCAxMi01LjQgMTItMTJ6bS05NiAwdi00MGMwLTYuNi01LjQtMTItMTItMTJoLTQwYy02LjYgMC0xMiA1LjQtMTIgMTJ2NDBjMCA2LjYgNS40IDEyIDEyIDEyaDQwYzYuNiAwIDEyLTUuNCAxMi0xMnptMTkyIDB2LTQwYzAtNi42LTUuNC0xMi0xMi0xMmgtNDBjLTYuNiAwLTEyIDUuNC0xMiAxMnY0MGMwIDYuNiA1LjQgMTIgMTIgMTJoNDBjNi42IDAgMTItNS40IDEyLTEyem05Ni0yNjB2MzUyYzAgMjYuNS0yMS41IDQ4LTQ4IDQ4SDQ4Yy0yNi41IDAtNDgtMjEuNS00OC00OFYxMTJjMC0yNi41IDIxLjUtNDggNDgtNDhoNDhWMTJjMC02LjYgNS40LTEyIDEyLTEyaDQwYzYuNiAwIDEyIDUuNCAxMiAxMnY1MmgxMjhWMTJjMC02LjYgNS40LTEyIDEyLTEyaDQwYzYuNiAwIDEyIDUuNCAxMiAxMnY1Mmg0OGMyNi41IDAgNDggMjEuNSA0OCA0OHptLTQ4IDM0NlYxNjBINDh2Mjk4YzAgMy4zIDIuNyA2IDYgNmgzNDBjMy4zIDAgNi0yLjcgNi02eiI+PC9wYXRoPjwvc3ZnPg==" alt="Calendar"> </div> </div> </label> </div> <?php $js = 'var monthNames = [ "'. JText::_("MOD_JDSCF_JANUARY") .'", "'. JText::_("MOD_JDSCF_FEBRUARY") .'", "'. JText::_("MOD_JDSCF_MARCH") .'", "'. JText::_("MOD_JDSCF_APRIL") .'", "'. JText::_("MOD_JDSCF_MAY") .'", "'. JText::_("MOD_JDSCF_JUNE") .'", "'. JText::_("MOD_JDSCF_JULY") .'", "'. JText::_("MOD_JDSCF_AUGUST") .'", "'. JText::_("MOD_JDSCF_SEPTEMBER") .'", "'. JText::_("MOD_JDSCF_OCTOBER") .'", "'. JText::_("MOD_JDSCF_NOVEMBER") .'", "'. JText::_("MOD_JDSCF_DECEMBER") .'" ];'; $js .= 'var weekDays = [ "'. JText::_("MOD_JDSCF_SUNDAY") .'", "'. JText::_("MOD_JDSCF_MONDAY") .'", "'. JText::_("MOD_JDSCF_TUESDAY") .'", "'. JText::_("MOD_JDSCF_WEDNESDAY") .'", "'. JText::_("MOD_JDSCF_THURSDAY") .'", "'. JText::_("MOD_JDSCF_FRIDAY") .'", "'. JText::_("MOD_JDSCF_SATURDAY") .'" ];'; $js .= 'var shortWeekDays = [ "'. JText::_("MOD_JDSCF_SUN") .'", "'. JText::_("MOD_JDSCF_MON") .'", "'. JText::_("MOD_JDSCF_TUE") .'", "'. JText::_("MOD_JDSCF_WED") .'", "'. JText::_("MOD_JDSCF_THUR") .'", "'. JText::_("MOD_JDSCF_FRI") .'", "'. JText::_("MOD_JDSCF_SAT") .'" ];'; $js .= 'var jdscf_picker_' . $module->id . ' = new Pikaday({' . 'field: document.getElementById("' . $field->id . '")'; if (isset($field->calendar_min) && !empty($field->calendar_min) && $field->calendar_min != '0000-00-00 00:00:00') { $js .= ',minDate: moment("' . $field->calendar_min . '").toDate()'; } if (isset($field->calendar_max) && !empty($field->calendar_max) && $field->calendar_max != '0000-00-00 00:00:00') { $js .= ',maxDate: moment("' . $field->calendar_max . '").toDate()'; } if (isset($field->calendar_format) && !empty($field->calendar_format)) { $js .= ',format: "' . $field->calendar_format . '"'; } else { $js .= ',format: "MM-DD-YYYY"'; } $js .= ',i18n: {'; $js .= 'months : monthNames,'; $js .= 'weekdays : weekDays,'; $js .= 'weekdaysShort: shortWeekDays'; $js .= '}'; $js .= ',defaultDate: moment("' . date('Y-m-d') . '").toDate(),setDefaultDate:true'; $js .= '});'; ModJDSimpleContactFormHelper::addJS($js, $module->id); ?>label.php000060400000001252151721414620006333 0ustar00<?php /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access defined('_JEXEC') or die; extract($displayData); $label = ModJDSimpleContactFormHelper::getLabelText($field); $show_label = $field->show_label === null ? 1 : $field->show_label; ?> <label for="<?php echo $field->id; ?>" class="<?php echo $show_label ? 'd-block' : 'd-none'; ?>"> <?php echo $label; ?> <?php if ($field->required) { ?> <small class="text-danger">*</small> <?php } ?> </label>chromes/card.php000064400000004021151721520730007626 0ustar00<?php /** * @package Joomla.Site * @subpackage Templates.cassiopeia * * @copyright (C) 2020 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Utilities\ArrayHelper; $module = $displayData['module']; $params = $displayData['params']; $attribs = $displayData['attribs']; if ($module->content === null || $module->content === '') { return; } $moduleTag = $params->get('module_tag', 'div'); $moduleAttribs = []; $moduleAttribs['class'] = $module->position . ' card ' . htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_QUOTES, 'UTF-8'); $headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_QUOTES, 'UTF-8'); $headerClass = htmlspecialchars($params->get('header_class', ''), ENT_QUOTES, 'UTF-8'); $headerAttribs = []; $headerAttribs['class'] = $headerClass; // Only output a header class if it is not card-title if ($headerClass !== 'card-title') : $headerAttribs['class'] = 'card-header ' . $headerClass; endif; // Only add aria if the moduleTag is not a div if ($moduleTag !== 'div') { if ($module->showtitle) : $moduleAttribs['aria-labelledby'] = 'mod-' . $module->id; $headerAttribs['id'] = 'mod-' . $module->id; else : $moduleAttribs['aria-label'] = htmlspecialchars($module->title, ENT_QUOTES, 'UTF-8'); endif; } $header = '<' . $headerTag . ' ' . ArrayHelper::toString($headerAttribs) . '>' . $module->title . '</' . $headerTag . '>'; ?> <<?php echo $moduleTag; ?> <?php echo ArrayHelper::toString($moduleAttribs); ?>> <?php if ($module->showtitle && $headerClass !== 'card-title') : ?> <?php echo $header; ?> <?php endif; ?> <div class="card-body"> <?php if ($module->showtitle && $headerClass === 'card-title') : ?> <?php echo $header; ?> <?php endif; ?> <?php echo $module->content; ?> </div> </<?php echo $moduleTag; ?>> chromes/noCard.php000064400000003357151721520730010136 0ustar00<?php /** * @package Joomla.Site * @subpackage Templates.cassiopeia * * @copyright (C) 2020 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Utilities\ArrayHelper; $module = $displayData['module']; $params = $displayData['params']; $attribs = $displayData['attribs']; if ($module->content === null || $module->content === '') { return; } $moduleTag = $params->get('module_tag', 'div'); $moduleAttribs = []; $moduleAttribs['class'] = $module->position . ' no-card ' . htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_QUOTES, 'UTF-8'); $headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_QUOTES, 'UTF-8'); $headerClass = htmlspecialchars($params->get('header_class', ''), ENT_QUOTES, 'UTF-8'); $headerAttribs = []; // Only output a header class if one is set if ($headerClass !== '') { $headerAttribs['class'] = $headerClass; } // Only add aria if the moduleTag is not a div if ($moduleTag !== 'div') { if ($module->showtitle) : $moduleAttribs['aria-labelledby'] = 'mod-' . $module->id; $headerAttribs['id'] = 'mod-' . $module->id; else : $moduleAttribs['aria-label'] = htmlspecialchars($module->title, ENT_QUOTES, 'UTF-8'); endif; } $header = '<' . $headerTag . ' ' . ArrayHelper::toString($headerAttribs) . '>' . $module->title . '</' . $headerTag . '>'; ?> <<?php echo $moduleTag; ?> <?php echo ArrayHelper::toString($moduleAttribs); ?>> <?php if ($module->showtitle) : ?> <?php echo $header; ?> <?php endif; ?> <?php echo $module->content; ?> </<?php echo $moduleTag; ?>>
/home/opticamezl/www/newok/libraries/../api/../plugins/xmap/../../cli/../tmp/../api/../layouts.tar