Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Minor revisions to the timeline controls to permit for easier reading. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | timelineMods |
Files: | files | file ages | folders |
SHA1: | 7d20d72af8ab3c1510286a37fcd25046 |
User & Date: | mistachkin 2015-02-06 19:35:22 |
Context
2015-02-06
| ||
21:38 | Further adjustments to the timeline control format. Closed-Leaf check-in: c8f121c7 user: drh tags: timelineMods | |
19:35 | Minor revisions to the timeline controls to permit for easier reading. check-in: 7d20d72a user: mistachkin tags: timelineMods | |
15:34 | Workaround for recently introduced Cygwin bug: group permission is always set! This was the cause of the "execute permission" trouble in my recent commits. :-( check-in: d9dfe11d user: jan.nijtmans tags: trunk | |
Changes
Changes to src/style.c.
502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 |
for(i=0; i<nSubmenuCtrl; i++){ const char *zQPN = aSubmenuCtrl[i].zName; cgi_tag_query_parameter(zQPN); switch( aSubmenuCtrl[i].eType ){ case FF_ENTRY: { cgi_printf( "<span class='submenuctrl'>" "%h: <input type='text' name='%s' size='%d' " "value='%h'></span>\n", aSubmenuCtrl[i].zLabel, zQPN, aSubmenuCtrl[i].iSize, PD(zQPN,"") ); break; } case FF_CKBOX: { cgi_printf( "<span class='submenuctrl'>" "%h: <input type='checkbox' name='%s'%s " "onchange='gebi(\"f01\").submit();'></span>\n", aSubmenuCtrl[i].zLabel, zQPN, PB(zQPN) ? " checked":"" ); break; } case FF_MULTI: { int j; |
| > | > |
502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 |
for(i=0; i<nSubmenuCtrl; i++){ const char *zQPN = aSubmenuCtrl[i].zName; cgi_tag_query_parameter(zQPN); switch( aSubmenuCtrl[i].eType ){ case FF_ENTRY: { cgi_printf( "<span class='submenuctrl'>" "%h%s<input type='text' name='%s' size='%d' " "value='%h'></span>\n", aSubmenuCtrl[i].zLabel, aSubmenuCtrl[i].zLabel ? ": " : "", zQPN, aSubmenuCtrl[i].iSize, PD(zQPN,"") ); break; } case FF_CKBOX: { cgi_printf( "<span class='submenuctrl'>" "%h%s<input type='checkbox' name='%s'%s " "onchange='gebi(\"f01\").submit();'></span>\n", aSubmenuCtrl[i].zLabel, aSubmenuCtrl[i].zLabel ? ": " : "", zQPN, PB(zQPN) ? " checked":"" ); break; } case FF_MULTI: { int j; |
Changes to src/timeline.c.
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
....
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
|
href("%R/info/%s", zUuid), zUuid); if( d_rid ){ if( p_rid ){ /* If both p= and d= are set, we don't have the uuid of d yet. */ zUuid = db_text("", "SELECT uuid FROM blob WHERE rid=%d", d_rid); } } style_submenu_binary("v","With Files","Without Files"); style_submenu_entry("n","Lines",1); timeline_y_submenu(); }else if( f_rid && g.perm.Read ){ /* If f= is present, ignore all other parameters other than n= */ char *zUuid; db_multi_exec( "CREATE TEMP TABLE IF NOT EXISTS ok(rid INTEGER PRIMARY KEY);" "INSERT INTO ok VALUES(%d);" "INSERT OR IGNORE INTO ok SELECT pid FROM plink WHERE cid=%d;" ................................................................................ free(zDate); } if( zType[0]=='a' || zType[0]=='c' ){ if( (tmFlags & TIMELINE_UNHIDE)==0 ){ timeline_submenu(&url, "Unhide", "unhide", "", 0); } } style_submenu_binary("v","With Files","Without Files"); if( zUses==0 ) timeline_y_submenu(); style_submenu_entry("n","Lines",1); } } if( P("showsql") ){ @ <blockquote>%h(blob_sql_text(&sql))</blockquote> } if( search_restrict(SRCH_CKIN)!=0 ){ style_submenu_element("Search", 0, "%R/search?y=c"); |
<
|
>
|
|
|
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
....
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
|
href("%R/info/%s", zUuid), zUuid); if( d_rid ){ if( p_rid ){ /* If both p= and d= are set, we don't have the uuid of d yet. */ zUuid = db_text("", "SELECT uuid FROM blob WHERE rid=%d", d_rid); } } style_submenu_entry("n",0,1); timeline_y_submenu(); style_submenu_binary("v","With Files","Without Files"); }else if( f_rid && g.perm.Read ){ /* If f= is present, ignore all other parameters other than n= */ char *zUuid; db_multi_exec( "CREATE TEMP TABLE IF NOT EXISTS ok(rid INTEGER PRIMARY KEY);" "INSERT INTO ok VALUES(%d);" "INSERT OR IGNORE INTO ok SELECT pid FROM plink WHERE cid=%d;" ................................................................................ free(zDate); } if( zType[0]=='a' || zType[0]=='c' ){ if( (tmFlags & TIMELINE_UNHIDE)==0 ){ timeline_submenu(&url, "Unhide", "unhide", "", 0); } } style_submenu_entry("n",0,1); if( zUses==0 ) timeline_y_submenu(); style_submenu_binary("v","With Files","Without Files"); } } if( P("showsql") ){ @ <blockquote>%h(blob_sql_text(&sql))</blockquote> } if( search_restrict(SRCH_CKIN)!=0 ){ style_submenu_element("Search", 0, "%R/search?y=c"); |