diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-07-14 14:51:12 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-07-14 14:51:12 +0000 |
| commit | e42ba2a23793407d4ac99bd7103ec06ff0f24628 (patch) | |
| tree | 9367569a461301de477cd6f06f6321b46c0954c0 /smarty_bit/block.textarea.php | |
| parent | 62a9954410edea3165511380ff4d0fc1199cdcf1 (diff) | |
| download | kernel-e42ba2a23793407d4ac99bd7103ec06ff0f24628.tar.gz kernel-e42ba2a23793407d4ac99bd7103ec06ff0f24628.tar.bz2 kernel-e42ba2a23793407d4ac99bd7103ec06ff0f24628.zip | |
edit help is now taken care of by services. this means that there is no need for inclusion of edit help anywhere as long as services are called on edit pages and service tabs are included in edit tpl. help is included when {textarea} is in use. if you need to disable it set: display_help_tab=0 when calling the service tabs. edit help has also undergone a facelift.
Diffstat (limited to 'smarty_bit/block.textarea.php')
| -rw-r--r-- | smarty_bit/block.textarea.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/smarty_bit/block.textarea.php b/smarty_bit/block.textarea.php index a595832..2d24154 100644 --- a/smarty_bit/block.textarea.php +++ b/smarty_bit/block.textarea.php @@ -78,6 +78,9 @@ function smarty_block_textarea( $pParams, $pContent, &$gBitSmarty ) { $gBitSmarty->assign('gContent', $oldContent); } + // since we have the funky {textarea} in play, we'll display the edit help tab + $gBitSmarty->assign( 'display_help_tab', TRUE ); + return $ret; } ?> |
