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