<? $this->load->view( $this->aSystemVar['template_viewer_root'] . 'admin/_header') ?>

	<div class="bigCaption">Translate to <?=$data['LocLang']['Title']?></div>

	<? if (!empty($data['Msg'])) : ?>
	<div style="border:1px solid #C0C0C0;margin:10px;padding:5px;">
		<strong><?=$data['Msg']?></strong>
	</div>
	<? endif; ?>
	
	<div style="border:1px solid #C0C0C0;margin:10px;padding:5px;">
		<div>
			<? if ( 0 < count($data['CompCategory']) ) : ?>
				<div><strong>Category:</strong></div>
				<div>Title</div>
				<div style="padding:2px;width:70%;border:1px solid #C0C0C0;"><?=$data['CompCategory']['Title']?></div>
				<div>Description</div>
				<div style="padding:2px;width:70%;border:1px solid #C0C0C0;"><?=$data['CompCategory']['Description']?></div>
				<div>Keywords</div>
				<div style="padding:2px;width:70%;border:1px solid #C0C0C0;"><?=$data['CompCategory']['Keywords']?></div>
			<? endif; ?>
			<?= form_open('admin/category_trans') ?>
				<div style="margin-top:20px;"><strong>Translation:</strong></div>
				<input type="hidden" name="CatLang" value="<?=$data['LocLang']['BaseName']?>" />
				<input type="hidden" name="CatId" value="<?=$data['Category']['Id']?>" />
				<div>Title</div>
				<div>
					<input type="text" name="CatTitle" value="<?=@$data['LocCategory']['Title']?>" style="width:70%;" />
				</div>
				<div>Description</div>
				<div><textarea name="CatDesc" style="width:70%;height:80px;"><?=@$data['LocCategory']['Description']?></textarea></div>
				<div>Keywords</div>
				<div>
					<input type="text" name="CatKey" value="<?=@$data['LocCategory']['Keywords']?>" style="width:70%;" />
				</div>
				<div style="padding:5px;">
					<input type="submit" name="Go" value="Go" />
				</div>
			</div>
			<?= form_close() ?>
		</div>
	</div>

<? $this->load->view( $this->aSystemVar['template_viewer_root'] . 'admin/_footer') ?>