add 2nd collection passwords link

This commit is contained in:
mwells
2014-10-27 11:21:23 -06:00
parent d9e8f7e465
commit a8771f4e95
2 changed files with 10 additions and 1 deletions

@ -130,7 +130,7 @@ static WebPage s_pages[] = {
// "Basic diffbot page.", sendPageBasicDiffbot , 0 ,
//NULL,NULL,PG_NOAPI},
{ PAGE_COLLPASSWORDS,//BASIC_SECURITY,
{ PAGE_COLLPASSWORDS,
"admin/collectionpasswords", 0,"collection passwords",0,0,
"passwords", sendPageGeneric , 0 ,NULL,NULL,
PG_COLLADMIN},
@ -170,6 +170,12 @@ static WebPage s_pages[] = {
"log controls", sendPageGeneric , 0 ,NULL,NULL,
PG_ROOTADMIN},
{ PAGE_COLLPASSWORDS2,//BASIC_SECURITY,
"admin/collectionpasswords", 0,"collection passwords",0,0,
"passwords", sendPageGeneric , 0 ,NULL,NULL,
PG_COLLADMIN},
{ PAGE_ROOTPASSWORDS, "admin/rootpasswords",
0 , "root passwords" , 1 , 0 ,
//USER_MASTER | USER_PROXY ,
@ -3409,6 +3415,8 @@ bool printApiForPage ( SafeBuf *sb , long PAGENUM , CollectionRec *cr ) {
// dup page fix. so we should 'masterpwd' and 'masterip'
// in the list now.
//if ( pageNum ==PAGE_SECURITY ) pageNum = PAGE_BASIC_SECURITY;
if ( pageNum == PAGE_COLLPASSWORDS2 )
pageNum = PAGE_COLLPASSWORDS;
if ( pageNum != PAGENUM ) continue;

@ -348,6 +348,7 @@ enum {
PAGE_SPIDER ,
PAGE_SPIDERPROXIES ,
PAGE_LOG ,
PAGE_COLLPASSWORDS2 ,//BASIC_SECURITY ,
PAGE_ROOTPASSWORDS , // 19
PAGE_ADDCOLL , //20
PAGE_DELCOLL ,