line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Labyrinth::Plugin::Core; |
2
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
58026
|
use warnings; |
|
5
|
|
|
|
|
8
|
|
|
5
|
|
|
|
|
148
|
|
4
|
5
|
|
|
5
|
|
19
|
use strict; |
|
5
|
|
|
|
|
6
|
|
|
5
|
|
|
|
|
189
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '5.17'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
#---------------------------------------------------------------------------- |
9
|
|
|
|
|
|
|
# Libraries |
10
|
|
|
|
|
|
|
|
11
|
5
|
|
|
5
|
|
20
|
use base qw(Labyrinth::Plugin::Base); |
|
5
|
|
|
|
|
5
|
|
|
5
|
|
|
|
|
4581
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
use Labyrinth::Variables; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
#---------------------------------------------------------------------------- |
16
|
|
|
|
|
|
|
# Public Interface Functions |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub Editor { return unless AccessUser(EDITOR); } |
19
|
|
|
|
|
|
|
sub Publisher { return unless AccessUser(PUBLISHER); } |
20
|
|
|
|
|
|
|
sub Admin { return unless AccessUser(ADMIN); } |
21
|
|
|
|
|
|
|
sub Master { return unless AccessUser(MASTER); } |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |