Просмотр исходного кода

同步350高度富文本

develop
叙述、别离 1 месяц назад
Родитель
Сommit
f660081075
9 измененных файлов: 15 добавлений и 15 удалений
  1. +1
    -1
      src/system/archive/listview.class.php
  2. +1
    -1
      src/system/archive/sglistview.class.php
  3. +7
    -7
      src/system/customfields.func.php
  4. +1
    -1
      src/user/templets/album_add.htm
  5. +1
    -1
      src/user/templets/album_edit.htm
  6. +1
    -1
      src/user/templets/article_add.htm
  7. +1
    -1
      src/user/templets/article_edit.htm
  8. +1
    -1
      src/user/templets/soft_add.htm
  9. +1
    -1
      src/user/templets/soft_edit.htm

+ 1
- 1
src/system/archive/listview.class.php Просмотреть файл

@@ -71,7 +71,7 @@ class ListView
$this->Fields = $this->TypeLink->TypeInfos;
$this->Fields['id'] = $typeid;
$this->Fields['position'] = $this->TypeLink->GetPositionLink(true);
$this->Fields['title'] = preg_replace("/[<>]/", " / ", $this->TypeLink->GetPositionLink(false));
$this->Fields['title'] = preg_replace("/[<>]/", "-", $this->TypeLink->GetPositionLink(false));
//添加联动单筛选
if (isset($_REQUEST['tid'])) {
foreach($_GET as $key => $value) {


+ 1
- 1
src/system/archive/sglistview.class.php Просмотреть файл

@@ -70,7 +70,7 @@ class SgListView
$this->Fields = $this->TypeLink->TypeInfos;
$this->Fields['id'] = $typeid;
$this->Fields['position'] = $this->TypeLink->GetPositionLink(true);
$this->Fields['title'] = preg_replace("/[<>]/", " / ", $this->TypeLink->GetPositionLink(false));
$this->Fields['title'] = preg_replace("/[<>]/", "-", $this->TypeLink->GetPositionLink(false));
//获得附加表和列表字段信息
$this->AddTable = $this->ChannelUnit->ChannelInfos['addtable'];
$listfield = trim($this->ChannelUnit->ChannelInfos['listfields']);


+ 7
- 7
src/system/customfields.func.php Просмотреть файл

@@ -92,11 +92,11 @@ function GetFormItem($ctag, $admintype = 'admin')
$dfvalue = str_replace('{{', '<', $dfvalue);
$dfvalue = str_replace('}}', '>', $dfvalue);
if ($admintype == 'admin') {
$innertext = GetEditor($fieldname, $dfvalue, 360, 'Basic', 'string');
$innertext = GetEditor($fieldname, $dfvalue, 350, 'Basic', 'string');
} else if ($admintype == 'diy') {
$innertext = GetEditor($fieldname, $dfvalue, 360, 'Diy', 'string');
$innertext = GetEditor($fieldname, $dfvalue, 350, 'Diy', 'string');
} else {
$innertext = GetEditor($fieldname, $dfvalue, 360, 'Member', 'string');
$innertext = GetEditor($fieldname, $dfvalue, 350, 'Member', 'string');
}
} else if ($fieldType == "multitext") {
$innertext = "<textarea name='$fieldname' id='$fieldname' class='form-control admin-textarea-sm'></textarea>";
@@ -337,16 +337,16 @@ function GetFormItemValue($ctag, $fvalue, $admintype = 'admin', $fieldname = '')
$okfvalue = '';
}
if ($admintype == 'admin') {
$myformItem = GetEditor($fieldname, $okfvalue, 360, 'Basic', 'string')." <input type='hidden' name='{$fieldname}_file' value='{$fvalue}'> ";
$myformItem = GetEditor($fieldname, $okfvalue, 350, 'Basic', 'string')." <input type='hidden' name='{$fieldname}_file' value='{$fvalue}'> ";
} else {
$myformItem = GetEditor($fieldname, $okfvalue, 360, 'Member', 'string')." <input type='hidden' name='{$fieldname}_file' value='{$fvalue}'> ";
$myformItem = GetEditor($fieldname, $okfvalue, 350, 'Member', 'string')." <input type='hidden' name='{$fieldname}_file' value='{$fvalue}'> ";
}
$innertext = $myformItem;
} else if ($ftype == "htmltext") {
if ($admintype == 'admin') {
$myformItem = GetEditor($fieldname, $fvalue, 360, 'Basic', 'string')." ";
$myformItem = GetEditor($fieldname, $fvalue, 350, 'Basic', 'string')." ";
} else {
$myformItem = GetEditor($fieldname, $fvalue, 360, 'Member', 'string')." ";
$myformItem = GetEditor($fieldname, $fvalue, 350, 'Member', 'string')." ";
}
$innertext = $myformItem;
} else if ($ftype == "multitext") {


+ 1
- 1
src/user/templets/album_add.htm Просмотреть файл

@@ -56,7 +56,7 @@
<?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');?>
<div class="form-group row">
<span class="col-sm-2 col-form-label">正文</span>
<div class="col-sm-10"><?php GetEditor("body","",400,"Member");?></div>
<div class="col-sm-10"><?php GetEditor("body","",350,"Member");?></div>
</div>
<input name="maxwidth" type="hidden" id="maxwidth" value="<?php echo $cfg_album_width;?>">
<input name="prow" type="hidden" value="<?php echo $cfg_album_row;?>">


+ 1
- 1
src/user/templets/album_edit.htm Просмотреть файл

@@ -59,7 +59,7 @@
<?php PrintAutoFieldsEdit($row['fieldset'],$addRow,'autofield');?>
<div class="form-group row">
<span class="col-sm-2 col-form-label">正文</span>
<div class="col-sm-10"><?php GetEditor("body",$addRow['body'],400,"Member");?></div>
<div class="col-sm-10"><?php GetEditor("body",$addRow['body'],350,"Member");?></div>
</div>
<input name="maxwidth" type="hidden" id="maxwidth" value="<?php echo $abinfo->GetAtt('maxwidth');?>">
<input name="prow" type="hidden" value="<?php echo $abinfo->GetAtt('row');?>">


+ 1
- 1
src/user/templets/article_add.htm Просмотреть файл

@@ -55,7 +55,7 @@
<?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');?>
<div class="form-group row">
<span class="col-sm-2 col-form-label">正文</span>
<div class="col-sm-10"><?php GetEditor("body","",400,"Member");?></div>
<div class="col-sm-10"><?php GetEditor("body",$addRow['body'],350,"Member");?></div>
</div>
<div class="text-center">
<button type="submit" class="btn btn-success btn-sm">提交</button>


+ 1
- 1
src/user/templets/article_edit.htm Просмотреть файл

@@ -58,7 +58,7 @@
<?php PrintAutoFieldsEdit($row['fieldset'],$addRow,'autofield');?>
<div class="form-group row">
<span class="col-sm-2 col-form-label">正文</span>
<div class="col-sm-10"><?php GetEditor("body",$addRow['body'],400,"Member");?></div>
<div class="col-sm-10"><?php GetEditor("body",$addRow['body'],350,"Member");?></div>
</div>
<div class="text-center">
<button type="submit" class="btn btn-success btn-sm">提交</button>


+ 1
- 1
src/user/templets/soft_add.htm Просмотреть файл

@@ -143,7 +143,7 @@
<?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');?>
<div class="form-group row">
<span class="col-sm-2 col-form-label">正文</span>
<div class="col-sm-10"><?php GetEditor("body","",400,"Member");?></div>
<div class="col-sm-10"><?php GetEditor("body","",350,"Member");?></div>
</div>
<div class="form-group">
<label for="softurl1">软件网址:</label>


+ 1
- 1
src/user/templets/soft_edit.htm Просмотреть файл

@@ -144,7 +144,7 @@
<div class="col-sm-10">
<?php
$addRow["introduce"] = isset($addRow["introduce"])? $addRow["introduce"] : '';
GetEditor("body",$addRow["introduce"],400,"Small");
GetEditor("body",$addRow["introduce"],350,"Small");
?>
</div>
</div>


Загрузка…
Отмена
Сохранить