Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Cherrypick [2e9ac33a9a] |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
e32803bbf64c5cf9ad20ecca050c262e |
| User & Date: | andygoth 2016-11-05 03:14:17.073 |
Context
|
2016-11-05
| ||
| 03:17 | Add missing close angle bracket omitted by previous commit ... (check-in: 2dd295344e user: andygoth tags: trunk) | |
| 03:14 | Cherrypick [2e9ac33a9a] ... (check-in: e32803bbf6 user: andygoth tags: trunk) | |
| 03:06 | Remove extra class='submenuctrl' from checkbox input because already present in the enclosing <label> ... (check-in: bccaea605c user: andygoth tags: trunk) | |
|
2016-11-04
| ||
| 15:52 | Change style_submenu_entry() to allow zero and negative iSize. Zero iSize means display size and length limit are not specified, and negative iSize means no length limit is specified but the display size is set to the absolute value of iSize. ... (check-in: 2e9ac33a9a user: andygoth tags: andygoth-timeline-ms) | |
Changes
Changes to src/style.c.
| ︙ | ︙ | |||
542 543 544 545 546 547 548 |
const char *zQPN = aSubmenuCtrl[i].zName;
const char *zDisabled = " disabled";
if( !aSubmenuCtrl[i].isDisabled ){
zDisabled = "";
cgi_tag_query_parameter(zQPN);
}
switch( aSubmenuCtrl[i].eType ){
| | | < | > | > > > > | < < | < | > > | 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 |
const char *zQPN = aSubmenuCtrl[i].zName;
const char *zDisabled = " disabled";
if( !aSubmenuCtrl[i].isDisabled ){
zDisabled = "";
cgi_tag_query_parameter(zQPN);
}
switch( aSubmenuCtrl[i].eType ){
case FF_ENTRY:
cgi_printf(
"<span class='submenuctrl'>"
" %h<input type='text' name='%s' value='%h'%s",
aSubmenuCtrl[i].zLabel, zQPN, PD(zQPN, ""), zDisabled
);
if( aSubmenuCtrl[i].iSize<0 ){
cgi_printf(" size='%d'", -aSubmenuCtrl[i].iSize);
}else if( aSubmenuCtrl[i].iSize>0 ){
cgi_printf(
" size='%d' maxlength='%d'",
aSubmenuCtrl[i].iSize, aSubmenuCtrl[i].iSize
);
}
@ </span>
break;
case FF_MULTI: {
int j;
const char *zVal = P(zQPN);
if( aSubmenuCtrl[i].zLabel ){
cgi_printf(" %h", aSubmenuCtrl[i].zLabel);
}
cgi_printf(
|
| ︙ | ︙ |