Sha256: d450121aed625697812b76c5e66021235601efedf1674f2221f726d579591954

Contents?: true

Size: 1.5 KB

Versions: 20

Compression:

Stored size: 1.5 KB

Contents

<div id="overlay_tab_external_link">
  <h2>
    <%= _("enter_external_link") %>
  </h2>
  <table class="window_form">
    <tr>
      <td>
        <%= select_tag(
          'url_protocol',
          options_for_select([
            ['http://', 'http://'],
            ['mailto:', 'mailto:'],
            ['ftp://', 'ftp://'],
            ['https://', 'https://'],
            ['ftps://', 'ftps://']
          ]),
          :class => 'medium'
        ) %>
      </td>
      <td class="input">
        <%= text_field_tag 'external_url', {}, :class => "thin_border auto_resize" %>
      </td>
    </tr>
    <tr>
      <td class="label">
        <label for="extern_link_title" class="medium"><%= _("link_title") %></label>
      </td>
      <td class="input"><%= text_field_tag "extern_link_title", {}, :class => 'thin_border auto_resize link_title' %></td>
    </tr>
    <tr>
      <td class="label">
        <label for="link_target" class="very_long"><%= _("Open Link in") %>:</label>
      </td>
      <td>
        <%= select_tag 'link_target', options_for_select(Page.link_target_options), :class => 'link_target' %>
      </td>
    </tr>
  </table>
  <p>
    <%= link_to_function(
      _('apply'),
      %(
        Alchemy.LinkOverlay.createLink(
          'external',
          jQuery('#url_protocol').val() + jQuery('#external_url').val(),
          jQuery('#extern_link_title').val(),
          jQuery('#link_target').val()
        );
        Alchemy.LinkOverlay.close()
      ),
      :class => 'button'
    ) %>
  </p>
</div>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
alchemy_cms-2.0.7 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.6.1 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.5 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.4 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.3.1 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.1.beta1 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.3 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.2 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.1 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.rc6 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.rc5 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.rc4 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.rc3 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.rc2 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.rc1 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.pre5 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.pre4 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.pre3 app/views/admin/pages/_external_link.html.erb
alchemy_cms-2.0.pre2 app/views/admin/pages/_external_link.html.erb