Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Print link to attached external URLs
- function sb_print_url_link($url) {
- global $sermon_domain;
- echo '<div class="sermon_file">';
- sb_print_url ($url);
- if (substr($url, -4) == ".mp3" && function_exists('ap_insert_player_widgets')) {
- if (substr($url,0,7) == "http://") {
- $param="url"; }
- else {
- $param="file_name"; }
- $url = rawurlencode($url);
- echo ' <a href="'.sb_display_url().sb_query_char().'download&'.$param.'='.$url.'">'.__('Download', $sermon_domain).'</a>';
- }
- echo '</div>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement