當前位置: 首頁>>代碼示例>>PHP>>正文


PHP page_doc_link函數代碼示例

本文整理匯總了PHP中page_doc_link函數的典型用法代碼示例。如果您正苦於以下問題:PHP page_doc_link函數的具體用法?PHP page_doc_link怎麽用?PHP page_doc_link使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了page_doc_link函數的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: page_doc_link

			 <?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 
開發者ID:EmmanuelYupit,項目名稱:educursos,代碼行數:31,代碼來源:frontpage.php

示例2: page_doc_link

                </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>
開發者ID:syedhameed,項目名稱:sc,代碼行數:31,代碼來源:footer.php

示例3: if

                <?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>
開發者ID:JP-Git,項目名稱:moodle,代碼行數:30,代碼來源:general.php

示例4: admin_get_root

<?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]);
開發者ID:veritech,項目名稱:pare-project,代碼行數:31,代碼來源:index.php


注:本文中的page_doc_link函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。