1 <script language
="javascript">
3 function deleteCurrency(n
,s
)
7 alert("<?php echo $LDNoMainDelete ?>");
9 else if (confirm("<?php echo $LDDeleteCurrency ?>"))
11 window
.location
.replace('<?php echo $thisfile.'?sid
='.$sid.'&lang
='.$lang ?>&mode=delete&item_no=' + n
);
21 <FONT COLOR
="<?php print $cfg['top_txtcolor']; ?>" SIZE
=+
2>
22 <?php
echo $LDSetCurrency ?
> </FONT
><FONT
class="prompt"><p
>
24 if(($mode=='save')&&$new_main_currency) echo '<img '.createMascot($root_path,'mascot1_r.gif','0','absmiddle').'> '.$LDNewCurrencySet.'<p>';
25 echo $LDPlsSelectCurrency;
30 <form action
="<?php echo $thisfile ?>" name
="c_form" method
="post" onSubmit
="return chkForm(this)">
31 <table border
=0 cellspacing
=1 cellpadding
=5>
34 while($currency=$ergebnis->FetchRow())
37 <td bgcolor="#e9e9e9"><input type="radio" name="new_main_item" value="'.$currency['item_no'].'"';
38 if($currency['status']=='main')
41 $old_main_item=$currency['item_no'];
44 <td bgcolor="#e9e9e9"><b>'.$currency['short_name'].'</b> </FONT></td>
45 <td bgcolor="#e9e9e9"><b>'.$currency['long_name'].'</b> </FONT></td>
46 <td bgcolor="#f9f9f9">'.$currency['info'].'<br></td>
47 <td bgcolor="#e9e9e9"><FONT ';
48 if($currency['status']=='main') {
50 $ld_buffer='LD'.$currency['status'];
51 echo '>'.$
$ld_buffer.'<br>';
55 if(defined('SET_EDIT') && SET_EDIT
==1) echo '<td bgcolor="#e9e9e9">
56 <a href="'.$editfile.$currency['item_no'].'"><button onClick="javascript:window.location.href=\''.$editfile.$currency['item_no'].'\'">'.$LDEditInfo.'</button></a>
58 //echo '<td><a href="'.$thisfile.'?sid='.$sid.'&lang='.$lang.'&mode=delete&item_no='.$currency['item_no'].'"><img '.createComIcon($root_path,'delete2.gif','0').' alt="'.$LDDelete.'"></a></td>';
59 if($currency['status']!='main'){
60 echo '<td bgcolor="#e9e9e9"><a href="javascript:deleteCurrency('.$currency['item_no'].',\''.$currency['status'].'\')"><img '.createComIcon($root_path,'delete2.gif','0').' alt="'.$LDDelete.'"></a></td>';
62 echo '<td bgcolor="#e9e9e9"> </td>';
71 <a href
="<?php echo $returnfile ?>"><img
<?php
echo createLDImgSrc($root_path,'back2.gif','0') ?
>></a
>
72 <input type
="image" <?php
echo createLDImgSrc($root_path,'savedisc.gif','0') ?
>> 
; 
; 
; 
;
73 <a href
="<?php echo $returnfile ?>"><img
<?php
echo createLDImgSrc($root_path,'close2.gif','0') ?
>></a
>
74 <input type
="hidden" name
="sid" value
="<?php echo $sid;?>">
75 <input type
="hidden" name
="lang" value
="<?php echo $lang; ?>">
76 <input type
="hidden" name
="old_main_item" value
="<?php echo $old_main_item; ?>">
77 <input type
="hidden" name
="mode" value
="save">
78 <input type
="hidden" name
="validator" value
="<?php for($i=0;$i<sizeof($LDDateFormats);$i++) echo $LDDateFormats[$i]."_
"; ?>">
82 <a href
="<?php echo $bottomlink; ?>">
83 <img
<?php
echo createComIcon($root_path,'bul_arrowgrnsm.gif','0') ?
>> <?php
echo $bottomlink_txt; ?
></a
>