Location: PHPKode > projects > EXtensible Production Suite (XPS) > xpsdev/install/templates/edit_settings.tpl
{API->get_api_message}
<h2>{API->get_message message_id='edit_settings'}</h2>

<!--CONTENT-->
<div align="center">
    <table border="0" cellspacing="0" cellpadding="3" class="center">
        <thead>
            <tr>
                <th>{API->get_label label_id='lbl_label'}</th>
                <th>{API->get_label label_id='lbl_value'}</th>
            </tr>
        </thead>
        <tbody>
        {foreach key=id item=setting from=$settings name=loop}
            <tr>
                <td>{$setting.label}</td>
                <td>
                    {if $setting.ref != ''}
                        {API->get_setting_options id=$id}
                    {else}
                        <input type="text" name="{$id}" id="{$id}" value="{$setting.value}" size="30" />
                    {/if}
                </td>
            </tr>
        {/foreach}
        </tbody>
    </table>
    <div id="results"></div>
    <div class="message_good">
        {API->get_message message_id='test_database_connection'}
        <br />
        <input type="button" name="btn_test" value="{API->get_label label_id='lbl_btn_test'}" onclick="javascript:makeRequest('index.php', '?f=test_db_connection'+
                                                                                '&ajax=1'+
                                                                                '&db_username='+this.form.db_username.value+
                                                                                '&db_password='+this.form.db_password.value+
                                                                                '&db_host='+this.form.db_host.value+
                                                                                '&db_type='+this.form.db_type.value+
                                                                                '&db_name='+this.form.db_name.value+
																				'&oracle_port='+this.form.oracle_port.value+
																				'&oracle_listener='+this.form.oracle_listener.value, 'GET');" />
    </div>
</div>
<input type="hidden" name="f" value="update_settings" />
Return current item: EXtensible Production Suite (XPS)