From: <gbr...@us...> - 2003-05-26 18:19:56
|
Update of /cvsroot/phpwebsite-comm/modules/jobman/class In directory sc8-pr-cvs1:/tmp/cvs-serv16696/class Modified Files: Job.php Log Message: fixed category code, other minor fixes Index: Job.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/jobman/class/Job.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Job.php 24 May 2003 21:12:49 -0000 1.3 --- Job.php 26 May 2003 18:19:52 -0000 1.4 *************** *** 78,82 **** $this->init(); /* initialize variables */ } ! } /** --- 78,83 ---- $this->init(); /* initialize variables */ } ! } //END function Job ! /** *************** *** 141,145 **** // include category selection menu, with help ! $tags["CATEGORY"] = $_SESSION['OBJ_fatcat']->showSelect($this->id, "multiple", 3, "jobman"); $tags["CATEGORY_HELP"] = $_SESSION['OBJ_help']->show_link("jobman", "jmCategory"); $tags["CATEGORY_LABEL"] = $_SESSION['translate']->it("Category"); --- 142,146 ---- // include category selection menu, with help ! $tags["CATEGORY"] = $_SESSION['OBJ_fatcat']->showSelect($this->getId(), "multiple", 3, "jobman"); $tags["CATEGORY_HELP"] = $_SESSION['OBJ_help']->show_link("jobman", "jmCategory"); $tags["CATEGORY_LABEL"] = $_SESSION['translate']->it("Category"); *************** *** 234,237 **** --- 235,239 ---- } //END function delete + /** *************** *** 256,259 **** --- 258,262 ---- $tags["DESCRIPTION_LABEL"] = $_SESSION['translate']->it("Description"); $tags["QUALIFICATIONS_LABEL"] = $_SESSION['translate']->it("Qualifications"); + $tags["CATEGORY_LABEL"] = $_SESSION['translate']->it("Category"); $tags["POSITION"] = $this->getLabel(); *************** *** 264,267 **** --- 267,272 ---- $tags["DESCRIPTION"] = $this->_description; $tags["QUALIFICATIONS"] = $this->_qualifications; + // get a list of the categories for this position from FatCat + $tags["CATEGORY"] = $_SESSION['OBJ_fatcat']->fatcatLinks($this->getId(), "jobman"); $content = $GLOBALS["core"]->processTemplate($tags, "jobman", "view.tpl"); *************** *** 270,276 **** ! } //END function functionname - /** --- 275,280 ---- ! } //END function view /** *************** *** 344,348 **** return $content; ! } //END function functionname --- 348,352 ---- return $content; ! } //END function _continueContent |