Make it clear that title and categories are optional
This commit is contained in:
		| @@ -1131,10 +1131,10 @@ function status_editor($a,$x,$popup=false) { | ||||
| 		'$noloc' => t('Clear browser location'), | ||||
| 		'$shortnoloc' => t('clear location'), | ||||
| 		'$title' => ((x($x,'title')) ? htmlspecialchars($x['title'], ENT_COMPAT,'UTF-8') : ''), | ||||
| 		'$placeholdertitle' => t('Set title'), | ||||
| 		'$placeholdertitle' => t('Title (optional)'), | ||||
| 		'$catsenabled' => ((feature_enabled($x['profile_uid'],'categories') && (! $webpage)) ? 'categories' : ''), | ||||
| 		'$category' => "", | ||||
| 		'$placeholdercategory' => t('Categories (comma-separated list)'), | ||||
| 		'$placeholdercategory' => t('Categories (optional, comma-separated list)'), | ||||
| 		'$wait' => t('Please wait'), | ||||
| 		'$permset' => t('Permission settings'), | ||||
| 		'$shortpermset' => t('permissions'), | ||||
|   | ||||
| @@ -161,10 +161,10 @@ function editblock_content(&$a) { | ||||
| 		'$public'              => t('Public post'), | ||||
| 		'$jotnets'             => $jotnets, | ||||
| 		'$title'               => htmlspecialchars($itm[0]['title'],ENT_COMPAT,'UTF-8'), | ||||
| 		'$placeholdertitle'    => t('Set title'), | ||||
| 		'$placeholdertitle'    => t('Title (optional)'), | ||||
| 		'$pagetitle'           => $block_title, | ||||
| 		'$category'            => '', | ||||
| 		'$placeholdercategory' => t('Categories (comma-separated list)'), | ||||
| 		'$placeholdercategory' => t('Categories (optional, comma-separated list)'), | ||||
| 		'$emtitle'             => t('Example: bob@example.com, mary@example.com'), | ||||
| 		'$lockstate'           => $lockstate, | ||||
| 		'$acl'                 => '',  | ||||
|   | ||||
| @@ -156,10 +156,10 @@ function editlayout_content(&$a) { | ||||
| 		'$public'              => t('Public post'), | ||||
| 		'$jotnets'             => $jotnets, | ||||
| 		'$title'               => htmlspecialchars($itm[0]['title'],ENT_COMPAT,'UTF-8'), | ||||
| 		'$placeholdertitle'    => t('Set title'), | ||||
| 		'$placeholdertitle'    => t('Title (optional)'), | ||||
| 		'$pagetitle'           => $layout_title, | ||||
| 		'$category'            => '', | ||||
| 		'$placeholdercategory' => t('Categories (comma-separated list)'), | ||||
| 		'$placeholdercategory' => t('Categories (optional, comma-separated list)'), | ||||
| 		'$emtitle'             => t('Example: bob@example.com, mary@example.com'), | ||||
| 		'$lockstate'           => $lockstate, | ||||
| 		'$acl'                 => '',  | ||||
|   | ||||
| @@ -129,9 +129,9 @@ function editpost_content(&$a) { | ||||
| 		'$public' => t('Public post'), | ||||
| 		'$jotnets' => $jotnets, | ||||
| 		'$title' => htmlspecialchars($itm[0]['title'],ENT_COMPAT,'UTF-8'), | ||||
| 		'$placeholdertitle' => t('Set title'), | ||||
| 		'$placeholdertitle' => t('Title (optional)'), | ||||
| 		'$category' => $category, | ||||
| 		'$placeholdercategory' => t('Categories (comma-separated list)'), | ||||
| 		'$placeholdercategory' => t('Categories (optional, comma-separated list)'), | ||||
| 		'$emtitle' => t('Example: bob@example.com, mary@example.com'), | ||||
| 		'$lockstate' => $lockstate, | ||||
| 		'$acl' => '',  | ||||
|   | ||||
| @@ -195,9 +195,9 @@ function editwebpage_content(&$a) { | ||||
| 		'$mimeselect' => $mimeselect, | ||||
| 		'$layoutselect' => $layoutselect, | ||||
| 		'$title' => htmlspecialchars($itm[0]['title'],ENT_COMPAT,'UTF-8'), | ||||
| 		'$placeholdertitle' => t('Set title'), | ||||
| 		'$placeholdertitle' => t('Title (optional)'), | ||||
| 		'$category' => '', | ||||
| 		'$placeholdercategory' => t('Categories (comma-separated list)'), | ||||
| 		'$placeholdercategory' => t('Categories (optional, comma-separated list)'), | ||||
| 		'$emtitle' => t('Example: bob@example.com, mary@example.com'), | ||||
| 		'lockstate' => (((strlen($itm[0]['allow_cid'])) || (strlen($itm[0]['allow_gid'])) || (strlen($itm[0]['deny_cid'])) || (strlen($itm[0]['deny_gid']))) ? 'lock' : 'unlock'), | ||||
| 		'$bang' => '', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user