mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 17:23:00 +00:00
Added tag list text to tag list pages
This commit is contained in:
parent
b008ec608e
commit
b8f680a2bf
4 changed files with 6 additions and 5 deletions
|
@ -5,6 +5,7 @@
|
||||||
- Added unified diff to edit conflict resolution pages (#64)
|
- Added unified diff to edit conflict resolution pages (#64)
|
||||||
- Added image captions (#65)
|
- Added image captions (#65)
|
||||||
- Added short syntax for images (#24)
|
- Added short syntax for images (#24)
|
||||||
|
- Added text "Tag List: " to tag listing pages
|
||||||
|
|
||||||
## v0.11
|
## v0.11
|
||||||
|
|
||||||
|
|
|
@ -3812,12 +3812,12 @@ register_module([
|
||||||
$pagelist[] = $pagename;
|
$pagelist[] = $pagename;
|
||||||
}
|
}
|
||||||
|
|
||||||
$content = "<h1>$tag</h1>\n";
|
$content = "<h1>Tag List: $tag</h1>\n";
|
||||||
$content .= generate_page_list($pagelist);
|
$content .= generate_page_list($pagelist);
|
||||||
|
|
||||||
$content .= "<p>(<a href='?action=list-tags'>All tags</a>)</p>\n";
|
$content .= "<p>(<a href='?action=list-tags'>All tags</a>)</p>\n";
|
||||||
|
|
||||||
exit(page_renderer::render("$tag - Page List - $settings->sitename", $content));
|
exit(page_renderer::render("$tag - Tag List - $settings->sitename", $content));
|
||||||
});
|
});
|
||||||
|
|
||||||
add_help_section("30-all-pages-tags", "Listing pages and tags", "<p>All the pages and tags on $settings->sitename are listed on a pair of pages to aid navigation. The list of all pages on $settings->sitename can be found by clicking "All Pages" on the top bar. The list of all the tags currently in use can be found by clicking "All Tags" in the "More..." menu in the top right.</p>
|
add_help_section("30-all-pages-tags", "Listing pages and tags", "<p>All the pages and tags on $settings->sitename are listed on a pair of pages to aid navigation. The list of all pages on $settings->sitename can be found by clicking "All Pages" on the top bar. The list of all the tags currently in use can be found by clicking "All Tags" in the "More..." menu in the top right.</p>
|
||||||
|
|
|
@ -131,7 +131,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Adds a page that lists all the pages in the index along with their metadata.",
|
"description": "Adds a page that lists all the pages in the index along with their metadata.",
|
||||||
"id": "page-list",
|
"id": "page-list",
|
||||||
"lastupdate": 1459956112,
|
"lastupdate": 1464621096,
|
||||||
"optional": false
|
"optional": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -75,12 +75,12 @@ register_module([
|
||||||
$pagelist[] = $pagename;
|
$pagelist[] = $pagename;
|
||||||
}
|
}
|
||||||
|
|
||||||
$content = "<h1>$tag</h1>\n";
|
$content = "<h1>Tag List: $tag</h1>\n";
|
||||||
$content .= generate_page_list($pagelist);
|
$content .= generate_page_list($pagelist);
|
||||||
|
|
||||||
$content .= "<p>(<a href='?action=list-tags'>All tags</a>)</p>\n";
|
$content .= "<p>(<a href='?action=list-tags'>All tags</a>)</p>\n";
|
||||||
|
|
||||||
exit(page_renderer::render("$tag - Page List - $settings->sitename", $content));
|
exit(page_renderer::render("$tag - Tag List - $settings->sitename", $content));
|
||||||
});
|
});
|
||||||
|
|
||||||
add_help_section("30-all-pages-tags", "Listing pages and tags", "<p>All the pages and tags on $settings->sitename are listed on a pair of pages to aid navigation. The list of all pages on $settings->sitename can be found by clicking "All Pages" on the top bar. The list of all the tags currently in use can be found by clicking "All Tags" in the "More..." menu in the top right.</p>
|
add_help_section("30-all-pages-tags", "Listing pages and tags", "<p>All the pages and tags on $settings->sitename are listed on a pair of pages to aid navigation. The list of all pages on $settings->sitename can be found by clicking "All Pages" on the top bar. The list of all the tags currently in use can be found by clicking "All Tags" in the "More..." menu in the top right.</p>
|
||||||
|
|
Loading…
Reference in a new issue