default_edit.php
2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
/**
* @package JMAP::CPANEL::administrator::components::com_jmap
* @subpackage views
* @subpackage cpanel
* @subpackage tmpl
* @author Joomla! Extensions Store
* @copyright (C) 2015 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ( 'Restricted access' );
?>
<style type="text/css">
#system-message-container {position: absolute;right: 5px;top: 5px;}
#system-message-container dl, #system-message-container ul{margin: 0;padding: 0;}
</style>
<!-- CPANEL ICONS -->
<form id="adminForm" name="adminForm" class="iframeform" action="index.php" method="post">
<button class="btn btn-primary active"><span class="glyphicon glyphicon-floppy-disk"></span>
<?php echo $this->robotsVersion ? JText::_('COM_JMAP_ROBOTS_DIST_SAVE') : JText::_('COM_JMAP_ROBOTS_SAVE');?>
</button>
<button id="fancy_closer" class="btn btn-default active"><span class="glyphicon glyphicon-remove"></span>
<?php echo JText::_('COM_JMAP_ROBOTS_CLOSE');?>
</button>
<?php if($this->robotsVersion):?>
<label data-content="<?php echo JText::_('COM_JMAP_ROBOTS_DIST_WARNING_DESC');?>" data-placement="bottom" class="label label-warning hasRobotsPopover">
<span class="glyphicon glyphicon-warning-sign"></span>
<?php echo JText::_('COM_JMAP_ROBOTS_DIST_WARNING');?>
</label>
<?php endif;?>
<div id="robots_ctrls">
<label class="label label-primary"><?php echo JText::_('COM_JMAP_ROBOTS_CHOOSE_RULE');?></label>
<select id="robots_rule">
<option value="Disallow: ">Disallow</option>
<option value="Allow: ">Allow</option>
<option value="User-agent: ">User agent</option>
</select>
<input id="robots_entry" type="text" value=""/>
<button id="robots_adder" class="btn btn-success active"><span class="glyphicon glyphicon-plus"></span>
<?php echo JText::_('COM_JMAP_ROBOTS_ADD');?>
</button>
</div>
<textarea id="robots_contents" name="robots_contents"><?php echo $this->record;?></textarea>
<input type="hidden" name="option" value="<?php echo $this->option;?>"/>
<input type="hidden" name="task" value="cpanel.saveEntity"/>
<input type="hidden" name="tmpl" value="component"/>
</form>