X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Feditpost.php;h=3b8c1128193b2e4ddc195efd4eabfdc1ba61ba6b;hb=56cd53665214a77be9bf191099e48faad3d06288;hp=d6539e10782a55da57068903c8ccc8ef0265572d;hpb=23c873fc515d7a6118f18280beba1c5c117d3746;p=friendica.git diff --git a/mod/editpost.php b/mod/editpost.php index d6539e1078..3b8c112819 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -1,6 +1,6 @@ ' . t("Post to Email") . ''; - } + }*/ call_hooks('jot_tool', $jotplugins); - call_hooks('jot_networks', $jotnets); + //call_hooks('jot_networks', $jotnets); //$tpl = replace_macros($tpl,array('$jotplugins' => $jotplugins)); @@ -103,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'), @@ -130,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)') : ''),