Revision 334
Added by stefan over 18 years ago
settings.php | ||
---|---|---|
364 | 364 |
$template->set_var('SEARCHING_DISABLED', ' selected'); |
365 | 365 |
} |
366 | 366 |
// Select what the page target is |
367 |
if($results_array['target'] == '_top') { |
|
368 |
$template->set_var('TOP_SELECTED', ' selected'); |
|
369 |
} elseif($results_array['target'] == '_blank') { |
|
370 |
$template->set_var('BLANK_SELECTED', ' selected'); |
|
367 |
switch ($results_array['target']) { |
|
368 |
case '_top': |
|
369 |
$template->set_var('TOP_SELECTED', ' selected'); |
|
370 |
break; |
|
371 |
case '_self': |
|
372 |
$template->set_var('SELF_SELECTED', ' selected'); |
|
373 |
break; |
|
374 |
case '_blank': |
|
375 |
$template->set_var('BLANK_SELECTED', ' selected'); |
|
376 |
break; |
|
371 | 377 |
} |
378 |
|
|
372 | 379 |
|
373 | 380 |
// Insert language text |
374 | 381 |
$template->set_var(array( |
... | ... | |
394 | 401 |
'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT'], |
395 | 402 |
'TEXT_NEW_WINDOW' => $TEXT['NEW_WINDOW'], |
396 | 403 |
'TEXT_SAME_WINDOW' => $TEXT['SAME_WINDOW'], |
404 |
'TEXT_TOP_FRAME' => $TEXT['TOP_FRAME'], |
|
397 | 405 |
'TEXT_ADMINISTRATORS' => $TEXT['ADMINISTRATORS'], |
398 | 406 |
'TEXT_PRIVATE_VIEWERS' => $TEXT['PRIVATE_VIEWERS'], |
399 | 407 |
'TEXT_REGISTERED_VIEWERS' => $TEXT['REGISTERED_VIEWERS'], |
Also available in: Unified diff
Changed link target selection. Now: self, top, new. Ticket #145