Location: PHPKode > projects > SOA For Virtuemart (WebServices) > com_vm_soa/admin/views/vm_soa/tmpl/form_conf.php
<?php
/**
 * @package    	com_vm_soa (WebServices for virtuemart)
 * @author		Mickael Cabanas (cabanas.mickael|at|gmail.com)
 * @link 		http://sourceforge.net/projects/soa-virtuemart/
 * @license    	GNU/GPL
*/

JRequest::getVar('trace')->trace_it(__FILE__." début", 1, 1);
$task=JRequest::getVar('task');
$act=JRequest::getVar('act');
$option=JRequest::getVar('option');
$conf=JRequest::getVar('conf');
		echo "<center>";
		echo "<form action='index2.php' method='post' name='adminForm' id='adminForm' class='adminForm'>";
		echo "<input type='hidden' name='task' value='".$task."'>";
		echo "<input type='hidden' name='act' value='".$act."'>";
		echo "<input type='hidden' name='option' value='".$option."'>";
		echo JText::_('CONFIG_FORM_CONF_INV');
		echo "<table>";
		echo "<tr>";
			echo "<td>";
			echo JText::_('CONFIG_FORM_CONF_ACC');
			echo "</td>";
			echo "<td>";
			echo "<input type='text' name='conf[Acces]' value='".$conf['Acces']."'>";
			echo "</td>";
			echo "<td>";
			echo JHTML::_('tooltip', JText::_( 'CONFIG_FORM_CONF_ACC_TT' ) );
			echo "</td>";
		echo "</tr>";
		echo "<tr>";
			echo "<td>";
			echo JText::_('CONFIG_FORM_CONF_DB_SERVER');
			echo "</td>";
			echo "<td>";
			echo "<input type='text' name='conf[SrvSql]' value='".$conf['SrvSql']."'>";
			echo "</td>";
			echo "<td>";
			echo JHTML::_('tooltip', JText::_( 'CONFIG_FORM_CONF_DB_SERVER_TT' ) );
			echo "</td>";
		echo "</tr>";
		echo "<tr>";
			echo "<td>";
			echo JText::_('CONFIG_FORM_CONF_DB_UEER');
			echo "</td>";
			echo "<td>";
			echo "<input type='text' name='conf[user]' value='".$conf['user']."'>";
			echo "</td>";
			echo "<td>";
			echo JHTML::_('tooltip', JText::_( 'CONFIG_FORM_CONF_DB_UEER_TT' ) );
			echo "</td>";
		echo "</tr>";
		echo "<tr>";
			echo "<td>";
			echo JText::_('CONFIG_FORM_CONF_DB_PWD');
			echo "</td>";
			echo "<td>";
			echo "<input type='password' name='conf[password]' value='".$conf['password']."'>";
			echo "</td>";
			echo "<td>";
			echo JHTML::_('tooltip', JText::_( 'CONFIG_FORM_CONF_DB_PWD_TT' ) );
			echo "</td>";
		echo "</tr>";
		echo "<tr>";
			echo "<td>";
			echo JText::_('CONFIG_FORM_CONF_DB_NAME');
			echo "</td>";
			echo "<td>";
			echo "<input type='text' name='conf[base]' value='".$conf['base']."'>";
			echo "</td>";
			echo "<td>";
			echo JHTML::_('tooltip', JText::_( 'CONFIG_FORM_CONF_DB_NAME_TT' ) );
			echo "</td>";
		echo "</tr>";
		echo "<tr>";
			echo "<td>";
			echo JText::_('CONFIG_FORM_CONF_SQL_TRACE_LVL');
			echo "</td>";
			echo "<td>";
			echo "<select name='conf[trace]'>";
			echo "<option>0</option>";
			echo "<option>1</option>";
			echo "<option>2</option>";
			echo "<option>3</option>";
			echo "<option>4</option>";
			echo "<option>5</option>";
			echo "<option>6</option>";
			echo "<option>7</option>";
			echo "<option>8</option>";
			echo "<option>9</option>";
			echo "<option>10</option>";
			echo "</select>";
			echo "</td>";
			echo "<td>";
			echo JHTML::_('tooltip', JText::_( 'CONFIG_FORM_CONF_SQL_TRACE_LVL_TT' ) );
			echo "</td>";
		echo "</tr>";
		echo "<tr>";
			echo "<td>";
			echo JText::_('CONFIG_FORM_CONF_SQL_RAZ_T');
			echo "</td>";
			echo "<td>";
			echo "<input type='checkbox' name='conf[trace_raz]'>";
			echo "</td>";
			echo "<td>";
			echo JHTML::_('tooltip', JText::_( 'CONFIG_FORM_CONF_SQL_RAZ_TT' ) );
			echo "</td>";
		echo "</tr>";
		echo "<tr>";
			echo "<td>";
			echo JText::_('CONFIG_FORM_CONF_FC');
			echo "</td>";
			echo "<td>";
			echo "<input type='text' name='conf[remove]' value='".$conf['remove']."'>";
			echo "</td>";
			echo "<td>";
			echo JHTML::_('tooltip', JText::_( 'CONFIG_FORM_CONF_FC_TT' ) );
			echo "</td>";
		echo "</tr>";
		echo "</table>";
		echo "</form>";
		echo "</center>";
JRequest::getVar('trace')->trace_it(__FILE__." fin", 1, -1);
?>
Return current item: SOA For Virtuemart (WebServices)