Browse Source

调整

develop
叙述、别离 1 month ago
parent
commit
2ff9854801
4 changed files with 20 additions and 8 deletions
  1. +2
    -2
      src/admin/dialog/select_images.php
  2. +8
    -0
      src/admin/dialog/select_media.php
  3. +4
    -0
      src/admin/dialog/select_soft.php
  4. +6
    -6
      src/admin/dialog/select_templets.php

+ 2
- 2
src/admin/dialog/select_images.php View File

@@ -134,7 +134,7 @@ if (!empty($iseditor)) {
$reurl = $reurl;
}
if ($file == $comeback) $lstyle = "class='text-danger'";
else $lstyle = "";
else $lstyle = '';
$line = "<div class='list'>
<a href='$reurl' onclick=\"ReturnImg('$reurl');\" $lstyle>
<img src='$reurl' title='$file'>
@@ -151,7 +151,7 @@ if (!empty($iseditor)) {
$reurl = $reurl;
}
if ($file == $comeback) $lstyle = "class='text-danger'";
else $lstyle = "";
else $lstyle = '';
$line = "<div class='list'>
<a href='$reurl' onclick=\"ReturnImg('$reurl');\" $lstyle>
<img src='$reurl' title='$file'>


+ 8
- 0
src/admin/dialog/select_media.php View File

@@ -122,6 +122,8 @@ if (!empty($noeditor)) {
} else {
$reurl = $reurl;
}
if ($file == $comeback) $lstyle = "class='text-danger'";
else $lstyle = '';
$line = "<tr>
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_flash.png'> $file</a></td>
<td>$filesize KB</td>
@@ -136,6 +138,8 @@ if (!empty($noeditor)) {
} else {
$reurl = $reurl;
}
if ($file == $comeback) $lstyle = "class='text-danger'";
else $lstyle = '';
$line = "<tr>
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_video.png'> $file</a></td>
<td>$filesize KB</td>
@@ -150,6 +154,8 @@ if (!empty($noeditor)) {
} else {
$reurl = $reurl;
}
if ($file == $comeback) $lstyle = "class='text-danger'";
else $lstyle = '';
$line = "<tr>
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_rm.png'> $file</a></td>
<td>$filesize KB</td>
@@ -164,6 +170,8 @@ if (!empty($noeditor)) {
} else {
$reurl = $reurl;
}
if ($file == $comeback) $lstyle = "class='text-danger'";
else $lstyle = '';
$line = "<tr>
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_music.png'> $file</a></td>
<td>$filesize KB</td>


+ 4
- 0
src/admin/dialog/select_soft.php View File

@@ -122,6 +122,8 @@ if (!empty($noeditor)) {
} else {
$reurl = $reurl;
}
if ($file == $comeback) $lstyle = "class='text-danger'";
else $lstyle = '';
$line = "<tr>
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_zip.png'> $file</a></td>
<td>$filesize KB</td>
@@ -136,6 +138,8 @@ if (!empty($noeditor)) {
} else {
$reurl = $reurl;
}
if ($file == $comeback) $lstyle = "class='text-danger'";
else $lstyle = '';
$line = "<tr>
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_exe.png'> $file</a></td>
<td>$filesize KB</td>


+ 6
- 6
src/admin/dialog/select_templets.php View File

@@ -109,7 +109,7 @@ if (empty($comeback)) {
$reurl = preg_replace("#\.\.#", "", $reurl);
$reurl = preg_replace("#".$templetdir."/#", "", $reurl);
if ($file == $comeback) $lstyle = "class='text-danger'";
else $lstyle = '';
else $lstyle = '';
$line = "<tr>
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_htm.png'> $file</a></td>
<td>$filesize KB</td>
@@ -121,7 +121,7 @@ if (empty($comeback)) {
$reurl = preg_replace("#\.\.#", "", $reurl);
$reurl = preg_replace("#".$templetdir."/#", "", $reurl);
if ($file == $comeback) $lstyle = "class='text-danger'";
else $lstyle = '';
else $lstyle = '';
$line = "<tr>
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_css.png'> $file</a></td>
<td>$filesize KB</td>
@@ -133,7 +133,7 @@ if (empty($comeback)) {
$reurl = preg_replace("#\.\.#", "", $reurl);
$reurl = preg_replace("#".$templetdir."/#", "", $reurl);
if ($file == $comeback) $lstyle = "class='text-danger'";
else $lstyle = '';
else $lstyle = '';
$line = "<tr>
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_js.png'> $file</a></td>
<td>$filesize KB</td>
@@ -145,7 +145,7 @@ if (empty($comeback)) {
$reurl = preg_replace("#\.\.#", "", $reurl);
$reurl = preg_replace("#".$templetdir."/#", "", $reurl);
if ($file == $comeback) $lstyle = "class='text-danger'";
else $lstyle = '';
else $lstyle = '';
$line = "<tr>
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='$reurl'> $file</a></td>
<td>$filesize KB</td>
@@ -157,7 +157,7 @@ if (empty($comeback)) {
$reurl = preg_replace("#\.\.#", "", $reurl);
$reurl = preg_replace("#".$templetdir."/#", "", $reurl);
if ($file == $comeback) $lstyle = "class='text-danger'";
else $lstyle = '';
else $lstyle = '';
$line = "<tr>
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='$reurl'> $file</a></td>
<td>$filesize KB</td>
@@ -169,7 +169,7 @@ if (empty($comeback)) {
$reurl = preg_replace("#\.\.#", "", $reurl);
$reurl = preg_replace("#".$templetdir."/#", "", $reurl);
if ($file == $comeback) $lstyle = "class='text-danger'";
else $lstyle = '';
else $lstyle = '';
$line = "<tr>
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_text.png'> $file</a></td>
<td>$filesize KB</td>


Loading…
Cancel
Save