feedback to headerMenu

headerMenu to brick-file
This commit is contained in:
Sarjuuk
2014-03-16 01:51:08 +01:00
parent fec0daac9a
commit d40d06b8fb
11 changed files with 23 additions and 13 deletions

View File

@@ -262,7 +262,7 @@ class User
'name' => self::$displayName ? self::$displayName : '',
'perms' => self::$perms ? self::$perms : 0,
'roles' => self::$groups ? self::$groups : 0,
'cookies' => []
'cookies' => '[]'
);
if (self::$id > 0)

View File

@@ -20,10 +20,11 @@ $lang = array(
'help' => "Hilfe",
'name' => "Name",
'link' => "Link",
'signIn' => "Anmelden",
'signIn' => "Anmelden / Registrieren",
'jsError' => "Stelle bitte sicher, dass JavaScript aktiviert ist.",
'searchButton' => "Suche",
'language' => "Sprache",
'feedback' => "Rückmeldung",
'numSQL' => "Anzahl an MySQL-Queries",
'timeSQL' => "Zeit für MySQL-Queries",
'noJScript' => "<b>Diese Seite macht ausgiebigen Gebrauch von JavaScript.</b><br />Bitte <a href=\"https://www.google.com/support/adsense/bin/answer.py?answer=12654\" target=\"_blank\">aktiviert JavaScript</a> in Eurem Browser.",

View File

@@ -15,10 +15,11 @@ $lang = array(
'help' => "Help",
'name' => "name",
'link' => "Link",
'signIn' => "Sign in",
'signIn' => "Log in / Register",
'jsError' => "Please make sure you have javascript enabled.",
'searchButton' => "Search",
'language' => "Language",
'feedback' => "Feedback",
'numSQL' => "Number of MySQL queries",
'timeSQL' => "Time of MySQL queries",
'noJScript' => "<b>This site makes extensive use of JavaScript.</b><br />Please <a href=\"https://www.google.com/support/adsense/bin/answer.py?answer=12654\" target=\"_blank\">enable JavaScript</a> in your browser.",

View File

@@ -20,10 +20,11 @@ $lang = array(
'help' => "Ayuda",
'name' => "nombre",
'link' => "Enlace",
'signIn' => "Iniciar sesión",
'signIn' => "Iniciar sesión / Registrarse",
'jsError' => "Por favor, asegúrese de que ha habilitado javascript.",
'searchButton' => "búsqueda",
'language' => "lengua",
'feedback' => "Feedback",
'numSQL' => "Número de consultas de MySQL",
'timeSQL' => "El tiempo para las consultas de MySQL",
'noJScript' => "<b>Este sitio hace uso intenso de JavaScript.</b><br />Por favor <a href=\"https://www.google.com/support/adsense/bin/answer.py?answer=12654\" target=\"_blank\">habilita JavaScript</a> en tu navegador.",

View File

@@ -20,10 +20,11 @@ $lang = array(
'help' => "Aide",
'name' => "nom",
'link' => "Lien",
'signIn' => "S'enregistrer",
'signIn' => "Se connecter / S'inscrire",
'jsError' => "S'il vous plait, assurez vous d'avoir le javascript autorisé.",
'searchButton' => "Rechercher",
'language' => "Langue",
'feedback' => "Feedback",
'numSQL' => "Nombre de requêtes SQL",
'timeSQL' => "Temps d'exécution des requêtes SQL",
'noJScript' => "<b>Ce site requiert JavaScript pour fonctionner.</b><br />Veuillez <a href=\"https://www.google.com/support/adsense/bin/answer.py?answer=12654\" target=\"_blank\">activer JavaScript</a> dans votre navigateur.",

View File

@@ -20,10 +20,11 @@ $lang = array(
'help' => "Справка",
'name' => "название",
'link' => "Ссылка",
'signIn' => "Войти",
'signIn' => "Вход / Регистрация",
'jsError' => "Для работы этого сайта необходим JavaScript.",
'searchButton' => "Искать",
'language' => "Язык",
'feedback' => "Отзыв",
'numSQL' => "Количество MySQL запросов",
'timeSQL' => "Время выполнения MySQL запросов",
'noJScript' => "<b>Данный сайт активно использует технологию JavaScript.</b><br />Пожалуйста, <a href=\"https://www.google.com/support/adsense/bin/answer.py?answer=12654\" target=\"_blank\">Включите JavaScript</a> в вашем браузере.",

View File

@@ -42,7 +42,7 @@ $WH.$E = function (e) {
$WH.$A = function (a) {
var r = [];
for (var i = 0, len = c.length; i < len; ++i) {
for (var i = 0, len = a.length; i < len; ++i) {
r.push(a[i]);
}

View File

@@ -524,6 +524,11 @@ function g_initHeaderMenus() {
}
Menu.add(c, menu);
}
$('#toplinks-feedback').attr('href', 'javascript:;').click(function()
{
ContactTool.show();
});
}
function g_initPath(q, f) {
var h = mn_path,

View File

@@ -0,0 +1,4 @@
{if $user.id}<a id="toptabs-menu-profiles">{$lang.profiles}</a>|<a id="toptabs-menu-user">{$user.name}</a></a>{else}<a href="?account=signin">{$lang.signIn}</a>{/if}
|<a href="#" id="toplinks-feedback" class="icon-email">{$lang.feedback}</a>
|<a href="javascript:;" id="toptabs-menu-language">{$lang.language} <small>&#9660;</small></a>
<script type="text/javascript">g_initHeaderMenus()</script>

View File

@@ -18,9 +18,7 @@
<div id="toptabs">
<div id="toptabs-inner">
<div id="toptabs-right">
{if $user.id}<a id="toptabs-menu-profiles">{$lang.profiles}</a>|<a id="toptabs-menu-user">{$user.name}</a></a>{else}<a href="?account=signin">{$lang.signIn}</a>{/if}
|<a href="javascript:;" id="toptabs-menu-language">{$lang.language} <small>&#9660;</small></a>
<script type="text/javascript">g_initHeaderMenus()</script>
{include file="bricks/headerMenu.tpl"}
</div>
<div id="toptabs-generic"></div>
<div class="clear"></div>

View File

@@ -42,9 +42,7 @@
{/if}
<div id="toplinks" class="toplinks">
{if $user.id}<a id="toptabs-menu-profiles">{$lang.profiles}</a>|<a id="toptabs-menu-user">{$user.name}</a>{else}<a href="?account=signin">{$lang.signIn}</a>{/if}
|<a href="javascript:;" id="toptabs-menu-language">{$lang.language} <small>&#9660;</small></a>
<script type="text/javascript">g_initHeaderMenus()</script>
{include file="bricks/headerMenu.tpl"}
</div>
</div>