Browse Source

#23 - Privacy engine (sample update).

AntonLV 13 years ago
parent
commit
278e430fd7
2 changed files with 3 additions and 2 deletions
  1. 1 1
      modules/boonex/english/data/langs/system.xml
  2. 2 1
      samples/BxCmtsMy.php

+ 1 - 1
modules/boonex/english/data/langs/system.xml

@@ -1452,7 +1452,7 @@ Please click "Continue" below to navigate to the home page of the site.]]></stri
 	<string name="_prof_status"><![CDATA[{0} is {1} now]]></string>
 	<string name="_sys_admin_filter"><![CDATA[Filter:]]></string>
 	<string name="_sys_admin_apply"><![CDATA[Apply]]></string>
-	<string name="_sys_ps_group_title_me_only"><![CDATA[Me Only]]></string>
+	<string name="_sys_ps_group_title_me_only"><![CDATA[Me only]]></string>
 	<string name="_sys_ps_group_title_public"><![CDATA[Public]]></string>
 	<string name="_sys_ps_group_title_members"><![CDATA[Members]]></string>
 	<string name="_sys_ps_group_title_connections"><![CDATA[Connections]]></string>

+ 2 - 1
samples/BxCmtsMy.php

@@ -101,7 +101,8 @@ class BxCmtsMy extends BxTemplCmtsView
     	bx_import('BxDolPrivacy');
     	$sFieldName = BxDolPrivacy::getFieldName($sAction);
     	$aFieldDescriptor = BxDolPrivacy::getGroupChooser($sModule, $sAction);
-
+		$aFieldDescriptor['caption'] = '';
+	
     	$oForm->aInputs = bx_array_insert_after(array($sFieldName => $aFieldDescriptor), $oForm->aInputs, 'cmt_text');
     	return $oForm;
     }