-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcatalog.php
More file actions
executable file
·50 lines (41 loc) · 1.25 KB
/
catalog.php
File metadata and controls
executable file
·50 lines (41 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
// +-------------------------------------------------+
// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: catalog.php,v 1.23 2015-07-07 11:52:51 jpermanne Exp $
// définition du minimum nécéssaire
$base_path=".";
$base_auth = "CATALOGAGE_AUTH";
$base_title = "\$msg[6]";
$base_use_dojo = 1;
require_once ("$base_path/includes/init.inc.php");
// pour droit UNIQUE d'ajout de notices
if ((SESSrights & RESTRICTCATAL_AUTH)
&& ($categ!="create")
&& ($categ!="create_form")
&& ($categ!="update")
&& ($categ!="explnum_update")
&& ($categ!="explnum_create")
&& ($categ!="isbd")
) {
$sub="";
$categ="create";
}
// modules propres à catalog.php ou à ses sous-modules
include("$include_path/templates/expl.tpl.php");
require("$include_path/templates/catalog.tpl.php");
print "<div id='att' style='z-Index:1000'></div>";
print $menu_bar;
print $extra;
print $extra2;
print $extra_info;
if ($use_shortcuts) include("$include_path/shortcuts/circ.sht");
if ($categ!="caddie") {
print $catalog_layout;
}
include("./catalog/catalog.inc.php");
print alert_sound_script();
print $catalog_layout_end;
print $footer;
// deconnection MYSql
pmb_mysql_close($dbh);