| Current Path : /home/jeromecohp/www/templates/yootheme_jeromecourville/html/com_mailto/mailto/ |
| Current File : /home/jeromecohp/www/templates/yootheme_jeromecourville/html/com_mailto/mailto/default.php |
<?php
/**
* @package Joomla.Site
* @subpackage com_mailto
*
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
JHtml::_('behavior.core');
JHtml::_('behavior.keepalive');
?>
<style media="screen">
@font-face {font-family: 'Karla'; font-style: normal; font-weight: 400; src: url(/templates/yootheme/fonts/font-1e5a918c.woff2) format('woff2'), url(/templates/yootheme/fonts/font-8250779b.woff) format('woff'); }
@font-face {font-family: 'Playfair Display'; font-style: normal; font-weight: 400; src: url(/templates/yootheme/fonts/font-a7ff3929.woff2) format('woff2'), url(/templates/yootheme/fonts/font-78f0b806.woff) format('woff'); }
body {
font-family: 'Karla';
background-color: #21273C;
color: #fff;
}
#mailto-window {
padding: 20px 0 ;
}
form.well {
background-color: transparent;
padding: 0;
border: none;
}
h2 {
text-align: center;
font-family: 'Playfair Display';
font-size: 18px;
text-transform: uppercase;
color: #988971;
line-height: 1.3;
max-width: 280px;
margin: 0 auto 20px auto;
}
.form-horizontal .control-group {
margin-bottom: 15px;
}
.form-horizontal input[type="text"],
.form-horizontal input[type="email"] {
width: 100%;
border-radius: 0;
border: none;
height: 28px;
box-sizing: border-box;
}
.form-horizontal input:focus,
.form-horizontal input:focus:invalid:focus {
border-color: #988971;
box-shadow: 0 0 6px #bba98c;
}
.form-horizontal .controls {
text-align: center;
}
.form-horizontal .controls .btn-primary {
background-color: #21273C;
background-image: none;
text-shadow: none;
border-color: #988971;
border-radius: 0;
transition: background-color 0.3s;
}
.form-horizontal .controls .btn-primary:hover {
background-color: #988971;
}
</style>
<div id="mailto-window">
<h2>
<?php echo JText::_('COM_MAILTO_EMAIL_TO_A_FRIEND'); ?>
</h2>
<form action="<?php echo JRoute::_('index.php?option=com_mailto&task=send'); ?>" method="post" class="form-validate form-horizontal well">
<fieldset>
<?php foreach ($this->form->getFieldset('') as $field) : ?>
<?php if (!$field->hidden) : ?>
<?php echo $field->renderField(); ?>
<?php endif; ?>
<?php endforeach; ?>
<div class="control-group">
<div class="controls">
<button type="submit" class="btn btn-primary validate">
<?php echo JText::_('COM_MAILTO_SEND'); ?>
</button>
</div>
</div>
</fieldset>
<input type="hidden" name="layout" value="<?php echo htmlspecialchars($this->getLayout(), ENT_COMPAT, 'UTF-8'); ?>" />
<input type="hidden" name="option" value="com_mailto" />
<input type="hidden" name="task" value="send" />
<input type="hidden" name="tmpl" value="component" />
<input type="hidden" name="link" value="<?php echo $this->link; ?>" />
<?php echo JHtml::_('form.token'); ?>
</form>
</div>