Changeset 2651


Ignore:
Timestamp:
Oct 4, 2008, 11:50:02 AM (16 years ago)
Author:
rub
Message:

Use directly $lang_info on tpl files.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/template/goto/header.tpl

    r2614 r2651  
    88<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    99"http://www.w3.org/TR/html4/strict.dtd">
    10 <html lang="{$LANG}" dir="{$DIR}">
     10<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
    1111<head>
    1212<meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}">
  • trunk/include/functions_mail.inc.php

    r2629 r2651  
    653653        'CONTENT_TYPE' => $args['email_format'],
    654654        'CONTENT_ENCODING' => get_pwg_charset(),
    655         'LANG' => $lang_info['code'],
    656         'DIR' => $lang_info['direction'],
    657655
    658656        // Footer
  • trunk/include/page_header.php

    r2521 r2651  
    4646    'CONTENT_ENCODING' => get_pwg_charset(),
    4747    'PAGE_TITLE' => strip_tags($title),
    48     'LANG'=>$lang_info['code'],
    49     'DIR'=>$lang_info['direction'],
    5048
    5149    'U_HOME' => make_index_url(),
  • trunk/template/yoga/header.tpl

    r2630 r2651  
    22<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    33"http://www.w3.org/TR/html4/strict.dtd">
    4 <html lang="{$LANG}" dir="{$DIR}">
     4<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
    55<head>
    66<meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}">
  • trunk/template/yoga/mail/text/html/header.tpl

    r2352 r2651  
    55
    66<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    7 <html lang="{$LANG}" dir="{$DIR}">
     7<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
    88<head>
    99<title>Piwigo Mail</title>
Note: See TracChangeset for help on using the changeset viewer.