Your IP : 216.73.217.53


Current Path : /home/bonneesp/www/administrator/components/com_contactmap/views/css/tmpl/
Upload File :
Current File : /home/bonneesp/www/administrator/components/com_contactmap/views/css/tmpl/default.php

<?php 
	/*
	* ContactMap Component Google Map for Joomla! 3.x
	* Version J3.0
	* Creation date: Août 2014
	* Author: Fabrice4821 - www.gmapfp.org
	* Author email: webmaster@gmapfp.org
	* License GNU/GPL
	*/

defined('_JEXEC') or die();
JHTML::_('behavior.tooltip');
$template_path = JPATH_COMPONENT_SITE.'/views/contactmap/contactmap.css';
if ($fp = @fopen($template_path, 'r')) {
	$csscontent = @fread($fp, @filesize($template_path));
	$csscontent = htmlspecialchars($csscontent);
} else {
	echo JTaxt::_('COM_CONTACTMAP_ERROR_READING_FILE').$template_path;
}
?>

<form action="<?php echo JRoute::_('index.php?option=com_contactmap&view=css'); ?>" method="post" name="adminForm" id="adminForm">
	<div id="j-sidebar-container" class="span2">
		<?php echo $this->sidebar; ?>
	</div>
        <fieldset class="adminform">
            <legend><?php echo JText::_( 'JDETAILS' ); ?></legend>
			<p><?php echo JText::_( 'JTOOLBAR_EDIT_CSS' ); ?></p>
            <table class="adminform">
			<tr>
				<th>
				<?php echo $template_path; ?>
                <span class="componentheading">
				<?php
				echo is_writable($template_path) ? ' - <strong style="color:green;">'.JText::_( 'COM_CONTACTMAP_CSS_WRITABLE' ).'</strong>' :'<strong style="color:red;">'.JText::_( 'COM_CONTACTMAP_CSS_NOT_WRITABLE' ).'</strong>';?>
				</span>
                </th>
			</tr>
			<tr>
				<td>
					<textarea style="width: 100%; height: 600px" cols="80" rows="25" name="csscontent" class="inputbox"><?php echo $csscontent; ?></textarea>
				</td>
			</tr>
		</table>
    <input type="hidden" name="task" value="" />
</form>
<div class="copyright" align="center">
	<br />
	<?php echo JText::_( 'COM_CONTACTMAP_COPYRIGHT' );?>
</div>