echo error_message_with_hide($message, 0); } } else { ?> <form enctype="multipart/form-data" class="validate" action="<?php echo $_SERVER['PHP_SELF']; ?> " method="post" onsubmit="{return confirm ('Did you double-check everything?\nAre you sure?');}"> <table class="tab3" cellspacing="0" cellpadding="5"> <tr> <td class="td1 center"><b>Language:</b></td> <td class="td1"> <select name="LgID" class="notempty setfocus"> <?php echo get_languages_selectoptions(getSetting('currentlanguage'), '[Choose...]'); ?> </select> <img src="icn/status-busy.png" title="Field must not be empty" alt="Field must not be empty" /> </td> </tr> <tr> <td class="td1 center"><b>Import Data:</b><br /><br /> Format per line:<br /> C1 D C2 D C3 D C4 D C5<br /> <br /><b>Field Delimiter "D":</b><br /> <select name="Tab"> <option value="c" selected="selected">Comma "," [CSV File, LingQ]</option> <option value="t">TAB (ASCII 9) [TSV File]</option> <option value="h">Hash "#" [Direct Input]</option> </select> <br />
if ($currentsort > $lsorts) { $currentsort = $lsorts; } ?> <form name="form1" action="#" onsubmit="document.form1.querybutton.click(); return false;"> <table class="tab1" cellspacing="0" cellpadding="5"> <tr> <th class="th1" colspan="4">Filter <img src="icn/funnel.png" title="Filter" alt="Filter" /> <input type="button" value="Reset All" onclick="resetAll('edit_archivedtexts.php');" /></th> </tr> <tr> <td class="td1 center" colspan="2"> Language: <select name="filterlang" onchange="{setLang(document.form1.filterlang,'edit_archivedtexts.php');}"><?php echo get_languages_selectoptions($currentlang, '[Filter off]'); ?> </select> </td> <td class="td1 center" colspan="2"> Text Title (Wildc.=*): <input type="text" name="query" value="<?php echo tohtml($currentquery); ?> " maxlength="50" size="15" /> <input type="button" name="querybutton" value="Filter" onclick="{val=document.form1.query.value; location.href='edit_archivedtexts.php?page=1&query=' + val;}" /> <input type="button" value="Clear" onclick="{location.href='edit_archivedtexts.php?page=1&query=';}" /> </td> </tr> <tr> <td class="td1 center" colspan="2" nowrap="nowrap">
} ?> <script type="text/javascript"> //<![CDATA[ if (! areCookiesEnabled()) document.write('<p class="red">*** Cookies are not enabled! Please enable! ***</p>'); //]]> </script> <?php if ($langcnt > 0) { ?> <ul> <li>Language: <select id="filterlang" onchange="{setLang(document.getElementById('filterlang'),'index.php');}"><?php echo get_languages_selectoptions($currentlang, '[Select...]'); ?> </select></li> </ul> <?php if ($currenttext != '') { $txttit = get_first_value('select TxTitle as value from ' . $tbpref . 'texts where TxID=' . (int) $currenttext); if (isset($txttit)) { $txtlng = get_first_value('select TxLgID as value from ' . $tbpref . 'texts where TxID=' . (int) $currenttext); $lngname = getLanguage($txtlng); ?> <ul> <li>My last Text (in <?php echo tohtml($lngname); ?>