<% content_for :right do %> <%= render :partial=>"/admin/shared/help_switch" %> <% links_box = Preference.getCached(_sid, 'show_links_box',current_user.id)!="false" %> <% if links_box && (sections==nil || sections.include?(:links)) %> <% end %> <% recent_box = Preference.getCached(_sid, 'show_recent_pages_box', current_user.id)!='false' %> <% if recent_box && (sections==nil || sections.include?(:recent)) %> <% end %> <% todo_box = Preference.getCached(_sid, 'show_todo_box', current_user.id)!="false" %> <% if todo_box && (sections==nil || sections.include?(:todo)) %> <% end %> <% activity_box = Preference.getCached(_sid, 'show_activity_box', current_user.id)!="false" %> <% if activity_box && (sections==nil || sections.include?(:activity)) %> <% end %> <% status_box = Preference.getCached(_sid, 'show_status_box', current_user.id)!="false" %> <% if status_box && (sections==nil || sections.include?(:status)) %> <% end %> <% end %>