Location: PHPKode > projects > MODx > modxcms-revolution-8608c05/setup/templates/contexts.tpl
<script type="text/javascript" src="assets/js/sections/contexts.js"></script>
<script type="text/javascript">
Ext.onReady(function() {literal}{{/literal}
    MODx.context_web_path = "{$context_web_path}";
    MODx.context_web_url = "{$context_web_url}";
    MODx.context_connectors_path = "{$context_connectors_path}";
    MODx.context_connectors_url = "{$context_connectors_url}";
    MODx.context_mgr_path = "{$context_mgr_path}";
    MODx.context_mgr_url = "{$context_mgr_url}";
{literal}}{/literal});
</script>
<form id="install" action="?action=contexts" method="post">

<h2>{$_lang.context_installation}</h2>

<h3>{$_lang.context_web_options}</h3>
<p><small>{$_lang.context_override}</small></p>

<div class="labelHolder">
	<label for="context_web_path">{$_lang.context_web_path}:</label>
	<input type="text" id="context_web_path" name="context_web_path" value="{$context_web_path}" style="width:350px" />
	<input type="checkbox" id="context_web_path_toggle" name="context_web_path_toggle" value="1" {$context_web_path_checked} style="width: 30px;" />
</div>
<div class="labelHolder">
	<label for="context_web_url">{$_lang.context_web_url}:</label>	
	<input type="text" id="context_web_url" name="context_web_url" value="{$context_web_url}" style="width:350px" />
	<input type="checkbox" id="context_web_url_toggle" name="context_web_url_toggle" value="1" {$context_web_url_checked}style="width:30px" onclick="if (!this.checked) Ext.get('context_web_url').set({literal}{{/literal} value: '{$context_web_url}' {literal}}{/literal});" />
</div>
<br />


<h3>{$_lang.context_connector_options}</h3>
<p><small>{$_lang.context_override}</small></p>

<div class="labelHolder">
	<label for="context_connectors_path">{$_lang.context_connector_path}:</label>	
	<input type="text" id="context_connectors_path" name="context_connectors_path" value="{$context_connectors_path}" style="width:350px" onchange="$('context_connectors_path_toggle').checked=true;" />
	<input type="checkbox" id="context_connectors_path_toggle" name="context_connectors_path_toggle" value="1" {$context_connectors_path_checked} style="width:30px" onclick="if (!this.checked) $('context_connectors_path').value = '{$context_connectors_path}';" />
</div>
<div class="labelHolder">
	<label for="context_connectors_url">{$_lang.context_connector_url}:</label>	
	<input type="text" id="context_connectors_url" name="context_connectors_url" value="{$context_connectors_url}" style="width:350px" onchange="$('context_connectors_url_toggle').checked=true;" />
	<input type="checkbox" id="context_connectors_url_toggle" name="context_connectors_url_toggle" value="1" {$context_connectors_url_checked}style="width:30px" onclick="if (!this.checked) $('context_connectors_url').value = '{$context_connectors_url}';" />
</div>
<br />


<h3>{$_lang.context_manager_options}</h3>
<p><small>{$_lang.context_override}</small></p>

<div class="labelHolder">
	<label for="context_mgr_path">{$_lang.context_manager_path}:</label>	
	<input type="text" id="context_mgr_path" name="context_mgr_path" value="{$context_mgr_path}" style="width:350px" onchange="$('context_mgr_path_toggle').checked=true;" />
	<input type="checkbox" id="context_mgr_path_toggle" name="context_mgr_path_toggle" value="1" {$context_mgr_path_checked} style="width:30px;" onclick="if (!this.checked) $('context_mgr_path').value = '{$context_mgr_path}';" />
</div>
<div class="labelHolder">
	<label for="context_mgr_url">{$_lang.context_manager_url}:</label>	
	<input type="text" id="context_mgr_url" name="context_mgr_url" value="{$context_mgr_url}" style="width:350px" onchange="$('context_mgr_url_toggle').checked=true;" />
	<input type="checkbox" id="context_mgr_url_toggle" name="context_mgr_url_toggle" value="1" {$context_mgr_url_checked} style="width:30px;" onclick="if (!this.checked) $('context_mgr_url').value = '{$context_mgr_url}';" />
</div>
<br />

<div class="setup_navbar">
<input type="submit" id="modx-next" name="proceed" value="{$_lang.next}" />
<button type="button" id="modx-back" onclick="MODx.go('database');">{$_lang.back}</button>
</div>
</form>
Return current item: MODx