| Current Path : /home/poneycluc/www/administrator/components/com_jaextmanager/views/default/tmpl/ |
| Current File : /home/poneycluc/www/administrator/components/com_jaextmanager/views/default/tmpl/config_service.php |
<?php
/**
* ------------------------------------------------------------------------
* JA Extension Manager Component
* ------------------------------------------------------------------------
* Copyright (C) 2004-2018 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
* @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
* Author: J.O.O.M Solutions Co., Ltd
* Websites: http://www.joomlart.com - http://www.joomlancers.com
* ------------------------------------------------------------------------
*/
//no direct access
defined( '_JEXEC' ) or die( 'Retricted Access' );
?>
<script type="text/javascript" language="javascript">
//<![CDATA[
Joomla.submitbutton = function(pressbutton) {
var form = document.adminForm;
if (pressbutton == 'cancel') {
Joomla.submitform( pressbutton );
return;
}
if ( pressbutton == 'save' || pressbutton == 'apply' ){
Joomla.submitform( pressbutton );
}
else {
Joomla.submitform( pressbutton );
}
}
//]]>
</script>
<fieldset>
<legend><?php echo JText::_("GENERAL_SETTINGS");?></legend>
<form action="index.php" method="post" name="adminForm" id="adminForm">
<input type="hidden" name="option" value="com_jaextmanager" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="layout" value="config_service" />
<input type="hidden" name="view" value="default" />
<table class="admintable">
<tr>
<td class="key" align="right"><label for="title"> <?php echo JText::_('Hide None-JA Extensions' ); ?>: </label>
</td>
<td>
<?php $hideNoneJA = (int) $this->params->get("HIDE_NONJA", 0); ?>
<label><input type="radio" name="params[HIDE_NONJA]" value="1" id="hide_nonja_1" <?php if($hideNoneJA) echo 'checked="checked"' ?> /><?php echo JText::_('JYES' ); ?></label>
<label><input type="radio" name="params[HIDE_NONJA]" value="0" id="hide_nonja_0" <?php if(!$hideNoneJA) echo 'checked="checked"' ?> /><?php echo JText::_('JNO' ); ?></label>
</td>
</tr>
<tr>
<td class="key" align="right"><label for="title"> <?php echo JText::_('LOCAL_REPOSITORY_PATH' ); ?>: </label>
</td>
<td><input type="text" value="<?php echo $this->params->get("DATA_FOLDER", "jaextmanager_data");?>" size="80" name="params[DATA_FOLDER]" />
</td>
</tr>
<tr>
<td class="key" align="right"><label for="title"> <?php echo JText::_('MYSQL_PATH' ); ?>: </label>
</td>
<td><input type="text" value="<?php echo $this->params->get("MYSQL_PATH", "mysql");?>" size="80" name="params[MYSQL_PATH]" />
</td>
</tr>
<tr>
<td class="key" align="right"><label for="title"> <?php echo JText::_('MYSQL_DUMP_PATH' ); ?>: </label>
</td>
<td><input type="text" value="<?php echo $this->params->get("MYSQLDUMP_PATH", "mysqldump");?>" size="80" name="params[MYSQLDUMP_PATH]" />
</td>
</tr>
<tr>
<td class="key" align="right"><label for="title"> <?php echo JText::_('MYSQL_DUMP_PATH' ); ?>: </label>
</td>
<td><input type="text" value="<?php echo $this->params->get("MYSQLDUMP_PATH", "mysqldump");?>" size="80" name="params[MYSQLDUMP_PATH]" />
</td>
</tr>
</table>
</form>
</fieldset>