Differences From Artifact [ae0f371c5f]:
- File src/cgi.c — part of check-in [b6e1f61aaa] at 2015-02-06 03:00:25 on branch form-submenu — Add the cgi_query_parameters_to_url() routine and use it to cause all query parameters on timeline to be exported. (Need to make this same changes for all other uses of url_render()). Make "context" timelines 11 entries by default. Other cleanups. (user: drh size: 58694)
To Artifact [59899ff689]:
- File src/cgi.c — part of check-in [99e081efe5] at 2015-02-06 03:28:28 on branch form-submenu — Do not let the "Lines:" box go below one on the /timeline. If it does, automatically revert to 10 lines. Also, arrange for the default number of lines to be 50 in most cases, but only 11 if the c= (circa) query parameter is used. Use n=all to see the entire history of the graph. (user: drh size: 58694) [more...]
| ︙ | ︙ | |||
496 497 498 499 500 501 502 |
cgi_set_parameter_nocopy(zName, zValue, 0);
}
void cgi_replace_query_parameter(const char *zName, const char *zValue){
int i;
for(i=0; i<nUsedQP; i++){
if( fossil_strcmp(aParamQP[i].zName,zName)==0 ){
aParamQP[i].zValue = zValue;
| | | 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 |
cgi_set_parameter_nocopy(zName, zValue, 0);
}
void cgi_replace_query_parameter(const char *zName, const char *zValue){
int i;
for(i=0; i<nUsedQP; i++){
if( fossil_strcmp(aParamQP[i].zName,zName)==0 ){
aParamQP[i].zValue = zValue;
assert( aParamQP[i].isQP );
return;
}
}
cgi_set_parameter_nocopy(zName, zValue, 1);
}
/*
|
| ︙ | ︙ |