36 lines
1.4 KiB
PHP
36 lines
1.4 KiB
PHP
<?php
|
|
/**
|
|
* The timezone view file of custom module of ZenTaoPMS.
|
|
*
|
|
* @copyright Copyright 2009-2015 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
|
|
* @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
|
* @author Yidong Wang <yidong@cnezsoft.com>
|
|
* @package custom
|
|
* @version $Id$
|
|
* @link http://www.zentao.net
|
|
*/
|
|
?>
|
|
<?php include '../../common/view/header.html.php';?>
|
|
<div id='mainContent' class='main-content'>
|
|
<div class='mw-500px'>
|
|
<?php if(!function_exists('date_default_timezone_set')):?>
|
|
<div class='alert alert-warning'><?php echo $lang->custom->notice->cannotSetTimezone;?></div>
|
|
<?php else:?>
|
|
<?php include $this->app->getConfigRoot() . 'timezones.php';?>
|
|
<form class="load-indicator main-form form-ajax" method='post'>
|
|
<table class='table table-form'>
|
|
<tr>
|
|
<th class='w-80px'><?php echo $lang->custom->timezone;?></th>
|
|
<td><?php echo html::select('timezone', $timezoneList, $config->timezone, "class='form-control chosen'");?></td>
|
|
</tr>
|
|
<tr>
|
|
<th></th>
|
|
<td class='form-actions text-left'><?php echo html::submitButton();?></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<?php endif;?>
|
|
</div>
|
|
</div>
|
|
<?php include '../../common/view/footer.html.php';?>
|