note
Zecho
Here's a quick fix I worked up here on my machine<br>
At the top of the code for the [login] page, I added:
<code>
if ($query->param('safe_mode') eq 'true') {
$$VARS{nodelets_off} = 1;
} else {
$$VARS{nodelets_off} = 0;
}
</code>
and I changed this:<br>
<code>
$query->checkbox("expires", "", "+10y", "save me a permanent cookie, cowboy!").
$query->submit("submit", "submit")
</code><br>to<br><code>
$query->checkbox("expires", "", "+10y", "save me a permanent cookie, cowboy!")."<br>".
$query->checkbox("safe_mode", "", "true" ,"Nodelets Off.")."<br>".
$query->submit("submit", "submit")
</code>
This works like a charm, without any side effects (at least none that I've seen so far). It's just a suggestion but, knowing my experience-level, there may be security or other related issues that I'm not aware of.<p><b>Update</b> if you want to see this in action, go [http://24.15.156.211/index.pl?node_id=247|here] and just click it on and off, no need for a username etc. Once you click submit, it will adjust the nodelets accordingly.
120362
120362