Last change
on this file since 351 was
351,
checked in by gweltas, 21 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
|
Rev | Line | |
---|
[2] | 1 | <?php |
---|
| 2 | /*************************************************************************** |
---|
| 3 | * isadmin.inc.php * |
---|
| 4 | * ------------------- * |
---|
[57] | 5 | * application : PhpWebGallery 1.3 <http://phpwebgallery.net> * |
---|
| 6 | * author : Pierrick LE GALL <pierrick@z0rglub.com> * |
---|
[2] | 7 | * * |
---|
[57] | 8 | * $Id: isadmin.inc.php 351 2004-02-07 11:50:26Z gweltas $ |
---|
| 9 | * * |
---|
[2] | 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 | |
---|
[226] | 20 | include( './admin/include/functions.php' ); |
---|
[2] | 21 | |
---|
| 22 | $isadmin = true; |
---|
[351] | 23 | include_once( './language/'.$user['language'].'/lang_admin.php' ); |
---|
[2] | 24 | |
---|
| 25 | if ( $user['status'] != 'admin' ) |
---|
| 26 | { |
---|
| 27 | echo '<div style="text-align:center;">'.$lang['access_forbiden'].'<br />'; |
---|
[226] | 28 | echo '<a href="./identification.php">'.$lang['ident_title'].'</a></div>'; |
---|
[2] | 29 | exit(); |
---|
| 30 | } |
---|
| 31 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.