Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1576883
 поиск   регистрация   авторизация 
 
Группа :: Сети/WWW
Пакет: bugzilla-ru

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: bugzilla-ru-add-lang-switch.patch


diff -uNr template-new/ru/default/global/locale.html.tmpl template/ru/default/global/locale.html.tmpl
--- template-new/ru/default/global/locale.html.tmpl	1970-01-01 03:00:00 +0300
+++ template/ru/default/global/locale.html.tmpl	2003-05-28 17:53:42 +0400
@@ -0,0 +1,40 @@
+<!-- 1.0@bugzilla.org -->
+[%# The contents of this file are subject to the Mozilla Public
+  # License Version 1.1 (the "License"); you may not use this file
+  # except in compliance with the License. You may obtain a copy of
+  # the License at http://www.mozilla.org/MPL/
+  #
+  # Software distributed under the License is distributed on an "AS
+  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+  # implied. See the License for the specific language governing
+  # rights and limitations under the License.
+  #
+  # The Original Code is the Bugzilla Bug Tracking System.
+  #
+  # The Initial Developer of the Original Code is Netscape Communications
+  # Corporation. Portions created by Netscape are
+  # Copyright (C) 1998 Netscape Communications Corporation. All
+  # Rights Reserved.
+  #
+  # Contributor(s): Alexey Gladkov <legion@altlinux.org>
+  #%]
+
+
+<form method="get" action="locale.cgi">
+  <table>
+    <tr>
+      <td align="right">
+        <b>Выберите язык:</b>
+      </td>
+      <td>
+        <select name="bugzillalang">
+    	    [% FOREACH qv = languages_list %]
+    		<option value="[% qv.value %]">[% qv.description %]</option>
+    	    [% END %]              
+        </select>
+        <input type="submit" value="Выбрать">
+      </td>
+    </tr>
+  </table>
+</form>
+
diff -uNr template-new/ru/default/index.html.tmpl template/ru/default/index.html.tmpl
--- template-new/ru/default/index.html.tmpl	2002-12-01 13:44:19 +0300
+++ template/ru/default/index.html.tmpl	2003-05-28 17:54:00 +0400
@@ -90,4 +90,5 @@
 //-->
 </script>
 
+[% PROCESS "global/locale.html.tmpl" %]
 [% PROCESS global/footer.html.tmpl %]
 
design & coding: Vladimir Lettiev aka crux © 2004-2005