[dev] Patch for templates/edit/edit.inc

David U. davidu@everydns.net
Sun, 8 Sep 2002 21:56:50 -0500


Index: templates/edit/edit.inc
===================================================================
RCS file: /repository/kronolith/templates/edit/edit.inc,v
retrieving revision 1.71
diff -p --unified=3 -r1.71 edit.inc
--- templates/edit/edit.inc     8 Sep 2002 03:01:26 -0000       1.71
+++ templates/edit/edit.inc     9 Sep 2002 02:55:13 -0000
@@ -99,7 +99,7 @@ $share = &$GLOBALS['currentShare'];
 <tr>
  <td align="right" class="light"><b><?php echo _("Category")
?>&nbsp;&nbsp;</b></td>
  <td align="left" class="item<?php echo($_i++ % 2)?>" colspan="3">
-  <?php echo Kronolith::buildCategoryWidget('category',
$event->getCategory(), true) ?>
+  <?php echo Kronolith::buildCategoryWidget('category',
$event->getCategory(), !$prefs->isLocked('event_categories')) ?>
 </td>
 </tr>

-davidu

--
"Never doubt that a small group of thoughtful citizens can change the
world. Indeed, it is the only thing that ever has." --Margaret Mead