Ejemplo n.º 1
0
 /**
  * Convert tree to options multi
  *
  * @param array $data
  * @param int $level
  * @param array $options
  * @param array $result
  */
 public static function convert_tree_to_options_multi($data, $level = 0, $options = [], &$result)
 {
     // convert to array
     if (!empty($options['skip_keys']) && !is_array($options['skip_keys'])) {
         $options['skip_keys'] = [$options['skip_keys']];
     }
     foreach ($data as $k => $v) {
         // if we are skipping certain keys
         if (!empty($options['skip_keys']) && in_array($k, $options['skip_keys'])) {
             continue;
         }
         // assemble variable
         $value = $v;
         $value['name'] = !empty($options['i18n']) ? i18n(null, $v[$options['name_field']]) : $v[$options['name_field']];
         $value['level'] = $level;
         if (!empty($options['icon_field'])) {
             $value['icon_class'] = html::icon(['type' => $v[$options['icon_field']], 'class_only' => true]);
         }
         if (!empty($options['disabled_field'])) {
             $value['disabled'] = !empty($v[$options['disabled_field']]);
         }
         $result[$k] = $value;
         // if we have options
         if (!empty($v['options'])) {
             self::convert_tree_to_options_multi($v['options'], $level + 1, $options, $result);
         }
     }
 }
Ejemplo n.º 2
0
 /**
  * Generate name
  *
  * @param string $name
  * @param string $icon
  * @param boolean $no_i18n
  */
 public static function name($name, $icon = null, $no_i18n = false)
 {
     if (!$no_i18n) {
         $name = i18n(null, $name);
     }
     if (!empty($icon)) {
         $name = html::icon(['type' => $icon]) . ' ' . $name;
     }
     return $name;
 }
Ejemplo n.º 3
0
 /**
  * see html::calendar()
  */
 public static function calendar($options = [])
 {
     // include js & css files
     if (empty($options['readonly'])) {
         layout::add_js('/numbers/media_submodules/numbers_frontend_components_calendar_numbers_media_js_base.js');
         layout::add_css('/numbers/media_submodules/numbers_frontend_components_calendar_numbers_media_css_base.css');
     }
     // font awesome icons
     library::add('fontawesome');
     // widget parameters
     $type = $options['calendar_type'] ?? $options['type'] ?? 'date';
     $widget_options = ['id' => $options['id'], 'type' => $type, 'format' => $options['calendar_format'] ?? format::get_date_format($type), 'date_week_start_day' => $options['calendar_date_week_start_day'] ?? 1, 'date_disable_week_days' => $options['calendar_date_disable_week_days'] ?? null, 'master_id' => $options['calendar_master_id'] ?? null, 'slave_id' => $options['calendar_slave_id'] ?? null];
     $options['type'] = 'text';
     // determine input size
     $placeholder = format::get_date_placeholder($widget_options['format']);
     $options['size'] = strlen($placeholder);
     // set placeholder
     if (!empty($options['placeholder']) && $options['placeholder'] == 'format::get_date_placeholder') {
         $options['placeholder'] = $placeholder;
         $options['title'] = ($options['title'] ?? '') . ' (' . $placeholder . ')';
     }
     if (isset($options['calendar_icon']) && ($options['calendar_icon'] == 'left' || $options['calendar_icon'] == 'right')) {
         $position = $options['calendar_icon'];
         if (i18n::rtl()) {
             if ($position == 'left') {
                 $position = 'right';
             } else {
                 $position = 'left';
             }
         }
         $icon_type = $type == 'time' ? 'clock-o' : 'calendar';
         unset($options['calendar_icon']);
         if (empty($options['readonly'])) {
             $icon_onclick = 'numbers_calendar_var_' . $options['id'] . '.show();';
         } else {
             $icon_onclick = null;
         }
         $icon_value = html::span(['onclick' => $icon_onclick, 'class' => 'numbers_calendar_icon numbers_prevent_selection', 'value' => html::icon(['type' => $icon_type])]);
         $result = html::input_group(['value' => html::input($options), $position => $icon_value, 'dir' => 'ltr']);
         $div_id = $options['id'] . '_div_holder';
         $result .= html::div(['id' => $div_id, 'class' => 'numbers_calendar_div_holder']);
         $widget_options['holder_div_id'] = $div_id;
     } else {
         $result = html::input($options);
     }
     // we do not render a widget if readonly
     if (empty($options['readonly'])) {
         layout::onload('numbers_calendar(' . json_encode($widget_options) . ');');
     }
     return $result;
 }
Ejemplo n.º 4
0
    <span class='prefix'><?php 
echo html::icon($lang->icons['usecase']);
?>
 <strong><?php 
echo $run->case->id;
?>
</strong></span>
    <strong><?php 
echo $run->case->title;
?>
</strong>
    <small class='text-muted'> <?php 
echo $lang->testtask->runCase;
?>
 <?php 
echo html::icon($lang->icons['run']);
?>
</small>
  </div>
</div>
<div class='main'>
  <form class='form-condensed' method='post'>
    <table class='table table-bordered table-form'>
      <thead>
        <tr>
          <td colspan='5'><strong><?php 
echo $lang->testcase->precondition;
?>
</strong> <?php 
echo $run->case->precondition;
?>
Ejemplo n.º 5
0
/**
 * The install view file of extension 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     extension
 * @version     $Id$
 * @link        http://www.zentao.net
 */
include '../../common/view/header.lite.html.php';
?>
<div id='titlebar'>
  <div class='heading'>
    <span class='prefix' title='EXTENSION'><?php 
echo html::icon($lang->icons['extension']);
?>
</span>
    <strong><?php 
echo $title;
?>
</strong>
  </div>
</div>
<?php 
if ($error) {
    ?>
<div class='alert alert-danger with-icon'>
  <i class='icon-info-sign'></i>
  <div class='content'>
    <h3><?php 
Ejemplo n.º 6
0
 * @link        http://www.ranzhico.com
 */
include '../../common/view/header.html.php';
?>
<div id='titlebar'>
  <div class='heading'>
    <span class='prefix' title='GROUP'><?php 
echo html::icon($lang->icons['group']);
?>
</span>
    <strong><?php 
echo $lang->group->copy;
?>
</strong>
    <small class='text-muted'> <?php 
echo html::icon($lang->icons['copy']);
?>
</small>
  </div>
</div>

<form class='form-condensed mw-500px pdb-20' method='post' target='hiddenwin'>
  <table align='center' class='table table-form'> 
    <tr>
      <th class='w-100px'><?php 
echo $lang->group->name;
?>
</th>
      <td><?php 
echo html::input('name', $group->name, "class='form-control'");
?>
Ejemplo n.º 7
0
/**
 * The html template file of index method of index 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      Yangyang Shi <*****@*****.**>
 * @package     ZenTaoPMS
 * @version     $Id$
 */
include '../../common/view/header.html.php';
include '../../common/view/sparkline.html.php';
include '../../common/view/sortable.html.php';
?>
<div id='featurebar'>
  <div class='heading'><?php 
echo html::icon($lang->icons['product']) . ' ' . $lang->product->index;
?>
  </div>
  <div class='actions'>
    <?php 
echo html::a($this->createLink('product', 'create'), "<i class='icon-plus'></i> " . $lang->product->create, '', "class='btn'");
?>
  </div>
  <ul class='nav'>
    <?php 
echo "<li id='noclosedTab'>" . html::a(inlink("index", "locate=no&productID={$productID}&status=noclosed"), $lang->product->unclosed) . '</li>';
?>
    <?php 
echo "<li id='closedTab'>" . html::a(inlink("index", "locate=no&productID={$productID}&status=closed"), $lang->product->statusList['closed']) . '</li>';
?>
    <?php 
Ejemplo n.º 8
0
          <li class='<?php 
if ($type == 'story') {
    echo 'active';
}
?>
'><a href='#stories' data-toggle='tab'><?php 
echo html::icon($lang->icons['story']) . ' ' . $lang->productplan->linkedStories;
?>
</a></li>
          <li class='<?php 
if ($type == 'bug') {
    echo 'active';
}
?>
'><a href='#bugs' data-toggle='tab'><?php 
echo html::icon($lang->icons['bug']) . ' ' . $lang->productplan->linkedBugs;
?>
</a></li>
        </ul>
        <div class='tab-content'>
          <div id='stories' class='tab-pane <?php 
if ($type == 'story') {
    echo 'active';
}
?>
'>
            <?php 
if (common::hasPriv('productplan', 'linkStory')) {
    ?>
            <div class='action'><?php 
    echo html::a("javascript:showLink({$plan->id}, \"story\")", '<i class="icon-link"></i> ' . $lang->productplan->linkStory, '', "class='btn btn-sm btn-primary'");
Ejemplo n.º 9
0
 * @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'>
    <table class='table table-form'> 
      <tr>
        <th class='w-80px'><?php 
echo $lang->productplan->product;
?>
</th>
Ejemplo n.º 10
0
<div class='container mw-700px'>
  <div id='titlebar'>
    <div class='heading'>
      <span class='prefix'><?php 
    echo html::icon($lang->icons['mail']);
    ?>
</span>
      <strong><?php 
    echo $lang->mail->common;
    ?>
</strong>
      <small class='text-muted'> <?php 
    echo $lang->mail->test;
    ?>
 <?php 
    echo html::icon($lang->icons['test']);
    ?>
</small>
    </div>
    <div class='actions'><div class='text text-info'><?php 
    echo $lang->mail->sendmailTips;
    ?>
</div></div>
  </div>
  <form class='form-condensed' method='post' target='resultWin'>
    <table class='table table-form'>
      <tr>
        <td><?php 
    echo html::select('to', $users, $app->user->account, "class='form-control chosen'");
    ?>
</td>
Ejemplo n.º 11
0
    <span class='prefix'><?php 
echo html::icon($lang->icons['task']);
?>
 <strong><?php 
echo $task->id;
?>
</strong></span>
    <strong><?php 
echo html::a($this->createLink('task', 'view', 'task=' . $task->id), $task->name, '_blank');
?>
</strong>
    <small class='text-success'> <?php 
echo $lang->task->finish;
?>
 <?php 
echo html::icon($lang->icons['finish']);
?>
</small>
  </div>
</div>
<form class='form-condensed' method='post' target='hiddenwin'>
  <table class='table table-form'>
    <tr>
      <th class='w-80px'><?php 
echo $lang->task->consumed;
?>
</th>
      <td class='w-p25-f'><div class='input-group'><?php 
echo html::input('consumed', $task->consumed, "class='form-control'");
?>
 <span class='input-group-addon'><?php 
Ejemplo n.º 12
0
    <span class='prefix' title='GROUP'><?php 
echo html::icon($lang->icons['group']);
?>
 <strong><?php 
echo $group->id;
?>
</strong></span>
    <strong><?php 
echo $group->name;
?>
</strong>
    <small class='text-muted'> <?php 
echo $lang->group->manageMember;
?>
 <?php 
echo html::icon($lang->icons['manage']);
?>
</small>
  </div>
</div>

<form class='form-condensed pdb-20' method='post' target='hiddenwin'>
  <table align='center' class='table table-form'> 
    <?php 
if ($groupUsers) {
    ?>
    <tr>
      <th class='w-100px'><?php 
    echo $lang->group->inside;
    echo html::selectAll('group', 'checkbox', true);
    ?>
Ejemplo n.º 13
0
      <span class='prefix'><?php 
echo html::icon($lang->icons['project']);
?>
 <strong><?php 
echo $project->id;
?>
</strong></span>
      <strong><?php 
echo html::a($this->createLink('project', 'view', 'project=' . $project->id), $project->name, '_blank');
?>
</strong>
      <small class='text-success'> <?php 
echo $lang->project->activate;
?>
 <?php 
echo html::icon($lang->icons['activate']);
?>
</small>
    </div>
  </div>
  <form class='form-condensed' method='post' target='hiddenwin'>
    <table class='table table-form'>
      <tr>
        <th class='w-60px'><?php 
echo $lang->comment;
?>
</th>
        <td><?php 
echo html::textarea('comment', '', "rows='6' class='form-control'");
?>
</td>
Ejemplo n.º 14
0
 * @author      Chunsheng Wang <*****@*****.**>
 * @package     todo
 * @version     $Id: edit.html.php 4728 2013-05-03 06:14:34Z chencongzhi520@gmail.com $
 * @link        http://www.zentao.net
 */
include '../../common/view/header.html.php';
?>
 <?php 
include '../../common/view/datepicker.html.php';
include '../../common/view/kindeditor.html.php';
?>
<div class='container mw-700px'>
  <div id='titlebar'>
    <div class='heading'>
      <span class='prefix'><?php 
echo html::icon($lang->icons['todo']);
?>
 <strong><?php 
echo $todo->id;
?>
</strong></span>
      <strong><?php 
echo html::a($this->createLink('todo', 'view', 'todo=' . $todo->id), $todo->name);
?>
</strong>
      <small class='text-muted'> <?php 
echo $lang->todo->edit;
?>
</small>
    </div>
  </div>
Ejemplo n.º 15
0
common::printIcon('doc', 'create', "libID={$libID}&moduleID={$moduleID}&productID={$productID}&projectID={$projectID}&from=doc");
?>
  </div>
  <div id='querybox' class='<?php 
if ($browseType == 'bysearch') {
    echo 'show';
}
?>
'></div>
</div>
<div class='side' id='treebox'>
  <a class='side-handle' data-id='treebox'><i class='icon-caret-left'></i></a>
  <div class='side-body'>
    <div class='panel panel-sm'>
      <div class='panel-heading nobr'><?php 
echo html::icon('folder-close-alt');
?>
 <strong><?php 
echo $libName;
?>
</strong></div>
      <div class='panel-body'>
        <?php 
echo $moduleTree;
?>
        <div class='text-right'>
          <?php 
common::printLink('tree', 'browse', "rootID={$libID}&view=doc", $lang->doc->manageType);
?>
          <?php 
if (is_numeric($libID)) {
Ejemplo n.º 16
0
 * @author      Chunsheng Wang <*****@*****.**>
 * @package     bug
 * @version     $Id: report.html.php 4657 2013-04-17 02:01:26Z chencongzhi520@gmail.com $
 * @link        http://www.zentao.net
 */
include '../../common/view/header.html.php';
include '../../common/view/chart.html.php';
?>
<div id='titlebar'>
  <div class='heading'>
    <span class='prefix'><?php 
echo html::icon($lang->icons['bug']);
?>
</span>
    <strong><small class='text-muted'><?php 
echo html::icon($lang->icons['report']);
?>
</small> <?php 
echo $lang->bug->report->common;
?>
</strong>
  </div>
  <div class='actions'>
    <?php 
echo html::a($this->createLink('bug', 'browse', "productID={$productID}&branch=0&browseType={$browseType}&moduleID={$moduleID}"), $lang->goback, '', "class='btn'");
?>
  </div>
</div>
<div class='row-table row-table-side-left'>
  <div class='col-side'>
    <div class='panel panel-sm'>
Ejemplo n.º 17
0
</strong>
    <?php 
if ($task->deleted) {
    ?>
    <span class='label label-danger'><?php 
    echo $lang->task->deleted;
    ?>
</span>
    <?php 
}
?>
    <?php 
if ($task->fromBug != 0) {
    ?>
    <small> <?php 
    echo html::icon($lang->icons['bug']) . " {$lang->task->fromBug}{$lang->colon}{$task->fromBug}";
    ?>
</small>
    <?php 
}
?>
  </div>
  <div class='actions'>
    <?php 
$browseLink = $app->session->taskList != false ? $app->session->taskList : $this->createLink('project', 'browse', "projectID={$task->project}");
$actionLinks = '';
if (!$task->deleted) {
    ob_start();
    echo "<div class='btn-group'>";
    common::printIcon('task', 'assignTo', "projectID={$task->project}&taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
    common::printIcon('task', 'start', "taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
Ejemplo n.º 18
0
<div class='container mw-1400px'>
  <div id='titlebar'>
    <div class='heading'>
      <span class='prefix'><?php 
echo html::icon($lang->icons['doc']);
?>
 <strong><?php 
echo $doc->id;
?>
</strong></span>
      <strong><?php 
echo html::a($this->createLink('doc', 'view', "docID={$doc->id}"), $doc->project_name);
?>
</strong>
      <small class='text-muted'> <?php 
echo html::icon($lang->icons['edit']) . ' ' . $lang->doc->edit;
?>
</small>
    </div>
  </div>
  <form class='form-condensed' method='post' enctype='multipart/form-data' target='hiddenwin' id='dataform'>
    <table class='table table-form'><!-- 
      <tr>
        <th class='w-80px'><?php 
echo $lang->doc->lib;
?>
</th>
        <td class='w-p25-f'><?php 
echo html::select('lib', $libs, $doc->lib, "class='form-control chosen' onchange='loadModule(this.value);changeByLib(this.value)'");
?>
</td><td></td>
Ejemplo n.º 19
0
/**
 * The view view of product module of ZenTaoPMS.
 *
 * @copyright   Copyright 2009-2013 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
 * @license     LGPL (http://www.gnu.org/licenses/lgpl.html)
 * @author      Chunsheng Wang <*****@*****.**>
 * @package     product
 * @version     $Id: view.html.php 4129 2013-01-18 01:58:14Z wwccss $
 * @link        http://www.zentao.net
 */
include '../../common/view/header.html.php';
?>
<div id='titlebar'>
  <div class='heading'>
    <span class='prefix'><?php 
echo html::icon($lang->icons['product']);
?>
 <strong><?php 
echo $product->id;
?>
</strong></span>
    <strong><?php 
echo $product->name;
?>
</strong>
    <?php 
if ($product->deleted) {
    ?>
    <span class='label label-danger'><?php 
    echo $lang->product->deleted;
    ?>
Ejemplo n.º 20
0
?>
</strong></span>
      <strong><?php 
if (!common::printLink('user', 'view', "account={$user->account}", $user->realname)) {
    echo $user->realname;
}
?>
 (<small><?php 
echo $user->account;
?>
</small>)</strong>
      <small class='text-muted'> <?php 
echo $lang->user->edit;
?>
 <?php 
echo html::icon($lang->icons['edit']);
?>
</small>
    </div>
  </div>
  <form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
    <table align='center' class='table table-form'>
      <caption class='text-left text-muted'><?php 
echo $lang->user->basicInfo;
?>
</caption>
      <tr>
        <th class='w-90px'><?php 
echo $lang->user->realname;
?>
</th>
Ejemplo n.º 21
0
 * @license     LGPL (http://www.gnu.org/licenses/lgpl.html)
 * @author      Yangyang Shi <*****@*****.**>
 * @package     story
 * @version     $Id$
 * @link        http://www.zentao.net
 */
include '../../common/view/header.html.php';
?>
<div id='titlebar'>
  <div class='heading'>
    <span class='prefix'><?php 
echo html::icon($lang->icons['bug']);
?>
</span>
    <strong><small class='text-muted'><?php 
echo html::icon($lang->icons['batchCreate']);
?>
</small> <?php 
echo $lang->bug->common . $lang->colon . $lang->bug->batchCreate;
?>
</strong>
    <div class='actions'>
      <?php 
if (common::hasPriv('file', 'uploadImages')) {
    echo html::a($this->createLink('file', 'uploadImages', 'module=bug&params=' . helper::safe64Encode("productID={$productID}&projectID={$projectID}&moduleID={$moduleID}")), $lang->uploadImages, '', "data-toggle='modal' data-type='iframe' class='btn' data-width='600px'");
}
?>
      <?php 
echo html::commonButton($lang->pasteText, "data-toggle='myModal'");
?>
    </div>
Ejemplo n.º 22
0
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv11.html)
 * @author      Chunsheng Wang <*****@*****.**>
 * @package     release
 * @version     $Id: edit.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';
?>
<div class='container mw-1400px'>
  <div id='titlebar'>
    <div class='heading'>
      <span class='prefix'><?php 
echo html::icon($lang->icons['release']);
?>
 <strong><?php 
echo $release->id;
?>
</strong></span>
      <strong><?php 
echo html::a(inlink('view', "release={$release->id}"), $release->name);
?>
</strong>
      <small class='text-muted'> <?php 
echo $lang->release->edit;
?>
 <i class='icon icon-pencil'></i></small>
    </div>
  </div>
Ejemplo n.º 23
0
/**
 * The html template file of index method of convert module of ZenTaoPMS.
 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv11.html)
 * @author      Chunsheng Wang <*****@*****.**>
 * @package     ZenTaoPMS
 * @version     $Id: index.html.php 4129 2013-01-18 01:58:14Z wwccss $
 */
include '../../common/view/header.html.php';
?>
<div class='container mw-700px'>
  <div id='titlebar'>
    <div class='heading'>
      <span class='prefix'><?php 
echo html::icon('cloud-upload');
?>
</span>
      <strong><?php 
echo $lang->convert->common;
?>
</strong>
    </div>
  </div>
  <div class='alert mg-0 bd-0'>
    <div class='content'>
      <?php 
echo nl2br($lang->convert->desc);
?>
      <div class='text-center pdt-20'>
        <?php 
Ejemplo n.º 24
0
    }
}
js::exportConfigVars();
if ($config->debug) {
    js::import($jsRoot . 'jquery/min.js');
    js::import($jsRoot . 'zui/min.js');
    js::import($jsRoot . 'chanzhi.js');
    js::import($jsRoot . 'jquery/treeview/min.js');
    js::import($jsRoot . 'my.js');
} else {
    js::import($jsRoot . 'all.js');
}
if (isset($pageCSS)) {
    css::internal($pageCSS);
}
echo isset($this->config->site->favicon) ? html::icon(json_decode($this->config->site->favicon)->webPath) : html::icon($webRoot . 'favicon.ico');
echo html::rss($this->createLink('rss', 'index', '', '', 'xml'), $config->site->name);
js::set('lang', $lang->js);
if (!empty($config->oauth->sina)) {
    $sina = json_decode($config->oauth->sina);
}
if (!empty($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->verification) && !empty($sina->widget)) {
Ejemplo n.º 25
0
?>
 <?php 
echo $lang->company->browse;
?>
</div>
</div>
<div id='querybox' class='show'><?php 
echo $searchForm;
?>
</div>
<div class='side'>
  <a class='side-handle' data-id='companyTree'><i class='icon-caret-left'></i></a>
  <div class='side-body'>
    <div class='panel panel-sm'>
      <div class='panel-heading nobr'><?php 
echo html::icon($lang->icons['company']);
?>
 <strong><?php 
echo $lang->dept->common;
?>
</strong></div>
      <div class='panel-body'>
        <?php 
echo $deptTree;
?>
        <div class='text-right'><?php 
common::printLink('dept', 'browse', '', $lang->dept->manage);
?>
</div>
      </div>
    </div>
Ejemplo n.º 26
0
/**
 * The upload view file of extension module of ZenTaoPMS.
 *
 * @copyright   Copyright 2009-2013 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
 * @license     LGPL (http://www.gnu.org/licenses/lgpl.html)
 * @author      Chunsheng Wang <*****@*****.**>
 * @package     extension
 * @version     $Id$
 * @link        http://www.zentao.net
 */
include '../../common/view/header.lite.html.php';
?>
<div id='titlebar'>
  <div class='heading'>
    <span class='prefix'><?php 
echo html::icon('upload');
?>
</span>
    <strong><?php 
echo $lang->extension->upload;
?>
</strong>
  </div>
</div>
<form method='post' enctype='multipart/form-data' style='padding: 5% 20%'>
  <div class='input-group'>
    <input type='file' name='file' class='form-control' />
    <span class='input-group-btn'><?php 
echo html::submitButton($lang->extension->install);
?>
</span>
Ejemplo n.º 27
0
 */
include '../../common/view/header.html.php';
include '../../common/view/form.html.php';
js::set('lblDelete', $lang->testcase->deleteStep);
js::set('lblBefore', $lang->testcase->insertBefore);
js::set('lblAfter', $lang->testcase->insertAfter);
?>
<div class='container mw-1400px'>
  <div id='titlebar'>
    <div class='heading'>
      <span class='prefix'><?php 
echo html::icon($lang->icons['testcase']);
?>
</span>
      <strong><small class='text-muted'><?php 
echo html::icon($lang->icons['create']);
?>
</small> <?php 
echo $lang->testcase->create;
?>
</strong>
    </div>
  </div>
  <form class='form-condensed' method='post' enctype='multipart/form-data' id='dataform' data-type='ajax'>
    <table class='table table-form'> 
      <tr>
        <th class='w-80px'><?php 
echo $lang->testcase->lblProductAndModule;
?>
</th>
        <td class='w-p25-f'>
Ejemplo n.º 28
0
 * The view of doc module of ZenTaoPMS.
 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv11.html)
 * @author      Jia Fu <*****@*****.**>
 * @package     doc
 * @version     $Id: view.html.php 975 2010-07-29 03:30:25Z jajacn@126.com $
 * @link        http://www.zentao.net
 */
include '../../common/view/header.html.php';
echo css::internal($keTableCSS);
?>
<div id='titlebar'>
  <div class='heading'>
    <span class='prefix' title='DOC'><?php 
echo html::icon($lang->icons['doc']);
?>
 <strong><?php 
echo $doc->id;
?>
</strong></span>
    <strong><?php 
echo $doc->title;
?>
</strong>
    <?php 
if ($doc->deleted) {
    ?>
    <span class='label label-danger'><?php 
    echo $lang->doc->deleted;
    ?>
Ejemplo n.º 29
0
<?php

include '../../common/view/header.html.php';
?>
<div id='titlebar'>
  <div class='heading'>
    <span class='prefix'><?php 
echo html::icon($lang->icons['report-file']);
?>
</span>
    <strong> <?php 
echo $title;
?>
</strong>
  </div>
</div>
<div class='side'>
  <?php 
include 'blockreportlist.html.php';
?>
  <div class='panel panel-body' style='padding: 10px 6px'>
    <div class='text proversion'>
      <strong class='text-danger small text-latin'>PRO</strong> &nbsp;<span class='text-important'><?php 
echo $lang->report->proVersion;
?>
</span>
    </div>
  </div>
</div>

<div class='main'>
 * The view file of bug 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     admin
 * @version     $Id: view.html.php 2568 2012-02-09 06:56:35Z shiyangyangwork@yahoo.cn $
 * @link        http://www.zentao.net
 */
include '../../common/view/header.html.php';
?>
<div class='container mw-500px'>
  <div id='titlebar'>
    <div class='heading'>
      <span class='prefix'><?php 
echo html::icon('cloud');
?>
</span>
      <strong><?php 
echo $lang->admin->bind->caption;
?>
</strong>
    </div>
  </div>
  <form class='form-condensed mw-400px' method="post" target="hiddenwin">
    <table align='center' class='table table-form'>
      <tr>
        <th class='w-100px'><?php 
echo $lang->user->account;
?>
</th>