Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix a bug in the "Delete Ad-Unit" button in the setup pages. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
48dca1b4c9ca20eb250920f457b50e40 |
| User & Date: | drh 2020-05-26 18:30:17.631 |
Context
|
2020-05-27
| ||
| 16:56 | The error message Fossil gives on TLS certificate check failure changed in Fossil 2.11, so updated www/ssl.wiki to show the new message. Left the old message in place, since many people will be running versions of Fossil that still use that format, and a big part of the reason why we have this error message in the document is to make it come up in... check-in: 3c0565ab5e user: wyoung tags: trunk | |
| 16:02 | Merged trunk changes in check-in: 32f391f655 user: wyoung tags: artifact-view-links | |
| 13:28 | Demonstrate how the mkindex.c utility could be extended to automatically put a complete web-page construction inside a transaction. Closed-Leaf check-in: 67c420402f user: drh tags: auto-webpage-txn | |
|
2020-05-26
| ||
| 18:30 | Fix a bug in the "Delete Ad-Unit" button in the setup pages. check-in: 48dca1b4c9 user: drh tags: trunk | |
| 15:54 | Update the version number to 2.12 as we begin the next release cycle. check-in: ad9295fd59 user: drh tags: trunk | |
Changes
Changes to src/setup.c.
| ︙ | ︙ | |||
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 |
login_needed(0);
return;
}
db_begin_transaction();
if( P("clear")!=0 && cgi_csrf_safe(1) ){
db_multi_exec("DELETE FROM config WHERE name GLOB 'adunit*'");
cgi_replace_parameter("adunit","");
}
style_header("Edit Ad Unit");
@ <form action="%s(g.zTop)/setup_adunit" method="post"><div>
login_insert_csrf_secret();
@ <b>Banner Ad-Unit:</b><br />
textarea_attribute("", 6, 80, "adunit", "adunit", "", 0);
| > | 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
login_needed(0);
return;
}
db_begin_transaction();
if( P("clear")!=0 && cgi_csrf_safe(1) ){
db_multi_exec("DELETE FROM config WHERE name GLOB 'adunit*'");
cgi_replace_parameter("adunit","");
cgi_replace_parameter("adright","");
}
style_header("Edit Ad Unit");
@ <form action="%s(g.zTop)/setup_adunit" method="post"><div>
login_insert_csrf_secret();
@ <b>Banner Ad-Unit:</b><br />
textarea_attribute("", 6, 80, "adunit", "adunit", "", 0);
|
| ︙ | ︙ |