preprocess_* functions to change value of variable in *.tpl.php file
In the Drupal theme, template files (*.tpl.php) can be overrode to change views of pages, nodes, and blocks. you can also do it by writing a function to override in template.php file. Read more about preprocess_* functions to change value of variable in *.tpl.php file