Changeset 18393


Ignore:
Timestamp:
10/01/12 16:02:37 (7 years ago)
Author:
mistic100
Message:

increase redirect url config input width

Location:
extensions/ContactForm/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/ContactForm/admin/config.php

    r18331 r18393  
    1414    'cf_mandatory_name' =>    isset($_POST['cf_mandatory_name']), 
    1515    'cf_mail_type' =>         $_POST['cf_mail_type'], 
    16     'cf_redirect_url' =>      $_POST['cf_redirect_url'], 
     16    'cf_redirect_url' =>      ($_POST['cf_redirect_url']!='http://') ? $_POST['cf_redirect_url'] : null, 
    1717    ); 
    1818  $conf['ContactForm_before'] = $_POST['cf_before']; 
  • extensions/ContactForm/admin/template/config.tpl

    r18331 r18393  
    3535      <li> 
    3636        <label> 
    37           <input type="text" name="cf_redirect_url" value="{$cf_redirect_url}" size="30"> 
     37          <input type="text" name="cf_redirect_url" value="{if $cf_redirect_url}{$cf_redirect_url}{else}http://{/if}" size="50"> 
    3838          {'Redirect after sending email (optional)'|@translate} 
    3939        </label> 
Note: See TracChangeset for help on using the changeset viewer.