Kaynağa Gözat

调整

tags/6.3.2
叙述、别离 3 ay önce
ebeveyn
işleme
c28168705d
11 değiştirilmiş dosya ile 53 ekleme ve 53 silme
  1. +5
    -5
      src/admin/album_add.php
  2. +5
    -5
      src/admin/album_edit.php
  3. +5
    -5
      src/admin/archives_add.php
  4. +5
    -5
      src/admin/archives_edit.php
  5. +5
    -5
      src/admin/article_add.php
  6. +5
    -5
      src/admin/article_edit.php
  7. +5
    -5
      src/admin/soft_add.php
  8. +5
    -5
      src/admin/soft_edit.php
  9. +5
    -5
      src/admin/spec_add.php
  10. +5
    -5
      src/admin/spec_edit.php
  11. +3
    -3
      src/install/sql-dftables.txt

+ 5
- 5
src/admin/album_add.php Dosyayı Görüntüle

@@ -77,13 +77,13 @@ if ($dopost != 'save') {
$ismake = $ishtml == 0 ? -1 : 0;
$title = preg_replace("#\"#", '"', $title);
$title = cn_substrR($title, $cfg_title_maxlen);
$shorttitle = cn_substrR($shorttitle, 36);
$shorttitle = cn_substrR($shorttitle, 255);
$color = cn_substrR($color, 7);
$writer = cn_substrR($writer, 20);
$source = cn_substrR($source, 30);
$writer = cn_substrR($writer, 255);
$source = cn_substrR($source, 255);
$description = cn_substrR($description, $cfg_auot_description);
$keywords = cn_substrR($keywords, 60);
$filename = trim(cn_substrR($filename, 40));
$keywords = cn_substrR($keywords, 255);
$filename = trim(cn_substrR($filename, 50));
$userip = GetIP();
$isremote = 0;
$serviterm = empty($serviterm) ? "" : $serviterm;


+ 5
- 5
src/admin/album_edit.php Dosyayı Görüntüle

@@ -86,13 +86,13 @@ if ($dopost != 'save') {
$sortrank = AddDay($pubdate, $sortup);
$ismake = $ishtml == 0 ? -1 : 0;
$title = cn_substrR($title, $cfg_title_maxlen);
$shorttitle = cn_substrR($shorttitle, 36);
$shorttitle = cn_substrR($shorttitle, 255);
$color = cn_substrR($color, 7);
$writer = cn_substrR($writer, 20);
$source = cn_substrR($source, 30);
$writer = cn_substrR($writer, 255);
$source = cn_substrR($source, 255);
$description = cn_substrR($description, 255);
$keywords = trim(cn_substrR($keywords, 60));
$filename = trim(cn_substrR($filename, 40));
$keywords = trim(cn_substrR($keywords, 255));
$filename = trim(cn_substrR($filename, 50));
$isremote = 0;
$serviterm = empty($serviterm) ? "" : $serviterm;
if (!TestPurview('a_Check,a_AccCheck,a_MyCheck')) {


+ 5
- 5
src/admin/archives_add.php Dosyayı Görüntüle

@@ -77,13 +77,13 @@ if ($dopost != 'save') {
$ismake = $ishtml == 0 ? -1 : 0;
$title = preg_replace("#\"#", '"', $title);
$title = cn_substrR($title, $cfg_title_maxlen);
$shorttitle = cn_substrR($shorttitle, 36);
$shorttitle = cn_substrR($shorttitle, 255);
$color = cn_substrR($color, 7);
$writer = cn_substrR($writer, 20);
$source = cn_substrR($source, 30);
$writer = cn_substrR($writer, 255);
$source = cn_substrR($source, 255);
$description = cn_substrR($description, $cfg_auot_description);
$keywords = cn_substrR($keywords, 60);
$filename = trim(cn_substrR($filename, 40));
$keywords = cn_substrR($keywords, 255);
$filename = trim(cn_substrR($filename, 50));
$userip = GetIP();
$isremote = 0;
$serviterm = empty($serviterm) ? "" : $serviterm;


+ 5
- 5
src/admin/archives_edit.php Dosyayı Görüntüle

@@ -72,13 +72,13 @@ if ($dopost != 'save') {
$sortrank = AddDay($pubdate, $sortup);
$ismake = $ishtml == 0 ? -1 : 0;
$title = cn_substrR($title, $cfg_title_maxlen);
$shorttitle = cn_substrR($shorttitle, 36);
$shorttitle = cn_substrR($shorttitle, 255);
$color = cn_substrR($color, 7);
$writer = cn_substrR($writer, 20);
$source = cn_substrR($source, 30);
$writer = cn_substrR($writer, 255);
$source = cn_substrR($source, 255);
$description = cn_substrR($description, $cfg_auot_description);
$keywords = trim(cn_substrR($keywords, 60));
$filename = trim(cn_substrR($filename, 40));
$keywords = trim(cn_substrR($keywords, 255));
$filename = trim(cn_substrR($filename, 50));
$isremote = 0;
$serviterm = empty($serviterm) ? "" : $serviterm;
if (!TestPurview('a_Check,a_AccCheck,a_MyCheck')) $arcrank = -1;


+ 5
- 5
src/admin/article_add.php Dosyayı Görüntüle

@@ -76,13 +76,13 @@ if ($dopost != 'save') {
$ismake = $ishtml == 0 ? -1 : 0;
$title = preg_replace("#\"#", '"', $title);
$title = dede_htmlspecialchars(cn_substrR($title, $cfg_title_maxlen));
$shorttitle = cn_substrR($shorttitle, 36);
$shorttitle = cn_substrR($shorttitle, 255);
$color = cn_substrR($color, 7);
$writer = cn_substrR($writer, 20);
$source = cn_substrR($source, 30);
$writer = cn_substrR($writer, 255);
$source = cn_substrR($source, 255);
$description = cn_substrR($description, $cfg_auot_description);
$keywords = cn_substrR($keywords, 60);
$filename = trim(cn_substrR($filename, 40));
$keywords = cn_substrR($keywords, 255);
$filename = trim(cn_substrR($filename, 50));
$userip = GetIP();
$isremote = 0;
$serviterm = empty($serviterm) ? "" : $serviterm;


+ 5
- 5
src/admin/article_edit.php Dosyayı Görüntüle

@@ -76,13 +76,13 @@ if ($dopost != 'save') {
$ismake = $ishtml == 0 ? -1 : 0;
$autokey = 1;
$title = dede_htmlspecialchars(cn_substrR($title, $cfg_title_maxlen));
$shorttitle = cn_substrR($shorttitle, 36);
$shorttitle = cn_substrR($shorttitle, 255);
$color = cn_substrR($color, 7);
$writer = cn_substrR($writer, 20);
$source = cn_substrR($source, 30);
$writer = cn_substrR($writer, 255);
$source = cn_substrR($source, 255);
$description = cn_substrR($description, 255);
$keywords = trim(cn_substrR($keywords, 60));
$filename = trim(cn_substrR($filename, 40));
$keywords = trim(cn_substrR($keywords, 255));
$filename = trim(cn_substrR($filename, 50));
$isremote = 0;
$serviterm = empty($serviterm) ? "" : $serviterm;
if (!TestPurview('a_Check,a_AccCheck,a_MyCheck')) {


+ 5
- 5
src/admin/soft_add.php Dosyayı Görüntüle

@@ -76,13 +76,13 @@ if ($dopost != 'save') {
if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(1000, 6000) : $cfg_arc_click);
$title = preg_replace('#"#', '"', $title);
$title = cn_substrR($title, $cfg_title_maxlen);
$shorttitle = cn_substrR($shorttitle, 36);
$shorttitle = cn_substrR($shorttitle, 255);
$color = cn_substrR($color, 7);
$writer = cn_substrR($writer, 20);
$source = cn_substrR($source, 30);
$writer = cn_substrR($writer, 255);
$source = cn_substrR($source, 255);
$description = cn_substrR($description, $cfg_auot_description);
$keywords = cn_substrR($keywords, 60);
$filename = trim(cn_substrR($filename, 40));
$keywords = cn_substrR($keywords, 255);
$filename = trim(cn_substrR($filename, 50));
$userip = GetIP();
$isremote = 0;
$serviterm = empty($serviterm) ? "" : $serviterm;


+ 5
- 5
src/admin/soft_edit.php Dosyayı Görüntüle

@@ -101,13 +101,13 @@ if ($dopost != 'save') {
$ismake = 0;
}
$title = cn_substrR($title, $cfg_title_maxlen);
$shorttitle = cn_substrR($shorttitle, 36);
$shorttitle = cn_substrR($shorttitle, 255);
$color = cn_substrR($color, 7);
$writer = cn_substrR($writer, 20);
$source = cn_substrR($source, 30);
$writer = cn_substrR($writer, 255);
$source = cn_substrR($source, 255);
$description = cn_substrR($description, $cfg_auot_description);
$keywords = cn_substrR($keywords, 60);
$filename = trim(cn_substrR($filename, 40));
$keywords = cn_substrR($keywords, 255);
$filename = trim(cn_substrR($filename, 50));
$isremote = 0;
$serviterm = empty($serviterm) ? "" : $serviterm;
if (!TestPurview('a_Check,a_AccCheck,a_MyCheck')) {


+ 5
- 5
src/admin/spec_add.php Dosyayı Görüntüle

@@ -47,13 +47,13 @@ if ($dopost != 'save') {
else $ismake = 0;
$title = preg_replace('#"#', '"', $title);
$title = cn_substrR($title, $cfg_title_maxlen);
$shorttitle = cn_substrR($shorttitle, 36);
$shorttitle = cn_substrR($shorttitle, 255);
$color = cn_substrR($color, 7);
$writer = cn_substrR($writer, 20);
$source = cn_substrR($source, 30);
$writer = cn_substrR($writer, 255);
$source = cn_substrR($source, 255);
$description = cn_substrR($description, $cfg_auot_description);
$keywords = cn_substrR($keywords, 60);
$filename = trim(cn_substrR($filename, 40));
$keywords = cn_substrR($keywords, 255);
$filename = trim(cn_substrR($filename, 50));
$isremote = 0;
$serviterm = empty($serviterm) ? "" : $serviterm;
if (!TestPurview('a_Check,a_AccCheck,a_MyCheck')) $arcrank = -1;


+ 5
- 5
src/admin/spec_edit.php Dosyayı Görüntüle

@@ -53,13 +53,13 @@ if ($dopost != 'save') {
if ($ishtml == 0) $ismake = -1;
else $ismake = 0;
$title = cn_substrR($title, $cfg_title_maxlen);
$shorttitle = cn_substrR($shorttitle, 36);
$shorttitle = cn_substrR($shorttitle, 255);
$color = cn_substrR($color, 7);
$writer = cn_substrR($writer, 20);
$source = cn_substrR($source, 30);
$writer = cn_substrR($writer, 255);
$source = cn_substrR($source, 255);
$description = cn_substrR($description, $cfg_auot_description);
$keywords = trim(cn_substrR($keywords, 60));
$filename = trim(cn_substrR($filename, 40));
$keywords = trim(cn_substrR($keywords, 255));
$filename = trim(cn_substrR($filename, 50));
$isremote = 0;
$serviterm = empty($serviterm) ? "" : $serviterm;
if (!TestPurview('a_Check,a_AccCheck,a_MyCheck')) {


+ 3
- 3
src/install/sql-dftables.txt Dosyayı Görüntüle

@@ -184,8 +184,8 @@ CREATE TABLE `#@__archives` (
`title` varchar(255) NOT NULL default '',
`shorttitle` char(255) NOT NULL default '',
`color` char(7) NOT NULL default '',
`writer` char(20) NOT NULL default '',
`source` char(30) NOT NULL default '',
`writer` char(255) NOT NULL default '',
`source` char(255) NOT NULL default '',
`litpic` char(100) NOT NULL default '',
`pubdate` int(10) unsigned NOT NULL default '0',
`senddate` int(10) unsigned NOT NULL default '0',
@@ -198,7 +198,7 @@ CREATE TABLE `#@__archives` (
`voteid` mediumint(8) NOT NULL default '0',
`notpost` tinyint(1) unsigned NOT NULL default '0',
`description` varchar(255) NOT NULL default '',
`filename` varchar(40) NOT NULL default '',
`filename` varchar(50) NOT NULL default '',
`dutyadmin` mediumint(8) unsigned NOT NULL default '0',
`mtype` mediumint(8) unsigned NOT NULL default '0',
`weight` int(10) NOT NULL default '0',


Yükleniyor…
İptal
Kaydet