コード例 #1
0
ファイル: header.lite.html.php プロジェクト: leowh/colla
        css::import($clientTheme . 'style.css', $config->version);
    }
    js::import($jsRoot . 'all.js');
}
if (RUN_MODE == 'admin') {
    css::import($themeRoot . 'default/admin.css');
}
if (isset($pageCSS)) {
    css::internal($pageCSS);
}
?>
<!--[if lt IE 9]>
<?php 
js::import($jsRoot . 'html5shiv/min.js');
js::import($jsRoot . 'respond/min.js');
?>
<![endif]-->
<!--[if lt IE 10]>
<?php 
js::import($jsRoot . 'jquery/placeholder/min.js');
?>
<![endif]-->
<?php 
js::set('lang', $lang->js);
?>
</head>
<body class='m-<?php 
echo $this->app->getModuleName() . '-' . $this->app->getMethodName();
?>
'>
コード例 #2
0
js::set('jsRoot', $jsRoot);
js::set('webRoot', $webRoot);
/* Get editor settings for current page. */
$editors = $config->{$module}->editor->{$method};
$editors['id'] = explode(',', $editors['id']);
js::set('editors', $editors);
$this->app->loadLang('file');
js::set('errorUnwritable', $lang->file->errorUnwritable);
/* Get current lang. */
$editorLangs = array('en' => 'en', 'zh-cn' => 'zh_CN', 'zh-tw' => 'zh_TW');
$editorLang = isset($editorLangs[$app->getClientLang()]) ? $editorLangs[$app->getClientLang()] : 'en';
js::set('editorLang', $editorLang);
/* Import css and js for kindeditor. */
css::import($jsRoot . 'kindeditor/themes/default/default.css');
js::import($jsRoot . 'kindeditor/kindeditor-min.js');
js::import($jsRoot . 'kindeditor/lang/' . $editorLang . '.js');
/* set uid for upload. */
$uid = uniqid('');
js::set('uid', $uid);
?>

<script>
var simple = 
[ 'formatblock', 'fontsize', '|', 'bold', 'italic','underline', '|', 
'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist', 'insertunorderedlist', '|',
'emoticons', 'image', 'media', 'link', '|', 'removeformat','undo', 'redo', 'source' ];

var full = 
[ 'formatblock', 'fontsize', 'lineheight', '|', 'forecolor', 'hilitecolor', '|', 'bold', 'italic','underline', 'strikethrough', '|',
'justifyleft', 'justifycenter', 'justifyright', '|',
'emoticons', 'image', '|', 'link', 'unlink', 'anchor', 'flash', 'media', 'baidumap', '/',
コード例 #3
0
ファイル: footer.html.php プロジェクト: hansen1416/eastsoft
<?php

if (!defined("RUN_MODE")) {
    die;
}
if ($extView = $this->getExtViewFile(__FILE__)) {
    include $extView;
    return helper::cd();
}
if ($config->debug) {
    js::import($jsRoot . 'jquery/form/min.js');
}
if (isset($pageJS)) {
    js::execute($pageJS);
}
/* Load hook files for current page. */
$extPath = dirname(dirname(dirname(__FILE__))) . '/common/ext/view/';
$extHookRule = $extPath . 'footer.admin.*.hook.php';
$extHookFiles = glob($extHookRule);
if ($extHookFiles) {
    foreach ($extHookFiles as $extHookFile) {
        include $extHookFile;
    }
}
/* Load hook file for site.*/
$siteExtPath = dirname(dirname(dirname(__FILE__))) . "/common/ext/_{$config->site->code}/view/";
$extHookRule = $siteExtPath . 'footer.admin.*.hook.php';
$extHookFiles = glob($extHookRule);
if ($extHookFiles) {
    foreach ($extHookFiles as $extHookFile) {
        include $extHookFile;
コード例 #4
0
ファイル: chart.html.php プロジェクト: eric0614/chanzhieps
if ($extView = $this->getExtViewFile(__FILE__)) {
    include $extView;
    return helper::cd();
}
?>
<style>
.table-chart tr > td.chart-color {padding-left: 0!important; text-align: center; padding-right: 0!important; color: #f1f1f1}
.chart-wrapper {padding: 10px; background-color: #f1f1f1; border: 1px solid #e5e5e5}
</style>
<!--[if lte IE 8]>
<?php 
js::import($jsRoot . 'chart/excanvas.min.js');
?>
<![endif]-->
<?php 
js::import($jsRoot . 'chart/min.js');
?>
<script>
(function()
{
    var colorIndex = 0;
    function nextAccentColor(idx)
    {
        if(typeof idx === 'undefined') idx = colorIndex++;
        return new $.zui.Color({h: idx * 67 % 360, s: 0.5, l: 0.55});
    }

    jQuery.fn.tableChart = function()
    {
        $(this).each(function()
        {
コード例 #5
0
ファイル: chosen.html.php プロジェクト: dyp8848/chanzhieps
<?php

if ($extView = $this->getExtViewFile(__FILE__)) {
    include $extView;
    return helper::cd();
}
css::import($jsRoot . 'jquery/chosen/min.css');
js::import($jsRoot . 'jquery/chosen/min.js');
$clientLang = $this->app->getClientLang();
?>

<script language='javascript'> 
$(document).ready(function()
{
    $(".chosen").chosen({no_results_text: '<?php 
echo $lang->noResultsMatch;
?>
', placeholder_text:' ', disable_search_threshold: 10, width: '100%', search_contains: true});
    $('select.chosen-icons').chosenIcons({lang: '<?php 
echo $clientLang;
?>
'});
});
</script>
コード例 #6
0
$clientTheme = $this->app->getClientTheme();
?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dli'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
  <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
  <?php 
$header = isset($header) ? (object) $header : new stdclass();
if (!isset($header->title)) {
    $header->title = $lang->ZenTaoPMS;
}
echo html::title($header->title . ' / ' . $lang->ZenTaoPMS);
js::exportConfigVars();
js::import($jsRoot . 'jquery/lib.js', $config->version);
js::import($jsRoot . 'my.min.js', $config->version);
js::import($jsRoot . 'highchars/exporting.js', $config->version);
js::import($jsRoot . 'highchars/highcharts.js', $config->version);
css::import($defaultTheme . 'yui.css', $config->version);
css::import($defaultTheme . 'style.css', $config->version);
css::import($langTheme, $config->version);
if (strpos($clientTheme, 'default') === false) {
    css::import($clientTheme . 'style.css', $config->version);
}
if (isset($pageCss)) {
    css::internal($pageCss);
}
echo html::icon($webRoot . 'favicon.ico');
?>
</head>
<body>
コード例 #7
0
ファイル: index.html.php プロジェクト: qiaqiali/chanzhieps
<?php

/**
 * The index view file of admin module of chanzhiEPS.
 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPLV12 (http://zpl.pub/page/zplv12.html)
 * @author      Xiying Guan <*****@*****.**>
 * @package     admin
 * @version     $Id$
 * @link        http://www.chanzhi.org
 */
include '../../common/view/header.admin.html.php';
if (!$ignoreUpgrade) {
    js::import('http://api.chanzhi.org/latest.php?version=' . $this->config->version);
}
?>
<div class='container' id='shortcutBox'>

  <?php 
if (strpos($this->server->php_self, '/admin.php') !== false && empty($this->config->global->ignoreAdminEntry)) {
    ?>
  <form method='post' id='ajaxForm' action='<?php 
    echo $this->createLink('admin', 'ignore');
    ?>
'>
    <div class="alert alert-danger">
      <button type="submit" class="close">&times;</button>
      <strong><?php 
    echo $lang->admin->adminEntry;
    ?>
コード例 #8
0
ファイル: tablesorter.html.php プロジェクト: fanscky/HTPMS
<?php

if ($extView = $this->getExtViewFile(__FILE__)) {
    include $extView;
    return helper::cd();
}
js::import($jsRoot . 'jquery/tablesorter/min.js');
js::import($jsRoot . 'jquery/tablesorter/metadata.js');
?>
<script language='javascript'>

/* sort table after page load. */
$(function() { sortTable(); } );

function sortTable()
{
    $('.tablesorter').tablesorter(
    {
        saveSort: true,
        widgets: ['zebra', 'saveSort'], 
        widgetZebra: {css: ['odd', 'even'] }
    });

    $('.tablesorter tbody tr').hover(
        function(){$(this).addClass('hoover')},
        function(){$(this).removeClass('hoover')}
    );

    $('.tablesorter tbody tr').click(
        function()
        {
コード例 #9
0
ファイル: datepicker.html.php プロジェクト: caiwenhao/zentao
<?php

if ($extView = $this->getExtViewFile(__FILE__)) {
    include $extView;
    return helper::cd();
}
$clientLang = $this->app->getClientLang();
if ($config->debug) {
    css::import($jsRoot . 'jquery/datetimepicker/min.css');
    js::import($jsRoot . 'jquery/datetimepicker/min.js');
}
?>
<script language='javascript'>
$(function()
{
    $.fn.fixedDate = function()
    {
        return $(this).each(function()
        {
            var $this = $(this);
            if($this.offset().top + 200 > $(document.body).height())
            {
                $this.attr('data-picker-position', 'top-right');
            }

            if($this.val() == '0000-00-00')
            {
                $this.focus(function(){if($this.val() == '0000-00-00') $this.val('').datetimepicker('update');}).blur(function(){if($this.val() == '') $this.val('0000-00-00')});
            }
        });
    };
コード例 #10
0
<?php

if ($extView = $this->getExtViewFile(__FILE__)) {
    include $extView;
    return helper::cd();
}
css::import($defaultTheme . 'datepicker.css');
js::import($jsRoot . 'jquery/datepicker/min.js');
js::import($jsRoot . 'jquery/datepicker/date.js');
?>
<script language='javascript'>
Date.firstDayOfWeek = 1;
Date.format = 'yyyy-mm-dd';
$.dpText = {
    TEXT_PREV_YEAR      :   '去年',
    TEXT_PREV_MONTH     :   '上个月',
    TEXT_NEXT_YEAR      :   '明年',
    TEXT_NEXT_MONTH     :   '下个月',
    TEXT_CLOSE          :   '关闭',
    TEXT_CHOOSE_DATE    :   '&nbsp;&nbsp;&nbsp;&nbsp;'
}
Date.dayNames       = ['日', '一', '二', '三', '四', '五', '六'];
Date.abbrDayNames   = ['星期天', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'];
Date.monthNames     = ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'];
 
$(function() {
    startDate = new Date(1970, 1, 1);
    $(".date").datePicker({createButton:true, startDate:startDate})
    .dpSetPosition($.dpConst.POS_TOP, $.dpConst.POS_RIGHT)
});
</script>
コード例 #11
0
ファイル: blame.html.php プロジェクト: xupnge1314/project
<?php

/**
 * The create view file of repo module of ZenTaoPMS.
 *
 * @copyright   Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
 * @author      Wang Yidong, Zhu Jinyong 
 * @package     repo
 * @version     $Id: blame.html.php $
 */
include '../../common/view/header.lite.html.php';
js::import($jsRoot . 'misc/highlight/highlight.pack.js');
css::import($jsRoot . 'misc/highlight/styles/github.css');
?>
<div class="code panel">
  <div class='panel-heading'>
    <strong class='text-14px'><?php 
echo $entry;
?>
</strong>
    <?php 
$encodePath = $this->repo->encodePath($entry);
?>
    <div class='panel-actions'>
      <div class='btn-group'>
        <?php 
echo html::commonButton(zget($lang->repo->encodingList, $encoding, $lang->repo->encoding) . "<span class='caret'></span>", "id='encoding' data-toggle='dropdown'", 'btn dropdown-toggle');
?>
        <ul class='dropdown-menu' role='menu' aria-labelledby='encoding'>
          <?php 
foreach ($lang->repo->encodingList as $key => $val) {
コード例 #12
0
} else {
    js::import($jsRoot . 'all.ie9.js');
}
?>
  <![endif]-->
  <?php 
js::set('lang', $lang->js);
$baseCustom = isset($this->config->template->custom) ? json_decode($this->config->template->custom, true) : array();
if (!empty($baseCustom[$template][$theme]['js'])) {
    js::execute($baseCustom[$template][$theme]['js']);
}
if (!empty($config->oauth->sina) and !is_object($config->oauth->sina)) {
    $sina = json_decode($config->oauth->sina);
}
if (!empty($config->oauth->qq) and !is_object($config->oauth->qq)) {
    $qq = json_decode($config->oauth->qq);
}
if (!empty($sina->verification)) {
    echo $sina->verification;
}
if (!empty($qq->verification)) {
    echo $qq->verification;
}
if (!empty($sina->widget)) {
    js::import('http://tjs.sjs.sinajs.cn/open/api/js/wb.js');
}
$this->block->printRegion($layouts, 'all', 'header');
?>
</head>
<body>
コード例 #13
0
ファイル: login.html.php プロジェクト: leowh/colla
                  <?php 
echo html::submitButton($lang->login) . html::hidden('referer', $referer);
?>
                  <?php 
echo html::checkbox('keepLogin', array('on' => $lang->user->keepLogin));
?>
                </td>
              </tr>
            </table>
          </div>
        </div>
      </form>
    </div>
  </div>
  <div class='notice text-center'>
  </div>
</div>
<?php 
if ($config->debug) {
    js::import($jsRoot . 'jquery/form/min.js');
}
if (isset($pageJS)) {
    js::execute($pageJS);
}
js::import("http://api.ranzhico.com/updater-latest-{$config->version}.html");
js::set('ignoreNotice', $ignoreNotice);
js::set('ignore', $lang->user->ignore);
?>
</body>
</html>
コード例 #14
0
        foreach ($story->tasklist as $tasklists) {
            foreach ($tasklists as $key => $value) {
                if ($value->type == 'test') {
                    $data[] = array('label' => $story->id . "[" . $users[$value->assignedTo] . "]" . $value->name, 'storyid' => $story->id, 'start' => $value->estStarted, 'end' => $value->deadline . " 24:00:00", 'class' => 'urgent');
                } else {
                    $data[] = array('label' => $story->id . "[" . $users[$value->assignedTo] . "]" . $value->name, 'storyid' => $story->id, 'start' => $value->estStarted, 'end' => $value->deadline . " 24:00:00");
                }
            }
        }
    }
    if ($data) {
        $gantti = new Gantti($data, array('title' => '需求分解甘特图', 'cellwidth' => 60, 'cellheight' => 33));
    }
    echo $gantti;
    js::import($webRoot . 'js/raphael-min.js');
    js::import($webRoot . 'js/ganttLine.js');
}
?>
<style>
    .gantt header .gantt-day.today span{color:#f00;}
</style>
<table class='cont-rt5'>
  <caption><?php 
echo $plan->title . $lang->colon . $lang->productplan->view;
?>
</caption>
  <tr valign='top'>
    <td>
      <fieldset>
        <legend><?php 
echo $lang->productplan->desc;
コード例 #15
0
<?php

if ($extView = $this->getExtViewFile(__FILE__)) {
    include $extView;
    return helper::cd();
}
js::import($jsRoot . 'ace/ace.js');
?>
<style>
.editor-wrapper {position: relative; z-index: 1;}
.editor-wrapper pre {z-index: 2}
.editor-wrapper .actions {position: absolute; right: 15px; top: 10px; z-index: 3;}
.editor-wrapper .actions > a {color: #808080; border: 1px solid #aaa; min-width: 14px; height: 24px; line-height: 24px; text-align: center; display: block; border-radius: 3px; float: left; margin-left: 6px; padding: 0 5px}
.editor-wrapper .actions > a:hover {color: #999}
.editor-wrapper.fullscreen {position: fixed; left: 0; top: 40px; bottom: 40px; right: 0}
.editor-wrapper.fullscreen .pre {height: 100%; width: 100%}

.modal-dialog.editor-fullscreen {position: absolute; bottom: 0; right: 0; top: 0; left: 0;  width: 100%!important; margin: 0!important; height: auto!important; border-radius: 0}
.modal-dialog.editor-fullscreen .editor-wrapper.fullscreen {bottom: 80px;}
.modal-dialog.editor-fullscreen .editor-actions {position: fixed; bottom: 15px; left: 20px;}
</style>
<script>
jQuery.fn.codeeditor = function(options)
{
    return this.each(function()
    {
        var $this = $(this);
        var setting = $.extend({mode: $this.data('mode') || 'html', theme: 'textmate'}, $this.data(), options);
        if(setting.height) $this.css('height', setting.height);
        $this.css('display', 'none');
        var id = $this.attr('id') + '-editor';
コード例 #16
0
ファイル: alert.html.php プロジェクト: laiello/zentaoms
<?php

if ($extView = $this->getExtViewFile(__FILE__)) {
    include $extView;
    return helper::cd();
}
$webRoot = $this->app->getWebRoot();
$jsRoot = $webRoot . "js/";
$defaultTheme = $webRoot . 'theme/default/';
if ($config->debug) {
    css::import($defaultTheme . 'alert.css');
    js::import($jsRoot . 'jquery/alert/min.js');
}
コード例 #17
0
ファイル: jplayer.html.php プロジェクト: dyp8848/chanzhieps
<?php

js::import($jsRoot . 'jplayer/dist/jplayer/jquery.jplayer.min.js');
css::import($jsRoot . 'jplayer/dist/skin/blue.monday/css/jplayer.blue.monday.min.css');
?>
 
<script type="text/javascript">
$(document).ready(function()
{
    $('embed').hide();
    $('embed').each(function(index)
    {
        src = $(this).attr('src');
        w = $(this).width();
        h = $(this).height();
        containerID = "media_container_" + index;
        id = "media_" + index;
        
        var reg = /\.flv$|\.flv\?|\.webm$|\.webm\?|\.wmv$|\.rtmp\?|\.rtmp$|\.mp3\?|\.mp3$|\.ogg\?|\.ogg$|\.mp4\?|\.mp4$|\.mp4\?/;
        mediaType = reg.exec(src);

        if(mediaType)
        {
            mediaType = mediaType.toString().replace('.', '');
            mediaType = mediaType.toString().replace('?', '');
            mediaTypeList = <?php 
echo json_encode($this->config->file->mediaTypes);
?>
;
            mediaType = eval("mediaTypeList." + mediaType.toLowerCase());
        }
コード例 #18
0
ファイル: form.html.php プロジェクト: laiello/zentaoms
<?php

if ($extView = $this->getExtViewFile(__FILE__)) {
    include $extView;
    return helper::cd();
}
js::import($jsRoot . 'jquery/form/min.js');
js::import($jsRoot . 'jquery/form/zentao.js');
コード例 #19
0
<?php

if (!defined("RUN_MODE")) {
    die;
}
include '../../common/view/header.html.php';
js::import($jsRoot . 'md5.js');
js::set('random', $this->session->random);
?>
<div class='panel panel-body' id='login'>
  <div class='row'>
    <?php 
foreach ($lang->user->oauth->providers as $providerCode => $providerName) {
    $providerConfig[$providerCode] = isset($config->oauth->{$providerCode}) ? json_decode($config->oauth->{$providerCode}) : '';
}
if (!empty($providerConfig['sina']->clientID) or !empty($providerConfig['qq']->clientID)) {
    ?>
    <div class='col-md-6'>
      <div class='panel panel-pure'>
        <div class='panel-heading'><strong><?php 
    echo $lang->user->oauth->lblWelcome;
    ?>
</strong></div>
        <div class='panel-body'>
        <?php 
    foreach ($lang->user->oauth->providers as $providerCode => $providerName) {
        $providerConfig = isset($config->oauth->{$providerCode}) ? json_decode($config->oauth->{$providerCode}) : '';
        if (empty($providerConfig->clientID)) {
            continue;
        }
        $params = "provider={$providerCode}";
コード例 #20
0
ファイル: gantt.html.php プロジェクト: xupnge1314/project
<?php

/**
 * The view file of fullcalendar module of ZenTaoPMS.
 *
 * @copyright   Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
 * @license     business(商业软件) 
 * @author      Yangyang Shi <*****@*****.**>
 * @package     fullcalendar 
 * @version     $Id$
 * @link        http://www.zentao.net
 */
css::import($defaultTheme . 'jsgantt.css', $config->version);
js::import($jsRoot . 'jquery/gantt/jsgantt.js', $config->version);
コード例 #21
0
ファイル: chart.html.php プロジェクト: caiwenhao/zentao
    include $extView;
    return helper::cd();
}
?>
<style>
.table-chart tr > td.chart-color {padding-left: 0!important; text-align: center; padding-right: 0!important; color: #f1f1f1}
.chart-wrapper {padding: 10px; background-color: #f1f1f1; border: 1px solid #e5e5e5}
</style>
<!--[if lte IE 8]>
<?php 
js::import($jsRoot . 'chartjs/excanvas.min.js');
?>
<![endif]-->
<?php 
if ($config->debug) {
    js::import($jsRoot . 'chartjs/chart.min.js');
}
?>
<script>
(function()
{
    var colorIndex = 0;
    function nextAccentColor(idx)
    {
        if(typeof idx === 'undefined') idx = colorIndex++;
        return new $.zui.Color({h: idx * 67 % 360, s: 0.5, l: 0.55});
    }

    jQuery.fn.tableChart = function()
    {
        $(this).each(function()
コード例 #22
0
    ?>
<!DOCTYPE html>
<html>
<head>
  <meta charset='utf-8' />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <?php 
    echo html::title($title . ' - ' . $lang->zentaoPMS);
    js::exportConfigVars();
    if ($config->debug) {
        js::import($jsRoot . 'jquery/mobile/jquery-1.10.1.min.js', $config->version);
        js::import($jsRoot . 'm.my.full.js', $config->version);
        js::import($jsRoot . 'jquery/mobile/jquery.mobile.min.js', $config->version);
        js::import($jsRoot . 'jquery/jquery.pjax.js', $config->version);
        css::import($defaultTheme . 'jquery.mobile.css', $config->version);
        css::import($defaultTheme . 'm.style.css', $config->version);
        css::import($langTheme, $config->version);
    } else {
        js::import($jsRoot . 'm.all.js', $config->version);
        css::import($defaultTheme . 'm.' . $this->cookie->lang . '.' . $this->cookie->theme . '.css', $config->version);
    }
    if (isset($pageCss)) {
        css::internal($pageCss);
    }
    echo html::icon($webRoot . 'favicon.ico');
    ?>
</head>
<body>
<div data-role="page" id='main'>
<?php 
}
コード例 #23
0
<?php

if (!defined("RUN_MODE")) {
    die;
}
include TPL_ROOT . 'common/header.html.php';
js::import($jsRoot . 'fingerprint/fingerprint.js');
?>
<div class="page-user-control">
  <div class="row">
    <?php 
include TPL_ROOT . 'user/side.html.php';
?>
    <div class='col-md-10'>
      <div class='panel'>
        <div class='panel-heading'><strong><i class='icon-edit'></i> <?php 
echo $lang->user->editEmail;
?>
</strong></div>
        <div class='panel-body'>
          <form method='post' id='ajaxForm' class='form form-horizontal' data-checkfingerprint='1'>
            <div class='form-group'>
              <label for='oldPwd' class='col-md-2 col-sm-3 control-label'><?php 
echo $lang->user->password;
?>
</label>
              <div class='col-md-6 col-sm-6'>
                <?php 
echo html::password('oldPwd', '', "class='form-control' placeholder='{$lang->user->placeholder->password}'");
?>
              </div>
コード例 #24
0
<?php

include '../../common/view/header.admin.html.php';
js::import($jsRoot . 'zeroclipboard/zeroclipboard.min.js');
js::set('copySuccess', $lang->file->copySuccess);
?>
<div class='modal fade' id='uploadModal'>
  <div class='modal-dialog'>
    <div class='modal-content'>
      <div class='modal-header'><?php 
echo $lang->file->uploadSource;
?>
</div>
      <?php 
$template = $this->config->template->{$this->device}->name;
?>
      <?php 
$theme = $this->config->template->{$this->device}->theme;
?>
      <form id="fileForm" method='post' enctype='multipart/form-data' action='<?php 
echo inlink('upload', "objectType=source&objectID={$template}_{$theme}");
?>
'>
        <table class='table table-form'>
          <?php 
if ($writeable) {
    ?>
          <tr>
            <td class='w-10px'></td>
            <td class='text-middle w-100px'><?php 
    echo $lang->file->source . sprintf($lang->file->limit, $this->config->file->maxSize / 1024 / 1024);
コード例 #25
0
ファイル: header.html.php プロジェクト: peirancao/chanzhieps
<!--[if lt IE 9]>
<?php 
if ($config->debug) {
    js::import($jsRoot . 'html5shiv/min.js');
    js::import($jsRoot . 'respond/min.js');
} else {
    js::import($jsRoot . 'all.ie8.js');
}
?>
<![endif]-->
<!--[if lt IE 10]>
<?php 
if ($config->debug) {
    js::import($jsRoot . 'jquery/placeholder/min.js');
} else {
    js::import($jsRoot . 'all.ie9.js');
}
?>
<![endif]-->
<?php 
$template = $this->config->template->{$this->device}->name ? $this->config->template->{$this->device}->name : 'default';
$theme = $this->config->template->{$this->device}->theme ? $this->config->template->{$this->device}->theme : 'default';
$baseCustom = isset($this->config->template->custom) ? json_decode($this->config->template->custom, true) : array();
if (!empty($baseCustom[$template][$theme]['js'])) {
    js::execute($baseCustom[$template][$theme]['js']);
}
?>
</head>
<body>
<div class='page-container page-blog'>
  <header id='header' class='clearfix'>
コード例 #26
0
ファイル: index.html.php プロジェクト: leowh/colla
<?php

/**
 * The index view file of index module of RanZhi.
 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Yidong Wang <*****@*****.**>
 * @package     index 
 * @version     $Id: index.html.php 3406 2015-12-22 01:56:17Z daitingting $
 * @link        http://www.ranzhico.com
 */
include "../../common/view/header.lite.html.php";
js::import($jsRoot . 'jquery/ips.js');
$isSuperAdmin = $this->app->user->admin == 'super';
?>
<!-- Desktop -->
<div id='desktop' class='fullscreen-mode' unselectable='on' style='-moz-user-select:none;-webkit-user-select:none;' onselectstart='return false;'>
  <div id='leftBar' class='dock-left'>
    <button id='start' class='dock-bottom' type='button' title="<?php 
echo $app->user->realname;
?>
">
      <div class='avatar avatar-md'><?php 
if (!empty($app->user->avatar)) {
    echo html::image($app->user->avatar);
}
?>
</div>
    </button>
    <ul id='startMenu' class='dropdown-menu fade'>
コード例 #27
0
ファイル: create.html.php プロジェクト: caiwenhao/zentao
<?php

/**
 * The create view of productplan module of ZenTaoPMS.
 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Chunsheng Wang <*****@*****.**>
 * @package     productplan
 * @version     $Id: create.html.php 4728 2013-05-03 06:14:34Z chencongzhi520@gmail.com $
 * @link        http://www.zentao.net
 */
include '../../common/view/header.html.php';
include '../../common/view/datepicker.html.php';
include '../../common/view/kindeditor.html.php';
js::import($jsRoot . 'misc/date.js');
?>
<div class='container mw-1400px'>
  <div id='titlebar'>
    <div class='heading'>
      <span class='prefix'><?php 
echo html::icon($lang->icons['plan']);
?>
</span>
      <strong><small class='text-muted'><i class='icon icon-plus'></i></small> <?php 
echo $lang->productplan->create;
?>
</strong>
    </div>
  </div>
  <form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
コード例 #28
0
<?php

if ($extView = $this->getExtViewFile(__FILE__)) {
    include $extView;
    return helper::cd();
}
css::import($defaultTheme . 'colorbox.css');
js::import($jsRoot . 'jquery/colorbox/min.js');
コード例 #29
0
ファイル: treeview.html.php プロジェクト: huokedu/zentao
<?php

if ($extView = $this->getExtViewFile(__FILE__)) {
    include $extView;
    return helper::cd();
}
if ($config->debug) {
    css::import($defaultTheme . 'treeview.css');
    js::import($jsRoot . 'jquery/treeview/min.js');
}
?>
<script language='javascript'>$(function() { $("#tree").treeview({ persist: "cookie", collapsed: true, unique: true }) })</script>
コード例 #30
0
<?php

include '../../common/view/header.admin.html.php';
include '../../common/view/codeeditor.html.php';
js::import($jsRoot . 'less/min.js');
?>
<div class='col-xs-12'>
<?php 
if (!$hasPriv) {
    ?>
<div class='alert alert-danger'>
  <div>
    <?php 
    echo $errors;
    ?>
    <span class='pull-right'><?php 
    commonModel::printLink('ui', 'customtheme', "theme={$theme}&template={$template}", $lang->ui->template->reload, "class='btn btn-primary'");
    ?>
</span>
  </div>
</div>
<?php 
} else {
    ?>
<form method='post' action='<?php 
    echo inlink('customtheme', "theme={$theme}&template={$template}");
    ?>
' id='customThemeForm' class='form' data-theme='<?php 
    echo $theme;
    ?>
' data-template='<?php