Project

General

Profile

« Previous | Next » 

Revision 1426

Added by Dietmar over 13 years ago

validation fixes

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.2 -------------------------------------
14
03 Feb-2011 Build 1425 Dietmar Woellbrink (Luisehahne)
14
04 Feb-2011 Build 1426 Dietmar Woellbrink (Luisehahne)
15
! validation fixes
16
04 Feb-2011 Build 1425 Dietmar Woellbrink (Luisehahne)
15 17
! redefined wrong admin backlinks
16 18
31 Jan-2011 Build 1424 Werner v.d.Decken(DarkViper)
17 19
# typo fix and simplify used_octets calculation
branches/2.8.x/wb/admin/groups/add.php
31 31
}
32 32

  
33 33
// Gather details entered
34
$group_name = $admin->get_post('group_name');
34
$group_name = mysql_real_escape_string(strip_tags(trim($admin->get_post('group_name'))));
35 35

  
36 36
// Check values
37 37
if($group_name == "") {
branches/2.8.x/wb/admin/interface/version.php
52 52

  
53 53
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
54 54
if(!defined('VERSION')) define('VERSION', '2.8.2.RC5');
55
if(!defined('REVISION')) define('REVISION', '1425');
55
if(!defined('REVISION')) define('REVISION', '1426');
56 56

  
57 57
?>
branches/2.8.x/wb/admin/users/add.php
33 33
}
34 34

  
35 35
// Get details entered
36
$groups_id = implode(",", $admin->add_slashes($_POST['groups'])); //should check permissions
36
$groups_id = (isset($_POST['groups'])) ? implode(",", $admin->add_slashes($_POST['groups'])) : ''; //should check permissions
37 37
$groups_id = trim($groups_id, ','); // there will be an additional ',' when "Please Choose" was selected, too
38 38
$active = $admin->add_slashes($_POST['active'][0]);
39 39
$username_fieldname = $admin->get_post_escaped('username_fieldname');
branches/2.8.x/wb/templates/wb_theme/templates/pages_modify.htt
1 1
<!-- BEGIN main_block -->
2
<table cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom: 10px;">
2
<table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom: 10px;">
3 3
<tr style="background-color: #F0F0F0;">
4 4
	<td valign="middle" align="left">
5 5
		<h2>{HEADING_MODIFY_PAGE}</h2>
branches/2.8.x/wb/templates/argos_theme/templates/pages_modify.htt
1 1
<!-- BEGIN main_block -->
2 2

  
3
<table cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom:10px;">
3
<table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom:10px;">
4 4
<tr style="background:#f0f0f0;">
5 5
	<td valign="middle" align="left"><h2>{HEADING_MODIFY_PAGE}</h2></td>
6 6
	<td align="left" width="20%">ID: {PAGE_ID}</td>
branches/2.8.x/wb/modules/wysiwyg/modify.php
53 53

  
54 54
<?php
55 55
echo $admin->getFTAN()."\n"; 
56
show_wysiwyg_editor('content'.$section_id,'content'.$section_id,$content,'100%','350px');
56
show_wysiwyg_editor('content'.$section_id,'content'.$section_id,$content,'100%','350');
57 57
?>
58 58

  
59
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding-bottom: 10px;">
59
<table summary="" cellpadding="0" cellspacing="0" border="0" width="100%" style="padding-bottom: 10px;">
60 60
<tr>
61 61
	<td align="left">
62 62
		<input type="submit" value="<?php echo $TEXT['SAVE']; ?>" style="width: 100px; margin-top: 5px;" />

Also available in: Unified diff