Files
brewblogger/includes/color.inc.php
Kevin Masaryk 772f36e6ab Lots of changes with this update. The most significant is the rewrite
of color management. I moved all color functions into a color library
admin/lib/color.lib.php. I also consolidated a lot of code in various
modules. Three color formulas are available now: Morey, Moser and 
Daniels and the user can set their default in preferences.
2011-08-01 17:39:35 +00:00

30 lines
888 B
PHP

<?php
// THIS FILE CAN PROBABLY BE DELETED
/**
* Module: includes/color.inc.php
* Description: Assign color vars for displaying web colors.
*/
/*
if ($page == "recipeList") {
$colorSRM = $row_recipeList['brewLovibond'];
//$colorSRM_featured = $row_featured['brewLovibond'];
} elseif (($page == "brewBlogCurrent") || ($page == "brewBlogDetail") || ($page == "brewBlogList") ||
($page == "recipeDetail") || ($page == "logPrint")) {
if ($row_pref['measColor'] == "EBC") {
$colorSRM = ebc_to_srm($row_log['brewLovibond']);
//$colorSRM_featured = ebc_to_srm($row_featured['brewLovibond']);
} else {
$colorSRM = $row_log['brewLovibond'];
//$colorSRM_featured = $row_featured['brewLovibond'];
}
} else {
$colorSRM = "1";
}
$beercolor = get_display_color($colorSRM);
//$beercolor_featured = get_display_color($colorSRM_featured);
*/
?>