<div id="selGeneralConfiguration">
	<h2 class="clsIndexTitle"><span>{$LANG.page_title}</span></h2>
	<p class="clsSettingInfo">{$LANG.general_config_hint}</p>
	<div id="selLeftNavigation">
		{include file='../general/information.tpl'}
		{if  $myobj->isShowPageBlock('show_config_variable')}
			 <div id="selUpload">
				<form name="form_config" id="form_config" method="post" action="{$myobj->getCurrentUrl()}" autocomplete="off" enctype="multipart/form-data">
					<div id="selUploadBlock">
						<table class="clsCommonTable clsUploadBlock" summary="{$LANG.template_summary}" id="selUploadTbl" >
							<tr>
								<td>
									<label for="logo_name">{$LANG.template_change}</label> </td>
								<td>
									<input type="radio" class="clsCheckRadio" name="is_template_change" id="is_template_change" tabindex="{smartyTabIndex}" value="true" {$myobj->isCheckedRadio('is_template_change', true)} />&nbsp;<label for="animated_logo1">{$LANG.common_yes_option}</label>
          							<input type="radio" class="clsCheckRadio" name="is_template_change" id="is_template_change" tabindex="{smartyTabIndex}" value="false" {$myobj->isCheckedRadio('is_template_change', false)} />&nbsp;<label for="animated_logo2">{$LANG.common_no_option}</label>
								</td>
							</tr>
						  <tr>
							  <td >
								<label for="default_screen">{$LANG.template_default}</label> </td>
							  <td >
				        				<select name="default_screen" id="default_screen" tabindex="{smartyTabIndex}">
										{foreach key=template item=css_arr from=$template_arr}
				          					<optgroup label="{$template|replace:'_':' '}">
											{foreach key=css_key item=css from=$css_arr}
				          						<option value="{$css}" {if $css eq $CFG.html.stylesheet.screen.admindefault}selected="selected"{/if}>{$css|replace:'_':' '}</option>
											{/foreach}
											</optgroup>
										{/foreach}
				        				</select>
                                    </td>
						 </tr>
						 <tr>
							<td>
								<label for="logo_url">{$LANG.template_allowed}</label> </td>
							<td >
     							<table>
                                        <th>{$LANG.template_templates}</th>
                                        <th>{$LANG.template_css}</th>
                                         {foreach key=keyvalue item=tempvalue from=$total_details}
                                              <tr>
                                                  <td>
                                                       <input type="checkbox" name="temp_arr[]" id="temp_arr[]" value="{$tempvalue}" {$myobj->isCheckBoxChecked($tempvalue, $myobj->getFormField('temp_arr'))}>{$tempvalue|replace:'_':' '}
                                                  </td>
                                                  <td>
                                                  {assign var="css_arr" value=$myobj->populateCssDetails($tempvalue)}
                                                  {foreach key=cssvalue item=cvalue from=$css_arr}
                                                       {assign var="disp_css" value=$cvalue|replace:'_':' '}
											<input type="checkbox" name="css_arr[]" id="css_arr[]" value="{$cvalue}" {$myobj->isCheckBoxChecked($cvalue, $myobj->getFormField('css_arr'))}>{$disp_css|replace:'.css':''}
                                                       <br>
                                                  {/foreach}
                                                  </td>
                                                  </tr>
                                        {/foreach}
                                        </table>
                                   </td>
						</tr>
						<tr>
						<td></td>
						<td>
							<input type="submit" class="clsSubmitButton" name="edit_submit" id="edit_submit" tabindex="{smartyTabIndex}" value="{$LANG.common_update}" />
							<input type="reset" class="clsCancelButton" name="reset" id="reset" tabindex="{smartyTabIndex}" value="{$LANG.reset}" /></td>
						</tr>
						</table>
					</div>
				</form>
			</div>
		{/if}
	</div>
</div>