* Adjust create and edit story.

This commit is contained in:
holan20180123
2021-06-16 09:25:21 +08:00
parent 5a6630e11e
commit 550f8c4817
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -89,7 +89,7 @@
<div class="input-group">
<div class="input-group-addon" style="min-width: 77px;"><?php echo $lang->story->source;?></div>
<?php echo html::select('source', $lang->story->sourceList, $source, "class='form-control chosen'");?>
<span class='input-group-addon'><?php echo $lang->story->sourceNote;?></span>
<span class='input-group-addon' id='sourceNoteBox'><?php echo $lang->story->sourceNote;?></span>
<?php $sourceNoteWidth = isonlybody() ? "style='width: 70px;'" : "style='width: 140px;'"?>
<?php echo html::input('sourceNote', $sourceNote, "class='form-control' $sourceNoteWidth");?>
</div>
+2 -1
View File
@@ -16,6 +16,7 @@
<?php js::set('moveChildrenTips', $lang->story->moveChildrenTips);?>
<?php js::set('rawModule', $this->app->rawModule);?>
<?php js::set('reviewedReviewer', $reviewedReviewer);?>
<?php js::set('storyModule', $lang->story->module);?>
<div class='main-content' id='mainContent'>
<form method='post' enctype='multipart/form-data' target='hiddenwin' id='dataform'>
<div class='main-header'>
@@ -136,7 +137,7 @@
<td><?php echo html::select('source', $lang->story->sourceList, $story->source, "class='form-control chosen'");?></td>
</tr>
<tr>
<th><?php echo $lang->story->sourceNote;?></th>
<th id='sourceNoteBox'><?php echo $lang->story->sourceNote;?></th>
<td><?php echo html::input('sourceNote', $story->sourceNote, "class='form-control'");?>
</td>
</tr>