Revision 334
Added by stefan almost 19 years ago
modify.php | ||
---|---|---|
44 | 44 |
'TEXT_TARGET' => $TEXT['TARGET'], |
45 | 45 |
'TEXT_NEW_WINDOW' => $TEXT['NEW_WINDOW'], |
46 | 46 |
'TEXT_SAME_WINDOW' => $TEXT['SAME_WINDOW'], |
47 |
'TEXT_TOP_FRAME' => $TEXT['TOP_FRAME'], |
|
47 | 48 |
'TEXT_SAVE' => $TEXT['SAVE'], |
48 | 49 |
'TEXT_CANCEL' => $TEXT['CANCEL'], |
49 | 50 |
'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT'] |
50 | 51 |
) |
51 | 52 |
); |
52 | 53 |
|
53 |
// Select target |
|
54 |
if($target == '_blank') { |
|
55 |
$template->set_var('BLANK_SELECTED', ' selected'); |
|
56 |
} elseif($target == '_top') { |
|
57 |
$template->set_var('TOP_SELECTED', ' selected'); |
|
54 |
// Select what the page target is |
|
55 |
switch ($target) { |
|
56 |
case '_top': |
|
57 |
$template->set_var('TOP_SELECTED', ' selected'); |
|
58 |
break; |
|
59 |
case '_self': |
|
60 |
$template->set_var('SELF_SELECTED', ' selected'); |
|
61 |
break; |
|
62 |
case '_blank': |
|
63 |
$template->set_var('BLANK_SELECTED', ' selected'); |
|
64 |
break; |
|
58 | 65 |
} |
59 | 66 |
|
60 | 67 |
// Parse template object |
Also available in: Unified diff
Changed link target selection. Now: self, top, new. Ticket #145