PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.


Login to move these ads to the bottom of the page

#1 2008-06-22 08:49:10

qdb
Member
Registered: 2008-06-22
Posts: 60

fix extended cyrillic letters in ie 6 1

Code:

##
##
##        Mod title:  fix extended cyrillic letters in ie 6
##
##      Mod version:  1
##   Works on PunBB:  1.2.x
##     Release date:  2008-06-22
##           Author:  Q. Dinar (qdinar@gmail.com)
##
##      Description:  Default Verdana, monaco and other fonts set at first does not support әөүҗңһ tatar letters, for example.
##                    this mod is to use Tahoma and Courier New instead of default fonts in ie 6.
##                    see also http://punbb.informer.com/forums/viewtopic.php?id=19369 (Tatar language pack, translated by me).
##
##   Affected files:  header.php
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##

Download here

Offline

 

#2 2008-06-22 08:50:10

qdb
Member
Registered: 2008-06-22
Posts: 60

Re: fix extended cyrillic letters in ie 6 1

#
#---------[ 1. CREATE FILE ]-------------------------------------------------------
#

ie6tatarletters.css in style/

#
#---------[ 2. ADD ]-------------------------------------------------------
#

.pun, .pun INPUT, .pun SELECT, .pun TEXTAREA, .pun OPTGROUP {
    FONT-FAMILY: Tahoma, "Lucida Sans Unicode", "Arial Unicode MS", Verdana, Arial, Helvetica, sans-serif
}
.pun PRE {FONT-FAMILY: "Courier New", monaco, "Bitstream Vera Sans Mono", courier, monospace}

#
#---------[ 3. OPEN ]---------------------------------------------------------
#

header.php

#
#---------[ 4. FIND (line: 80) ]---------------------------------------------
#

<link rel="stylesheet" type="text/css" href="style/<?php echo $pun_user['style'].'.css' ?>" />

#
#---------[ 5. AFTER, ADD ]---------------------------------------------------------
#

<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="style/ie6tatarletters.css" />
<![endif]-->

#
#---------[ 6. SAVE/UPLOAD ]-------------------------------------------------
#

Offline

 

#3 2008-06-27 04:19:28

qdb
Member
Registered: 2008-06-22
Posts: 60

Re: fix extended cyrillic letters in ie 6 1

style/ie6tatarletters.css

this is not correct place for that file because it is listed with style names if it is there.

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.