You are here

function photos_page_title in Album Photos 6.2

Same name and namespace in other branches
  1. 7.3 photos.module \photos_page_title()
1 call to photos_page_title()
photos_page_slide in inc/photos.data.inc
1 string reference to 'photos_page_title'
photos_menu in ./photos.module

File

./photos.module, line 260

Code

function photos_page_title($ac, $str) {
  if ($ac->uid != $GLOBALS['user']->uid) {
    return t('@name\'s !str', array(
      '@name' => $ac->name,
      '!str' => $str,
    ));
  }
  else {
    return t('My !str', array(
      '!str' => $str,
    ));
  }
}