Skip to content

Commit

Permalink
Added template variables for the PHPDoc version, a link to the PHPDoc…
Browse files Browse the repository at this point in the history
… website, and the generated date of the documentation.

git-svn-id: http://svn.php.net/repository/pear/packages/PHPDoc/trunk@77709 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Tim Gallagher committed Apr 11, 2002
1 parent d31f1ea commit ef1c646
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions renderer/html/PhpdocHTMLModuleRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@ function renderModule($xmlfile, $htmlfile = "") {

$this->tpl->setCurrentBlock("__global__");
$this->tpl->setVariable($tplvars);

// 3/11/2002 - Tim Gallagher added the next two lines
// so the version and link could be put in and easily
// changed as versions, and urls change.
$this->tpl->setVariable("PHPDOCVERSION", PHPDOC_VERSION);
$this->tpl->setVariable("PHPDOC_LINK", PHPDOC_LINK);
$this->tpl->setVariable("PHPDOC_GENERATED_DATE", PHPDOC_GENERATED_DATE);

$this->tpl->setVariable("APPNAME", $this->application);

$this->fileHandler->createFile($this->path . $htmlfile, $this->tpl->get() );
Expand Down

0 comments on commit ef1c646

Please sign in to comment.