function rev_slider_url()
{
    $url = rev_module_url();
    return $url;
}
 private function getLangDetails($code)
 {
     $details = array();
     $site_url = get_mainsite_url();
     $arrLangs = sdsconfig::getlanguages();
     $language = sdsconfig::getlanguages();
     if ($code == 'all') {
         $url = rev_module_url() . '/images/icon16.png';
         $details = $language;
     } else {
         foreach ($arrLangs as $lang) {
             if ($lang['code'] == $code) {
                 $details['image'] = $site_url . 'image/flags/' . $lang['image'];
                 $details['language_id'] = $lang['language_id'];
                 $details['name'] = $lang['name'];
                 $details['code'] = $lang['code'];
                 $details['locale'] = $lang['locale'];
                 $details['directory'] = $lang['directory'];
                 $details['filename'] = $lang['filename'];
                 $details['sort_order'] = $lang['sort_order'];
                 $details['status'] = $lang['status'];
             }
         }
     }
     return $details;
 }