Update of /cvsroot/phpwebsite-comm/modules/staffman/class
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11347/class
Modified Files:
staff.php
Log Message:
Minor finishing tweaks
Index: staff.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/staffman/class/staff.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** staff.php 22 Oct 2004 19:38:56 -0000 1.4
--- staff.php 27 Oct 2004 00:03:13 -0000 1.5
***************
*** 300,305 ****
// get a list of the categories for this position from FatCat
$tags["CATEGORY"] = $_SESSION['OBJ_fatcat']->fatcatLinks($this->getId(), "staffman");
! // don't list 'NA'
! if (strpos($tags["CATEGORY"], "NA")) {
$tags["CATEGORY"] = "";
}
--- 300,305 ----
// get a list of the categories for this position from FatCat
$tags["CATEGORY"] = $_SESSION['OBJ_fatcat']->fatcatLinks($this->getId(), "staffman");
! // don't list 'NA' or 'Uncategorized'
! if (strpos($tags["CATEGORY"], "NA") || strpos($tags["CATEGORY"], "Uncategorized")) {
$tags["CATEGORY"] = "";
}
|