Changes for webform.tokens.inc: 9 added lines, 7 removed lines.
Original line number
Diff line number
Diff line
@@ -64,13 +64,15 @@ function webform_token_info() {
);
$info['tokens']['submission']['values']=array(
'name'=>t('Webform submission values'),
'description'=>t('<div>Webform tokens from submitted data. Replace the "?" with the "field key", including any parent field keys separated by colons. You can append:</div><ul>'.
'<li>the question key for just that one question (grid components).</li>'.
'<li>the option key for just that one option (grid and select components).'.
'<li>":nolabel" for the value without the label (the default)</li>'.
'<li>":label" for just the label.</li>'.
'<li>":withlabel" for both the label and value together.</li>'.
'<li>":key" for just the key in a key|label pair (grid and select components).</li></ul>'),
'description'=>'<div>'.t('Webform tokens from submitted data. Replace the "?" with the "field key", including any parent field keys separated by colons. You can append:').'</div>'.
'<ul>'.
'<li>'.t('the question key for just that one question (grid components).').'</li>'.
'<li>'.t('the option key for just that one option (grid and select components).').'</li>'.
'<li>'.t('<code>@token</code> for the value without the label (the default).',array('@token'=>':no-label')).'</li>'.
'<li>'.t('<code>@token</code> for just the label.',array('@token'=>':label')).'</li>'.
'<li>'.t('<code>@token</code> for both the label and value together.',array('@token'=>':withlabel')).'</li>'.
'<li>'.t('<code>@token</code> for just the key in a key|label pair (grid and select components).',array('@token'=>':key')).'</li>'.