📄 related_topics.inc.php
字号:
<?php/****************************************************************//* ATutor *//****************************************************************//* Copyright (c) 2002-2006 by Greg Gay & Joel Kronenberg *//* http://atutor.ca *//* *//* This program is free software. You can redistribute it and/or*//* modify it under the terms of the GNU General Public License *//* as published by the Free Software Foundation. *//****************************************************************/// $Id: related_topics.inc.php 6970 2007-06-12 15:26:10Z joel $if (!defined('AT_INCLUDE_PATH')) { exit; }global $contentManager;global $_base_path, $path;global $savant;ob_start();$related = $contentManager->getRelatedContent($_SESSION['s_cid']);if (count($related) == 0) { echo '<em>'._AT('none_found').'</em>';} else { for ($i=0; $i < count($related); $i++) { echo '° <a href="'.$_base_path.'content.php?cid='.$related[$i].'">'; echo $contentManager->_menu_info[$related[$i]]['title']; echo '</a>'; echo '<br />'; }}$_my_uri = isset($_my_uri) ? $_my_uri : '';$savant->assign('dropdown_contents', ob_get_contents());ob_end_clean();$savant->assign('close_url', htmlspecialchars($_my_uri).'disable=PREF_RELATED'.SEP.'menu_jump=3');$savant->assign('dropdown_close', _AT('close_related_topics'));$savant->assign('title', _AT('related_topics'));$savant->display('include/box.tmpl.php');?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -