source: pmb4.2/trunk/fuentes/pmb/alert.php

Last change on this file was 815, checked in by jrpelegrina, 4 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1<?php
2// +-------------------------------------------------+
3// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
4// +-------------------------------------------------+
5// $Id: alert.php,v 1.14 2015-04-03 11:16:23 jpermanne Exp $
6
7// définition du minimum nécéssaire
8$base_path=".";                           
9$base_auth = "CIRCULATION_AUTH|CATALOGAGE_AUTH|AUTORITES_AUTH|ADMINISTRATION_AUTH|EDIT_AUTH"; 
10$base_title = "\$msg[5]";
11require_once ("$base_path/includes/init.inc.php"); 
12if(!SESSrights) exit;
13require_once("./alert/message.inc.php");
14if ($current_alert=="circ") {
15        require_once("./alert/resa.inc.php");
16        require_once("./alert/expl_todo.inc.php");             
17        require_once("./alert/empr.inc.php");
18        //pour les alertes de transferts
19        if ($pmb_transferts_actif && (SESSrights & TRANSFERTS_AUTH))
20                require_once ("./alert/transferts.inc.php");
21}
22if ($current_alert=="catalog") {
23        require_once("./alert/tag.inc.php");
24        require_once("./alert/sugg.inc.php");
25}
26
27if ($current_alert=="acquisition") {
28        require_once("./alert/sugg.inc.php");
29}
30if ($current_alert=="demandes") {
31        require_once("./alert/demandes.inc.php");
32}
33
34print "<div id='contenu-frame'><div class='erreur'>$aff_alerte</div></div></body></html>" ;
35
36pmb_mysql_close($dbh);
37
38?>
Note: See TracBrowser for help on using the repository browser.