Kaynağa Gözat

代码美化同步

tags/6.5.8
叙述、别离 1 hafta önce
ebeveyn
işleme
e366f3b8a4
7 değiştirilmiş dosya ile 6 ekleme ve 8 silme
  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 Dosyayı Görüntüle

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


+ 1
- 1
src/admin/tags_main.php Dosyayı Görüntüle

@@ -17,7 +17,7 @@ if (empty($action)) {
$tag = HtmlReplace($tag, -1); $tag = HtmlReplace($tag, -1);
$orderby = empty($orderby) ? 'id' : preg_replace("#[^a-z]#i", '', $orderby); $orderby = empty($orderby) ? 'id' : preg_replace("#[^a-z]#i", '', $orderby);
$orderway = isset($orderway) && $orderway == 'asc' ? 'asc' : 'desc'; $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 = ''; else $where = '';
$neworderway = ($orderway == 'desc' ? 'asc' : 'desc'); $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"; $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 Dosyayı Görüntüle

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


+ 1
- 1
src/system/archive/sglistview.class.php Dosyayı Görüntüle

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


+ 1
- 1
src/system/libraries/fixtures/crawlers.php Dosyayı Görüntüle

@@ -8,7 +8,7 @@ if (!defined('DEDEINC')) exit('dedebiz');
* This source file is subject to the MIT license that is bundled * This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE. * 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 class Crawlers extends AbstractProvider
{ {


+ 0
- 1
src/system/taglib/channel/img.lib.php Dosyayı Görüntüle

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


+ 0
- 1
src/system/taglib/infoguide.lib.php Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet