Fossil SCM

hyperlinks isabled skinned

Ratte 2010-09-06 19:10 stv-skinning
Commit 8f6e98aa3d962e4505ba17f9beb619077e2d7bd5
+1 -1
--- src/login.c
+++ src/login.c
@@ -596,11 +596,11 @@
596596
if( !g.okHistory &&
597597
db_exists("SELECT 1 FROM user"
598598
" WHERE login='anonymous'"
599599
" AND cap LIKE '%%h%%'") ){
600600
const char *zUrl = PD("REQUEST_URI", "index");
601
- @ <p>Many <font color="red">hyperlinks are disabled.</font><br />
601
+ @ <p>Many <span class="disabledLinks">hyperlinks are disabled.</span><br />
602602
@ Use <a href="%s(g.zTop)/login?anon=1&g=%T(zUrl)">anonymous login</a>
603603
@ to enable hyperlinks.</p>
604604
}
605605
}
606606
607607
--- src/login.c
+++ src/login.c
@@ -596,11 +596,11 @@
596 if( !g.okHistory &&
597 db_exists("SELECT 1 FROM user"
598 " WHERE login='anonymous'"
599 " AND cap LIKE '%%h%%'") ){
600 const char *zUrl = PD("REQUEST_URI", "index");
601 @ <p>Many <font color="red">hyperlinks are disabled.</font><br />
602 @ Use <a href="%s(g.zTop)/login?anon=1&g=%T(zUrl)">anonymous login</a>
603 @ to enable hyperlinks.</p>
604 }
605 }
606
607
--- src/login.c
+++ src/login.c
@@ -596,11 +596,11 @@
596 if( !g.okHistory &&
597 db_exists("SELECT 1 FROM user"
598 " WHERE login='anonymous'"
599 " AND cap LIKE '%%h%%'") ){
600 const char *zUrl = PD("REQUEST_URI", "index");
601 @ <p>Many <span class="disabledLinks">hyperlinks are disabled.</span><br />
602 @ Use <a href="%s(g.zTop)/login?anon=1&g=%T(zUrl)">anonymous login</a>
603 @ to enable hyperlinks.</p>
604 }
605 }
606
607
--- src/setup.c
+++ src/setup.c
@@ -916,10 +916,11 @@
916916
@ %h(zTdTimelineTimeStampCell)
917917
@ %h(zTdTimelineOmitted)
918918
@ %h(zTdTimelineComment)
919919
@ %h(zDivTimelineLeafDsp)
920920
@ %h(zDivNomenclatureSidebox)
921
+ @ %h(zSpanDisabledLinks)
921922
@ </pre></blockquote>
922923
style_footer();
923924
db_end_transaction(0);
924925
}
925926
926927
--- src/setup.c
+++ src/setup.c
@@ -916,10 +916,11 @@
916 @ %h(zTdTimelineTimeStampCell)
917 @ %h(zTdTimelineOmitted)
918 @ %h(zTdTimelineComment)
919 @ %h(zDivTimelineLeafDsp)
920 @ %h(zDivNomenclatureSidebox)
 
921 @ </pre></blockquote>
922 style_footer();
923 db_end_transaction(0);
924 }
925
926
--- src/setup.c
+++ src/setup.c
@@ -916,10 +916,11 @@
916 @ %h(zTdTimelineTimeStampCell)
917 @ %h(zTdTimelineOmitted)
918 @ %h(zTdTimelineComment)
919 @ %h(zDivTimelineLeafDsp)
920 @ %h(zDivNomenclatureSidebox)
921 @ %h(zSpanDisabledLinks)
922 @ </pre></blockquote>
923 style_footer();
924 db_end_transaction(0);
925 }
926
927
--- src/style.c
+++ src/style.c
@@ -426,10 +426,16 @@
426426
@ border-width: medium;
427427
@ border-style: double;
428428
@ margin: 10;
429429
@ }
430430
;
431
+const char zSpanDisabledLinks[] =
432
+@ /* hyperlinks disabled text */
433
+@ span.disabledLinks {
434
+@ color: red;
435
+@ }
436
+;
431437
432438
/*
433439
** WEBPAGE: style.css
434440
*/
435441
void page_style_css(void){
@@ -450,10 +456,12 @@
450456
cgi_append_content(zTdTimelineComment,-1);
451457
if (!strstr(zCSS,"timelineLeafDsp"))
452458
cgi_append_content(zDivTimelineLeafDsp,-1);
453459
if (!strstr(zCSS,"nomenclatureSidebox"))
454460
cgi_append_content(zDivNomenclatureSidebox,-1);
461
+ if (!strstr(zCSS,"disabledLinks"))
462
+ cgi_append_content(zSpanDisabledLinks,-1);
455463
g.isConst = 1;
456464
}
457465
458466
/*
459467
** WEBPAGE: test_env
460468
--- src/style.c
+++ src/style.c
@@ -426,10 +426,16 @@
426 @ border-width: medium;
427 @ border-style: double;
428 @ margin: 10;
429 @ }
430 ;
 
 
 
 
 
 
431
432 /*
433 ** WEBPAGE: style.css
434 */
435 void page_style_css(void){
@@ -450,10 +456,12 @@
450 cgi_append_content(zTdTimelineComment,-1);
451 if (!strstr(zCSS,"timelineLeafDsp"))
452 cgi_append_content(zDivTimelineLeafDsp,-1);
453 if (!strstr(zCSS,"nomenclatureSidebox"))
454 cgi_append_content(zDivNomenclatureSidebox,-1);
 
 
455 g.isConst = 1;
456 }
457
458 /*
459 ** WEBPAGE: test_env
460
--- src/style.c
+++ src/style.c
@@ -426,10 +426,16 @@
426 @ border-width: medium;
427 @ border-style: double;
428 @ margin: 10;
429 @ }
430 ;
431 const char zSpanDisabledLinks[] =
432 @ /* hyperlinks disabled text */
433 @ span.disabledLinks {
434 @ color: red;
435 @ }
436 ;
437
438 /*
439 ** WEBPAGE: style.css
440 */
441 void page_style_css(void){
@@ -450,10 +456,12 @@
456 cgi_append_content(zTdTimelineComment,-1);
457 if (!strstr(zCSS,"timelineLeafDsp"))
458 cgi_append_content(zDivTimelineLeafDsp,-1);
459 if (!strstr(zCSS,"nomenclatureSidebox"))
460 cgi_append_content(zDivNomenclatureSidebox,-1);
461 if (!strstr(zCSS,"disabledLinks"))
462 cgi_append_content(zSpanDisabledLinks,-1);
463 g.isConst = 1;
464 }
465
466 /*
467 ** WEBPAGE: test_env
468

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button