Differences From:
File
src/style.c
part of check-in
[1ce716b2ec]
- Add the g.zExtra output to the test_env page. Fix a bug in the
computation of g.zTop.
by
drh on
2007-10-11 02:11:42.
[view]
To:
File
src/style.c
part of check-in
[677aa71bca]
- The g.zExtra parameter is now always available as P("name"). This
means the /wiki/xyz and /wiki?name=xyz are equivalent URLs.
by
drh on
2007-10-12 22:56:18.
[view]
@@ -120,9 +120,9 @@
if( p->zLink==0 ){
@ <span class="label">%h(p->zLabel)</span>
@ <span class="tail">%s(zTail)</span>
}else{
- @ <a class="label" href="%T(p->zLink)">%h(p->zLabel)</a>
+ @ <a class="label" href="%s(p->zLink)">%h(p->zLabel)</a>
@ <span class="tail">%s(zTail)</span>
}
}
@ </div>
@@ -240,8 +240,7 @@
void page_test_env(void){
style_header("Environment Test");
@ g.zBaseURL = %h(g.zBaseURL)<br>
@ g.zTop = %h(g.zTop)<br>
- @ g.zExtra = %h(g.zExtra)<hr>
cgi_print_all();
style_footer();
}