Author Topic: Text dynamisch einbauen  (Read 4658 times)

0 Members and 1 Guest are viewing this topic.

Offline rschai

  • Newbie
  • *
  • Posts: 25
    • View Profile
Text dynamisch einbauen
« on: May 26, 2002, 10:57:27 PM »
:roll: Hallo Jan und Elke
Möchte im Template rate_form.html Text einbauen der dynamisch geladen wird je nach Sprache.
Habe im main.php (deutsch, english ) zusätzliche
Code: [Select]
$lang['text1'] = "Mein Text"; eingefügt, das gleiche im Template mit
Code: [Select]
{text1} aber ohne Erfolg.
Bin dankbar für jeden Tip


Gruss Robert

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Text dynamisch einbauen
« Reply #1 on: May 26, 2002, 11:30:10 PM »
hi,
probiers mit
Code: [Select]

{lang_text1}
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Text dynamisch einbauen
« Reply #2 on: May 27, 2002, 08:02:45 AM »
Hallo,

Du musst das natürlich auch noch dem Template Parser mitteilen.
Öffne "includes/page_header.php" und ersetze

Code: [Select]
"lang_user_online_detail" => $lang['user_online_detail']

mit

Code: [Select]
"lang_user_online_detail" => $lang['user_online_detail'],
"text1" => $lang['text1']


Gruß Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline rschai

  • Newbie
  • *
  • Posts: 25
    • View Profile
Text dynamisch einbauen
« Reply #3 on: May 27, 2002, 10:00:36 AM »
:D Hallo Jan und Elke
Vielen Vielen Dank es hat funktioniert.

Gruss Robert