GetLanguageList(); $filter = isset($_GET['lang_show']) ? $_GET['lang_show'] : array(); $module = Tools_Http::Get ('module',true); $paging_filter = ''; if($module) $paging_filter = '&module='.$module; if (!empty($filter)) { $langs = array_intersect ($filter, $langs); } ?>

Str('Valodas')?>

Exec("SELECT * FROM languages_texts WHERE 1=1 ".$filter_str." ORDER BY id DESC"); $rows = $DB -> Count($get); $data = array(); if ($rows) { for ($i=0;$i<$rows;$i++) { $row = $DB->Fetch($get); $data[$row['type'].'/'.$row['col'].'/'.$row['objectid'] ][$row['lang']] = array('translation'=>$row['translation'], 'id' => $row['id']); } } //unset($langs[array_search('lv',$langs)]); if (!empty($data)) { ?>
$row) { list ($table, $column, $id) = explode('/',$key); switch ($table) { case 'goods_categories': { $t_title = 'Preču kategoriija'; break; } case 'photo_galleries': { $t_title = 'Fotogalerija'; break; } case 'properties_groups': { $t_title = 'Preču īpašības'; break; } case 'goods': { $t_title = 'Preces'; break; } } $t_title = $L->Str($t_title); $krow = $DB -> GetRow ($table,$id); $key = $krow[$column]; ?> addText ($table, $column, $id); $tid = $res[$l]; } ?>
Str('Atslēga')?> Str('Avots')?> GetLangName($l)?>
'textareas'), "basic", 220, "translate[".$tid."]"); ?>
'.$L->Str('Nav ierakstu.').'
'; } } if ($mod == 'editor') { $search = $DB->Escape(Tools_Http::Get('search')); $in_lang = $DB->Escape(Tools_Http::Get('in_lang')); $str_type = Tools_Http::Get('string_type',true); $empty_only = Tools_Http::Get('empty_only',true); $where = "1=1"; if ($empty_only) $search=''; if ($search) { $where .= " AND (".$in_lang." LIKE '%".$search."%' OR `original` LIKE '%".$search."%') "; } if ($empty_only) { $where .= " AND (".$in_lang." IS NULL OR ".$in_lang."='')"; $paging_filter.='&empty_only=1'; } if ($str_type) { $where .= " AND static = ".($str_type==1?1:0)." "; } if ($module) { $where .= " AND module = ".$module." "; } if($in_lang) { $paging_filter.= '&in_lang='.$in_lang; } $rowsPerPage = 40; $row_c = $DB->GetRowCount("languages",$where); $page = Tools_Http::Get('p',true); $pagingQuery = $DB->GetPagingQuery ($rowsPerPage,$row_c,$page); $data = $DB->GetArray ("SELECT * FROM languages WHERE ".$where." ORDER BY id DESC".$pagingQuery); ?>
Str('Meklēt tulkojumos')?>

/>

Str('Uzrādīt valodas')?>
GetLanguageList(); if (!empty($full_langs)) { ?>
  • name="lang_show[]" value="" /> GetLangName($l)?>
'); ?>
Atslēga GetLangName($l)?>
lang_key]?> lang_key])>50) { ?>
'); ?>
Str('Nav ierakstu.'); } } if ($mod == 'maintenance') { ?>
Str('Pieejamās valodas')?> GetLanguageStatus($l); ?>
Str('Kods')?> Str('Valodas nosaukums')?> Str('Aktīva')?> Str('Opcijas')?>
onchange="setLanguageStatus('',this.checked)" />
Str('Uzstādījumi')?>

Get('REMEMBER_LAST_LANG')?'checked="checked"':''?> value="1" />