diff --git a/Pages.cpp b/Pages.cpp index b98d6c30..120cca69 100644 --- a/Pages.cpp +++ b/Pages.cpp @@ -115,7 +115,8 @@ static WebPage s_pages[] = { //USER_MASTER | USER_PROXY , "master controls page", sendPageGeneric , 0 ,NULL,NULL,0}, - { PAGE_SEARCH , "admin/search" , 0 , "search controls" , 1 , 1, + // use POST for html head/tail and page root html. might be large. + { PAGE_SEARCH , "admin/search" , 0 , "search controls" ,1,M_POST, //USER_ADMIN | USER_MASTER , "search controls page", sendPageGeneric , 0 ,NULL,NULL,0}, @@ -147,7 +148,7 @@ static WebPage s_pages[] = { // { PAGE_SITES , "admin/sites", 0 , "site list" , 1 , 1, // "what sites can be spidered", // sendPageGeneric , 0 ,NULL,NULL,PG_NOAPI}, // sendPageBasicSettings - { PAGE_FILTERS , "admin/filters", 0 , "url filters" , 1 , 1, + { PAGE_FILTERS , "admin/filters", 0 , "url filters" , 1 ,M_POST, //USER_ADMIN | USER_MASTER , "prioritize urls for spidering", sendPageGeneric , 0 ,NULL,NULL,0}, diff --git a/Parms.cpp b/Parms.cpp index 23f1c3fd..6d0f57f9 100644 --- a/Parms.cpp +++ b/Parms.cpp @@ -14728,8 +14728,8 @@ void Parms::init ( ) { //"Use %T to display the standard footer. " "Use %%q to display the query in " "a text box. " - "Use %%t to display the directory TOP. Example " - "to paste into textbox: " + "Use %%t to display the directory TOP. " + "Example to paste into textbox: " "
" ); s_tmpBuf.htmlEncode ( @@ -14834,7 +14834,7 @@ void Parms::init ( ) { //"this html " //"must be encoded (less thans mapped to <, " //"etc.)."; - "Example to paste:
"; + "Example to paste into textbox:
"; s_tmpBuf2.safeStrcpy(fff); s_tmpBuf2.htmlEncode( "m_title = "html tail"; static SafeBuf s_tmpBuf3; - s_tmpBuf3.safePrintf("Html to display before the search results. "); + s_tmpBuf3.safePrintf("Html to display after the search results. "); s_tmpBuf3.safeStrcpy(fff); s_tmpBuf3.htmlEncode ( "
\n" - "%F\n" + //"%F" + "
\n" "\n" - "\n" + //"
" + //"%R\n" + //"" + "\n" "\n" "
\n" + //"\n" // this old query is overriding a newer query above so // i commented out. mfd 6/2014 //"" @@ -14916,8 +14917,10 @@ void Parms::init ( ) { //"" // family filter //"
%f %R\n" - "
%R\n" - "
%s%s
\n" "Try your search on \n"