Changeset 224
- Timestamp:
- 03/21/07 16:23:05 (2 years ago)
- Files:
-
- trunk/webmin/backuppc/backuppc.js (modified) (1 diff)
- trunk/webmin/backuppc/choix.cgi (modified) (4 diffs)
- trunk/webmin/backuppc/debian/changelog (modified) (1 diff)
- trunk/webmin/backuppc/host_config.cgi (modified) (1 diff)
- trunk/webmin/backuppc/lang/en (modified) (1 diff)
- trunk/webmin/backuppc/lang/fr (modified) (1 diff)
- trunk/webmin/backuppc/module.info (modified) (1 diff)
- trunk/webmin/backuppc/tmpl/en/choix.tpl (modified) (1 diff)
- trunk/webmin/backuppc/tmpl/fr/choix.tpl (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/webmin/backuppc/backuppc.js
r164 r224 8 8 return true; 9 9 } 10 11 function addShare(sel, dest) 12 { 13 var toadd = sel.value; 14 if (toadd == "") return; 15 // already added ? 16 found = false; 17 for (n=0; n < dest.length; n++) { 18 if (dest.options[n].value == toadd) found = true; 19 } 20 if (found == false) { 21 dest.options[dest.length] = new Option(toadd, toadd); 22 dest.form.newshare.value = toadd; 23 } 24 } 25 26 function delShare(dest) 27 { 28 dest.remove(dest.selectedIndex); 29 } 30 31 function selectAllShares(dest) 32 { 33 sel = ""; 34 for (n=0; n < dest.length; n++) { 35 sel = sel + dest.options[n].value + "|"; 36 } 37 dest.form.selshares.value = sel; 38 } trunk/webmin/backuppc/choix.cgi
r164 r224 57 57 58 58 if (isset($_REQUEST['username']) && isset($_REQUEST['passwd'])) { // needed for smbclient 59 //$username = $_REQUEST['username'];59 $username = $_REQUEST['username']; 60 60 //$get_data = $get_data . "&username=$username"; 61 //$passwd = $_REQUEST['passwd'];61 $passwd = $_REQUEST['passwd']; 62 62 //$get_data = $get_data . "&passwd=$passwd"; 63 63 } … … 87 87 } 88 88 } 89 // add shares to $_REQUEST array90 $get_data = $get_data . "&shares=";91 for ($i=0; $i<count($shares); $i++)92 if ($shares[$i] != "")93 $get_data = $get_data . $shares[$i] . "|";89 // add shares to $_REQUEST array 90 // $get_data = $get_data . "&shares="; 91 // for ($i=0; $i<count($shares); $i++) 92 // if ($shares[$i] != "") 93 // $get_data = $get_data . $shares[$i] . "|"; 94 94 95 95 if ( isset($_REQUEST['add']) && $_REQUEST['add'] != "") { // rsync - eventually add another folder … … 143 143 $t->set_block("choix", "added_share_row","added_share_rows"); 144 144 foreach ($shares as $share) { 145 if (!in_array($share, $shares_all)) {146 145 $t->set_var("SHARE", $share); 147 146 $t->parse("added_share_rows", "added_share_row", true); 148 147 $i++; 149 }150 148 } 151 149 $t->set_var("SHARE_SIZE", $i); 152 150 153 # output everything 154 151 # translations 152 foreach (array("AVAIL_SHARES", "SELECTED_SHARES", "ADD", "SUBMIT") as $txt) { 153 $t->set_var("TEXT_$txt", $text[strtolower("lab_$txt")]); 154 } 155 156 # output everything 155 157 echo perl_exec("lbs_header.cgi", array("backuppc host_configuration", $text{'tit_conf'}, "index")); 156 158 $t->pparse("out", "choix"); … … 162 164 LIB_init_config(); 163 165 164 $lbs = isLBS();165 166 166 $t = tmplInit( array( "choix" => "choix.tpl" ) ); 167 167 trunk/webmin/backuppc/debian/changelog
r164 r224 1 webmin-backuppc (0.9. 0) stable; urgency=low1 webmin-backuppc (0.9.1) stable; urgency=low 2 2 3 3 * See SVN history. trunk/webmin/backuppc/host_config.cgi
r164 r224 100 100 $get_data = $get_data . "&xfermethod=$xfermethod"; 101 101 } 102 if (isset($_ GET['username']) && isset($_GET['passwd'])) { // needed by smbclient in choix.php103 $username = $_ GET['username'];104 $passwd = $_ GET['passwd'];105 } 106 if (isset($_ GET['shares'])) { // got share from rsync or from multiple changes107 $shares = explode("|", $_GET['shares']);102 if (isset($_REQUEST['username']) && isset($_REQUEST['passwd'])) { // needed by smbclient in choix.php 103 $username = $_REQUEST['username']; 104 $passwd = $_REQUEST['passwd']; 105 } 106 if (isset($_REQUEST['selshares'])) { // got share from rsync or from multiple changes 107 $shares = split("\|", $_REQUEST['selshares']); 108 108 if ($shares[count($shares) - 1] == "") 109 109 array_splice($shares, count($shares) - 1, 1); 110 // $get_data = $get_data . "&shares=" . $_GET['shares'];111 110 } 112 111 } trunk/webmin/backuppc/lang/en
r24 r224 1 author=<A HREF="http://www.freealter.com"><b>Free&Alter Soft</b></A>2 3 tit_index=LRS Admin4 tit_bmenu=Boot menu5 tit_conf=Backup Configuration6 tit_hwinfo=Hardware Config7 tit_restorechoose=Image data to be restored8 tit_delete=Delete9 tit_desc=Description Edition10 tit_title=Title edition11 tit_move=Images12 tit_imgbase=Base images13 tit_dhcp=DHCP14 tit_error=Error15 tit_name=Name edition16 tit_renamemac=Change MAC address17 tit_tc=Traffic shaping18 tit_details=Details19 tit_showlogs=Backup Logs20 21 lnk_imgbase=Base images22 lnk_dhcp=DHCP form23 lnk_index=Clients overview24 lnk_tc=Traffic shaping25 26 but_apply=Apply27 but_cancel=Cancel28 but_return=Return29 but_rm_machine=Remove this client30 but_rename=Rename31 but_renamemac=Change MAC address32 but_images=Images...33 but_imgbase=Base images details34 35 36 lab_adminid=Admin ID37 lab_backup=Files38 lab_baseimg=Base image39 lab_burn=Burn40 lab_datarestored=Data restored41 lab_defchoice=Default choice42 lab_desc=Description43 lab_details=Details44 lab_dir=Directory45 lab_display=Display46 lab_name=Name47 lab_hwinfo=Info48 lab_imglink=Link to an image49 lab_ipaddr=IP address50 lab_group=Group51 lab_macaddr=MAC address52 lab_menu=Menu53 lab_rm=Remove54 lab_title=Title55 lab_tobase=To Base56 lab_tolocal=To Local57 lab_tomenu=To Menu58 lab_usedby=Used by59 lab_none=(none)60 lab_notitle=(no title)61 lab_nodesc=(no description)62 lab_result=Result63 lab_number=Images64 lab_size=Size (MB)65 lab_option=Option66 lab_value=Value67 lab_hidden=Hidden menu68 lab_space=Disk space69 lab_disk=Disk70 lab_used=Used71 lab_free=Free72 lab_mount=Mount point73 lab_woltasks=WOL tasks74 lab_nosecurity=GRUB command line access75 lab_tc_status=Detailed status of traffic shaping:76 lab_ordynamic=<small>(or 'Dynamic' if the address is dynamically assigned)</small>77 lab_newmac=New MAC address78 79 tab_index=Registered hosts80 tab_imgbase=Base images81 tab_move_bootmenu=Boot menu82 tab_move_local=Local images for this client83 tab_move_base=Base images84 tab_hwinfo_main=MAIN85 tab_hwinfo_pci=PCI Devices86 tab_hwinfo_disks=DISKS87 88 msg_bootmenu_writeok=Host <b>$1</b> ($2): boot menu successfully generated.89 msg_delete_ok=Host <b>$1</b> ($2) successfully removed.90 msg_delete_confirm=Remove host <b>$1</b> ($2) ?91 msg_delete_warn=WARNING: All information about this host will be deleted, including backups !92 msg_delimg_confirm=Remove image <b>$1</b> ?93 msg_delimg_warn=WARNING: All data about this image will be deleted!94 msg_delimg_symlink=This image is just a link to one another. Only this link will be deleted.95 msg_dhcp_formdesc=Register new host entry in dhcpd.conf96 msg_dhcp_addofentry=Add of entry97 msg_dhcp_nolic=Sorry, you cannot add more clients. License exhausted.98 msg_imgbase_delconfirm=Remove image <b>$1</b> ?99 msg_imgbase_delwarn=WARNING: All data about this image will be deleted!100 msg_index_empty=No registered host.101 msg_conf_partcopy=Partition $1, disk $2 ($3)102 msg_conf_ptabs=Disk $1 partition table103 msg_save_error=Backup error detected104 msg_save_noerror=Backup clean105 msg_save_log=See the full backup log106 107 acl_modify=User can modify configuration108 acl_yes=Yes109 acl_no=No110 acl_error=You have access to the system time module, but you can't edit neither system time or hardware time111 acl_nomod=You are not allowed to modify the configuration112 113 err_cnf=Error : $1 command not found114 err_dnf='$1': Directory not found115 err_fnf='$1': File not found116 err_bootmenu_mustdef=Invalid menu. You must select a default menu item.117 err_bootmenu_atleastone=Invalid menu. You must select at least one boot menu item.118 err_bootmenu_baddef=Default boot menu '$1' is not valid, because it is not part of the selected boot menu items.119 err_invalcgi_badop=Invalid CGI request. Operation not registered.120 err_invalcgi_noimg=Invalid CGI request. No image argument.121 err_invalcgi_nomac=Invalid CGI request. No mac argument.122 err_invalcgi_nomenu=Invalid CGI request. No menu argument.123 err_invalcgi_toofewargs=Invalid CGI request. Too few arguments.124 err_mac_inval='$1': Invalid MAC address125 err_mac_mandat=The MAC address is mandatory.126 err_mac_used=MAC address already declared127 err_name_mandat=The name is mandatory.128 err_name_inval='$1': Invalid name.129 err_name_usedby=Name '$1' is already used by host '$2'.130 err_adminid_mandat=The admin ID is mandatory.131 err_ip_inval='$1': Invalid IP address.132 err_hwinfo_noini=Hardware configuration for host '$1' was not found.133 err_imgbase_usedby='$1': This image can't be removed, because it is currently used by host(s):<br> $2 .134 err_confnf=LRS configurtion file <b>$1</b> not found. Please check path in module configuration.135 err_paramnf=Parameter <tt>$1</tt> not found in file <b>$2</b> .136 err_basedirnf=LRS root directory <b>$1</b> not found. You should check <tt>basedir</tt> located into <tt>lbs.conf</tt> .137 err_cantlink=Unable to link <tt>$1</tt> with <tt>$2</tt> .138 err_gcr_not_running=The 'getClientResponse' daemon is not running. You probably have a license problem. Check that your licences are correct and then restart the lbs service by clicking <a href="restart.cgi">here</a>.139 140 1 backup_empty_share=List of the share folders of this machine is empty.<BR>Check the user name and password. 141 2 backup_reg=This machine is not backuped. Add this client to BackupPC's hosts file? 142 143 smb_name=Windows (smb) 144 tar_name=Unix (NFS) 145 tarssh_name=Tar SSH 146 rsync_name=Distant backup (rsync) 147 rsyncd_name=Distant backup daemon (rsyncd) 148 3 err_basedirnf=LRS root directory <b>$1</b> not found. You should check <tt>basedir</tt> located into <tt>lbs.conf</tt> . 4 err_paramnf=Parameter <tt>$1</tt> not found in file <b>$2</b> . 149 5 gen_conf_title=General configuration 6 lab_add=Add 7 lab_avail_shares=Available shares 8 lab_backup=Files 9 lab_selected_shares=Selected shares 10 lab_submit=Submit 11 tit_conf=Backup Configuration 12 tit_error=Error trunk/webmin/backuppc/lang/fr
r164 r224 1 author=<A HREF="http://www.freealter.com/"><b>Free&Alter Soft</b></A>2 3 tit_index=LRS Admin4 tit_bmenu=Menu de démarrage5 tit_conf=Configuration Sauvegarde6 tit_delete=Effacement7 tit_desc=Edition de description8 tit_dhcp=DHCP9 tit_error=Erreur10 tit_hwinfo=Config matérielle11 tit_imgbase=Images de base12 tit_move=Images13 tit_name=Edition du nom14 tit_renamemac=Changement adresse MAC15 tit_restorechoose=Choix des données à restaurer16 tit_tc=Limitation de bande passante17 tit_title=Edition de titre18 tit_details=Détails19 tit_showlogs=Logs de la sauvegarde20 21 lnk_imgbase=Images de base22 lnk_dhcp=Formulaire DHCP23 lnk_index=Liste des clients24 lnk_tc=Bande passante25 26 but_apply=Appliquer27 but_cancel=Annuler28 but_return=Retour29 but_rm_machine=Effacer cette machine30 but_images=Images...31 but_rename=Renommer32 but_renamemac=Changement @ MAC33 but_imgbase=Details Images de Base34 35 lab_adminid=Admin ID36 lab_baseimg=Image de base37 lab_backup=Fichiers38 lab_burn=Graver39 lab_datarestored=Données restaurées40 lab_defchoice=Choix par défaut41 lab_desc=Description42 lab_details=Détails43 lab_dir=Répertoire44 lab_display=Affichage45 lab_name=Nom46 lab_group=Groupe47 lab_hwinfo=Info48 lab_imglink=Lien vers une image49 lab_ipaddr=Adresse IP50 lab_macaddr=Adresse MAC51 lab_menu=Menu52 lab_rm=Effacer53 lab_title=Titre54 lab_tobase=Vers Base55 lab_tolocal=Vers Local56 lab_tomenu=Vers Menu57 lab_usedby=Utilisée par58 lab_none=(néant)59 lab_notitle=(sans titre)60 lab_nodesc=(sans description)61 lab_result=Résultat62 lab_number=Images63 lab_size=Taille (Mo)64 lab_option=Option65 lab_value=Valeur66 lab_hidden=Menu caché67 lab_space=Espace disque68 lab_disk=Disque69 lab_used=Util.70 lab_free=Libre71 lab_mount=Monté sur72 lab_woltasks=Tâches WOL73 lab_nosecurity=Accès ligne de command GRUB74 lab_tc_status=Etat détaillé de la limitation de BP:75 lab_ordynamic=<small>(ou 'Dynamic' si l'adresse est assignée dynamiquement)</small>76 lab_newmac=Nouvelle adresse MAC77 78 tab_index=Clients enregistrés79 tab_imgbase=Images de base80 tab_move_bootmenu=Menu de démarrage81 tab_move_local=Images locales de cette machine82 tab_move_base=Images de base83 tab_hwinfo_main=GENERAL84 tab_hwinfo_pci=Périphériques PCI85 tab_hwinfo_disks=Disques86 87 msg_bootmenu_writeok=Génération du menu de démarrage de <b>$1</b> ($2) effectuée avec succès.88 msg_delete_ok=Effacement de la machine <b>$1</b> ($2) effectué avec succès.89 msg_delete_confirm=Effacer la machine <b>$1</b> ($2) ?90 msg_delete_warn=ATTENTION: cela effacera toutes les données concernant cette machine. Y compris ses sauvegardes!91 msg_delimg_confirm=Effacer l'image <b>$1</b> ?92 msg_delimg_warn=ATTENTION: cela effacera toutes les données concernant cette image!93 msg_delimg_symlink=Cette image est juste un lien vers une autre image. Seul le lien lui-même sera effacé.94 msg_dhcp_formdesc=Ajout d'une nouvelle entrée dans dhcpd.conf95 msg_dhcp_addofentry=Ajout de l'entrée96 msg_dhcp_nolic=Désolé, vous ne pouvez plus ajouter d'autres clients. Pas assez de licences.97 msg_imgbase_delconfirm=Effacer l'image <b>$1</b> ?98 msg_imgbase_delwarn=ATTENTION: Cela effacera toutes les données concernant cette image !99 msg_index_empty=Aucune machine enregistrée100 msg_conf_partcopy=Partition $1, disque $2 ($3)101 msg_conf_ptabs=Table de partitions du disque $1102 msg_save_error=Erreur de sauvegarde détectée103 msg_save_noerror=Sauvegarde correcte104 msg_save_log=Voir le log complet de sauvegarde105 106 acl_modify=L'usager peut modifier la configuration107 acl_yes=Oui108 acl_no=Non109 acl_error=Vous avez accès à ce module, mais vous n'êtes pas autorisé à effectuer de modifications110 acl_nomod=Vous n'etes pas autorisé à modifier la configuration111 112 err_cnf='$1': Commande introuvable113 err_dnf='$1': Répertoire introuvable114 err_fnf='$1': Fichier introuvable115 err_bootmenu_mustdef=Menu invalide. Vous devez choisir un menu de boot par defaut.116 err_bootmenu_atleastone=Menu invalide. Vous devez choisir au moins 1 menu de démarrage.117 err_bootmenu_baddef=Le menu de boot par defaut '$1' est invalide, car il ne fait pas partie de la liste des menus de démarrage sélectionnés.118 err_invalcgi_badop=Requete CGI invalide. Opération non reconnue.119 err_invalcgi_noimg=Requete CGI invalide. Absence d'image.120 err_invalcgi_nomac=Requete CGI invalide. Absence d'adresse mac.121 err_invalcgi_nomenu=Requete CGI invalide. Absence de menu.122 err_invalcgi_toofewargs=Requete CGI invalide. Pas assez d'arguments.123 err_mac_inval='$1': Adresse MAC invalide.124 err_mac_mandat=L'adresse MAC est obligatoire.125 err_mac_used=Adresse MAC déjà déclarée126 err_name_mandat=Le nom est obligatoire.127 err_name_inval='$1': Format de nom invalide.128 err_name_usedby=Le nom '$1' est déjà utilisé par la machine '$2'.129 err_adminid_mandat=Le mot de passe d'identification est obligatoire.130 err_ip_inval='$1': Adresse IP invalide.131 err_hwinfo_noini=Configuration matérielle pour '$1' introuvable.132 err_imgbase_usedby='$1': Cette image ne pas etre effacée, car elle est actuellement utilisée par les machines:<br> $2 .133 err_confnf=Fichier de configuration LRS <b>$1</b> introuvable. Veuillez vérifier son chemin dans la configuration du module.134 err_paramnf=Paramètre <tt>$1</tt> introuvable dans <b>$2</b> .135 err_basedirnf=Le répertoire racine LRS <b>$1</b> est inaccessible. Veuillez vérifier le paramètre <tt>basedir</tt> dans le fichier <tt>lbs.conf</tt> .136 err_cantlink=Impossible détablir un lien <tt>$1</tt> avec <tt>$2</tt> .137 err_gcr_not_running=The 'getClientResponse' daemon is not running. You probably have a license problem. Check that your licences are correct and then restart the lbs service by clicking <a href="restart.cgi">here</a>.138 139 1 backup_empty_share=La liste de dossiers partagés de cette machine est vide.<BR>Vérifiez le nom d'utilisateur et le mot de passe. 140 2 backup_reg=Cette machine n'est pas sauvegardée. Ajouter cette machine au fichier '/etc/backuppc/hosts'? 141 142 smb_name=Windows (smb) 143 tar_name=Unix (NFS) 144 tarssh_name=Tar SSH 145 rsync_name=Sauvegarde distante (rsync) 146 rsyncd_name=Sauvegarde distante mode démon (rsyncd) 147 3 err_basedirnf=Le répertoire racine LRS <b>$1</b> est inaccessible. Veuillez vérifier le paramètre <tt>basedir</tt> dans le fichier <tt>lbs.conf</tt> . 4 err_paramnf=Paramètre <tt>$1</tt> introuvable dans <b>$2</b> . 148 5 gen_conf_title=Configuration générale 6 lab_add=Ajouter 7 lab_avail_shares=Partages disponibles 8 lab_backup=Fichiers 9 lab_selected_shares=Partages sauvegardés 10 lab_submit=Valider 11 tit_conf=Configuration Sauvegarde 12 tit_error=Erreur trunk/webmin/backuppc/module.info
r164 r224 4 4 category=Webmin 5 5 depends=0.94 lbs_common 6 version=0.9. 06 version=0.9.1 trunk/webmin/backuppc/tmpl/en/choix.tpl
r164 r224 1 <BR> 1 <script type="text/javascript" language="JavaScript" src="backuppc.js"></script> 2 <style media="screen" type="text/css"> 3 .warning { border: 2px solid red;} 4 .select { width: 250px; } 5 .shareform { width: 500px; margin:0px auto; } 6 .shareform td { border-style: none; } 7 .shareform table { border-style: solid; 8 border-width: 1px; 9 padding: 10px; 10 } 11 </style> 12 <div class="shareform"> 13 14 <!-- BEGIN warning_row --> 15 <p class="warning">{EMPTY_LIST}</p> 16 <!-- END warning_row --> 17 2 18 <FORM METHOD="post" ACTION="host_config.cgi{GET_DATA}"> 3 <INPUT TYPE="hidden" NAME="username" VALUE="{USERNAME}"> 4 <INPUT TYPE="hidden" NAME="passwd" VALUE="{PASSWD}"> 5 <INPUT TYPE="hidden" NAME="mac" VALUE="{MAC}"> 6 <INPUT TYPE="hidden" NAME="host" VALUE="{HOST}"> 19 <INPUT TYPE="hidden" NAME="username" VALUE="{USERNAME}"> 20 <INPUT TYPE="hidden" NAME="passwd" VALUE="{PASSWD}"> 21 <INPUT TYPE="hidden" NAME="mac" VALUE="{MAC}"> 22 <INPUT TYPE="hidden" NAME="host" VALUE="{HOST}"> 23 <INPUT TYPE="hidden" NAME="selshares" VALUE=""> 7 24 8 <TABLE BORDER=1 CELLPADDING=5 ALIGN="center"> 9 <TR BGCOLOR="#e2e2e2"> 10 <TH ALIGN="left">Shared folders of {HOST}</TH> 11 </TR> 12 <TR ALIGN="center"> 13 <TD>Backup method: <B>{XFERMETHOD_NAME}</B></TD> 14 </TR> 15 16 <TR ALIGN="center" VALIGN="top"> 17 <TD> 18 19 20 <TABLE CELLPADDING="0" WIDTH="100%" class="noborder"> 21 <!-- BEGIN warning_row --> 22 <TR> 23 <TD COLSPAN=3 ALIGN="center" class="noborder"> 24 <FONT COLOR="#FF0000">{EMPTY_LIST}</FONT> 25 </TD> 26 </TR> 27 <!-- END warning_row --> 28 <TR> 29 <TD ALIGN="LEFT" VALIGN="top" class="noborder">Shared folders:<BR><BR> 30 <INPUT TYPE="text" NAME="new_share"><BR> 31 <INPUT TYPE="button" VALUE="Add" onClick="window.location.href='choix.cgi{GET_DATA}&add='+new_share.value"> 32 </TD> 33 <TD COLSPAN="2" class="noborder"> 34 <!-- BEGIN found_share_row --> 35 <INPUT TYPE="checkbox" NAME="found_shares[]" {SHARE_CHECKED} VALUE="{SHARE}" onClick="window.location.href='choix.cgi{GET_DATA}&found_change='+this.checked+'&found_name='+this.value">{SHARE}<BR> 36 <!-- onChange --> 37 <!-- END found_share_row --> 38 </TD> 39 </TR> 40 <TR> 41 <TD ALIGN="RIGHT" VALIGN="top" class="noborder"> 42 <INPUT TYPE="button" VALUE="Delete" onClick="window.location.href='choix.cgi{GET_DATA}&delete='+added_shares.value"> 43 </TD> 44 <TD class="noborder"> 45 <SELECT NAME="added_shares" SIZE="{SHARE_SIZE}"> 46 <!-- BEGIN added_share_row --> 47 <OPTION VALUE="{SHARE}">{SHARE} 48 <!-- END added_share_row --> 49 </SELECT> 50 </TD> 51 </TR> 52 53 </TABLE> 54 55 56 </TD> 57 </TR> 58 <TR> 59 <TD ALIGN="center" VALIGN="bottom"> 60 <INPUT TYPE="submit" VALUE="Apply"> 61 <INPUT TYPE="button" VALUE="Cancel" onClick="window.location.href='host_config.cgi{GET_DATA_BREF}';"> 62 </TD> 63 </TR> 64 </TABLE> 65 </FORM> 66 67 <BR> 68 <BR> 25 <table style="width: 100%;"> 26 <tbody> 27 <tr> 28 <td style="width: 50%; text-align: center;">{TEXT_AVAIL_SHARES}:</td> 29 <td style="width: 50%; text-align: center;">{TEXT_SELECTED_SHARES}:</td> 30 </tr> 31 <tr> 32 <td> 33 <select class="select" size="10" name="available" onClick="addShare(this.form.available, this.form.shares);"> 34 <!-- BEGIN found_share_row --> 35 <OPTION VALUE="{SHARE}">{SHARE}</OPTION> 36 <!-- END found_share_row --> 37 </select> 38 </td> 39 <td> 40 <select class="select" size="10" name="shares" onChange="delShare(this.form.shares);" > 41 <!-- BEGIN added_share_row --> 42 <OPTION VALUE="{SHARE}">{SHARE}</OPTION> 43 <!-- END added_share_row --> 44 </select> 45 </td> 46 </tr> 47 <tr> 48 <td><input name="newshare" size="20"><input name="addshare" value="{TEXT_ADD}" type="button" onClick="addShare(this.form.newshare, this.form.shares);"></td> 49 <td style="text-align: right"><input name="submit" value="{TEXT_SUBMIT}" type="submit" onClick="selectAllShares(this.form.shares);"></td> 50 </tr> 51 </tbody> 52 </table> 53 </form> 54 </div>
