]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
use noscrape by default, add opt-out option to disable it
[friendica.git] / mod / editpost.php
index 258e2e0b15652d5390f3419e86f1b69016864a18..3b8c1128193b2e4ddc195efd4eabfdc1ba61ba6b 100644 (file)
@@ -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)') : ''),