Portal details updated when customer record is updated. See #32
[PHPCredLocker.git] / conf / notifications.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?php 
/** Notifications definition file
*
* Copyright (C) 2012 B Tasker
* Released under GNU GPL V2
* See LICENSE
*
*/
 
$notifs->HomePageTextNotLoggedIn->className = 'HomePgText';
$notifs->HomePageTextNotLoggedIn->text = 'You must log in to use this system';
 
 
$notifs->HomePageTextLoggedIn->className = 'HomePgText';
$notifs->HomePageTextLoggedIn->text = 'Welcome to PHPCredLocker, please use the menus to proceed';
 
$notifs->CustPortalFail->className = 'alert alert-info';
$notifs->CustPortalFail->text = "The customer has been successfully updated, but the customer portal record could not be updated. The customer will need to continue to use their old details";
 
 
$notifs->addCustSuccess->className = 'alert alert-success';
$notifs->addCustSuccess->text = 'Customer added successfully';
 
$notifs->addCustFail->className = 'alert alert-error';
$notifs->addCustFail->text = 'Customer not added - is the name unique?';
 
$notifs->EditCustSuccess->className = 'alert alert-success';
$notifs->EditCustSuccess->text = 'Customer edited successfully';
 
$notifs->NoSuchCustomer->className = 'alert alert-error';
$notifs->NoSuchCustomer->text = "The Specified Record doesn't exist (or you don't have access to it)";
 
$notifs->EditCustFail->className = 'alert alert-error';
$notifs->EditCustFail->text = 'Customer not edited, something went wrong';
 
$notifs->addCredSuccess->className = 'alert alert-success';
$notifs->addCredSuccess->text = "Credential Stored successfully";
 
$notifs->addCredFail->className = 'alert alert-error';
$notifs->addCredFail->text = 'Credential Failed to Store';
 
$notifs->addGroupSuccess->className = 'alert alert-success';
$notifs->addGroupSuccess->text = 'Group Successfully Stored';
 
$notifs->addGroupFail->className = "alert alert-error";
$notifs->addGroupFail->text = 'Group not Stored';
 
$notifs->addCredTypeSuccess->className = 'alert alert-success';
$notifs->addCredTypeSuccess->text = 'Credential Type Stored';
 
$notifs->addCredTypeFail->className = "alert alert-error";
$notifs->addCredTypeFail->text = 'Credential Type Not Stored';
 
$notifs->NoCredTypes->className = 'alert alert-info';
$notifs->NoCredTypes->text = "You need to specify some Credential Types in System Settings before you can add Credentials<script type='text/javascript'>noCredTypes();</script>";
$notifs->NoCredTypes->id = 'CredTypeNeedsAdding';
 
$notifs->UserStoreSuccess->className = 'alert alert-success';
$notifs->UserStoreSuccess->text = 'User Stored Successfully';
 
$notifs->UserStoreFail->className = 'alert alert-error';
$notifs->UserStoreFail->text = 'User Failed to Store';
 
$notifs->KeyGenerationFailed->className = 'alert alert-error';
$notifs->KeyGenerationFailed->text = 'Unable to add Crypto Key to config file. You <b>must</b> do this manually before you can add creds to this CredType';
 
 
$notifs->UserGroupStoreFail->className = 'alert alert-error';
$notifs->UserGroupStoreFail->text = 'User stored but unable to create a user specific group';
 
 
$notifs->UserGroupLinkFail->className = 'alert alert-error';
$notifs->UserGroupLinkFail->text = 'User and User-specific group created, but unable to link the two';
 
 
/** Following are generally triggered by the request URI var notif but can be called by views etc as well  **/
 
 
$notifs->LoginSuccess->className = 'alert alert-success';
$notifs->LoginSuccess->text = 'Logged in Successfully';
 
 
$notifs->LoginFailed->className = 'alert alert-error';
$notifs->LoginFailed->text = 'Invalid Username or Password';
 
 
$notifs->InvalidSession->className = 'alert alert-error';
$notifs->InvalidSession->text = 'Your session is invalid (it may have expired), please log-in to continue';
 
$notifs->LoggedOut->className = 'alert alert-info';
$notifs->LoggedOut->text = 'You have been logged out';
 
$notifs->frmTokenInvalid->className = 'alert alert-error';
$notifs->frmTokenInvalid->text = 'Invalid Form Token';
 
 
?>