From: George B. <gbr...@us...> - 2004-10-27 00:02:15
|
Update of /cvsroot/phpwebsite-comm/modules/jobman/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10625/class Modified Files: Job.php Log Message: A few more minor tweaks Index: Job.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/jobman/class/Job.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Job.php 22 Oct 2004 19:55:15 -0000 1.8 --- Job.php 27 Oct 2004 00:00:47 -0000 1.9 *************** *** 275,302 **** $tags["CONTINUE_BUTTON"] = "<hr>"; } ! $tags["POSITION_LABEL"] = $_SESSION['translate']->it("Position"); $tags["POSITION"] = $this->getLabel(); if ($this->_status != "") { //can't use isset() because a null string is set ! $tags["STATUS_LABEL"] = $_SESSION['translate']->it("Status"); $tags["STATUS"] = $this->_status; } if ($this->_hours != "") { ! $tags["HOURS_LABEL"] = $_SESSION['translate']->it("Hours"); $tags["HOURS"] = $this->_hours; } if ($this->_date_available != "") { ! $tags["DATE_AVAILABLE_LABEL"] = $_SESSION['translate']->it("Date Available"); $tags["DATE_AVAILABLE"] = $this->_date_available; } if ($this->_contact != "") { ! $tags["CONTACT_LABEL"] = $_SESSION['translate']->it("Contact"); $tags["CONTACT"] = $this->_contact; } if ($this->_description != "") { ! $tags["DESCRIPTION_LABEL"] = $_SESSION['translate']->it("Description"); $tags["DESCRIPTION"] = $this->_description; } if ($this->_qualifications != "") { ! $tags["QUALIFICATIONS_LABEL"] = $_SESSION['translate']->it("Qualifications"); $tags["QUALIFICATIONS"] = $this->_qualifications; } --- 275,302 ---- $tags["CONTINUE_BUTTON"] = "<hr>"; } ! $tags["POSITION_LABEL"] = $_SESSION['translate']->it("Position") . ":"; $tags["POSITION"] = $this->getLabel(); if ($this->_status != "") { //can't use isset() because a null string is set ! $tags["STATUS_LABEL"] = $_SESSION['translate']->it("Status") . ":"; $tags["STATUS"] = $this->_status; } if ($this->_hours != "") { ! $tags["HOURS_LABEL"] = $_SESSION['translate']->it("Hours") . ":"; $tags["HOURS"] = $this->_hours; } if ($this->_date_available != "") { ! $tags["DATE_AVAILABLE_LABEL"] = $_SESSION['translate']->it("Date Available") . ":"; $tags["DATE_AVAILABLE"] = $this->_date_available; } if ($this->_contact != "") { ! $tags["CONTACT_LABEL"] = $_SESSION['translate']->it("Contact") . ":"; $tags["CONTACT"] = $this->_contact; } if ($this->_description != "") { ! $tags["DESCRIPTION_LABEL"] = $_SESSION['translate']->it("Description") . ":"; $tags["DESCRIPTION"] = $this->_description; } if ($this->_qualifications != "") { ! $tags["QUALIFICATIONS_LABEL"] = $_SESSION['translate']->it("Qualifications") . ":"; $tags["QUALIFICATIONS"] = $this->_qualifications; } *************** *** 304,308 **** // get a list of the categories for this position from FatCat $tags["CATEGORY"] = $_SESSION['OBJ_fatcat']->fatcatLinks($this->getId(), "jobman"); ! if (strpos($tags["CATEGORY"], "NA")) { $tags["CATEGORY_LABEL"] = ""; $tags["CATEGORY"] = ""; --- 304,309 ---- // get a list of the categories for this position from FatCat $tags["CATEGORY"] = $_SESSION['OBJ_fatcat']->fatcatLinks($this->getId(), "jobman"); ! // don't display NA or Uncategorized ! if (strpos($tags["CATEGORY"], "NA") || strpos($tags["CATEGORY"], "Uncategorized")) { $tags["CATEGORY_LABEL"] = ""; $tags["CATEGORY"] = ""; |