Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Set the "Max:" entry box on the /timeline submenu to be size 4 with maxlength of 4. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
245e398384bc812953fe9725b051359e |
| User & Date: | drh 2015-02-11 15:45:46.196 |
Context
|
2015-02-11
| ||
| 15:57 | More places where the %S and/or %!S formatter are useful. ... (check-in: d93f5ee3e6 user: jan.nijtmans tags: trunk) | |
| 15:45 | Set the "Max:" entry box on the /timeline submenu to be size 4 with maxlength of 4. ... (check-in: 245e398384 user: drh tags: trunk) | |
| 15:12 | Accidentally omitted the --skin option processing from the previous check-in. ... (check-in: 5ce5ff5765 user: drh tags: trunk) | |
Changes
Changes to src/style.c.
| ︙ | ︙ | |||
501 502 503 504 505 506 507 |
zDisabled = "";
cgi_tag_query_parameter(zQPN);
}
switch( aSubmenuCtrl[i].eType ){
case FF_ENTRY: {
cgi_printf(
"<span class='submenuctrl'>"
| | | | 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 |
zDisabled = "";
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' maxlength='%d'"
"value='%h'%s></span>\n",
aSubmenuCtrl[i].zLabel,
zQPN,
aSubmenuCtrl[i].iSize, aSubmenuCtrl[i].iSize,
PD(zQPN,""),
zDisabled
);
break;
}
case FF_MULTI: {
int j;
|
| ︙ | ︙ |
Changes to src/timeline.c.
| ︙ | ︙ | |||
1326 1327 1328 1329 1330 1331 1332 |
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);
}
}
| | | 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 |
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","Max:",4,0);
timeline_y_submenu(1);
style_submenu_binary("v","With Files","Without Files",
zType[0]!='a' && zType[0]!='c');
}else if( f_rid && g.perm.Read ){
/* If f= is present, ignore all other parameters other than n= */
char *zUuid;
db_multi_exec(
|
| ︙ | ︙ | |||
1574 1575 1576 1577 1578 1579 1580 |
free(zDate);
}
if( zType[0]=='a' || zType[0]=='c' ){
if( (tmFlags & TIMELINE_UNHIDE)==0 ){
timeline_submenu(&url, "Unhide", "unhide", "", 0);
}
}
| | | 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 |
free(zDate);
}
if( zType[0]=='a' || zType[0]=='c' ){
if( (tmFlags & TIMELINE_UNHIDE)==0 ){
timeline_submenu(&url, "Unhide", "unhide", "", 0);
}
}
style_submenu_entry("n","Max:",4,0);
timeline_y_submenu(disableY);
style_submenu_binary("v","With Files","Without Files",
zType[0]!='a' && zType[0]!='c');
}
}
if( PB("showsql") ){
@ <blockquote>%h(blob_sql_text(&sql))</blockquote>
|
| ︙ | ︙ |