no message
This commit is contained in:
parent
366cb1e8aa
commit
5587464273
@ -335,10 +335,11 @@ class SakaiController
|
||||
$s = "main";
|
||||
|
||||
$s = "openRe";
|
||||
$s = "memo__2 xxxx";
|
||||
// $s = "toWait 333333";
|
||||
$s = "no 2";
|
||||
|
||||
$s = "case a";
|
||||
// $s = "no 2";
|
||||
//
|
||||
// $s = "case a";
|
||||
|
||||
// $s = "openRe";
|
||||
|
||||
|
||||
@ -1932,6 +1932,26 @@ class Book extends Base {
|
||||
}
|
||||
//// like 系列 end
|
||||
|
||||
//// memo 系列
|
||||
public function memo($aParam)
|
||||
{
|
||||
$aNo = $aParam["aOption"];
|
||||
$aValue = $aParam["aArg"];
|
||||
|
||||
$sValue = implode(" ", $aValue);
|
||||
|
||||
$aId = $this->_noToId($aNo);
|
||||
|
||||
$r = ModelBook::whereIn("id", $aId)->update(["memo" => $sValue]);
|
||||
|
||||
$this->mRst[] = ["反", $r];
|
||||
|
||||
$this->noRe();
|
||||
|
||||
return $this->openRe();
|
||||
}
|
||||
//// memo 系列 end
|
||||
|
||||
//// rank系列
|
||||
// book#rank__1__3 2
|
||||
// book#rank 2
|
||||
@ -2272,7 +2292,7 @@ class Book extends Base {
|
||||
if ($this->_RankMap($oRag->rank)) {
|
||||
$sStr .= ":".$this->_RankMap($oRag->rank);
|
||||
}
|
||||
// tomd($this->oRag->option, 1);
|
||||
|
||||
if ((isset($this->aRagOption["fire_show"]) && $this->aRagOption["fire_show"] == true) && $oRag->fire) {
|
||||
|
||||
$iDayLine = ceil((strtotime($oRag->fire) - time()) / 86400);
|
||||
@ -2292,6 +2312,9 @@ class Book extends Base {
|
||||
|
||||
$sStr .= ":".$oRag->rag;
|
||||
|
||||
if ($oRag->memo) {
|
||||
$sStr .= " | ".$oRag->memo;
|
||||
}
|
||||
|
||||
if ($iSubCount = $this->_SubCount($oRag->path.$oRag->id."/")) {
|
||||
$sStr .= " *".$iSubCount;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user