Veure la Versió Completa: Resolt Condició per a la traducció
Hola
Vull mostrar la "traducció automàtica Powered by Google" en el meu peu per sota dels drets d'autor quan una pàgina traduïda es mostra.
No obstant això, la _GET $ ['language'] condició de no treballar a la plantilla de peu de pàgina.
Hi ha una altra manera?
Si vostè ho està utilitzant en l'estil utilitzat d'aquesta manera:
$ _GET [Idioma]
No funciona!
<vb:if condition="$_GET[language]">
<div align="justify"> class = "shade footer_copyright"
Traducció automàtica (Powered by <span style="vertical-align: sub;"> <img = títol de "Powered by Google" src = "http://www.google.com/uds/css/small-logo.png" alt = "Powered by Google" border = "0"> </ span>)
</ Div>
</ Vb: if>
Ho sento, senyoreta secció;) Per VBET 4.x és $ _REQUEST ['language'] ("signes se'ls permet en condicions).
NOTA: No es prova - VB4 requereix predefinir totes les variables utilitzades en les plantilles. Alguns es defineixen de forma automàtica, però no està segur que $ _REQUEST és pel que no pot treballar.
Si no funciona, si us plau, A MÉS editar el fitxer / includes / vbenterprisetrnaslator_functions_hooks.php
1. Cerca:
$templater->register('linkstitle', $linkstitle);
2. Poseu ABANS:
$templater->register('_REQUEST', $_REQUEST);
Això tampoc va ser provat.
Automatic Translations (Powered by Google, Microsoft®,
Yandex, SDL Language Cloud, IBM Watson and Apertium):
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.