You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1996/06/11 19:17:44 UTC

Straw vote

Would members of this list right your HTML in 'C', (assuming you
write HTML)?  Imbedding HTML in your modules thusly.
The page below is at http://www.zyzzyva.com/.zconfig



ztop = htmlPage (r, "ztop", "Z-Router Control Center");
htmlBody (ztop, "#ffffff", NULL, NULL, NULL, NULL, NULL);
htmlParagraph (ztop, CENTER, NULL);
htmlAnchor (ztop, "http://www.zyzzyva.com/iron/",
		"Return to Z-Router Specifications", MOD_B);
htmlHRule (ztop, "70%", "3", CENTER, NOSHADE);
    
p1 = htmlParagraph (ztop, CENTER, CLOSE);
htmlCenter (ztop);
htmlTable (ztop, "1", NULL, NULL, NULL);
htmlTableRow (ztop, NULL, NULL);
htmlTableData (ztop, NULL, NULL, NULL, NULL, NULL,
		   "<li><a href=\"mod.zconfig/user\"><b>User Account Editor</b></a>");
htmlTableRow (ztop, NULL, NULL);
htmlTableData (ztop, NULL, NULL, NULL, NULL, NULL,
		   "<li><a href=\"mod.zconfig/mail\"><b>Mail Alias Editor</b></a>");
htmlTableRow (ztop, NULL, NULL);
htmlTableData (ztop, NULL, NULL, NULL, NULL, NULL,
		   "<li><b>System Recovery</b>");
htmlTableRow (ztop, NULL, NULL);
htmlTableData (ztop, NULL, NULL, NULL, NULL, NULL,
	   "<li><b>Firewall Configuration</b>");
htmlTableRow (ztop, NULL, NULL);
htmlTableData (ztop, NULL, NULL, NULL, NULL, NULL,
		   "<li><a href=\"mailto:support@zyzzyva.com\"><b>Contact Zyzzyva Support</b></a>");
htmlClose(p1);

htmlHRule (ztop, "70%", "3", CENTER, NOSHADE);

p2 = htmlParagraph (ztop, CENTER, CLOSE);
htmlCenter (ztop);
htmlTable (ztop, "1", NULL, NULL, NULL);
htmlTableHead (ztop, "2", NULL, NULL, NULL, NULL, "Z-Router Control Center");
htmlTableRow (ztop, NULL, NULL);
htmlTableData (ztop, NULL, NULL, NULL, NULL, NULL,
		   "<img src=\"/zimg/zlogo.gif\" alt=\"Z-Router, from Zyzzyva Enterprises\">");
htmlTableData (ztop, NULL, NULL, NULL, NULL, NULL,
		   "<b>Version: %s<br>Hostname: %s<br>OS: %s<br>Up Time: %s<br></b>",
		   VERSION, name->nodename, name->sysname, uptime(r));
htmlClose(p2);
    
htmlParagraph (ztop, CENTER, NULL);
htmlPrintf (ztop, "%s", COPYRIGHT);
    
htmlRealize(ztop);