| Current Path : /home/amapterrvs/www/administrator/components/com_flexicontact/views/config_confirm/ |
| Current File : /home/amapterrvs/www/administrator/components/com_flexicontact/views/config_confirm/view.html.php |
<?php
/********************************************************************
Product : Flexicontact
Date : 23 March 2015
Copyright : Les Arbres Design 2010-2015
Contact : http://www.lesarbresdesign.info
Licence : GNU General Public License
*********************************************************************/
defined('_JEXEC') or die('Restricted Access');
class FlexicontactViewConfig_Confirm extends JViewLegacy
{
function display($tpl = null)
{
JToolBarHelper::title(LAFC_COMPONENT_NAME.': '.JText::_('COM_FLEXICONTACT_CONFIG_CONFIRM_NAME'), 'flexicontact.png');
JToolBarHelper::apply();
JToolBarHelper::save();
JToolBarHelper::cancel();
// setup the wysiwg editor
$editor = JFactory::getEditor();
Flexicontact_Utility::viewStart();
?>
<form action="index.php" method="post" name="adminForm" id="adminForm" >
<input type="hidden" name="option" value="<?php echo LAFC_COMPONENT; ?>" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="view" value="config_confirm" />
<?php
echo "\n".'<table><tr>';
echo '<td>'.JText::_('COM_FLEXICONTACT_LINK').'</td>';
echo '<td><input type="text" size="60" name="confirm_link" value="'.$this->config_data->confirm_link.'" /> '.
Flexicontact_Utility::make_info(JText::_('COM_FLEXICONTACT_CONFIRM_LINK_DESC')).'</td>';
echo "\n<td></td></tr>";
echo "\n<tr>";
echo '<td valign="top">'.JText::_('COM_FLEXICONTACT_TEXT').'</td>';
echo '<td>'.$editor->display('confirm_text', htmlspecialchars($this->config_data->confirm_text, ENT_QUOTES),'700','350','60','20',array('pagebreak', 'readmore'));
echo "\n".'</td>';
echo "\n".'</tr></table></form>';
Flexicontact_Utility::viewEnd();
}
}