Fossil

Diff
Login

Differences From Artifact [b0e2db64f5]:

To Artifact [2736fa5c90]:


1395
1396
1397
1398
1399
1400
1401
1402

1403
1404
1405

1406
1407
1408

1409
1410
1411
1412
1413
1414
1415
1395
1396
1397
1398
1399
1400
1401

1402
1403
1404

1405
1406
1407

1408
1409
1410
1411
1412
1413
1414
1415







-
+


-
+


-
+







#endif

/*
** Add some standard submenu elements for ticket screens.
*/
void ticket_standard_submenu(unsigned int ok){
  if( (ok & T_SRCH)!=0 && search_restrict(SRCH_TKT)!=0 ){
    style_submenu_element("Search","Search","/tktsrch");
    style_submenu_element("Search","Search","%R/tktsrch");
  }
  if( (ok & T_REPLIST)!=0 ){
    style_submenu_element("Reports","Reports","/reportlist");
    style_submenu_element("Reports","Reports","%R/reportlist");
  }
  if( (ok & T_NEW)!=0 && g.perm.NewTkt ){
    style_submenu_element("New","New","/tktnew");
    style_submenu_element("New","New","%R/tktnew");
  }
}



/*
** Note:  The /ticket webpage is intended to be the page that the