-
Notifications
You must be signed in to change notification settings - Fork 8
/
ossn_com.php
25 lines (21 loc) · 885 Bytes
/
ossn_com.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
<?php
/**
* OpenSource-SocialNetwork
*
* @package http://www.webbehinds.com
* @author Sathish kumar S<info@opensource-socialnetwork.com>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
*/
/* Define Paths */
define('__OSSN_VERIF__', ossn_route()->com . 'verified-account/');
function verified_account_init() {
if (ossn_isLoggedin()) {
ossn_register_action('verified/user', __OSSN_VERIF__ . 'actions/user/verified.php');
ossn_register_action('unverify/user', __OSSN_VERIF__ . 'actions/user/unverify.php');
}
ossn_extend_view('css/ossn.default', 'css/verified-account');
ossn_extend_view('js/opensource.socialnetwork', 'js/jquery.tipsy');
}
ossn_register_callback('ossn', 'init', 'verified_account_init');