コード例 #1
0
ファイル: left-nav.php プロジェクト: hshoghi/cms
<div>
	<input type = "button" value = "Write New Post" onclick = "window.location = 'add-new';" />
</div>
<div>
<?php 
$tabs = array('Blog Posts' => '/admin/blog/post', 'Editorial Staff' => '/admin/blog/contributors', 'Blogroll' => '/admin/blog/blogroll', 'Blog Settings' => '/admin/blog/blogs', 'Blog Stats' => '/admin/blog/views', 'Tag Stats' => '/admin/blog/tag-report', 'My Profile' => '/admin/blog/myprofile');
$param = array('div_class' => 'vertical-tabs');
snippet::tabs($tabs, true, $param);
?>
</div>
コード例 #2
0
ファイル: cb.php プロジェクト: hshoghi/cms
<?php

$head_arr[] = '
    <script src="/lib/CodeMirror-0.93/js/codemirror.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="/lib/CodeMirror-0.93/css/docs.css"/>

';
$title = 'Codebase Editor';
template::inc('global', 'top');
include INCPATH . '/../dev-nav.php';
?>

<b>pages</b> | <a href="#">models</a> | <a href="#">templates</a> | <a href="#">validation</a> | <a href="#">config.php</a> |  <a href="#">404.php</a> | <a href="#">cron</a>
<?php 
$tabs = array('php' => '#', 'listing' => '#', 'profile' => '#', 'css' => '#', 'js' => '#', 'settings' => '#', 'model' => '#', 'components' => '#', 'validation' => '#');
snippet::tabs($tabs);
?>
    <style type="text/css">
      .CodeMirror-line-numbers {
        width: 2.2em;
        color: #aaa;
        background-color: #eee;
        text-align: right;
        padding-right: .3em;
        font-size: 10pt;
        font-family: monospace;
        padding-top: .4em;
        line-height: normal;
      }
      body {
          font-family: helvetica;
コード例 #3
0
ファイル: dev-nav.php プロジェクト: hshoghi/cms
<?php

snippet::tabs($developer_nav);