Example #1
0
    $type = $event_detail->event_start > time() ? 'Suggestion' : 'Feedback';
    ?>

    <div class="row">
        <label for="type">Type</label>
        <div class="input"><?php 
    echo $type;
    ?>
</div>
        <div class="clear"></div>
    </div>
    
    <div class="row">
        <label for="event_comment">Comment</label>
        <?php 
    $arr = array('name' => 'event_comment', 'id' => 'event_comment', 'value' => translate_htmlspecialchars($this->validation->event_comment), 'cols' => 40, 'rows' => 10);
    echo form_textarea($arr);
    ?>
        <div class="clear"></div>
    </div>

    <div class="row">
        <label for="cinput">Spambot check</label>
        <span>
          <?php 
    echo form_input(array('name' => 'cinput', 'id' => 'cinput'), "");
    ?>
          = <b><?php 
    echo $captcha['text'];
    ?>
</b>
Example #2
0
    echo user_get_id();
    ?>
"><?php 
    echo user_get_username();
    ?>
</a></span>
        <span id="comment_anonymously" <?php 
    if ($auth) {
        ?>
style="display: none;"<?php 
    }
    ?>
> anonymously</span>
    </label>
    <?php 
    echo form_textarea(array('name' => 'comment', 'id' => 'comment', 'value' => translate_htmlspecialchars($this->validation->comment), 'cols' => 40, 'rows' => 10));
    if (!$speaker) {
        ?>
    <label class="checkbox">
        <?php 
        echo form_checkbox('private', '1');
        ?>
        Mark as private?
    </label>
<?php 
        if ($auth) {
            ?>
    <label class="checkbox">
        <?php 
            echo form_checkbox('anonymous', '1');
            ?>