<?php
// +-------------------------------------------------+
// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: fiche.tpl.php,v 1.13 2025/12/03 07:27:54 dgoron Exp $

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

global $form_edit_fiche, $form_reindex, $form_search, $current_module, $msg, $charset, $base_path;

$form_edit_fiche = "
<script src='javascript/ajax.js'></script>		
<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='".get_url_icon('left.gif')."' alt='".htmlentities($msg['fiche_precedente'],ENT_QUOTES,$charset)."' title='".htmlentities($msg['fiche_precedente'],ENT_QUOTES,$charset)."' hspace='6' class='align_top' border='0' />
		<img !!visibility_suiv!! !!action_suiv!! src='".get_url_icon('right.gif')."' alt='".htmlentities($msg['fiche_suivante'],ENT_QUOTES,$charset)."' title='".htmlentities($msg['fiche_suivante'],ENT_QUOTES,$charset)."' hspace='6' class='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>
<!-- focus -->
";

$form_reindex = "
<form class='form-$current_module' name='formulaire' action='$base_path/fichier.php?categ=reindex&action=run' method='post'>
	<h3>".htmlentities($msg['fichier_reindex_title'],ENT_QUOTES,$charset)."</h3>
	<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)."' />
	</div>
</form>
";