From 834044b15bf4cd3f436f065449cbc0ed76b4de93 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 15 Apr 2015 09:20:27 +0200 Subject: title=>name --- include/conversation.php | 2 +- 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 @@ {{$id_seltext}} {{$id_select}} {{/if}} + {{if $webpage}} + + {{/if}} @@ -27,11 +32,6 @@ {{/if}} - {{if $webpage}} - - {{/if}}
-- cgit v1.2.3 From a597c74b977c7cd844ebae642705baa27722f9e1 Mon Sep 17 00:00:00 2001 From: mrjive Date: Wed, 15 Apr 2015 12:26:03 +0200 Subject: Update viewsrc.php Adding the item ID to the item source view --- mod/viewsrc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/viewsrc.php b/mod/viewsrc.php index 983a0e725..3125ae4c0 100644 --- a/mod/viewsrc.php +++ b/mod/viewsrc.php @@ -21,7 +21,7 @@ function viewsrc_content(&$a) { } if(local_channel() && $item_id) { - $r = q("select item_flags, body from item where item_restrict = 0 and uid in (%d , %d) and id = %d limit 1", + $r = q("select item_flags, body, id from item where item_restrict = 0 and uid in (%d , %d) and id = %d limit 1", intval(local_channel()), intval($sys['channel_id']), intval($item_id) @@ -35,6 +35,7 @@ function viewsrc_content(&$a) { } if(is_ajax()) { + print '
' . t('Source of Item') . ' ' . $r[0]['id'] . '
'; echo $o; killme(); } -- cgit v1.2.3 From 324fd61d7f076b621bef356a1cf1af808ad03db4 Mon Sep 17 00:00:00 2001 From: mrjive Date: Wed, 15 Apr 2015 12:59:22 +0200 Subject: Added string for item ID in view source --- view/it/strings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/view/it/strings.php b/view/it/strings.php index dce82adab..daa7ccf2d 100644 --- a/view/it/strings.php +++ b/view/it/strings.php @@ -2127,3 +2127,4 @@ $a->strings["Website SSL certificate is not valid. Please correct."] = "Il certi $a->strings["[red] Website SSL error for %s"] = "[red] Errore SSL %s "; $a->strings["Cron/Scheduled tasks not running."] = "Processi/cron non avviati."; $a->strings["[red] Cron tasks not running on %s"] = "[red] Processi non avviati su %s"; +$a->strings["Source of Item"] = "Sorgente dell'Elemento"; -- cgit v1.2.3 From c8d131d8ce33219b1cfa00ed08692f6c79524003 Mon Sep 17 00:00:00 2001 From: mrjive Date: Wed, 15 Apr 2015 13:01:29 +0200 Subject: Added string for item ID in view source --- view/it/strings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/view/it/strings.php b/view/it/strings.php index dce82adab..daa7ccf2d 100644 --- a/view/it/strings.php +++ b/view/it/strings.php @@ -2127,3 +2127,4 @@ $a->strings["Website SSL certificate is not valid. Please correct."] = "Il certi $a->strings["[red] Website SSL error for %s"] = "[red] Errore SSL %s "; $a->strings["Cron/Scheduled tasks not running."] = "Processi/cron non avviati."; $a->strings["[red] Cron tasks not running on %s"] = "[red] Processi non avviati su %s"; +$a->strings["Source of Item"] = "Sorgente dell'Elemento"; -- cgit v1.2.3