示例#1
0
文件: ou.php 项目: pvidali/BCSR-1
/**
 * Output public calendar menu default markup.
 * @since 2.0.0
 * @version 2.2.1
 * @return void
 */
function ou_cal_menu()
{
    $menu = cal_menu_items();
    echo '<ul>
			<li><a href="https://projectfork.simons-rock.edu/event-publicity-form" class="menu btn btn-primary">Submit Event</a></li>
		</ul>';
}
示例#2
0
文件: theme.php 项目: pvidali/BCSR-1
/**
 * Output public calendar menu default markup.
 * @since 2.0.0
 * @version 2.2.1
 * @return void
 */
function cal_menu()
{
    $menu = cal_menu_items();
    echo '<nav>
		<ul>';
    foreach ($menu as $id => $opts) {
        echo '
			<li><a href="' . $opts[0] . '" class="menu ' . $opts[2] . '">' . $opts[1] . '</a></li>';
    }
    echo '
		</ul>
		</nav>';
}