Ejemplo n.º 1
0
			 <?php 
if ($hasfooter) {
    echo "<div class='johndocsleft'>";
    echo $OUTPUT->login_info();
    echo $OUTPUT->home_link();
    echo $OUTPUT->standard_footer_html();
    echo "</div>";
}
?>

    			<?php 
if ($hasfooter) {
    ?>
    			<div class="johndocs">
      				<?php 
    echo page_doc_link(get_string('moodledocslink'));
    ?>
       			</div>
    			<?php 
}
?>

			</div>
		</div>
	</div>


</div>


<?php 
Ejemplo n.º 2
0
                </div>
                <div class="footerblock span2">
                    <?php echo $OUTPUT->blocks('footer-middle'); ?>
                </div>
                <div class="footerblock span2">
                    <?php echo $OUTPUT->blocks('footer-right-one'); ?>
                </div>
                 <div class="footerblock span2">
                    <?php echo $OUTPUT->blocks('footer-right'); ?>
                </div>
                <!-- code end by sreekanth -->
                
            </div>
            <div class="footerlinks row-fluid">
                <hr/>
                <span class="helplink"><?php echo page_doc_link(get_string('moodledocslink')); ?></span>
                <?php if ($hascopyright) { ?>
                    <span class="copy">&copy;<?php echo userdate(time(), '%Y').' '.$hascopyright; ?></span>
                <?php
}
?>
                <?php if ($hasfootnote) {
                    echo '<div class="footnote span12">'.$hasfootnote.'</div>';
}
?>
            </div>
            <div class="footerperformance row-fluid">
                <?php echo $OUTPUT->standard_footer_html(); ?>
            </div>
        </div>
    </footer>
Ejemplo n.º 3
0
                <?php if ($hassidepost) { ?>
                <div id="region-post" class="block-region">
                    <div class="region-content">
                        <?php echo $OUTPUT->blocks_for_region('side-post') ?>
                    </div>
                </div>
                <?php } ?>

            </div>
        </div>
    </div>

<!-- START OF FOOTER -->
    <?php if ($hasfooter) { ?>
    <div id="page-footer" class="clearfix">
        <p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
        <?php
        echo $OUTPUT->login_info();
        echo $OUTPUT->home_link();
        echo $OUTPUT->standard_footer_html();
        ?>
        <div class="rounded-corner bottom-left"></div>
        <div class="rounded-corner bottom-right"></div>
    </div>
    <?php } ?>
  <div class="clearfix"></div>
</div>
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>
</html>
Ejemplo n.º 4
0
<?php

// $Id$
require_once '../../../config.php';
require_once $CFG->dirroot . '/question/upgrade.php';
require_once $CFG->libdir . '/adminlib.php';
$adminroot = admin_get_root();
admin_externalpage_setup('reportquestion', $adminroot);
admin_externalpage_print_header($adminroot);
print_heading(page_doc_link(get_string('adminreport', 'question')));
$probstr = '';
$contextupgradeversion = 2007081000;
if ($CFG->version < $contextupgradeversion) {
    ///cwrqpfs issue
    $probstr = print_heading(get_string('cwrqpfs', 'question'), '', 3, 'main', true);
    if ($updates = question_cwqpfs_to_update()) {
        $probstr .= get_string('cwrqpfsinfo', 'question');
        $probstr .= '<ul>';
        $catlist = join(array_keys($updates), ',');
        //get info about cateogries and no of questions used outside category's course
        $categories = get_records_sql('SELECT qc.*, c.fullname as coursename FROM ' . $CFG->prefix . 'question_categories as qc, ' . $CFG->prefix . 'course as c WHERE qc.course = c.id AND qc.id IN (' . $catlist . ')');
        foreach ($updates as $id => $publish) {
            $categories[$id]->caturl = "{$CFG->wwwroot}/question/category.php?sesskey=" . sesskey() . "&amp;edit={$id}&amp;id=" . $categories[$id]->course;
            if ($categories[$id]->publish) {
                $categories[$id]->changefrom = get_string('published', 'question');
                $categories[$id]->changeto = get_string('unpublished', 'question');
            } else {
                $categories[$id]->changefrom = get_string('unpublished', 'question');
                $categories[$id]->changeto = get_string('published', 'question');
            }
            $probstr .= '<li>' . get_string('changepublishstatuscat', 'question', $categories[$id]);