1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
descriptions.php
См. документацию.
1<?
3
5{
6 public static function GetDescription()
7 {
8 $tw_disabled = !function_exists("hash_hmac");
9
10 return array(
11 array(
12 "ID" => "Bitrix24Net",
13 "CLASS" => "CSocServBitrix24Net",
14 "NAME" => GetMessage("socserv_bitrix24net_name"),
15 "ICON" => "bitrix24",
16 ),
17 array(
18 "ID" => "Facebook",
19 "CLASS" => "CSocServFacebook",
20 "NAME" => "Facebook",
21 "ICON" => "facebook",
22 ),
23 array(
24 "ID" => "YandexOAuth",
25 "CLASS" => "CSocServYandexAuth",
26 "NAME" => GetMessage("socserv_openid_yandex"),
27 "ICON" => "yandex",
28 ),
29 array(
30 "ID" => "MailRu2",
31 "CLASS" => "CSocServMailRu2",
32 "NAME" => GetMessage("socserv_mailru2_name"),
33 "ICON" => "mailru2",
34 ),
35 array(
36 "ID" => "MyMailRu",
37 "CLASS" => "CSocServMyMailRu",
38 "NAME" => GetMessage("socserv_mailru_name"),
39 "ICON" => "mymailru",
40 ),
41 array(
42 "ID" => "OpenID",
43 "CLASS" => "CSocServOpenID",
44 "NAME" => "OpenID",
45 "ICON" => "openid",
46 ),
47/*
48 array(
49 "ID" => "YandexOpenID",
50 "CLASS" => "CSocServYandex",
51 "NAME" => GetMessage("socserv_openid_yandex_openid"),
52 "ICON" => "yandex",
53 ),
54*/
55 array(
56 "ID" => "MailRuOpenID",
57 "CLASS" => "CSocServMailRu",
58 "NAME" => GetMessage("socserv_mailru_openid_name"),
59 "ICON" => "openid-mail-ru",
60 ),
61 array(
62 "ID" => "Livejournal",
63 "CLASS" => "CSocServLivejournal",
64 "NAME" => "Livejournal",
65 "ICON" => "livejournal",
66 ),
67 array(
68 "ID" => "Liveinternet",
69 "CLASS" => "CSocServLiveinternet",
70 "NAME" => "Liveinternet",
71 "ICON" => "liveinternet",
72 ),
73 array(
74 "ID" => "Blogger",
75 "CLASS" => "CSocServBlogger",
76 "NAME" => "Blogger",
77 "ICON" => "blogger",
78 ),
79 array(
80 "ID" => "Twitter",
81 "CLASS" => "CSocServTwitter",
82 "NAME" => "X",
83 "ICON" => "twitter",
84 "DISABLED" => $tw_disabled,
85 ),
86 array(
87 "ID" => "VKontakte",
88 "CLASS" => "CSocServVKontakte",
89 "NAME" => GetMessage("socserv_vk_name"),
90 "ICON" => "vkontakte",
91 ),
92 array(
93 "ID" => "GoogleOAuth",
94 "CLASS" => "CSocServGoogleOAuth",
95 "NAME" => "Google",
96 "ICON" => "google",
97 ),
98/* array(
99 "ID" => "GooglePlusOAuth",
100 "CLASS" => "CSocServGooglePlusOAuth",
101 "NAME" => "Google+",
102 "ICON" => "google-plus",
103 ), */
104 array(
105 "ID" => "LiveIDOAuth",
106 "CLASS" => "CSocServLiveIDOAuth",
107 "NAME" => "LiveID",
108 "ICON" => "liveid",
109 ),
110 array(
111 "ID" => "Office365",
112 "CLASS" => "CSocServOffice365OAuth",
113 "NAME" => "Office365",
114 "ICON" => "office365",
115 ),
116 array(
117 "ID" => "Odnoklassniki",
118 "CLASS" => "CSocServOdnoklassniki",
119 "NAME" => GetMessage("socserv_odnoklassniki_name"),
120 "ICON" => "odnoklassniki",
121 ),
122 array(
123 "ID" => "Dropbox",
124 "CLASS" => "CSocServDropboxAuth",
125 "NAME" => "Dropbox",
126 "ICON" => "dropbox",
127 ),
128 array(
129 "ID" => "Box",
130 "CLASS" => "CSocServBoxAuth",
131 "NAME" => "Box.com",
132 "ICON" => "box",
133 ),
134 array(
135 "ID" => "apple",
136 "CLASS" => "CSocServApple",
137 "NAME" => "Apple Sign In",
138 "ICON" => "apple",
139 ),
140 array(
141 "ID" => "zoom",
142 "CLASS" => "CSocServZoom",
143 "NAME" => "Zoom",
144 "ICON" => "zoom",
145 ),
146 );
147 }
148}
149
150AddEventHandler("socialservices", "OnAuthServicesBuildList", array("CSocServDescription", "GetDescription"));
static GetDescription()
Определения descriptions.php:6
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
AddEventHandler($FROM_MODULE_ID, $MESSAGE_ID, $CALLBACK, $SORT=100, $FULL_PATH=false)
Определения tools.php:5165
IncludeModuleLangFile($filepath, $lang=false, $bReturnArray=false)
Определения tools.php:3778
GetMessage($name, $aReplace=null)
Определения tools.php:3397