-
Notifications
You must be signed in to change notification settings - Fork 1
/
alertsLib.php
50 lines (44 loc) · 1.03 KB
/
alertsLib.php
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
function alertMissingFields($errmsg)
{
?>
<div class="alert alert-danger alert-dismissible">
<button type="button" class="close" data-dismiss="alert" style="padding-right:10px;">×</button>
<?php echo $errmsg; ?>
</div>
<?php
}
?>
<?php
function fieldExist($errmsg)
{
?>
<div class="alert alert-danger alert-dismissible">
<button type="button" class="close" data-dismiss="alert" style="padding-right:10px;border:0px;">×</button>
<?php echo $errmsg; ?>
</div>
<?php
}
?>
<?php
function errorAlert($errmsg)
{
?>
<div class="alert alert-danger alert-dismissible">
<button type="button" class="close" data-dismiss="alert" style="padding-right:10px;">×</button>
<?php echo $errmsg; ?>
</div>
<?php
}
?>
<?php
function successAlert($errmsg)
{
?>
<div class="alert alert-success alert-dismissible">
<button type="button" class="close" data-dismiss="alert" style="padding-right:10px;">×</button>
<?php echo $errmsg; ?>
</div>
<?php
}
?>