Project

General

Profile

« Previous | Next » 

Revision 488

Added by Matthias almost 17 years ago

Fixed issue with escaped single quotes in pagenames generation (thanks to thorn)

View differences:

trunk/wb/admin/pages/settings2.php
40 40
require_once(WB_PATH.'/framework/functions.php');
41 41

  
42 42
// Get values
43
$page_title = $admin->add_slashes($admin->get_post_escaped('page_title'));
43
$page_title = $admin->get_post_escaped('page_title');
44 44
$page_title = my_htmlspecialchars($page_title);
45
$menu_title = $admin->add_slashes($admin->get_post_escaped('menu_title'));
45
$menu_title = $admin->get_post_escaped('menu_title');
46 46
$menu_title = my_htmlspecialchars($menu_title);
47 47
$description = $admin->add_slashes($admin->get_post('description'));
48 48
$keywords = $admin->add_slashes($admin->get_post('keywords'));
trunk/wb/admin/pages/add.php
32 32
require_once(WB_PATH.'/framework/functions.php');
33 33

  
34 34
// Get values
35
$title = $admin->add_slashes($admin->get_post_escaped('title'));
35
$title = $admin->get_post_escaped('title');
36 36
$title = my_htmlspecialchars($title);
37 37
$module = $admin->get_post('type');
38 38
$parent = $admin->get_post('parent');
trunk/wb/framework/convert.php
50 50
'š'=>'s',
51 51
'Ÿ'=>'Y',
52 52
'©'=>'(c)','®'=>'(r)','Ð'=>'D','×'=>'x','Ø'=>'O','Þ'=>'TH','ð'=>'d','ø'=>'o','þ'=>'th',
53

  
53
'''=>'-','"'=>'-',
54 54
// latin extended-A
55 55
'Ā'=>'A','ā'=>'a','Ă'=>'A','ă'=>'a','Ą'=>'A','ą'=>'a',
56 56
'Ć'=>'C','ć'=>'c','Ĉ'=>'C','ĉ'=>'c','č'=>'c','Č'=>'C','ċ'=>'c','Ċ'=>'C',

Also available in: Unified diff