diff options
author | friendica <redmatrix@redmatrix.me> | 2015-04-15 16:43:44 -0700 |
---|---|---|
committer | friendica <redmatrix@redmatrix.me> | 2015-04-15 16:43:44 -0700 |
commit | 7febf1bf21d36f45efba9d458597086e84d4a6b7 (patch) | |
tree | a417444e7e1803f5610293ab8980da0c118efd7b /mod | |
parent | d7cc07f5d71316d75ea786d5c442b47c5d234d6d (diff) | |
parent | 2ba95e55a5323f55b5cf8789e86411a23013d2a6 (diff) | |
download | volse-hubzilla-7febf1bf21d36f45efba9d458597086e84d4a6b7.tar.gz volse-hubzilla-7febf1bf21d36f45efba9d458597086e84d4a6b7.tar.bz2 volse-hubzilla-7febf1bf21d36f45efba9d458597086e84d4a6b7.zip |
Merge https://github.com/redmatrix/redmatrix into pending_merge
Diffstat (limited to 'mod')
-rw-r--r-- | mod/viewsrc.php | 3 |
1 files changed, 2 insertions, 1 deletions
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 '<div><i class="icon-pencil"> ' . t('Source of Item') . ' ' . $r[0]['id'] . '</i></div>'; echo $o; killme(); } |