Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: page.c
- Revision:
- 12:237a0f75b4d0
- Parent:
- 11:84121d7b47e9
--- a/page.c Sat Nov 17 17:46:30 2018 +0000
+++ b/page.c Mon Nov 26 12:45:17 2018 +0000
@@ -40,6 +40,25 @@
"<body>\r\n");
}
+void PageAddH1(const char* site, const char* pageName)
+{
+ HttpAddText("<h1>");
+ HttpAddText(site);
+ HttpAddText(" - ");
+ HttpAddText(pageName);
+ HttpAddText("</h1>\r\n");
+}
+void PageAddH2(const char* text)
+{
+ HttpAddText("<h2>");
+ HttpAddText(text);
+ HttpAddText("</h2>\r\n");
+}
+void PageAddEnd()
+{
+ HttpAddText("</body>\r\n"
+ "</html>\r\n");
+}
void PageAddNavItem(int highlight, char* href, char* title)
{