* adjust code

This commit is contained in:
chujilu
2014-08-12 16:16:26 +08:00
parent 46f9884495
commit f56e7c0b14
2 changed files with 4 additions and 6 deletions
+3 -5
View File
@@ -10,10 +10,9 @@
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.lite.html.php';?>
<?php
$webRoot = $this->app->getWebRoot();
$jsRoot = $webRoot . "js/";
$webRoot = $this->app->getWebRoot();
$jsRoot = $webRoot . "js/";
?>
<?php include '../../common/view/chosen.html.php';?>
<div class='modal-dialog w-500px'>
@@ -24,7 +23,7 @@ $jsRoot = $webRoot . "js/";
<strong><small class='text-muted'><?php echo html::icon($lang->icons['edit']);?></small> <?php echo $lang->tree->edit;?></strong>
</div>
</div>
<form action="<?php echo inlink('edit', 'module=' . $module->id .'&type=' .$type);?>" class='form-condensed' method='post' class='mt-10px' id='dataform'>
<form action="<?php echo inlink('edit', 'module=' . $module->id .'&type=' .$type);?>" target='hiddenwin' class='form-condensed' method='post' class='mt-10px' id='dataform'>
<table class='table table-form'>
<?php $hidden = ($type != 'story' and $module->type == 'story');?>
<tr <?php if($hidden) echo "style='display:none'";?>>
@@ -50,4 +49,3 @@ $jsRoot = $webRoot . "js/";
</form>
</div>
</div>
<?php include '../../common/view/header.lite.html.php';?>