This commit is contained in:
sparkyx 2006-06-29 22:24:00 +00:00
parent a42419f353
commit 8abfbdc911
363 changed files with 19580 additions and 3334 deletions

View file

@ -58,6 +58,14 @@ class Document
ExecSql($this->db,$sql);
}
/*!\brief Save save the state of the document
*/
function save()
{
$sql="update document set d_state=".$this->d_state.
" where d_id=".$this->d_id;
ExecSql($this->db,$sql);
}
/*!
* \brief Generate the document, Call $this-\>Replace to replace
* tag by value
@ -328,7 +336,7 @@ class Document
if ( $this->d_id == 0 )
return '';
$r="";
$r='<A HREF="show_document.php?d_id='.$this->d_id.'">Document</A>';
$r='<A class="mtitle" HREF="show_document.php?d_id='.$this->d_id.'">Document</A>';
return $r;
}
/* ! Get