X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Feditpost.php;h=3b8c1128193b2e4ddc195efd4eabfdc1ba61ba6b;hb=8b20af6ef536e34c3bc9c412cbffa4cf9c0cea53;hp=258e2e0b15652d5390f3419e86f1b69016864a18;hpb=5c3bce30d65ad219030a84e57f3336cc69f21ead;p=friendica.git diff --git a/mod/editpost.php b/mod/editpost.php index 258e2e0b15..3b8c112819 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -106,7 +106,7 @@ function editpost_content(&$a) { $o .= replace_macros($tpl,array( '$return_path' => $_SESSION['return_url'], '$action' => 'item', - '$share' => t('Edit'), + '$share' => t('Save'), '$upload' => t('Upload photo'), '$shortupload' => t('upload photo'), '$attach' => t('Attach file'), @@ -133,7 +133,7 @@ function editpost_content(&$a) { '$emailcc' => t('CC: email addresses'), '$public' => t('Public post'), '$jotnets' => $jotnets, - '$title' => $itm[0]['title'], + '$title' => htmlspecialchars($itm[0]['title']), '$placeholdertitle' => t('Set title'), '$category' => file_tag_file_to_list($itm[0]['file'], 'category'), '$placeholdercategory' => (feature_enabled(local_user(),'categories') ? t('Categories (comma-separated list)') : ''),