Example #1
0
File: comments.php Project: rjha/sc
                    <?php 
include APP_WEB_DIR . '/monitor/inc/menu.inc';
?>
                </div>
                <div class="span9">

                        <?php 
$startId = NULL;
$endId = NULL;
$gNumRecords = sizeof($commentDBRows);
if ($gNumRecords > 0) {
    $startId = $commentDBRows[0]['id'];
    $endId = $commentDBRows[$gNumRecords - 1]['id'];
}
foreach ($commentDBRows as $commentDBRow) {
    echo \com\indigloo\sc\html\Comment::getWidget($commentDBRow, UIConstants::COMMENT_USER);
}
?>

                </div>
                 
            </div>
        </div> <!-- container -->
          <?php 
echo \com\indigloo\sc\util\Asset::version("/js/bundle.js");
?>

        <script>
            $(document).ready(function(){
                //show options on widget hover
                
Example #2
0
File: delete.php Project: rjha/sc
                <div class="span9">


                    <div class="page-header">
                        <h2> Delete Comment</h2>
                    </div>
                    <div class="alert">
                      <a class="close" data-dismiss="alert">×</a>
                      Please make sure that you really want to delete this comment.
                    </div>

                    <?php 
FormMessage::render();
?>
                    <?php 
echo \com\indigloo\sc\html\Comment::getWidget($commentDBRow);
?>
                    <div class="p10"> &nbsp;</div>
                    <form id="web-form1"  name="web-form1" action="/qa/comment/form/delete.php" method="POST">
                        <div>
                            <button class="btn btn-danger" type="submit" name="delete" value="Delete">Delete</button>
                            <a href="<?php 
echo base64_decode($qUrl);
?>
" class="btn"s>Cancel</a>
                        </div>
                        <input type="hidden" name="qUrl" value="<?php 
echo $qUrl;
?>
" />
                        <input type="hidden" name="fUrl" value="<?php