<?
global $lang;
?>
<fieldset>
	<script>
		$(document).ready(function() {
			$("#tabs").tabs();
		});
	</script>
  
	<div id="tabs">
		<ul>
			<?
			if ( is_array( $this -> _language ) ) foreach ( $this -> _language as $language )
			{
				?>
				<li><a href="#lang_<?=$language['id'];?>"><span><?=$language['name'];?></span></a></li>
				<?
			}
			?>
		</ul>
		<?
		if ( is_array( $this -> _language ) ) foreach ( $this -> _language as $language )
		{
			?>
			<div id="lang_<?=$language['id'];?>">
        
        <div class="edit_line">
          <label><?=ucfirst( $lang -> getTrans( 'T_TYTUL' ) );?>:</label>
          <div class="input">
            <?=$this -> secureHTML( $language['title'] );?>            
          </div>
        </div>
        
        <div class="edit_line">
          <label><?=ucfirst( $lang -> getTrans( 'T_META_OPIS' ) );?>:</label>
          <div class="input">
            <?=$language['meta_description'];?>          
          </div>
        </div>
        
        <div class="edit_line">
          <label><?=ucfirst( $lang -> getTrans( 'T_META_SLOWA_KLUCZOWE' ) );?>:</label>
          <div class="input">
            <?=$language['meta_keywords'];?>       
          </div>
        </div>
        
        <div class="edit_line">
          <label><?=ucfirst( $lang -> getTrans( 'T_TRESC' ) );?>:</label>
          <div class="input">
            <?=$language['text'];?>  
          </div>
        </div>
        
			</div>
			<?
		}
		?>
	</div>
</fieldset>