You are here

function _photos_swfu_switch in Album Photos 6.2

Same name and namespace in other branches
  1. 7.3 photos_swfu/photos_swfu.module \_photos_swfu_switch()
1 string reference to '_photos_swfu_switch'
photos_swfu_form in photos_swfu/photos_swfu.module

File

photos_swfu/photos_swfu.module, line 104

Code

function _photos_swfu_switch() {
  if ($_SESSION['photos_swfu_switch'] != 1) {
    $_SESSION['photos_swfu_switch'] = 1;
    $t = t('Model form');
  }
  else {
    $_SESSION['photos_swfu_switch'] = 0;
    $t = t('Model flash');
  }
  drupal_set_message($t);
}