Example #1
0
        ?>
</td>
                    <td class="text-center"><?php 
        echo _h($v['dotw']);
        ?>
</td>
                    <td class="text-center"><?php 
        echo _h($v['startTime'] . ' To ' . $v['endTime']);
        ?>
</td>
                    <td class="text-center"><?php 
        echo get_name(_h($v['facID']));
        ?>
</td>
                    <?php 
        if (function_exists('gradebook_module') && gradebookExist(_h($v['courseSecID']))) {
            ?>
                    <td class="text-center">
                    	<a href="<?php 
            echo get_base_url();
            ?>
stu/grades/<?php 
            echo _h($v['courseSecID']);
            ?>
/" title="Grades" class="btn btn-primary"><i class="fa fa-book"></i></a>
					</td>
                    <?php 
        }
        ?>
                </tr>
				<?php 
Example #2
0
                        ?>
</a></li>
                                        <?php 
                    }
                    ?>
                                        <?php 
                }
                ?>
                                        <?php 
            }
            ?>
                                        <?php 
            if ($sect && $screen !== 'vsect' && $screen !== 'csect') {
                ?>
                                        <?php 
                if (gradebookExist(_h($sect[0]['courseSecID'])) && _he('access_gradebook')) {
                    ?>
                                        <li data-jstree='{"icon":"glyphicon glyphicon-file"}' id="shtml_44"><a<?php 
                    echo $screen === 'gradebook' ? ' class="jstree-clicked"' : '';
                    ?>
 href="<?php 
                    echo get_base_url();
                    ?>
sect/gradebook/<?php 
                    echo _h($sect[0]['courseSecID']);
                    ?>
/<?php 
                    echo bm();
                    ?>
"><?php 
                    echo _t('Gradebook');