Location: PHPKode > projects > Viscacha > templates/1/admin/topic/vote_edit.html
<div class="border">
<h3><?php echo $lang->phrase('admin_topic_vote_edit'); ?></h3>
<form name="form2" method="post" action="managetopic.php?action=vote_edit2&amp;id=<?php echo $_GET['id'].SID2URL_x; ?>">
<div class="bbody">
    <label for="question"><?php echo $lang->phrase('add_vote_question'); ?></label>
    <input type="text" size="40" id="question" class="label" name="question" value="<?php echo $data['question']; ?>" />
    <br class="newinput" /><br class="iefix_br" />
</div>
<div class="bfoot"><?php echo $lang->phrase('title_vote_replies'); ?></div>		  
<div class="bbody">
    <?php 
    foreach ($data['answer'] as $id => $answer) {
        $lang->assign('i', $data['original'][$id]);
    ?>
    <label for="notice_<?php echo $id; ?>"><?php echo $lang->phrase('managetopic_vote_reply'); ?></label>
    <input type="text" size="40" id="notice_<?php echo $id; ?>" class="label" name="notice[<?php echo $id; ?>]" value="<?php echo $answer; ?>" />
    <br class="newinput" /><hr class="formsep" />
    <?php } ?>
    <label for="notice_0"><?php echo $lang->phrase('managetopic_vote_reply_new'); ?></label>
    <input type="text" size="40" id="notice_0" class="label" name="notice[0]" value="<?php echo $data[0]; ?>" />
    <br class="newinput" /><br class="iefix_br" />
</div>
<div class="bfoot center"><input type="submit" name="Submit2" value="<?php echo $lang->phrase('submit_form'); ?>" /></div>
</form>
</div>
Return current item: Viscacha