Suggestion@devs: to populate defaults and thus allow shorter search URLs, edit thumbnails.php, find
if ($superCage->get->keyExists('search')) {
// find out if a parameter has been submitted at all
$allowed = array('title', 'caption', 'keywords', 'filename', 'pic_raw_ip', 'pic_hdr_ip', 'user1', 'user2', 'user3', 'user4', 'type');
foreach ($allowed as $key) {
if ($superCage->get->keyExists($key)) {
$USER['search']['params'][$key] = $superCage->get->getEscaped($key);
} else {
unset($USER['search']['params'][$key]);
}
}
and replace with
if ($superCage->get->keyExists('search')) {
// find out if a parameter has been submitted at all
$allowed = array('title' => 'on', 'caption' => 'on', 'keywords' => 'on', 'filename', 'pic_raw_ip', 'pic_hdr_ip', 'user1', 'user2', 'user3', 'user4', 'type' => 'AND');
foreach ($allowed as $key => $value) {
if ($superCage->get->keyExists($key)) {
$USER['search']['params'][$key] = $superCage->get->getEscaped($key);
} else {
if ($value != '') {
$USER['search']['params'][$key] = $value;
} else {
unset($USER['search']['params'][$key]);
}
}
}
What do you think of that proposal?
Joachim
[ot]
Sorry, it didn't end in penalties as you feared, but I still hope you're not mad at me
. The second English goal was good imo: if wishful thinking mattered in football I would have prefered it if the referee would have seen it as goal as well, as it gives a bitter taste to the entire game result that it didn't count.
[/ot]