AntonLV 8 лет назад
Родитель
Сommit
64c351ba87

+ 6 - 0
modules/boonex/persons/classes/BxPersonsConfig.php

@@ -161,6 +161,12 @@ class BxPersonsConfig extends BxBaseModProfileConfig
             'T' => array (
                 'txt_sample_single' => '_bx_persons_txt_sample_single',
             	'txt_sample_comment_single' => '_bx_persons_txt_sample_comment_single',
+            	'txt_sample_pp_single' => '_bx_persons_txt_sample_pp_single',
+            	'txt_sample_pp_single_with_article' => '_bx_persons_txt_sample_pp_single_with_article',
+                'txt_sample_pc_single' => '_bx_persons_txt_sample_pc_single',
+            	'txt_sample_pc_single_with_article' => '_bx_persons_txt_sample_pc_single_with_article',
+            	'txt_sample_pi_action' => '_bx_persons_txt_sample_pi_action',
+            	'txt_sample_pi_action_user' => '_bx_persons_txt_sample_pi_action_user',
                 'txt_N_fans' => '_bx_persons_txt_N_friends',
             	'txt_ntfs_timeline_post_common' => '_bx_persons_txt_ntfs_timeline_post_common',
                 'menu_item_title_befriend_sent' => '_bx_persons_menu_item_title_befriend_sent',

+ 0 - 5
modules/boonex/persons/classes/BxPersonsModule.php

@@ -21,11 +21,6 @@ class BxPersonsModule extends BxBaseModProfileModule
         $this->_aSearchableNamesExcept[] = $this->_oConfig->CNF['FIELD_AUTHOR'];
     }
 
-    public function serviceGetTimelineData()
-    {
-    	return array();
-    }
-
     public function servicePrepareFields ($aFieldsProfile)
     {
         return parent::_servicePrepareFields($aFieldsProfile, array(), array('fullname' => 'name'));

+ 1 - 0
modules/boonex/persons/install/config.php

@@ -141,6 +141,7 @@ $aConfig = array(
      * Connections Section
      */
     'relations' => array(
+    	'bx_timeline',
         'bx_notifications',
     ),
 );

+ 7 - 0
modules/boonex/persons/install/langs/en.xml

@@ -259,6 +259,13 @@
     <string name="_bx_persons_txt_ntfs_timeline_post_common"><![CDATA[New post <b class="bx-ntfs-content-entry">{subentry_sample}</b> in <b class="bx-ntfs-content-profile">{owner_name}</b> profile timeline]]></string>
     <string name="_bx_persons_txt_sample_single"><![CDATA[person]]></string>
     <string name="_bx_persons_txt_sample_comment_single"><![CDATA[comment to person]]></string>
+    <string name="_bx_persons_txt_sample_pp_single"><![CDATA[profile picture]]></string>
+    <string name="_bx_persons_txt_sample_pp_single_with_article"><![CDATA[a profile picture]]></string>
+    <string name="_bx_persons_txt_sample_pc_single"><![CDATA[profile cover]]></string>
+    <string name="_bx_persons_txt_sample_pc_single_with_article"><![CDATA[a profile cover]]></string>
+    <string name="_bx_persons_txt_sample_pi_action"><![CDATA[changed {0}]]></string>
+    <string name="_bx_persons_txt_sample_pi_action_user"><![CDATA[{0} changed {1}]]></string>
+    
 
     <string name="_bx_persons_email_friend_request"><![CDATA[Friend request]]></string>
     <string name="_bx_persons_email_friend_request_subject"><![CDATA[Friendship Request]]></string>

+ 6 - 0
modules/boonex/russian/data/langs/bx_persons/ru.xml

@@ -261,6 +261,12 @@
     <string name="_bx_persons_txt_ntfs_timeline_post_common"><![CDATA[В профайле <b class="bx-ntfs-content-profile">{owner_name}</b> новая публикация <b class="bx-ntfs-content-entry">{subentry_sample}</b>]]></string>
     <string name="_bx_persons_txt_sample_single"><![CDATA[Персона]]></string>
     <string name="_bx_persons_txt_sample_comment_single"><![CDATA[комментарий к персональному профилю]]></string>
+    <string name="_bx_persons_txt_sample_pp_single"><![CDATA[изображение профиля]]></string>
+    <string name="_bx_persons_txt_sample_pp_single_with_article"><![CDATA[изображение профиля]]></string>
+    <string name="_bx_persons_txt_sample_pc_single"><![CDATA[обложка профиля]]></string>
+    <string name="_bx_persons_txt_sample_pc_single_with_article"><![CDATA[обложка профиля]]></string>
+    <string name="_bx_persons_txt_sample_pi_action"><![CDATA[сменил(а) {0}]]></string>
+    <string name="_bx_persons_txt_sample_pi_action_user"><![CDATA[{0} сменил(а) {1}]]></string>
 
     <string name="_bx_persons_email_friend_request"><![CDATA[Запрос на добавление в друзья]]></string>
     <string name="_bx_persons_email_friend_request_subject"><![CDATA[Подружиться]]></string>