Newer
Older
ubFramework / Portal / docroot / include / utils / NotImp.php
@Christopher W. Olsen Christopher W. Olsen on 10 Dec 2017 611 bytes Cleaning Up Making It A Sub Module
<?php

function getTranslatedString($str, $module = 'Sphere') {
   return ($str);
}

function spherelib_purify($input, $ignore=false) {
  return ($input);
}

function decode_html($str) {
        global $default_charset;$default_charset='UTF-8';
        // Direct Popup action or Ajax Popup action should be treated the same.
        if ((isset($_REQUEST['action']) && $_REQUEST['action'] == 'Popup') || (isset($_REQUEST['file']) && $_REQUEST['file'] == 'Popup'))
                return html_entity_decode($str);
        else
                return html_entity_decode($str, ENT_QUOTES, $default_charset);
}


?>