Changeset 1906


Ignore:
Timestamp:
Mar 15, 2007, 12:50:21 AM (17 years ago)
Author:
rvelices
Message:

minimal changes (lang, small tpl change and quick search on tag url names in addition to name - handy with accentuated letters)

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_search.inc.php

    r1900 r1906  
    386386  if (!empty($q_like_clause))
    387387  {
     388    // search also by url name (without accents)
     389    $q_like_clause_url = get_qsearch_like_clause($q, 'url_name' );
    388390    $query = '
    389391SELECT id
    390392  FROM '.TAGS_TABLE.'
    391   WHERE '.$q_like_clause;
     393  WHERE '.$q_like_clause.'
     394  OR '.$q_like_clause_url;
    392395    $tag_ids = array_from_query( $query, 'id');
    393396    if (!empty($tag_ids))
  • trunk/language/en_UK.iso-8859-1/admin.lang.php

    r1901 r1906  
    8686$lang['Email administrators when a valid comment is entered'] = 'Email admins when a valid comment is entered';
    8787$lang['Email administrators when a comment requires validation'] = 'Email admins when a comment requires validation';
    88 $lang['Email administrators when a picture is uploaded'] = 'Email adminis when a picture is uploaded';
     88$lang['Email administrators when a picture is uploaded'] = 'Email admins when a picture is uploaded';
    8989$lang['Empty caddie'] = 'Empty caddie';
    9090$lang['Environment'] = 'Environment';
  • trunk/template/yoga/admin/configuration.tpl

    r1901 r1906  
    5353
    5454    <li>
    55       <label>
    56         <span class="property">{lang:Email administrators when a new user registers}</span>
    57         <input type="checkbox" name="email_admin_on_new_user" {main.EMAIL_ADMIN_ON_NEW_USER} />
    58       </label>
    59     </li>
    60 
    61     <li>
    6255      <label for="allow_user_registration">
    6356        <span class="property">{lang:Allow user registration}</span>
    6457        <input type="checkbox" name="allow_user_registration" id="allow_user_registration" {main.ALLOW_USER_REGISTRATION} />
     58      </label>
     59    </li>
     60
     61    <li>
     62      <label>
     63        <span class="property">{lang:Email administrators when a new user registers}</span>
     64        <input type="checkbox" name="email_admin_on_new_user" {main.EMAIL_ADMIN_ON_NEW_USER} />
    6565      </label>
    6666    </li>
Note: See TracChangeset for help on using the changeset viewer.