Revision 873
Added by thorn about 16 years ago
trunk/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.7.1 ------------------------------------- |
14 |
02-Nov-2008 Thomas Hornik |
|
15 |
! news: added PAGE_SPACER to $page_title (creates e.g. title-32.php instead of title32.php) |
|
14 | 16 |
01-Nov-2008 Thomas Hornik |
15 | 17 |
! improved ext_charset to work with latin1,cp1252,cp1251,latin2,hebrew,greek,latin5,latin7,utf8 |
16 | 18 |
+ added config for section anchor. ATTN: add "INSERT INTO TABLE_PREFIX.'settings' (name,value,extra) VALUES ('sec_anchor', 'wb_', '')" to upgrade-script. |
trunk/wb/modules/news/save_post.php | ||
---|---|---|
63 | 63 |
require(WB_PATH.'/framework/functions.php'); |
64 | 64 |
|
65 | 65 |
// Work-out what the link should be |
66 |
$post_link = '/posts/'.page_filename($title).$post_id; |
|
66 |
$post_link = '/posts/'.page_filename($title).PAGE_SPACER.$post_id;
|
|
67 | 67 |
|
68 | 68 |
// Make sure the post link is set and exists |
69 | 69 |
// Make news post access files dir |
Also available in: Unified diff
news: added PAGE_SPACER to $page_title (creates e.g. title-32.php instead of title32.php)