CNF = array ( 'ICON' => 'clock-o col-green1', // database tables 'TABLE_ENTRIES' => $aModule['db_prefix'] . 'events', // database fields 'FIELD_ID' => 'id', 'FIELD_OWNER_ID' => 'owner_id', 'FIELD_ADDED' => 'date', 'FIELD_TITLE' => 'title', 'FIELD_TEXT' => 'description', 'FIELD_LOCATION_PREFIX' => 'location', // objects 'OBJECT_COMMENTS' => $this->_sName, 'OBJECT_VIEWS' => $this->_sName, 'OBJECT_VOTES' => $this->_sName, 'OBJECT_REPORTS' => $this->_sName, // some language keys 'T' => array ( 'txt_sample_single' => '_bx_timeline_txt_sample', 'txt_sample_single_ext' => '_bx_timeline_txt_sample_ext', 'txt_sample_comment_single' => '_bx_timeline_txt_sample_comment_single', 'txt_sample_vote_single' => '_bx_timeline_txt_sample_vote_single', ), ); $this->_aPrefixes = array( 'style' => 'bx-tl', 'language' => '_bx_timeline', 'option' => 'bx_timeline_', 'common_post' => 'timeline_common_' ); $this->_aObjects = array_merge($this->_aObjects, array( 'comment' => $this->CNF['OBJECT_COMMENTS'], 'view' => $this->CNF['OBJECT_VIEWS'], 'vote' => $this->CNF['OBJECT_VOTES'], 'report' => $this->CNF['OBJECT_REPORTS'], 'metatags' => $this->_sName, 'storage_photos' => $this->_sName . '_photos', 'storage_videos' => $this->_sName . '_videos', 'transcoder_photos_preview' => $this->_sName . '_photos_preview', 'transcoder_photos_view' => $this->_sName . '_photos_view', 'transcoder_videos_poster' => $this->_sName . '_videos_poster', 'transcoder_videos_mp4' => $this->_sName . '_videos_mp4', 'transcoder_videos_webm' => $this->_sName . '_videos_webm', 'menu_item_manage' => $this->_sName . '_menu_item_manage', 'menu_item_actions' => $this->_sName . '_menu_item_actions', 'menu_post_attachments' => $this->_sName . '_menu_post_attachments', 'form_post' => $this->_sName . '_post', 'form_attach_link' => $this->_sName . '_attach_link', 'form_display_post_add' => $this->_sName . '_post_add', 'form_display_post_add_public' => $this->_sName . '_post_add_public', 'form_display_attach_link_add' => $this->_sName . '_attach_link_add' )); $this->_aHandlerDescriptor = array('module_name' => '', 'module_method' => '', 'module_class' => '', 'groupable' => '', 'group_by' => ''); $this->_sHandlersMethod = 'get_timeline_data'; $this->_aPhotoUploaders = array($this->_sName . '_simple_photo'); $this->_aVideoUploaders = array($this->_sName . '_simple_video'); $this->_bJsMode = false; $this->_aJsClasses = array( 'main' => 'BxTimelineMain', 'view' => 'BxTimelineView', 'post' => 'BxTimelinePost', 'repost' => 'BxTimelineRepost' ); $this->_aJsObjects = array( 'view' => 'oTimelineView', 'post' => 'oTimelinePost', 'repost' => 'oTimelineRepost' ); $sHp = str_replace('_', '-', $this->_sName); $sHpT = BX_TIMELINE_VIEW_TIMELINE; $sHpO = BX_TIMELINE_VIEW_OUTLINE; $sHpS = BX_TIMELINE_VIEW_SEARCH; $this->_aHtmlIds = array( 'view' => array( 'main_' . $sHpT => $sHp . '-' . $sHpT, 'item_' . $sHpT => $sHp . '-item-' . $sHpT . '-', 'photo_popup_' . $sHpT => $sHp . '-photo-popup-' . $sHpT, 'main_' . $sHpO => $sHp . '-' . $sHpO, 'item_' . $sHpO => $sHp . '-item-' . $sHpO . '-', 'photo_popup_' . $sHpO => $sHp . '-photo-popup-' . $sHpO, 'main_' . $sHpS => $sHp . '-' . $sHpS, 'photo_popup_' . $sHpS => $sHp . '-photo-popup-' . $sHpS, 'main_item' => $sHp . '-item', 'menu_popup' => $sHp . '-menu-popup-', ), 'post' => array( 'attach_link_popup' => $sHp . '-attach-link-popup', 'attach_link_form_field' => $sHp . '-attach-link-form_field', 'attach_link_item' => $sHp . '-attach-link-item-', 'main_' . $sHpT => $sHp . '-' . $sHpT, 'main_' . $sHpO => $sHp . '-' . $sHpO, ), 'repost' => array( 'main' => $sHp . '-repost-', 'counter' => $sHp . '-repost-counter-', 'by_popup' => $sHp . '-repost-by-', ) ); $this->_aRepostDefaults = array( 'show_do_repost_as_button' => false, 'show_do_repost_as_button_small' => false, 'show_do_repost_icon' => true, 'show_do_repost_label' => false, 'show_counter' => true ); $this->_iTimelineVisibilityThreshold = 0; $this->_aPregPatterns = array( "meta_title" => "/