diff options
Diffstat (limited to 'mod/editpost.php')
-rw-r--r-- | mod/editpost.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/editpost.php b/mod/editpost.php index f25d6d21d..7cc33d60d 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -50,6 +50,7 @@ function editpost_content(&$a) { '$geotag' => $geotag, '$nickname' => $channel['channel_address'], '$expireswhen' => t('Expires YYYY-MM-DD HH:MM'), + '$confirmdelete' => t('Delete item?'), )); @@ -114,7 +115,7 @@ function editpost_content(&$a) { '$pvisit' => 'none', '$public' => t('Public post'), '$jotnets' => $jotnets, - '$title' => htmlspecialchars($itm[0]['title']), + '$title' => htmlspecialchars($itm[0]['title'],ENT_COMPAT,'UTF-8'), '$placeholdertitle' => t('Set title'), '$category' => $category, '$placeholdercategory' => t('Categories (comma-separated list)'), @@ -132,6 +133,8 @@ function editpost_content(&$a) { '$expires' => t('Set expiration date'), '$feature_encrypt' => 'none', '$encrypt' => t('Encrypt text'), + '$expiryModalOK' => t('OK'), + '$expiryModalCANCEL' => t('Cancel'), )); return $o; |