<div id="popup_zgoraj"></div>
	<div id="popup_sredina">
		<div id="editor_naslov">
		{topmenu}  :  {modul}  :  <img src="{template_dir}/img/i_nov_vnos.png">  <h1>{detail_naslov}</h1>
		</div>
		<br>
		<div id="editor_levi">
			<!-- START BLOCK : navigation_tabs -->
			<div class="{tab_class}">
				<!-- START BLOCK : navigation_tabs_tick -->
					<img src="{template_dir}/img/g_kljukica.png">
				<!-- END BLOCK : navigation_tabs_tick -->
				<div>{tab_link}</div>
			</div>
			<!-- END BLOCK : navigation_tabs -->
			
			<div id="editor_history">
				<hr />
				<!-- START BLOCK : prvi_vnos -->
				{lang_editor_prvivnos}:<br />
				{cas}<br />
				{uporabnik}
				<!-- END BLOCK : prvi_vnos -->
				<hr />
				<!-- START BLOCK : zadnja_sprememba -->
				{lang_editor_zadnjasprememba}:<br />
				{cas}<br />
				{uporabnik}
				<!-- END BLOCK : zadnja_sprememba -->
				<hr />
				<a href="#" onclick="zgodovina_sprememb('on')">{lang_editor_history}</a>
			</div>
		</div>
		<div id="editor_lang">
			<!-- START BLOCK : lang_zavihek -->
			<div class="{jezik_class}"><a href="#" onclick="editor_language('{jezik}')">{jezik_big}</a></div>
			<!-- END BLOCK : lang_zavihek -->
		</div>
		<!-- START BLOCK : stopnja -->
		<form id="editor_form">
		<div id="editor_desni">
			<h1>{title}</h1>
			<hr />
			<p>
				<!-- START BLOCK : top_opozorilo -->
				{lang_editor_obveznapolja}<br />{lang_editor_velikecrke}
				<!-- START BLOCK : top_opozorilo -->
				<!-- START BLOCK : top_opozorilo_custom -->
				{custom_opozorilo}
				<!-- START BLOCK : top_opozorilo_custom -->
			</p>
			<img src="{template_dir}/img/c_editor_horizontalna.png" style="padding: 5px 0px 5px 0px" />
			<!-- START BLOCK : razdelek -->
			<div class="editor_input_oddelek">
					<table width="100%" border="0" cellspacing="0" cellpadding="0"{unique}>
						
						<!-- START BLOCK : custom_editor -->
							
							<!-- START BLOCK : dostop_modul_pravice -->
							<tr>	
								<th></th>
								<th></th>
							</tr>
							<!-- START BLOCK : dostop_modul_pravice_moduli -->
							<tr>
								<td>&nbsp;</td>
								<td>
									<div class="f_left width160">
										Modul {modul}
									</div>
									<div class="f_left editor_locevalna">
										<img src="{template_dir}/img/c_editor_vertikalna.png" />
									</div>
									<div class="f_left">
										<select name="{ids}_moduls" class="editor_input_select">
											<option value=""{ni_vrednost]>{lang_editor_izberi}</option>
											<option value="1"{vrednost_1}>{lang_editor_readwrite}</option>
											<option value="2"{vrednost_2}>{lang_editor_read}</option>
											<option value="3"{vrednost_3}>{lang_editor_noacess}</option>
										</select>
									</div>
								</td>
							</tr>
							<!-- END BLOCK : dostop_modul_pravice_moduli -->
							<!-- END BLOCK : dostop_modul_pravice -->
							
						<!-- END BLOCK : custom_editor -->
						
						<!-- START BLOCK : zakljucek -->
						<tr>	
							<th>&nbsp;</th>
							<th>{opomba}</th>
						</tr>
						<tr>	
							<th>&nbsp;</th>
							<th><span class="opozorilo">{opozorilo}</span></th>
						</tr>
						<!-- END BLOCK : zakljucek -->
						<!-- START BLOCK : polje -->
						<tr>	
							<th>&nbsp;</th>
							<th>{naziv} <span id="{name}_opozorilo" class="opozorilo"></span></th>
						</tr>
						<tr>
							<td class="{langclass}"><p>{jezik}</p></td>
							<td>{polje}</td>
						</tr>
						<!-- END BLOCK : polje -->
						<!-- START BLOCK : slika_polje -->
						<tr>
							<td width="65">
								<!-- START BLOCK : slika_polje_slika -->
								<img src="{slika}" />
								<!-- END BLOCK : slika_polje_slika -->
								<!-- START BLOCK : slika_polje_video -->
								<img src="{template_dir}/img/video.gif" />
								<!-- END BLOCK : slika_polje_video -->
							</td>
							<td valign="top">
								<div class="slika">          	
									<div class="slike_control">
										<a href="#" onclick="{slika_izbris}"><img src="{template_dir}/img/i_zbrisi.png" /></a>
										<!-- START BLOCK : slika_polje_vrstni_red -->
						<a href="javascript: void(0)" onclick="vrstni_red_galerija('down', {id}); return false"><img src="{template_dir}/img/i_dol.png" /></a>
						<a href="javascript: void(0)" onclick="vrstni_red_galerija('up', {id}); return false"><img src="{template_dir}/img/i_gor.png" /></a>
						<a href="javascript: void(0)" onclick="vrstni_red_galerija('bottom', {id}); return false"><img src="{template_dir}/img/i_nadno.png" /></a>
						<a href="javascript: void(0)" onclick="vrstni_red_galerija('top', {id}); return false"><img src="{template_dir}/img/i_navrh.png" /></a>
										<!-- END BLOCK : slika_polje_vrstni_red -->          
									</div>
									<h2>{slika_name}</h2>
								</div>
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<!-- START BLOCK : slika_polje_box -->
									<tr>
										<td class="{langclass}"><p>{jezik}</p></td>
										<td>{polje}</td>
									</tr>
									<!-- END BLOCK : slika_polje_box -->
								</table>
							</td>
						</tr>
						<!-- END BLOCK : slika_polje -->
						<!-- START BLOCK : datoteka_polje -->
						<tr>
							<td width="25"><img src="{template_dir}/img/ikone_datotek/{ikona}" /></td>
							<td valign="top">
								<div class="slika">          	
									<div class="slike_control">
										<a href="#" onclick="remove_datoteka('{id}')"><img src="{template_dir}/img/i_zbrisi.png" /></a>
									</div>
									<h2>{datoteka_name}</h2>
								</div>
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<!-- START BLOCK : slika_polje_box -->
									<tr>
										<td class="{langclass}"><p>{jezik}</p></td>
										<td>{polje}</td>
									</tr>
									<!-- END BLOCK : slika_polje_box -->
								</table>
							</td>
						</tr>
						<!-- END BLOCK : datoteka_polje -->
					</table>
					<input type="hidden" id="lang" value="{lang}"/>
					<input type="hidden" class="richeditor" value="{richeditor}"/>
					<input type="hidden" id="selectdatum" value="{selectdatum}"/>
					<input type="hidden" id="editid" value="{editid}"/>
					<input type="hidden" id="stopnja" value="{trenutna_stopnja}"/>
			</div>
				<!-- START BLOCK : field_dodaj -->
				<div class="editor_input_dodaj">
					<input type="hidden" name="num_fields" id="num_fields" value="{num_fields}"/>
					<input type="hidden" id="num_old_fields" value="{num_old_fields}"/>
					<input type="hidden" id="field_name" value="{field_name}"/>
					<input type="button" value="Dodaj novo polje" onclick="dodajPolje('{target}');"/>
				</div>      
				<!-- END BLOCK : field_dodaj -->
				<!-- START BLOCK : slika_dodaj -->
				<div class="editor_input_dodaj">
					<div>
						<!--<input type="button" id="upload_button" value="{napis}" onclick="InstallUpload('{tip}')"/>-->
						<div id="knof_upload_position" class="opozorilo"><div id="knof_upload"></div><span id="upload_status"></span><span id="upload_procent"></span></div>
						<input type="hidden" id="tip" value="{tip}"/>
						<input type="hidden" id="session" value="{session}"/>
						<input type="hidden" id="file_types" value="{file_types}"/>
						<input type="hidden" id="file_max_size" value="{max_size}"/>
						<!-- START BLOCK : obvazno_polje -->
						<input type="hidden" class="required" value=""/>
						<!-- END BLOCK : obvazno_polje -->
						<!--<span class="opozorilo">
							<span id="upload_status"></span><span id="upload_procent"></span>
						</span>-->
					</div>
					<img src="{template_dir}/img/empty.png" alt="" onload="InstallUpload('{tip}')"/>
				</div>
				<!-- END BLOCK : slika_dodaj -->
				<!-- START BLOCK : flash_dodaj -->
				<div class="editor_input_dodaj">
					<div>
						<input type="button" id="upload_button" value="{napis}" onclick="file_browser('on', '{path}')"/>

						<span class="opozorilo">
							<span id="upload_status"></span><span id="upload_procent"></span>
						</span>
					</div>
				</div>
				<!-- END BLOCK : flash_dodaj -->
				<!-- START BLOCK : presledek -->
					<img src="{template_dir}/img/c_editor_horizontalna_dvojna.png" style="padding: 5px 0px 5px 0px" />
					<h2>{naslov}</h2>
					<hr />
				<!-- END BLOCK : presledek -->
			<!-- END BLOCK : razdelek -->
			</div>
			<div id="editor_desni_spodaj">&nbsp;</div>
			<div id="editor_spodaj_nav">
				<!-- START BLOCK : navigation_left -->
				<div class="f_left">
					<a href="#" onclick="editor_check({stopnja})"><img src="{template_dir}/img/g_nazaj.png" /></a> <a href="#" onclick="editor_check({stopnja})"><b>{navigacija}</b></a>
				</div>
				<!-- END BLOCK : navigation_left -->
				<!-- START BLOCK : navigation_right -->
				<div class="f_right">
					<a href="#" onclick="editor_check({stopnja})"><b>{navigacija}</b></a> <a href="#" onclick="editor_check({stopnja})"><img src="{template_dir}/img/g_naprej.png" /></a>
				</div>
				<!-- START BLOCK : navigation_right -->
			</div>
			<div id="editor_spodaj">
			<div class="f_left">
				<!-- START BLOCK : gumb_vosnutke -->
				<input type="button" value="{lang_editor_vosnutke}" class="button" onclick="osnutek($F('editid')); editor_zapri();"/>
				<!-- START BLOCK : gumb_vosnutke -->
				<!-- START BLOCK : gumb_objavi -->
				<input type="button" value="{lang_editor_objavi}" class="button" onclick="editor_save(0, 'objava')"/>
				<!-- END BLOCK : gumb_objavi -->
			</div>
			<div class="f_right">
				<!-- START BLOCK : gumb_zapri -->
				<input type="button" value="{lang_editor_zapri}" class="button" onclick="editor_zapri()"/>
				<!-- START BLOCK : gumb_zapri -->
				<input type="button" value="{lang_editor_zbrisi}" class="button" onclick="editor_delete()"/>
			</div>
		</div>
		</form>
		<!-- END BLOCK : stopnja -->
		<div class="clear"></div>
</div>
<div id="popup_spodaj"></div>
<div id="popup_blank"></div>