source: trunk/admin/include/isadmin.inc.php @ 351

Last change on this file since 351 was 351, checked in by gweltas, 20 years ago

Template modification
Split of the french language file

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1<?php
2/***************************************************************************
3 *                              isadmin.inc.php                            *
4 *                            -------------------                          *
5 *   application   : PhpWebGallery 1.3 <http://phpwebgallery.net>          *
6 *   author        : Pierrick LE GALL <pierrick@z0rglub.com>               *
7 *                                                                         *
8 *   $Id: isadmin.inc.php 351 2004-02-07 11:50:26Z gweltas $
9 *                                                                         *
10 ***************************************************************************
11
12 ***************************************************************************
13 *                                                                         *
14 *   This program is free software; you can redistribute it and/or modify  *
15 *   it under the terms of the GNU General Public License as published by  *
16 *   the Free Software Foundation;                                         *
17 *                                                                         *
18 ***************************************************************************/
19
20include( './admin/include/functions.php' );
21
22$isadmin = true;
23include_once( './language/'.$user['language'].'/lang_admin.php' );
24
25if ( $user['status'] != 'admin' )
26{
27  echo '<div style="text-align:center;">'.$lang['access_forbiden'].'<br />';
28  echo '<a href="./identification.php">'.$lang['ident_title'].'</a></div>';
29  exit();
30}
31?>
Note: See TracBrowser for help on using the repository browser.