Skip to content

Commit d25656c

Browse files
committed
Issues-409: Removed 'in recent discussions' option from Announce popup
1 parent 5114e0e commit d25656c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php if (!defined('APPLICATION')) exit(); ?>
2+
3+
<h1><?php echo $this->data('Title'); ?></h1>
4+
5+
<?php
6+
echo $this->Form->open();
7+
echo $this->Form->errors();
8+
9+
echo '<div class="P">'.t('Where do you want to announce this discussion?').'</div>';
10+
11+
echo '<div class="P">', $this->Form->radio('Announce', '@'.sprintf(t('In <b>%s.</b>'), $this->data('Category.Name')), ['Value' => '2']), '</div>';
12+
// FIX: https://github.com/topcoder-platform/forums/issues/409
13+
//echo '<div class="P">', $this->Form->radio('Announce', '@'.sprintf(t('In <b>%s</b> and recent discussions.'), $this->data('Category.Name')), ['Value' => '1']), '</div>';
14+
echo '<div class="P">', $this->Form->radio('Announce', '@'.t("Don't announce."), ['Value' => '0']), '</div>';
15+
16+
echo '<div class="Buttons Buttons-Confirm">';
17+
echo $this->Form->button('OK');
18+
echo $this->Form->button('Cancel', ['type' => 'button', 'class' => 'Button Close']);
19+
echo '<div>';
20+
echo $this->Form->close();
21+
?>

0 commit comments

Comments
 (0)