* adjust the ui code.

This commit is contained in:
wangchunsheng
2011-02-25 14:16:29 +00:00
parent 20e93821b4
commit 4061d9b675
2 changed files with 21 additions and 25 deletions
+19 -23
View File
@@ -13,18 +13,25 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/treeview.html.php';?>
<?php include '../../common/view/colorize.html.php';?>
<div class='yui-d0'>
<div id='featurebar'>
<div class='f-right'>
<?php common::printLink('doc', 'create', "libID=$libID&moduleID=$moduleID&productID=$productID&projectID=$projectID&from=doc", $lang->doc->create);?>
</div>
<div id='featurebar'>
<div class='f-right'>
<?php common::printLink('doc', 'create', "libID=$libID&moduleID=$moduleID&productID=$productID&projectID=$projectID&from=doc", $lang->doc->create);?>
</div>
</div>
<div class='yui-d0 yui-t7' id='mainbox'>
<div class="yui-main">
<div class="yui-b">
<table class='cont-lt3'>
<tr valign='top'>
<td class='side'>
<div class='box-title'><?php echo $libName;?></div>
<div class='box-content'>
<?php echo $moduleTree;?>
<div class='a-right'>
<?php common::printLink('tree', 'browse', "rootID=$libID&view=doc", $lang->tree->manage);?>
</div>
</div>
</td>
<td class='divider'></td>
<td>
<table class='table-1 fixed colored tablesorter datatable'>
<thead>
<tr class='colhead'>
@@ -61,18 +68,7 @@
</tbody>
</table>
<?php $pager->show();?>
</div>
</div>
<div class='yui-b' id='treebox'>
<div class='box-title'><?php echo $libName;?></div>
<div class='box-content'>
<?php echo $moduleTree;?>
<div class='a-right'>
<?php common::printLink('tree', 'browse', "rootID=$libID&view=doc", $lang->tree->manage);?>
</div>
</div>
</div>
</div>
</td>
</tr>
</table>
<?php include './footer.html.php';?>
+2 -2
View File
@@ -1,8 +1,8 @@
<script language='Javascript'>
$(document).ready(function()
{
$(".right a").colorbox({width:500, height:200, iframe:true, transition:'none'});
$("#modulemenu a:contains('<?php echo $lang->doc->editLib;?>')").colorbox({width:500, height:200, iframe:true, transition:'none'});
$(".right a").colorbox({width:500, height:200, iframe:true, transition:'none'}); // The create lib link.
$("#modulemenu a:contains('<?php echo $lang->doc->editLib;?>')").colorbox({width:500, height:200, iframe:true, transition:'none'}); // The edit lib link.
});
</script>
<?php include '../../common/view/footer.html.php';?>