aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editlayout.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/editlayout.php')
-rw-r--r--mod/editlayout.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/editlayout.php b/mod/editlayout.php
index f8906d981..e6be1056f 100644
--- a/mod/editlayout.php
+++ b/mod/editlayout.php
@@ -97,6 +97,7 @@ function editlayout_content(&$a) {
$o .= replace_macros($tpl,array(
'$return_path' => $rp,
'$action' => 'item',
+ '$webpage' => ITEM_PDL,
'$share' => t('Edit'),
'$upload' => t('Upload photo'),
'$attach' => t('Attach file'),
@@ -117,7 +118,7 @@ function editlayout_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' => '',
'$placeholdercategory' => t('Categories (comma-separated list)'),