Changeset 1056 in ExiteCMS


Ignore:
Timestamp:
11/04/07 13:31:01 (4 years ago)
Author:
root
Message:

Merged trunk revision 1031:1055 into the PLi-Fusion branch

Location:
branches/PLi-Fusion
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/PLi-Fusion/administration/members.php

    r1002 r1056  
    202202    $variables['rowstart'] = $rowstart; 
    203203    $variables['items_per_page'] = ITEMS_PER_PAGE; 
    204     $variables['pagenav_url'] = FUSION_SELF."?sortby=$sortby&".($country==""?"":"country=$country&"); 
     204    $variables['pagenav_url'] = FUSION_SELF.$aidlink."&sortby=$sortby&".($country==""?"":"country=$country&"); 
    205205} 
    206206 
  • branches/PLi-Fusion/forum/post.php

    r935 r1056  
    479479            $preview['group_names'] = array(); 
    480480            $preview['group_names'][] = array('type' => 'U', 'level' => $userdata['user_level'], 'name' => getuserlevel($userdata['user_level'])); 
    481             if ($userdata['user_groups'] != "") { 
     481            if (!empty($userdata['user_groups'])) { 
    482482                $gresult = dbquery("SELECT group_name, group_forumname, group_color FROM ".$db_prefix."user_groups WHERE group_id IN (".str_replace('.', ',', substr($userdata['user_groups'],1)).") AND group_visible & 2"); 
    483483                $grecs = dbrows($gresult); 
  • branches/PLi-Fusion/includes/templates/forum.post.tpl

    r843 r1056  
    138138                        {/section} 
    139139                        <td class='tbl1'> 
     140                            <input type='submit' name='upload' value='{$locale.471}' class='button' /> 
    140141                            <input type='file' name='attach' class='textbox' style='width:200px;' /> 
    141                             <input type='submit' name='upload' value='{$locale.471}' class='button' /> 
    142142                            <br /><br /> 
    143143                            <span class='small2'>{ssprintf format=$locale.466 var1=$attachmax var2=$attachtypes}</span> 
  • branches/PLi-Fusion/register.php

    r1027 r1056  
    134134 
    135135        if ($settings['display_validation'] == "1") { 
    136             if (!check_captcha($_POST['captcha_encode'], $_POST['captcha_code'])) { 
     136            if (!isset($_POST['captcha_encode']) || !isset($_POST['captcha_code']) || !check_captcha($_POST['captcha_encode'], $_POST['captcha_code'])) { 
    137137                $error .= $locale['410']."<br />\n"; 
    138138            } 
Note: See TracChangeset for help on using the changeset viewer.