Ver código fonte

#24 - layout updates.

AntonLV 13 anos atrás
pai
commit
31841e29da

+ 1 - 1
modules/boonex/timeline/classes/BxTimelineMenuItem.php

@@ -64,7 +64,7 @@ class BxTimelineMenuItem extends BxTemplMenu {
     		'content_id' => $aEvent['id'],
     		'share_onclick' => $this->_oModule->serviceGetShareJsClick($iOwnerId, $sType, $sAction, $iObjectId),
     		'comment_onclick' => $this->_oModule->_oConfig->getJsObject('view') . ".commentItem(this, '" . $sCommentsSystem . "', " . $aEvent['id'] . ")",
-    		'comment_count' => (int)$this->_aEvent['comments']['count'] > 0 ? (int)$this->_aEvent['comments']['count'] : 0,
+    		'comment_count' => (int)$this->_aEvent['comments']['count'] > 0 ? (int)$this->_aEvent['comments']['count'] : '',
     		'vote_onclick' => $sVotesOnclick
 		));    	
     }

+ 1 - 1
modules/boonex/timeline/install/langs/en.xml

@@ -112,7 +112,7 @@
 	<string name="_bx_timeline_txt_shared_link"><![CDATA[shared a link]]></string>
 	<string name="_bx_timeline_txt_added_photo"><![CDATA[added a photo]]></string>
 	<string name="_bx_timeline_txt_added_photos"><![CDATA[added photos]]></string>
-	<string name="_bx_timeline_txt_common_text"><![CDATA[text]]></string>
+	<string name="_bx_timeline_txt_common_text"><![CDATA[post]]></string>
 	<string name="_bx_timeline_txt_common_link"><![CDATA[link]]></string>
 	<string name="_bx_timeline_txt_common_photo"><![CDATA[photo]]></string>