Open MikeyGMT opened 7 years ago
And here
$selected = ($_POST['deprecatedLanFile'][0] == 'auto') ? "selected='selected'" :"";
$text .= "<option value='auto' {$selected}>".LANG_LAN_142."</option><optgroup label='".LANG_LAN_143."'>\n";//Auto-Detect
asort($_SESSION['languageTools_lanFileList']);
foreach($_SESSION['languageTools_lanFileList'] as $val)
@Moc @CaMer0n - any feedback on this last part? Is there a reason only parts of the code and Lans are accessible from the Deprecated Lans Function ... surely it would be good to include all?
"Thirdly, I want to ask why all files are not searchable via the function? For example Lans are used in Plugins, Handlers etc, and as we need to check if a define is anywhere in the code, it would make sense to be able to search all the files."
Whoops, sorry I thought this was all sorted out now. Reopening.
I think it would be a nice addition to have all files searchable.. I am not using any multilingual sites at the moment, so I am not that much into this discussion. Sorry.
Hi All, Does anyone object to me making a couple of minor tweaks to Deprecated Lans function?
Hence move the Info text to it's own row. Add tr's
Sort the file arrays, hence these new lines - which use asort. I'll indent appropriately on commit.
Thirdly, I want to ask why all files are not searchable via the function? For example Lans are used in Plugins, Handlers etc, and as we need to check if a define is anywhere in the code, it would make sense to be able to search all the files.
Cheers Mikey