2016-03-08 22:14:30 +01:00
|
|
|
#ifndef GB_PAGEROOT_H
|
|
|
|
#define GB_PAGEROOT_H
|
2016-02-23 16:01:49 +01:00
|
|
|
|
|
|
|
#include "SafeBuf.h"
|
|
|
|
#include "Collectiondb.h"
|
2016-02-23 16:35:17 +01:00
|
|
|
class SearchInput;
|
2016-02-23 16:01:49 +01:00
|
|
|
|
|
|
|
bool printFrontPageShell ( SafeBuf *sb,
|
2016-02-23 16:35:17 +01:00
|
|
|
const char *tabName,
|
2016-02-23 16:01:49 +01:00
|
|
|
CollectionRec *cr,
|
|
|
|
bool printGigablast );
|
|
|
|
|
2016-02-23 16:35:17 +01:00
|
|
|
|
|
|
|
bool expandHtml ( SafeBuf& sb,
|
|
|
|
const char *head ,
|
|
|
|
int32_t hlen ,
|
2016-03-12 16:08:02 +01:00
|
|
|
const char *q ,
|
2016-02-23 16:35:17 +01:00
|
|
|
int32_t qlen ,
|
|
|
|
HttpRequest *r ,
|
|
|
|
SearchInput *si,
|
2016-03-12 16:08:02 +01:00
|
|
|
const char *method ,
|
2016-02-23 16:35:17 +01:00
|
|
|
CollectionRec *cr );
|
|
|
|
|
|
|
|
bool printLeftColumnRocketAndTabs ( SafeBuf *sb ,
|
|
|
|
bool isSearchResultsPage ,
|
|
|
|
CollectionRec *cr ,
|
|
|
|
const char *tabName );
|
|
|
|
|
2016-03-08 22:14:30 +01:00
|
|
|
#endif // GB_PAGEROOT_H
|