From 5612716cff11039c64e1dba46bde5795f6b65c5c Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 27 Feb 2013 17:09:04 -0800 Subject: taking the next step on pages --- include/conversation.php | 3 +++ view/tpl/jot.tpl | 4 ++++ view/tpl/smarty3/jot.tpl | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/include/conversation.php b/include/conversation.php index 90a6aaa7f..f8507c595 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -949,6 +949,9 @@ function status_editor($a,$x,$popup=false) { '$return_path' => $a->query_string, '$action' => $a->get_baseurl(true) . '/item', '$share' => (x($x,'button') ? $x['button'] : t('Share')), + '$webpage' => (x($x,'webpage') ? '1' : ''), + '$placeholdpagetitle' => t('Page link title'), + '$pagetitle' => (x($x,'pagetitle') ? $x['pagetitle'] : ''), '$upload' => t('Upload photo'), '$shortupload' => t('upload photo'), '$attach' => t('Attach file'), diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index 29c420900..6de2ef97e 100644 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -13,11 +13,15 @@ +
{{ if $catsenabled }}
{{ endif }} + {{ if $webpage }} +
+ {{ endif }}
diff --git a/view/tpl/smarty3/jot.tpl b/view/tpl/smarty3/jot.tpl index 87e00413c..9ce34ee2f 100644 --- a/view/tpl/smarty3/jot.tpl +++ b/view/tpl/smarty3/jot.tpl @@ -18,11 +18,15 @@ +
{{if $catsenabled}}
{{/if}} + {{if $webpage}} +
+ {{/if}}
-- cgit v1.2.3