* adjust flow style.

This commit is contained in:
wangyidong
2013-01-23 08:33:54 +00:00
parent c87180211a
commit 9578331adb
2 changed files with 11 additions and 12 deletions

View File

@@ -1,11 +1,11 @@
<?php
/**
* The index view file of index module of ZenTaoPMS.
* The setFlow view file of admin 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 Yidong Wang <yidong@cnezsoft.com>
* @package index
* @package admin
* @version $Id$
* @link http://www.zentao.net
*/
@@ -13,20 +13,19 @@
<?php include '../../common/view/header.lite.html.php';?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<caption><?php echo $lang->index->selectFlow?></caption>
<caption><?php echo $lang->admin->selectFlow?></caption>
<?php foreach($lang->admin->flowList as $type => $name):?>
<tr>
<td>
<?php
foreach($lang->index->flowList as $type => $name)
{
$checked = $type == 'full' ? "checked='checked'" : '';
echo "<p><input type='radio' name='flow' value='$type' $checked> $name</p>";
}
?>
<?php
$checked = $type == 'full' ? "checked='checked'" : '';
echo "<input type='radio' name='flow' value='$type' $checked> $name";
?>
</td>
</tr>
<?php endforeach;?>
<tr>
<td><?php echo "<p>{$lang->index->flowNotice}</p>"?></td>
<td><?php echo "<p>{$lang->admin->flowNotice}</p>"?></td>
</tr>
<tr>
<td align='center'><?php echo html::submitButton()?></td>

View File

@@ -14,5 +14,5 @@ $(function()
{
$(this).sparkline('html', {height:'25px'});
})
if(typeof(flow) != 'undefined' && flow) $.colorbox({href:createLink('admin', 'setFlow'), open:true, width:800, height:330, iframe:true});
if(typeof(flow) != 'undefined' && flow) $.colorbox({href:createLink('admin', 'setFlow'), open:true, width:800, height:280, transition:'none', iframe:true});
});