You are here

function _adsense_format_path in Google AdSense integration 5

Same name and namespace in other branches
  1. 5.2 adsense.module \_adsense_format_path()
2 calls to _adsense_format_path()
adsense_click_log in ./adsense.module
Menu callback; presents the "AdSense" log page.
adsense_click_top_pages in ./adsense.module

File

./adsense.module, line 1740

Code

function _adsense_format_path($path, $width = 35) {
  global $base_url;
  $short_path = str_replace($base_url, '', $path);
  $title = truncate_utf8($short_path, $width, FALSE, TRUE);
  return l($title, $path);
}