if ($item->type == "photo"): ?>
 if (graphics::can("rotate")): ?>
id/ccw?csrf=" . access::csrf_token()) ?>">
  
    = t("Rotate CCW") ?>
  
 endif ?>
id") ?>">
  
    = t("Edit") ?>
  
 if (graphics::can("rotate")): ?>
id/cw?csrf=" . access::csrf_token()) ?>">
  
    = t("Rotate CCW") ?>
  
 endif ?>
 endif ?>