Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 18th, 2011  |  syntax: None  |  size: 0.41 KB  |  views: 42  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.                         echo $this->Form->input('tos', array(
  2.                                                 'type' => 'checkbox',
  3.                                                 'label' => __d('users', 'I have read and agreed to ', true) .
  4.                                                 $this->Html->link(__d('users',
  5.                                                 'Terms of Service', true),
  6.                                                  array('controller' => 'pages', 'action' => 'tos'),
  7.                                                  array('target' => '_blank')),
  8.                                                 'error' => __d('users', 'You must verify you have read the Terms of Service', true)
  9.                                                 )
  10.                                         );
clone this paste RAW Paste Data