You are here

function photos_page_title in Album Photos 7.3

Same name and namespace in other branches
  1. 6.2 photos.module \photos_page_title()

Photos page title.

1 call to photos_page_title()
photos_page_slide in inc/photos.data.inc
Album slideshow page.
1 string reference to 'photos_page_title'
photos_menu in ./photos.module
Implements hook_menu().

File

./photos.module, line 345
Implementation of photos.module.

Code

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