BxOrgsConfig.php 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup Organizations Organizations
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxOrgsConfig extends BxBaseModGroupsConfig
  12. {
  13. function __construct($aModule)
  14. {
  15. parent::__construct($aModule);
  16. $this->_aMenuItems2MethodsSubmenu = array_merge($this->_aMenuItems2MethodsSubmenu, array(
  17. 'organization-profile-friends' => 'checkAllowedFriendsView',
  18. 'organization-profile-relations' => 'checkAllowedRelationsView',
  19. 'organization-profile-subscriptions' => 'checkAllowedSubscriptionsView'
  20. ));
  21. $this->_aMenuItems2MethodsActions = array_merge($this->_aMenuItems2MethodsActions, array(
  22. 'view-organization-profile' => 'checkAllowedView',
  23. 'edit-organization-profile' => 'checkAllowedEdit',
  24. 'organization-manage' => 'checkAllowedEdit',
  25. 'edit-organization-cover' => 'checkAllowedChangeCover',
  26. 'edit-organization-badge' => 'checkAllowedChangeBadge',
  27. 'invite-to-organization' => 'checkAllowedInvite',
  28. 'delete-organization-profile' => 'checkAllowedDelete',
  29. 'profile-friends' => 'checkAllowedFriends',
  30. 'profile-friend-add' => 'checkAllowedFriendAdd',
  31. 'profile-friend-remove' => 'checkAllowedFriendRemove',
  32. 'profile-relations' => 'checkAllowedRelations',
  33. 'profile-relation-add' => 'checkAllowedRelationAdd',
  34. 'profile-relation-remove' => 'checkAllowedRelationRemove',
  35. 'profile-set-acl-level' => 'checkAllowedSetMembership',
  36. 'messenger' => 'checkAllowedCompose',
  37. ));
  38. $this->CNF = array_merge($this->CNF, array (
  39. // module icon
  40. 'ICON' => 'building',
  41. // database tables
  42. 'TABLE_ENTRIES' => $aModule['db_prefix'] . 'data',
  43. 'TABLE_ENTRIES_FULLTEXT' => 'search_fields',
  44. 'TABLE_ADMINS' => $aModule['db_prefix'] . 'admins',
  45. 'TABLE_INVITES' => $aModule['db_prefix'] . 'invites',
  46. 'TABLE_PRICES' => $aModule['db_prefix'] . 'prices',
  47. // database fields
  48. 'FIELD_ID' => 'id',
  49. 'FIELD_AUTHOR' => 'author',
  50. 'FIELD_ADDED' => 'added',
  51. 'FIELD_CHANGED' => 'changed',
  52. 'FIELD_NAME' => 'org_name',
  53. 'FIELD_TITLE' => 'org_name',
  54. 'FIELD_TEXT' => 'org_desc',
  55. 'FIELD_CATEGORY' => 'org_cat',
  56. 'FIELD_PICTURE' => 'picture',
  57. 'FIELD_COVER' => 'cover',
  58. 'FIELD_COVER_POSITION' => 'cover_data',
  59. 'FIELD_BADGE' => 'badge',
  60. 'FIELD_BADGE_LINK' => 'badge_link',
  61. 'FIELD_BADGE_LINK_SELECT' => 'badge_link_select',
  62. 'FIELD_BADGE_LINK_CUSTOM' => 'badge_link_custom',
  63. 'FIELD_JOIN_CONFIRMATION' => 'join_confirmation',
  64. 'FIELD_ALLOW_VIEW_TO' => 'allow_view_to',
  65. 'FIELD_ALLOW_POST_TO' => 'allow_post_to',
  66. 'FIELD_ALLOW_CONTACT_TO' => 'allow_contact_to',
  67. 'FIELD_VIEWS' => 'views',
  68. 'FIELD_VOTES' => 'votes',
  69. 'FIELD_REACTIONS' => 'rvotes',
  70. 'FIELD_SCORE' => 'score',
  71. 'FIELD_SCORE_UP' => 'sc_up',
  72. 'FIELD_SCORE_DOWN' => 'sc_down',
  73. 'FIELD_COMMENTS' => 'comments',
  74. 'FIELD_STATUS' => 'status',
  75. 'FIELDS_QUICK_SEARCH' => array('org_name'),
  76. 'FIELD_LOCATION' => 'location',
  77. 'FIELD_LOCATION_PREFIX' => 'location',
  78. 'FIELD_LABELS' => 'labels',
  79. 'FIELD_MULTICAT' => 'multicat',
  80. 'FIELDS_WITH_KEYWORDS' => 'auto', // can be 'auto', array of fields or comma separated string of field names, works only when OBJECT_METATAGS is specified
  81. 'FIELD_PRICE_ROLE_ID' => 'role_id',
  82. 'FIELD_PRICE_NAME' => 'name',
  83. // page URIs
  84. 'URI_VIEW_ENTRY' => 'view-organization-profile',
  85. 'URI_VIEW_FRIENDS' => 'organization-profile-friends',
  86. 'URI_VIEW_FRIEND_REQUESTS' => 'organization-friend-requests',
  87. 'URI_VIEW_RELATIONS' => 'organization-profile-relations',
  88. 'URI_VIEW_FAVORITES' => 'organization-profile-favorites',
  89. 'URI_ADD_ENTRY' => 'create-organization-profile',
  90. 'URI_EDIT_ENTRY' => 'edit-organization-profile',
  91. 'URI_JOIN_ENTRY' => 'join-organization-profile',
  92. 'URI_JOINED_ENTRIES' => 'joined-organizations',
  93. 'URI_MANAGE_COMMON' => 'organizations-manage',
  94. 'URI_VIEW_SUBSCRIPTIONS' => 'organization-profile-subscriptions',
  95. 'URI_FAVORITES_LIST' => 'organizations-favorites',
  96. 'URL_HOME' => 'page.php?i=organizations-home',
  97. 'URL_CREATE' => 'page.php?i=create-organization-profile',
  98. 'URL_ENTRY_FANS' => 'page.php?i=organization-profile-fans',
  99. 'URL_ENTRY_MANAGE' => 'page.php?i=organization-manage',
  100. 'URL_MANAGE_COMMON' => 'page.php?i=organizations-manage',
  101. 'URL_MANAGE_ADMINISTRATION' => 'page.php?i=organizations-administration',
  102. // some params
  103. 'ALLOW_AS_CONTEXT' => true,
  104. 'PARAM_AUTOAPPROVAL' => 'bx_organizations_autoapproval',
  105. 'PARAM_ENABLE_ACTIVATION_LETTER' => 'bx_organizations_enable_profile_activation_letter',
  106. 'PARAM_DEFAULT_ACL_LEVEL' => 'bx_organizations_default_acl_level',
  107. 'PARAM_NUM_RSS' => 'bx_organizations_num_rss',
  108. 'PARAM_NUM_CONNECTIONS_QUICK' => 'bx_organizations_num_connections_quick',
  109. 'PARAM_SEARCHABLE_FIELDS' => 'bx_organizations_searchable_fields',
  110. 'PARAM_PER_PAGE_BROWSE_SHOWCASE' => 'bx_organizations_per_page_browse_showcase',
  111. 'PARAM_PER_PAGE_BROWSE_RECOMMENDED' => 'bx_organizations_per_page_browse_recommended',
  112. 'PARAM_MMODE' => 'bx_organizations_members_mode',
  113. 'PARAM_PAID_JOIN_ENABLED' => true,
  114. 'PARAM_RECURRING_RESERVE' => 3, // 3 days for recurring payment to be registered
  115. 'PARAM_FRIENDS' => 'bx_organizations_friends',
  116. 'PARAM_PUBLIC_SBSN' => 'bx_organizations_public_subscriptions',
  117. 'PARAM_PUBLIC_SBSD' => 'bx_organizations_public_subscribed_me',
  118. 'PARAM_SBS_WO_JOIN' => 'bx_organizations_enable_subscribe_wo_join',
  119. 'PARAM_REDIRECT_AADD' => 'bx_organizations_redirect_aadd',
  120. 'PARAM_REDIRECT_AADD_CUSTOM_URL' => 'bx_organizations_redirect_aadd_custom_url',
  121. 'PARAM_MULTICAT_ENABLED' => true,
  122. 'PARAM_MULTICAT_AUTO_ACTIVATION_FOR_CATEGORIES' => 'bx_organizations_auto_activation_for_categories',
  123. 'PARAM_PER_PAGE_FOR_FAVORITES_LISTS' => 'bx_organizations_per_page_for_favorites_lists',
  124. 'PARAM_USE_IN' => 'bx_organizations_internal_notifications',
  125. // objects
  126. 'OBJECT_STORAGE' => 'bx_organizations_pics',
  127. 'OBJECT_STORAGE_COVER' => 'bx_organizations_pics',
  128. 'OBJECT_STORAGE_BADGE' => 'bx_organizations_pics',
  129. 'OBJECT_IMAGES_TRANSCODER_THUMB' => 'bx_organizations_thumb',
  130. 'OBJECT_IMAGES_TRANSCODER_ICON' => 'bx_organizations_icon',
  131. 'OBJECT_IMAGES_TRANSCODER_AVATAR' => 'bx_organizations_avatar',
  132. 'OBJECT_IMAGES_TRANSCODER_AVATAR_BIG' => 'bx_organizations_avatar_big',
  133. 'OBJECT_IMAGES_TRANSCODER_PICTURE' => 'bx_organizations_picture',
  134. 'OBJECT_IMAGES_TRANSCODER_COVER' => 'bx_organizations_cover',
  135. 'OBJECT_IMAGES_TRANSCODER_COVER_THUMB' => 'bx_organizations_cover_thumb',
  136. 'OBJECT_IMAGES_TRANSCODER_GALLERY' => 'bx_organizations_gallery',
  137. 'OBJECT_IMAGES_TRANSCODER_BADGE' => 'bx_organizations_badge',
  138. 'OBJECT_VIEWS' => 'bx_organizations',
  139. 'OBJECT_VOTES' => 'bx_organizations',
  140. 'OBJECT_REACTIONS' => 'bx_organizations_reactions',
  141. 'OBJECT_SCORES' => 'bx_organizations',
  142. 'OBJECT_FAVORITES' => 'bx_organizations',
  143. 'OBJECT_FEATURED' => 'bx_organizations',
  144. 'OBJECT_COMMENTS' => 'bx_organizations',
  145. 'OBJECT_NOTES' => 'bx_organizations_notes',
  146. 'OBJECT_REPORTS' => 'bx_organizations',
  147. 'OBJECT_METATAGS' => 'bx_organizations',
  148. 'OBJECT_CATEGORY' => 'bx_organizations_cats',
  149. 'OBJECT_FORM_ENTRY' => 'bx_organization',
  150. 'OBJECT_FORM_ENTRY_DISPLAY_VIEW' => 'bx_organization_view',
  151. 'OBJECT_FORM_ENTRY_DISPLAY_VIEW_FULL' => 'bx_organization_view_full', // for "info" tab on view profile page
  152. 'OBJECT_FORM_ENTRY_DISPLAY_ADD' => 'bx_organization_add',
  153. 'OBJECT_FORM_ENTRY_DISPLAY_EDIT' => 'bx_organization_edit',
  154. 'OBJECT_FORM_ENTRY_DISPLAY_EDIT_COVER' => 'bx_organization_edit_cover',
  155. 'OBJECT_FORM_ENTRY_DISPLAY_EDIT_BADGE' => 'bx_organization_edit_badge',
  156. 'OBJECT_FORM_ENTRY_DISPLAY_DELETE' => 'bx_organization_delete',
  157. 'OBJECT_FORM_ENTRY_DISPLAY_INVITE' => 'bx_organization_invite',
  158. 'OBJECT_FORM_PRICE' => 'bx_organizations_price',
  159. 'OBJECT_FORM_PRICE_DISPLAY_ADD' => 'bx_organizations_price_add',
  160. 'OBJECT_FORM_PRICE_DISPLAY_EDIT' => 'bx_organizations_price_edit',
  161. 'OBJECT_MENU_ACTIONS_VIEW_ENTRY' => 'bx_organizations_view_actions', // actions menu on view entry page
  162. 'OBJECT_MENU_ACTIONS_VIEW_ENTRY_MORE' => 'bx_organizations_view_actions_more', // actions menu on view entry page for "more" popup
  163. 'OBJECT_MENU_ACTIONS_VIEW_ENTRY_ALL' => 'bx_organizations_view_actions_all', // all actions menu on view entry page
  164. 'OBJECT_MENU_ACTIONS_MY_ENTRIES' => 'bx_organizations_my', // actions menu on profile entries page
  165. 'OBJECT_MENU_SUBMENU' => 'bx_organizations_submenu', // main module submenu
  166. 'OBJECT_MENU_SUBMENU_VIEW_ENTRY' => 'bx_organizations_view_submenu', // view entry submenu
  167. 'OBJECT_MENU_SUBMENU_VIEW_ENTRY_MAIN_SELECTION' => 'organizations-home', // first item in view entry submenu from main module submenu
  168. 'OBJECT_MENU_MANAGE_VIEW_ENTRY' => '',
  169. 'OBJECT_MENU_VIEW_ENTRY_META' => 'bx_organizations_view_meta', // meta menu on view entry page
  170. 'OBJECT_MENU_SNIPPET_META' => 'bx_organizations_snippet_meta', // menu for snippet meta info
  171. 'OBJECT_MENU_MANAGE_TOOLS' => 'bx_organizations_menu_manage_tools', //manage menu in content administration tools
  172. 'OBJECT_PAGE_VIEW_ENTRY' => 'bx_organizations_view_profile',
  173. 'OBJECT_PAGE_VIEW_ENTRY_CLOSED' => 'bx_organizations_view_profile_closed',
  174. 'OBJECT_PAGE_JOINED_ENTRY' => 'bx_organizations_join_profile',
  175. 'OBJECT_PRIVACY_VIEW' => 'bx_organizations_allow_view_to',
  176. 'OBJECT_PRIVACY_LIST_VIEW' => 'bx_organizations_allow_view_favorite_list',
  177. 'OBJECT_PRIVACY_VIEW_NOTIFICATION_EVENT' => 'bx_organizations_allow_view_notification_to',
  178. 'OBJECT_PRIVACY_POST' => 'bx_organizations_allow_post_to',
  179. 'OBJECT_PRIVACY_CONTACT' => 'bx_organizations_allow_contact_to',
  180. 'OBJECT_GRID_ADMINISTRATION' => 'bx_organizations_administration',
  181. 'OBJECT_GRID_COMMON' => 'bx_organizations_common',
  182. 'OBJECT_GRID_CONNECTIONS' => 'bx_organizations_fans',
  183. 'OBJECT_GRID_INVITES' => 'bx_organizations_invites',
  184. 'OBJECT_GRID_PRICES_MANAGE' => 'bx_organizations_prices_manage',
  185. 'OBJECT_GRID_PRICES_VIEW' => 'bx_organizations_prices_view',
  186. 'OBJECT_CONNECTIONS' => 'bx_organizations_fans',
  187. 'OBJECT_UPLOADERS_COVER' => array('bx_organizations_cover_crop'),
  188. 'OBJECT_UPLOADERS_PICTURE' => array('bx_organizations_picture_crop'),
  189. 'OBJECT_UPLOADERS_BADGE' => array('bx_organizations_badge_crop'),
  190. 'OBJECT_PRE_LIST_ROLES' => 'bx_organizations_roles',
  191. 'OBJECT_PRE_LIST_PERIOD_UNITS' => 'bx_organizations_period_units',
  192. 'BADGES_AVALIABLE' => true,
  193. 'INVITES_KEYS_LIFETIME' => 86400,
  194. 'EMAIL_FRIEND_REQUEST' => 'bx_organizations_friend_request',
  195. 'EMAIL_INVITATION' => 'bx_organizations_invitation',
  196. 'EMAIL_JOIN_REQUEST' => 'bx_organizations_join_request',
  197. 'EMAIL_JOIN_CONFIRM' => 'bx_organizations_join_confirm',
  198. 'EMAIL_FAN_BECOME_ADMIN' => 'bx_organizations_fan_become_admin',
  199. 'EMAIL_ADMIN_BECOME_FAN' => 'bx_organizations_admin_become_fan',
  200. 'EMAIL_FAN_SET_ROLE' => 'bx_organizations_set_role',
  201. 'EMAIL_FAN_REMOVE' => 'bx_organizations_fan_remove',
  202. 'EMAIL_JOIN_REJECT' => 'bx_organizations_join_reject',
  203. 'TRIGGER_MENU_PROFILE_VIEW_SUBMENU' => 'trigger_profile_view_submenu',
  204. 'TRIGGER_MENU_PROFILE_SNIPPET_META' => 'trigger_profile_snippet_meta',
  205. 'TRIGGER_MENU_PROFILE_VIEW_ACTIONS' => 'trigger_profile_view_actions',
  206. 'TRIGGER_PAGE_VIEW_ENTRY' => 'trigger_page_profile_view_entry',
  207. // menu items which visibility depends on custom visibility checking
  208. 'MENU_ITEM_TO_METHOD' => array (
  209. 'bx_organizations_view_submenu' => $this->_aMenuItems2MethodsSubmenu,
  210. 'bx_organizations_view_actions' => $this->_aMenuItems2MethodsActions,
  211. 'bx_organizations_view_actions_more' => $this->_aMenuItems2MethodsActions,
  212. 'bx_organizations_view_actions_all' => $this->_aMenuItems2MethodsActions,
  213. ),
  214. // informer messages
  215. 'INFORMERS' => array (
  216. 'status' => array (
  217. 'name' => 'bx-organizations-status-not-active',
  218. 'map' => array (
  219. BX_PROFILE_STATUS_PENDING => '_bx_orgs_txt_account_pending',
  220. BX_PROFILE_STATUS_SUSPENDED => '_bx_orgs_txt_account_suspended',
  221. ),
  222. ),
  223. 'status_moderation' => array (
  224. 'name' => 'bx-organizations-status-not-active-moderation',
  225. 'map' => array (
  226. BX_PROFILE_STATUS_PENDING => '_bx_orgs_txt_account_pending_moderation',
  227. BX_PROFILE_STATUS_SUSPENDED => '_bx_orgs_txt_account_suspended_moderation',
  228. ),
  229. ),
  230. ),
  231. // some language keys
  232. 'T' => array (
  233. 'txt_sample_single' => '_bx_orgs_txt_sample_single',
  234. 'txt_sample_comment_single' => '_bx_orgs_txt_sample_comment_single',
  235. 'txt_sample_vote_single' => '_bx_orgs_txt_sample_vote_single',
  236. 'txt_sample_score_up_single' => '_bx_orgs_txt_sample_score_up_single',
  237. 'txt_sample_score_down_single' => '_bx_orgs_txt_sample_score_down_single',
  238. 'txt_sample_pp_single' => '_bx_orgs_txt_sample_pp_single',
  239. 'txt_sample_pp_single_with_article' => '_bx_orgs_txt_sample_pp_single_with_article',
  240. 'txt_sample_pc_single' => '_bx_orgs_txt_sample_pc_single',
  241. 'txt_sample_pc_single_with_article' => '_bx_orgs_txt_sample_pc_single_with_article',
  242. 'txt_sample_pi_action' => '_bx_orgs_txt_sample_pi_action',
  243. 'txt_sample_pi_action_user' => '_bx_orgs_txt_sample_pi_action_user',
  244. 'txt_private_group' => '_bx_orgs_txt_private_organization',
  245. 'txt_group_participants' => '_bx_orgs_ps_group_title_participants',
  246. 'txt_N_fans' => '_bx_orgs_txt_N_friends',
  247. 'txt_ntfs_join_invitation' => '_bx_orgs_txt_ntfs_join_invitation',
  248. 'txt_ntfs_join_request' => '_bx_orgs_txt_ntfs_join_request',
  249. 'txt_ntfs_join_request_for_owner' => '_bx_orgs_txt_ntfs_join_request_for_owner',
  250. 'txt_ntfs_accept_request' => '_bx_orgs_txt_ntfs_accept_request',
  251. 'txt_ntfs_accept_request_for_owner' => '_bx_orgs_txt_ntfs_accept_request_for_owner',
  252. 'txt_ntfs_fan_added' => '_bx_orgs_txt_ntfs_fan_added',
  253. 'txt_ntfs_timeline_post_common' => '_bx_orgs_txt_ntfs_timeline_post_common',
  254. 'option_members_mode_multi_roles' => '_bx_orgs_option_members_mode_multi_roles',
  255. 'txt_all_entries_by_author' => '_bx_orgs_page_title_browse_by_author',
  256. 'form_field_picture' => '_bx_orgs_form_profile_input_picture_search',
  257. 'form_field_online' => '_bx_orgs_form_profile_input_online_search',
  258. 'menu_item_title_pay_and_join' => '_bx_orgs_menu_item_title_pay_and_join',
  259. 'menu_item_title_befriend_sent' => '_bx_orgs_menu_item_title_befriend_sent',
  260. 'menu_item_title_unfriend_cancel_request' => '_bx_orgs_menu_item_title_unfriend_cancel_request',
  261. 'menu_item_title_befriend_confirm' => '_bx_orgs_menu_item_title_befriend_confirm',
  262. 'menu_item_title_unfriend_reject_request' => '_bx_orgs_menu_item_title_unfriend_reject_request',
  263. 'menu_item_title_befriend' => '_bx_orgs_menu_item_title_befriend',
  264. 'menu_item_title_unfriend' => '_bx_orgs_menu_item_title_unfriend',
  265. 'menu_item_title_sm_fans' => '_bx_orgs_menu_item_title_fans',
  266. 'menu_item_title_sm_join' => '_bx_orgs_menu_item_title_become_fan',
  267. 'menu_item_title_sm_join_requested' => '_bx_orgs_menu_item_title_become_fan_sent',
  268. 'menu_item_title_sm_leave' => '_bx_orgs_menu_item_title_leave_organization',
  269. 'menu_item_title_sm_leave_cancel' => '_bx_orgs_menu_item_title_leave_organization_cancel_request',
  270. 'menu_item_manage_my' => '_bx_orgs_menu_item_title_manage_my',
  271. 'menu_item_manage_all' => '_bx_orgs_menu_item_title_manage_all',
  272. 'grid_action_err_delete' => '_bx_orgs_grid_action_err_delete',
  273. 'grid_txt_account_manager' => '_bx_orgs_grid_txt_account_manager',
  274. 'filter_item_active' => '_bx_orgs_grid_filter_item_title_adm_active',
  275. 'filter_item_pending' => '_bx_orgs_grid_filter_item_title_adm_pending',
  276. 'filter_item_suspended' => '_bx_orgs_grid_filter_item_title_adm_suspended',
  277. 'filter_item_unconfirmed' => '_bx_orgs_grid_filter_item_title_adm_unconfirmed',
  278. 'filter_item_select_one_filter1' => '_bx_orgs_grid_filter_item_title_adm_select_one_filter1',
  279. 'filter_item_select_one_filter2' => '_bx_orgs_grid_filter_item_title_adm_select_one_filter2',
  280. 'txt_browse_favorites' => '_bx_orgs_page_title_browse_favorites',
  281. 'option_redirect_aadd_profile' => '_bx_orgs_option_redirect_aadd_profile',
  282. 'option_redirect_aadd_last' => '_bx_orgs_option_redirect_aadd_last',
  283. 'option_redirect_aadd_custom' => '_bx_orgs_option_redirect_aadd_custom',
  284. 'option_redirect_aadd_homepage' => '_bx_orgs_option_redirect_aadd_homepage',
  285. 'option_activation_on' => '_bx_orgs_option_activation_on',
  286. 'option_activation_off' => '_bx_orgs_option_activation_off',
  287. 'option_activation_add' => '_bx_orgs_option_activation_add',
  288. 'option_activation_edit' => '_bx_orgs_option_activation_edit',
  289. 'txt_invitation_popup_title' => '_bx_orgs_txt_invite_popup_title',
  290. 'txt_invitation_popup_text' => '_bx_orgs_txt_invite_popup_text',
  291. 'txt_invitation_popup_accept_button' => '_bx_orgs_txt_invite_popup_button_accept',
  292. 'txt_invitation_popup_decline_button' => '_bx_orgs_txt_invite_popup_button_decline',
  293. 'txt_invitation_popup_error_invitation_absent' => '_bx_orgs_txt_invite_popup_error_invitation_absent',
  294. 'txt_invitation_popup_error_wrong_user' => '_bx_orgs_txt_invite_popup_error_invitation_wrong_user',
  295. 'txt_n_unit' => '_bx_orgs_txt_n_unit',
  296. 'txt_buy_title' => '_bx_orgs_grid_action_title_buy_title',
  297. 'txt_cart_item_title' => '_bx_orgs_txt_cart_item_title',
  298. 'txt_cart_item_title_lifetime' => '_bx_orgs_txt_cart_item_title_lifetime',
  299. 'txt_subscribe_title' => '_bx_orgs_grid_action_title_subscribe_title',
  300. 'popup_title_price_add' => '_bx_orgs_popup_title_price_add',
  301. 'popup_title_price_edit' => '_bx_orgs_popup_title_price_edit',
  302. 'msg_performed' => '_bx_orgs_msg_performed',
  303. 'err_period_unit' => '_bx_orgs_form_price_input_err_period_unit',
  304. 'err_price_duplicate' => '_bx_orgs_err_price_duplicate',
  305. 'err_cannot_perform' => '_bx_orgs_err_cannot_perform',
  306. ),
  307. ));
  308. $this->_aJsClasses = array(
  309. 'main' => 'BxOrgsMain',
  310. 'manage_tools' => 'BxOrgsManageTools',
  311. 'categories' => 'BxDolCategories',
  312. 'invite_popup' => 'BxOrgsInvitePopup',
  313. 'prices' => 'BxOrgsPrices'
  314. );
  315. $this->_aJsObjects = array(
  316. 'main' => 'oBxOrgsMain',
  317. 'manage_tools' => 'oBxOrgsManageTools',
  318. 'categories' => 'oBxDolCategories',
  319. 'invite_popup' => 'oBxOrgsInvitePopup',
  320. 'prices' => 'oBxOrgsPrices'
  321. );
  322. $this->_aGridObjects = array(
  323. 'common' => $this->CNF['OBJECT_GRID_COMMON'],
  324. 'administration' => $this->CNF['OBJECT_GRID_ADMINISTRATION'],
  325. );
  326. }
  327. protected function _initUseCoverAsThumb()
  328. {
  329. return false;
  330. }
  331. }
  332. /** @} */