anchor.diff:        </div>
       </div>
       <% if ::Refinery::Plugins.registered.names.include?("refinery_files") and @resources.any? %>
  -      <div id="resource_file_area"<%= " style='display:none'" unless @resource_area_selected %> class="dialog_area">
  -        <div id='resources_list' class='pages_list'>
  +      <div id="resource_file_area"<%= ' style="display:none"'.html_safe unless @resource_area_selected %> class="dialog_area">
  +        <div id="resources_list" class="pages_list">
             <ul class="link_list">
               <% @resources.each do |resource| -%>
                 <% resource_linked = (resource.url == params[:current_link]) unless params[:current_link].blank? %>
  -              <li<%= " class='linked'" if resource_linked %>>
  +              <li<%= ' class="linked"'.html_safe if resource_linked %>>
                   <%= link_to "#{resource.title}.#{resource.ext}", asset_paths.compute_public_path(resource.url, ''),
                               :title => t('link_to_this_resource', :scope => 'refinery.admin.pages_dialogs.link_to.your_resource'),
                               :rel => resource.title,
  
positive.code:         </div>
        </div>
      </div>
      <div id='web_address_area' <%= "style='display: none'" unless @web_address_area_selected %> class='dialog_area'>
        <div id='web_address_content'>
          <label for='web_address_text'><%= t('location', :scope => 'refinery.admin.pages_dialogs.link_to.web_address') %></label>
          <%= text_field :web_address, :text, :value => @web_address_text, :style => "width: 70%" %>
          <label><%= t('new_window', :scope => 'refinery.admin.pages_dialogs.link_to.web_address') %></label>
          <input type='checkbox' name='web_address_target_blank' id='web_address_target_blank' <%= "checked='checked'" if @web_address_target_blank %> />
          <label for='web_address_target_blank' class='stripped'><%= t('new_window_label', :scope => 'refinery.admin.pages_dialogs.link_to.web_address') %></label>
          <p>
            <strong><%= t('not_sure', :scope => 'refinery.admin.pages_dialogs.link_to.web_address') %></strong>
          </p>
  
negative.code: <div class="clearfix dialog_link_to">
    <div id="dialog_menu_left">
      <span id="your_page_radio" class="radio<%= ' selected_radio' if @page_area_selected %>">
        <input type="radio" name="link_to" value="your_page" id="link_to_your_page" <%= 'checked="true"'.html_safe if @page_area_selected %> />
        <label for="link_to_your_page" class="stripped"><%= t('.your_page.tab_name') %></label>
      </span>
      <span id="web_address_radio" class="radio<%= ' selected_radio' if @web_address_area_selected %>">
        <input type="radio" name="link_to" value="web_address" id="link_to_web_address" <%= 'checked="true"'.html_safe if @web_address_area_selected %> />
        <label for="link_to_web_address" class="stripped"><%= t('tab_name', :scope => 'refinery.admin.pages_dialogs.link_to.web_address') %></label>
      </span>
  
      <span id="email_address_radio" class="radio<%= ' selected_radio' if @email_address_area_selected %>">
        <input type="radio" name="link_to" value="email_address" id="link_to_email_address" <%= 'checked="true"'.html_safe if @email_address_area_selected %> />
        <label for="link_to_email_address" class="stripped"><%= t('tab_name', :scope => 'refinery.admin.pages_dialogs.link_to.email_address') %></label>
      </span>
      <% if ::Refinery::Plugins.registered.names.include?("refinery_files") and @resources.any? %>
        <span id="resource_file_radio" class="radio<%= ' selected_radio' if @resource_area_selected %>">
          <input type="radio" name="link_to" value="resource_file" id="link_to_resource_file" <%= 'checked="true"'.html_safe if @resource_area_selected %> />
          <label for="link_to_resource_file" class="stripped"><%= t('tab_name', :scope => 'refinery.admin.pages_dialogs.link_to.your_resource') %></label>
        </span>
      <% end %>
    </div>
  
    <div id="dialog_main">
      <div id="your_page_area" class="dialog_area" <%= ' class="linked"'.html_safe unless @page_area_selected %>>
        <input type="hidden" name="selected_image" id="selected_image" />
        <div id="your_page_content" class="clearfix">
          <div id="pages_list" class="pages_list">
            <ul class="link_list">
              <%= render :partial => 'page_link', :collection => @pages,
                         :locals => {
  