This commit is contained in:
2026-05-15 18:33:51 +02:00
parent 3601be572f
commit c980004309
8442 changed files with 783630 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
<?
/*
* Smarty plugin
* -------------------------------------------------------------
* File: function.translate.php
* Type: function
* Name: link
* Purpose: zwraca przetlumaczony tekst
* -------------------------------------------------------------
*/
function smarty_function_translate_to_title($param, &$smarty)
{
$string = Dictionary::Translate($param['word']);
$arrayTitle = Utils::TextToUpperArray($string, $param['lang']);
$ret = "<span style=\"font-family:'Times New Roman'; font-size:28px; color: red; margin-right: -2px; pading: 0px;\">{$arrayTitle[0]}</span>";
$ret .= "<span style=\"font-family:'Times New Roman'; font-size:21px; margin-left: 0px; pading: 0px; letter-spacing: 1px;\">{$arrayTitle[1]}</span>";
return $ret;
}