formatting

This commit is contained in:
Matt Wells 2014-01-19 15:06:02 -08:00
parent 5c9b688f72
commit fa0e3f784f
3 changed files with 25 additions and 14 deletions

@ -223,9 +223,11 @@ bool sendReply ( void *state ) {
"Inject URL</b>%s"
//"</font>"
"</td></tr>\n\n"
"<tr bgcolor=#%s><td colspan=2>"
"<tr class=poo><td><b>url</b>"
"<br>"
"<font size=-2>"
"Specify a URL that will be immediately crawled and "
"Specify the URL that will be immediately crawled and "
"indexed in real time "
"while you wait. The browser will return the "
"final index status code. Alternatively, "
@ -234,13 +236,9 @@ bool sendReply ( void *state ) {
"without having to wait for the page or pages to be "
"actually indexed in realtime."
"</font>"
//"Enter the information below to inject "
//"a URL. This allows you to specify the URL as well as the "
//"content for the URL."
"</td></tr>\n\n"
"</td>"
"<tr class=poo><td><b>url</b></td>"
"<td>\n"
"<td width=50%%>\n"
"<input type=text name=u value=\"\" size=50>"
"</td></tr>\n\n"
@ -368,7 +366,7 @@ bool sendReply ( void *state ) {
//"<td>\n<select name=rs>" ,
pm , // msg7->m_pwd ,
//msg7->m_username,
TABLE_STYLE , bb , DARK_BLUE , msg7->m_coll );
TABLE_STYLE , bb , msg7->m_coll );
//p += gbstrlen(p);
@ -417,7 +415,10 @@ bool sendReply ( void *state ) {
"<tr class=poo><td colspan=2>"
"<center>"
"<b>content</b><br>"
"<font size=1>Enter the content here. Enter MIME header "
"<font size=1>If you want to supply the URL's content "
"rather than have Gigablast download it, then "
"enter the content here. "
"Enter MIME header "
"first if \"content has mime\" is set to true above. "
"Separate MIME from actual content with two returns."
"<br>"

@ -1866,7 +1866,10 @@ bool Pages::printAdminLinks ( SafeBuf *sb,
else
sb->safePrintf(
"<span style=\"white-space:nowrap\">"
"<a href=\"/%s?c=%s%s\">%s</a>"
"<b>"
"<a style=text-decoration:none; "
"href=\"/%s?c=%s%s\">%s</a>"
"</b>"
"</span>"
" &nbsp; \n",s_pages[i].m_filename,
coll,
@ -1888,9 +1891,15 @@ bool Pages::printAdminLinks ( SafeBuf *sb,
// print documentation links
if ( top ) {
sb->safePrintf(" <a href=/admin.html>admin guide</a> "
sb->safePrintf(" <a style=text-decoration:none "
"href=/admin.html>"
"<b>"
"admin guide"
"</b></a> "
"&nbsp; "
" <a href=/developer.html>dev guide</a>" );
" <a style=text-decoration:none; "
"href=/developer.html>"
"<b>dev guide</b></a>" );
}
//sb->safePrintf("</center>" );

@ -20896,10 +20896,11 @@ char *XmlDoc::getMetaList ( bool forDelete ) {
stored->m_firstIp = m_ip;
// re-make the key since it contains m_firstIp
long long uh48 = m_sreq.getUrlHash48();
long long parentDocId = m_sreq.getParentDocId();
stored->m_key = g_spiderdb.makeKey ( stored->m_firstIp,
uh48,
true, // is request?
0,//parentDocId ,
parentDocId ,
false );// isDel );
// skip over it
m_p += m_sreq.getRecSize();