You are here

function ur_tt in User Relationships 6

Wrapper function for tt() if i18nstrings enabled.

22 calls to ur_tt()
template_preprocess_user_relationships in user_relationships_ui/user_relationships_ui.module
Pre processor for user_relationships page
theme_user_relationships_request_relationship_direct_link in user_relationships_ui/user_relationships_ui.theme.inc
Create a direct relationship link
theme_user_relationship_block_subject in user_relationship_blocks/user_relationship_blocks.module
Theme function to generate the title of a block
user_relationships-block.tpl.php in user_relationship_blocks/templates/user_relationships-block.tpl.php
user_relationships-pending_block.tpl.php in user_relationship_blocks/templates/user_relationships-pending_block.tpl.php

... See full list

File

user_relationships_api/user_relationships_api.module, line 286
User Relationships API. Module shell. @author Jeff Smick (creator) @author Alex Karshakevich (maintainer) http://drupal.org/user/183217

Code

function ur_tt($name, $string, $langcode = NULL, $update = FALSE) {
  if (module_exists('i18nstrings')) {
    return tt($name, $string, $langcode, $update);
  }
  else {
    return $string;
  }
}