Sfoglia il codice sorgente

代码美化同步

tags/6.5.8
叙述、别离 1 settimana fa
parent
commit
e366f3b8a4
7 ha cambiato i file con 6 aggiunte e 8 eliminazioni
  1. +2
    -2
      src/admin/statistics_list.php
  2. +1
    -1
      src/admin/tags_main.php
  3. +1
    -1
      src/system/archive/listview.class.php
  4. +1
    -1
      src/system/archive/sglistview.class.php
  5. +1
    -1
      src/system/libraries/fixtures/crawlers.php
  6. +0
    -1
      src/system/taglib/channel/img.lib.php
  7. +0
    -1
      src/system/taglib/infoguide.lib.php

+ 2
- 2
src/admin/statistics_list.php Vedi File

@@ -60,8 +60,8 @@ if (isset($dopost) && $dopost == "delete") {
//流量列表数
$dlist->pagesize = 30;
$tplfile = DEDEADMIN."/templets/statistics_list.htm";
$dlist->SetParameter("ip",$ip);
$dlist->SetParameter("url_type",$url_type);
$dlist->SetParameter("ip", $ip);
$dlist->SetParameter("url_type", $url_type);
$dlist->SetTemplate($tplfile);
$dlist->SetSource($sql);
$dlist->Display();


+ 1
- 1
src/admin/tags_main.php Vedi File

@@ -17,7 +17,7 @@ if (empty($action)) {
$tag = HtmlReplace($tag, -1);
$orderby = empty($orderby) ? 'id' : preg_replace("#[^a-z]#i", '', $orderby);
$orderway = isset($orderway) && $orderway == 'asc' ? 'asc' : 'desc';
if (!empty($tag)) $where = " WHERE tag like '%$tag%' OR id = '$tag'";
if (!empty($tag)) $where = " WHERE tag like '%$tag%' OR id='$tag'";
else $where = '';
$neworderway = ($orderway == 'desc' ? 'asc' : 'desc');
$query = "SELECT T.*,TI.* FROM `#@__tagindex` T LEFT JOIN `#@__tagindex_infos` TI ON TI.tagid=T.id $where ORDER BY $orderby $orderway";


+ 1
- 1
src/system/archive/listview.class.php Vedi File

@@ -1,5 +1,5 @@
<?php
if (!defined('DEDEINC')) exit ('dedebiz');
if (!defined('DEDEINC')) exit('dedebiz');
/**
* 文档列表
*


+ 1
- 1
src/system/archive/sglistview.class.php Vedi File

@@ -1,5 +1,5 @@
<?php
if (!defined('DEDEINC')) exit ('dedebiz');
if (!defined('DEDEINC')) exit('dedebiz');
/**
* 自定义模型列表
*


+ 1
- 1
src/system/libraries/fixtures/crawlers.php Vedi File

@@ -8,7 +8,7 @@ if (!defined('DEDEINC')) exit('dedebiz');
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
require_once(DEDEINC . "/libraries/fixtures/abstractprovider.php");
require_once(DEDEINC."/libraries/fixtures/abstractprovider.php");

class Crawlers extends AbstractProvider
{


+ 0
- 1
src/system/taglib/channel/img.lib.php Vedi File

@@ -71,7 +71,6 @@ function ch_img($fvalue, &$arcTag, &$refObj, $fname = '')
$revalue = '';
$GLOBAL['photoid'] = 0;
foreach ($dtp->CTags as $ctag) {
if ($ctag->GetName() == "img") {
$fields = $ctag->CAttribute->Items;
$fields['text'] = str_replace("'", "", $ctag->GetAtt('text'));


+ 0
- 1
src/system/taglib/infoguide.lib.php Vedi File

@@ -40,7 +40,6 @@ function lib_infoguide(&$ctag, &$refObj)
}
}
$innerText = $dtp->GetResult();
$ctp = new DedeTagParse();
$ctp->SetNameSpace('field', '[', ']');
$ctp->LoadSource($innerText);


Loading…
Annulla
Salva