Stud.IP  4.1 Revision
_comments.php File Reference

Variables

if( $new[ 'allow_comments'])(Request::get( 'comments'))( 'Kommentare') ?></h1 ><? foreach(StudipComment( $new[ 'news_id']) as $index endforeach = $this->render_partial('news/_commentbox', compact('index', 'comment'))
 
if(! $nobody)() ?>< input type endif else
 
if(! $nobody)() ?>< input type endif array("comments"=> 1)) ?>"> <? endif = sprintf(_('Kommentare lesen (%s) / Kommentar schreiben'), StudipComment::NumCommentsForObject($new['news_id']))
 

Variable Documentation

◆ else

if (!$nobody) () ?> <input type endif else
Initial value:
="hidden" name="comsubmit" value="<?= $new['news_id'] ?>">
<textarea class="add_toolbar wysiwyg" name="comment_content" style="width:100%" rows="8"
placeholder="<?= _('Geben Sie hier Ihren Kommentar ein!') ?>"></textarea>
<div style="text-align: center;">
<?= Studip\Button::createAccept(_('Absenden'))
static createAccept($label=NULL, $trait=NULL, $attributes=array())
Definition: Interactable.class.php:157

◆ endforeach

if($new['allow_comments'])(Request::get('comments')) ('Kommentare') ?> </h1> <? foreach (StudipComment ($new['news_id']) as $index endforeach = $this->render_partial('news/_commentbox', compact('index', 'comment'))

◆ endif

endif = sprintf(_('Kommentare lesen (%s) / Kommentar schreiben'), StudipComment::NumCommentsForObject($new['news_id']))