aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-05 19:52:41 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-05 19:52:41 -0700
commitf20933e1e0f955d49fff3780c367ea2edf581728 (patch)
treed384d386afc276e666c853051256bbe912412261 /include
parentdf8f6e45e244be95dd8ddc51e1f0b1245eaebc6e (diff)
downloadvolse-hubzilla-f20933e1e0f955d49fff3780c367ea2edf581728.tar.gz
volse-hubzilla-f20933e1e0f955d49fff3780c367ea2edf581728.tar.bz2
volse-hubzilla-f20933e1e0f955d49fff3780c367ea2edf581728.zip
more work on db storage of doco
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php2
-rw-r--r--include/nav.php4
2 files changed, 4 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index 5e584b09c..c067d3c1e 100755
--- a/include/items.php
+++ b/include/items.php
@@ -4911,6 +4911,8 @@ function update_remote_id($channel,$post_id,$webpage,$pagetitle,$namespace,$remo
$page_type = 'BUILDBLOCK';
elseif($webpage == ITEM_TYPE_PDL)
$page_type = 'PDL';
+ elseif($webpage == ITEM_TYPE_DOC)
+ $page_type = 'docfile';
elseif($namespace && $remote_id) {
$page_type = $namespace;
$pagetitle = $remote_id;
diff --git a/include/nav.php b/include/nav.php
index 0ca554897..898805bba 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -157,7 +157,7 @@ EOT;
$nav['apps'] = array('apps', t('Apps'), "", t('Applications, utilities, links, games'),'apps_nav_btn');
- $nav['search'] = array('search', t('Search'), "", t('Search site content'));
+ $nav['search'] = array('search', t('Search'), "", t('Search site @name, #tag, ?docs, content'));
$nav['directory'] = array('directory', t('Directory'), "", t('Channel Directory'),'directory_nav_btn');
@@ -244,7 +244,7 @@ $powered_by = '';
'$localuser' => local_channel(),
'$sel' => $a->nav_sel,
'$powered_by' => $powered_by,
- '$help' => t('@name, #tag, content'),
+ '$help' => t('@name, #tag, ?doc, content'),
'$pleasewait' => t('Please wait...')
));