Changeset 170 for www/global.php


Ignore:
Timestamp:
Mar 24, 2009, 5:44:56 PM (16 years ago)
Author:
george
Message:
  • Opraveno: Chyba názvu proměnné na stránce jídelníčku.
  • Opraveno: Nelogovat odhlášení anonymních uživatelů.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • www/global.php

    r168 r170  
    194194  return($DbRow['Id']);
    195195}
    196  
     196
     197function RemoveDiacritic($Text)
     198{
     199  return(str_replace(
     200    array("á","č","ď","é","ě","í","ľ","ň","ó","ř","š","ť","ú","ů","ý","ž","Á","Č","Ď","É","Ě","Í","Ľ","Ň","Ó","Ř","Š","Ť","Ú","Ů","Ý","Ž"),
     201    array("a","c","d","e","e","i","l","n","o","r","s","t","u","u","y","z","A","C","D","E","E","I","L","N","O","R","S","T","U","U","Y","Z"), $Text));
     202}
     203
    197204?>
Note: See TracChangeset for help on using the changeset viewer.