diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-04-15 09:20:27 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-04-15 09:20:27 +0200 |
commit | 834044b15bf4cd3f436f065449cbc0ed76b4de93 (patch) | |
tree | 76c7ba2286bb8cb3c031137f394cc3bd02b84c73 | |
parent | 2c8394a4b90b5b6dc52d5d886fd8e96134e57406 (diff) | |
download | volse-hubzilla-834044b15bf4cd3f436f065449cbc0ed76b4de93.tar.gz volse-hubzilla-834044b15bf4cd3f436f065449cbc0ed76b4de93.tar.bz2 volse-hubzilla-834044b15bf4cd3f436f065449cbc0ed76b4de93.zip |
title=>name
-rw-r--r-- | include/conversation.php | 2 | ||||
-rwxr-xr-x | view/tpl/jot.tpl | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/conversation.php b/include/conversation.php index 67f3afde0..05898cfce 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1171,7 +1171,7 @@ function status_editor($a, $x, $popup = false) { '$action' => $a->get_baseurl(true) . '/item', '$share' => (x($x,'button') ? $x['button'] : t('Share')), '$webpage' => $webpage, - '$placeholdpagetitle' => ((x($x,'ptlabel')) ? $x['ptlabel'] : t('Page link title')), + '$placeholdpagetitle' => ((x($x,'ptlabel')) ? $x['ptlabel'] : t('Page link name')), '$pagetitle' => (x($x,'pagetitle') ? $x['pagetitle'] : ''), '$id_select' => $id_select, '$id_seltext' => t('Post as'), diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index ed1d1e35f..927b3a5b9 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -19,6 +19,11 @@ <span class="channel-id-select-desc">{{$id_seltext}}</span> {{$id_select}} </div> {{/if}} + {{if $webpage}} + <div id="jot-pagetitle-wrap" class="jothidden" style="display:none"> + <input name="pagetitle" id="jot-pagetitle" type="text" placeholder="{{$placeholdpagetitle}}" value="{{$pagetitle}}"> + </div> + {{/if}} <div id="jot-title-wrap" class="jothidden" style="display:none"> <input name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" tabindex=1 value="{{$title}}"> </div> @@ -27,11 +32,6 @@ <input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" data-role="cat-tagsinput"> </div> {{/if}} - {{if $webpage}} - <div id="jot-pagetitle-wrap" class="jothidden" style="display:none"> - <input name="pagetitle" id="jot-pagetitle" type="text" placeholder="{{$placeholdpagetitle}}" value="{{$pagetitle}}"> - </div> - {{/if}} <div id="jot-text-wrap"> <textarea class="profile-jot-text" id="profile-jot-text" name="body" tabindex=2 placeholder="{{$share}}">{{$content}}</textarea> </div> |