include/answer.inc.php 1 location
|
@@ 42-46 (lines=5) @@
|
| 39 |
|
$form->addElement($editorTray); |
| 40 |
|
|
| 41 |
|
// NOTIFY ON PUBLISH |
| 42 |
|
if (is_object($xoopsUser)) { |
| 43 |
|
$notify_checkbox = new XoopsFormCheckBox('', 'notifypub', 1); |
| 44 |
|
$notify_checkbox->addOption(1, _MD_SF_NOTIFY); |
| 45 |
|
$form->addElement($notify_checkbox); |
| 46 |
|
} |
| 47 |
|
|
| 48 |
|
if (($faqObj->status() == _SF_STATUS_PUBLISHED) || ($faqObj->status() == _SF_STATUS_NEW_ANSWER)) { |
| 49 |
|
$answerObj = $faqObj->answer(); |
include/request.inc.php 1 location
|
@@ 35-39 (lines=5) @@
|
| 32 |
|
$button_tray->addElement(new XoopsFormButton('', 'post', _SUBMIT, 'submit')); |
| 33 |
|
$form->addElement($button_tray); |
| 34 |
|
// NOTIFY ON PUBLISH |
| 35 |
|
if (is_object($xoopsUser)) { |
| 36 |
|
$notify_checkbox = new XoopsFormCheckBox('', 'notifypub', 1); |
| 37 |
|
$notify_checkbox->addOption(1, _MD_SF_NOTIFY); |
| 38 |
|
$form->addElement($notify_checkbox); |
| 39 |
|
} |
| 40 |
|
|
| 41 |
|
$form->assign($xoopsTpl); |
| 42 |
|
unset($hidden); |
include/submit.inc.php 1 location
|
@@ 138-142 (lines=5) @@
|
| 135 |
|
$form->addElement($excaturl_radio); |
| 136 |
|
*/ |
| 137 |
|
// NOTIFY ON PUBLISH |
| 138 |
|
if (is_object($xoopsUser)) { |
| 139 |
|
$notify_checkbox = new XoopsFormCheckBox('', 'notifypub', $notifypub); |
| 140 |
|
$notify_checkbox->addOption(1, _MD_SF_NOTIFY); |
| 141 |
|
$form->addElement($notify_checkbox); |
| 142 |
|
} |
| 143 |
|
|
| 144 |
|
$button_tray = new XoopsFormElementTray('', ''); |
| 145 |
|
|