Пример #1
0
 /**
  * JavaScript encodes translation strings
  *
  * @author Jonathan Davis
  * @since 1.1.7
  *
  * @param string $text Text to translate
  * @return void
  **/
 public static function _jse($text)
 {
     echo json_encode(Shopp::translate($text));
 }