Procházet zdrojové kódy

同步风格:返回上级布局和优化细节

tags/6.5.6
叙述、别离 před 6 dny
rodič
revize
66fd4561cf
7 změnil soubory, kde provedl 15 přidání a 14 odebrání
  1. +1
    -1
      src/admin/dialog/select_images.php
  2. +1
    -1
      src/admin/dialog/select_media.php
  3. +2
    -2
      src/admin/dialog/select_soft.php
  4. +1
    -1
      src/admin/dialog/select_templets.php
  5. +8
    -8
      src/admin/file_manage_view.php
  6. +1
    -0
      src/admin/templets/catalog_edit.htm
  7. +1
    -1
      src/admin/templets/file_manage_main.htm

+ 1
- 1
src/admin/dialog/select_images.php Zobrazit soubor

@@ -111,8 +111,8 @@ if (!empty($iseditor)) {
if ($activepath == "") continue;
$tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath);
$line = "<div class='d-flex justify-content-between align-items-center mb-3'>
<a href='select_images.php?imgstick=$imgstick&v=$v&f=$f&activepath=".urlencode($tmp).$addparm."' class='btn btn-success btn-sm'>返回上级</a>
<span>当前目录:$activepath</span>
<a href='select_images.php?imgstick=$imgstick&v=$v&f=$f&activepath=".urlencode($tmp).$addparm."'><img src='/static/web/img/icon_dir2.png'> 返回上级</a>
</div>";
echo $line;
} else if (is_dir("$inpath/$file")) {


+ 1
- 1
src/admin/dialog/select_media.php Zobrazit soubor

@@ -103,8 +103,8 @@ if (!empty($noeditor)) {
if ($activepath == "") continue;
$tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath);
$line = "<tr>
<td><a href='select_media.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='/static/web/img/icon_dir2.png'> 返回上级</a></td>
<td colspan='2'>当前目录:$activepath</td>
<td align='right'><a href='select_media.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='/static/web/img/icon_dir2.png'> 返回上级</a></td>
</tr>";
echo $line;
} else if (is_dir("$inpath/$file")) {


+ 2
- 2
src/admin/dialog/select_soft.php Zobrazit soubor

@@ -103,9 +103,9 @@ if (!empty($noeditor)) {
if ($activepath == "") continue;
$tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath);
$line = "<tr>
<td><a href='select_soft.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='/static/web/img/icon_dir2.png'> 返回上级</a></td>
<td colspan='2'>当前目录:$activepath</td>
</tr>\r\n";
<td align='right'><a href='select_soft.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='/static/web/img/icon_dir2.png'> 返回上级</a></td>
</tr>";
echo $line;
} else if (is_dir("$inpath/$file")) {
if (preg_match("#^_(.*)$#i", $file)) continue;


+ 1
- 1
src/admin/dialog/select_templets.php Zobrazit soubor

@@ -93,8 +93,8 @@ if (empty($comeback)) {
if ($activepath == "") continue;
$tmp = preg_replace("#[\/][^\/]*$#", "", $activepath);
$line = "<tr>
<td><a href='select_templets.php?f=$f&activepath=".urlencode($tmp)."'><img src='/static/web/img/icon_dir2.png'> 返回上级</a></td>
<td colspan='2'>当前目录:$activepath</td>
<td align='right'><a href='select_templets.php?f=$f&activepath=".urlencode($tmp)."'><img src='/static/web/img/icon_dir2.png'> 返回上级</a></td>
</tr>\r\n";
echo $line;
} else if (is_dir("$inpath/$file")) {


+ 8
- 8
src/admin/file_manage_view.php Zobrazit soubor

@@ -26,9 +26,9 @@ if ($fmdo == "rename") {
$win->AddHidden("fmdo", $fmdo);
$win->AddHidden("activepath", $activepath);
$win->AddHidden("filename", $filename);
$win->AddTitle("修改文件名,当前路径:$ndirstring");
$win->AddItem("旧名称", "<input type='input' name='oldfilename' id='oldfilename' class='admin-input-md' value='$filename'>");
$win->AddItem("新名称", "<input type='input' name='newfilename' id='newfilename' class='admin-input-md'>");
$win->AddTitle("修改文件名,当前位置:".$ndirstring."");
$win->AddItem("旧名称", "<input type='input' name='oldfilename' id='oldfilename' class='admin-input-md' value='$filename'>");
$win->AddItem("新名称", "<input type='input' name='newfilename' id='newfilename' class='admin-input-md'>");
$winform = $win->GetWindow("ok");
$win->Display();
}
@@ -42,8 +42,8 @@ else if ($fmdo == "newdir") {
$win->AddHidden("fmdo", $fmdo);
$win->AddHidden("activepath", $activepath);
$win->AddHidden("token", make_hash());
$win->AddTitle("当前目录 $activepathname ");
$win->AddItem("新目录", "<input type='input' name='newpath' id='newpath' class='admin-input-md'>");
$win->AddTitle("当前目录:".$activepathname."");
$win->AddItem("新目录", "<input type='input' name='newpath' id='newpath' class='admin-input-md'>");
$winform = $win->GetWindow("ok");
$win->Display();
}
@@ -56,9 +56,9 @@ else if ($fmdo == "move") {
$win->AddHidden("activepath", $activepath);
$win->AddHidden("filename", $filename);
$win->AddTitle("新位置前面不加斜杆/表示相对于当前位置,加斜杆/表示相对于根目录");
$win->AddItem("移动文件", $filename);
$win->AddItem("当前位置", $activepath);
$win->AddItem("新位置", "<input type='input' name='newpath' id='newpath' class='admin-input-md'>");
$win->AddItem("移动文件", $filename);
$win->AddItem("当前位置", $activepath);
$win->AddItem("新位置", "<input type='input' name='newpath' id='newpath' class='admin-input-md'>");
$winform = $win->GetWindow("ok");
$win->Display();
}


+ 1
- 0
src/admin/templets/catalog_edit.htm Zobrazit soubor

@@ -337,6 +337,7 @@
</div>
<div class="form-group">
<label for="modelid" class="form-label">选择模型</label>
<select id="modelid" class="form-control">
<?php
$dsql->SetQuery("SELECT AM.*,A.title as aititle FROM `#@__ai_model` AM LEFT JOIN `#@__ai` A ON A.id = AM.aiid ORDER BY AM.sortrank ASC,AM.id DESC");
$dsql->Execute();


+ 1
- 1
src/admin/templets/file_manage_main.htm Zobrazit soubor

@@ -57,8 +57,8 @@
}
$tmp = preg_replace("#[\/][^\/]*$#i","",$activepath);
$line = "\n<tr>
<td><a href='file_manage_main.php?activepath=".urlencode($tmp)."'><img src='/static/web/img/icon_dir2.png'> 返回上级</a></td>
<td colspan='3'>当前目录:$activepath</td>
<td align='right'><a href='file_manage_main.php?activepath=".urlencode($tmp)."'><img src='/static/web/img/icon_dir2.png'> 返回上级</a></td>
</tr>";
$dirs[] = $line;
} else if (is_dir("$inpath/$file")) {


Načítá se…
Zrušit
Uložit