* Task#4034,#4035.

This commit is contained in:
滔哥
2018-05-14 08:57:16 +08:00
parent 61f56263a9
commit e365704e10
7 changed files with 16 additions and 12 deletions
+3 -3
View File
@@ -16,7 +16,7 @@
<div class='detail'>
<div class='detail-title'><?php echo $lang->api->debug;?></div>
<div class='detail-content'>
<form method='post' id='apiForm' class='form-condensed'>
<form method='post' id='apiForm'>
<?php if($method->parameters):?>
<table class='table table-form'>
<?php foreach($method->parameters as $param):?>
@@ -27,12 +27,12 @@
<?php endforeach;?>
<tr>
<td align='center' colspan="2">
<?php echo html::submitButton($lang->api->submit)?>
<?php echo html::submitButton($lang->api->submit, '', 'btn btn-primary btn-wide')?>
</td>
</tr>
</table>
<?php else:?>
<?php echo html::hidden('noparam', '0') . $lang->api->noParam . html::submitButton($lang->api->submit);?>
<?php echo html::hidden('noparam', '0') . $lang->api->noParam . html::submitButton($lang->api->submit, '', 'btn btn-primary btn-wide');?>
<?php endif;?>
<?php if($method->post) echo "<p>{$lang->api->post}</p>"?>
</form>
+2
View File
@@ -95,6 +95,8 @@ $lang->dev->tableList['entry'] = 'Entry';
$lang->dev->tableList['webhook'] = 'WebHook';
$lang->dev->tableList['webhookdatas'] = 'WebHookDatas';
$lang->dev->tableList['log'] = 'Log';
$lang->dev->tableList['message'] = 'Message';
$lang->dev->tableList['notify'] = 'Notify';
$lang->dev->groupList['my'] = 'Dashboard';
$lang->dev->groupList['product'] = $lang->productCommon;
+2
View File
@@ -95,6 +95,8 @@ $lang->dev->tableList['entry'] = '应用';
$lang->dev->tableList['webhook'] = 'WebHook';
$lang->dev->tableList['webhookdatas'] = 'WebHook数据';
$lang->dev->tableList['log'] = '接口日志';
$lang->dev->tableList['message'] = '消息';
$lang->dev->tableList['notify'] = '通知';
$lang->dev->groupList['my'] = '我的地盘';
$lang->dev->groupList['product'] = $lang->productCommon;
+2 -2
View File
@@ -25,7 +25,7 @@
$params = array();
if(isset($api['param']))
{
foreach($api['param'] as $param) $params[] = "{$param['var']}=[{$param['var']}]";
foreach($api['param'] as $param) $params[] = "{$param['var']}=[{$param['var']}]";
}
$params = implode('&', $params);
?>
@@ -37,7 +37,7 @@
</div>
<div class='detail-content'>
<?php echo $api['desc'];?>
<table class='table table-fixed table-bordered params'>
<table class='table table-bordered'>
<tr>
<td><?php echo $lang->dev->params?></td>
<td><?php echo $lang->dev->type?></td>
+1 -1
View File
@@ -22,7 +22,7 @@
<div class='detail'>
<div class='detail-title'><?php echo $selectedTable?></div>
<div class='detail-content'>
<table class="table table-condensed table-bordered table-fixed">
<table class="table table-bordered">
<thead>
<tr>
<th class='w-id'><?php echo $lang->dev->fields['id']?></th>
+5 -5
View File
@@ -13,11 +13,11 @@
<?php include '../../common/view/header.lite.html.php';?>
<div class='main-header'>
<div class='heading'>
<i class='icon-edit'></i>
<?php if($filePath):?>
<strong><?php echo $lang->editor->filePath;?></strong>
<i class='icon-edit'></i>
<?php if($filePath):?>
<strong><?php echo $lang->editor->filePath;?></strong>
<code><?php echo $filePath?></code>
<?php endif?>
<?php endif?>
</div>
</div>
<form method='post' target='hiddenwin' action='<?php echo inlink('save', "filePath=$safeFilePath&action=$action")?>'>
@@ -72,7 +72,7 @@
<?php endif;?>
</td>
</tr>
<tr><td align='center'><?php echo html::submitButton()?></td></tr>
<tr><td align='center'><?php echo html::submitButton('', '', 'btn btn-primary btn-wide')?></td></tr>
</table>
</div>
</form>
+1 -1
View File
@@ -30,7 +30,7 @@
?>
</td>
</tr>
<tr><td colspan='2' align='center'><?php echo html::submitButton()?></td></tr>
<tr><td colspan='2' align='center'><?php echo html::submitButton('', '', 'btn btn-primary btn-wide')?></td></tr>
</table>
</div>
</form>