<?php
// +-------------------------------------------------+
// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: fiche.tpl.php,v 1.3 2010-09-20 07:32:00 ngantier Exp $

if (stristr($_SERVER['REQUEST_URI'], ".tpl.php")) die("no access");

$form_edit_fiche = "
<form class='form-$current_module' name='formulaire' action='!!form_action!!' method='post'>
	<input type='hidden' name='act' value=''/>
	<input type='hidden' id='idfiche' name='idfiche' value='!!hidden_id!!'>
	<h3>!!form_titre!!
		&nbsp;
		<img !!visibility_prec!! !!action_prec!! src='./images/left.gif' alt='".htmlentities($msg['fiche_precedente'],ENT_QUOTES,$charset)."' title='".htmlentities($msg['fiche_precedente'],ENT_QUOTES,$charset)."' hspace='6' align='top' border='0'>
		<img !!visibility_suiv!! !!action_suiv!! src='./images/right.gif' alt='".htmlentities($msg['fiche_suivante'],ENT_QUOTES,$charset)."' title='".htmlentities($msg['fiche_suivante'],ENT_QUOTES,$charset)."' hspace='6' align='top' border='0'>
	</h3>
	
	<div class='form-contenu'>
		!!perso_fields!!
	</div>
	<div class='row'>
		<div class='left'>
			!!btn_cancel!!
			!!btn!!
		</div>
		<div class='right'>
			!!btn_del!!
		</div>
	</div>
	<div class='row'></div>
</form>
";

$form_reindex = "
<form class='form-$current_module' name='formulaire' action='$base_path/fichier.php?categ=gerer&mode=reindex&sub=reindex' method='post'>
	<h3>".htmlentities($msg['fichier_reindex_title'],ENT_QUOTES,$charset)."</h3>
	<input type='hidden' name='act' value='' />
	<div class='form-contenu'>
	".htmlentities($msg['fichier_reindex_howto'],ENT_QUOTES,$charset)."
	</div>
	<div class='row'>
		<input type='submit' class='bouton' value='".htmlentities($msg['fichier_reindex_run'],ENT_QUOTES,$charset)."' onclick='this.form.act.value=\"run\";'/>
	</div>
</form>
";

$form_search = "
<form class='form-$current_module' name='formulaire' action='$base_path/fichier.php?categ=consult&mode=search' method='post'>
	<h3>".htmlentities($msg['fichier_search_list'],ENT_QUOTES,$charset)."</h3>
	<input type='hidden' name='act' value='' />
	<div class='form-contenu'>
		<div class='row'>
			<label class='etiquette'>".htmlentities($msg['fichier_saisie_label'],ENT_QUOTES,$charset)."</label>
		</div>
		<div class='row'>
			<input type='text' name='perso_word' class='saisie-50em' value='!!perso_word!!'/>			
		</div>
	</div>
	<div class='row'>
		<input type='submit' class='bouton' value='".htmlentities($msg[142],ENT_QUOTES,$charset)."' onclick='this.form.act.value=\"search\";'/>
	</div>
</form>
<div class='row'>
	<b>!!message_result!!</b>
</div>
";

