mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
feedback to headerMenu
headerMenu to brick-file
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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.",
|
||||
|
||||
@@ -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.",
|
||||
|
||||
@@ -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.",
|
||||
|
||||
@@ -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.",
|
||||
|
||||
@@ -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> в вашем браузере.",
|
||||
|
||||
@@ -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]);
|
||||
}
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
4
template/bricks/headerMenu.tpl
Normal file
4
template/bricks/headerMenu.tpl
Normal 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>▼</small></a>
|
||||
<script type="text/javascript">g_initHeaderMenus()</script>
|
||||
@@ -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>▼</small></a>
|
||||
<script type="text/javascript">g_initHeaderMenus()</script>
|
||||
{include file="bricks/headerMenu.tpl"}
|
||||
</div>
|
||||
<div id="toptabs-generic"></div>
|
||||
<div class="clear"></div>
|
||||
|
||||
@@ -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>▼</small></a>
|
||||
<script type="text/javascript">g_initHeaderMenus()</script>
|
||||
{include file="bricks/headerMenu.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user