Revision 999
Added by Matthias over 15 years ago
trunk/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.0 ------------------------------------- |
14 |
19-June-2009 Matthias Gallas |
|
15 |
# Fixed bug that parent pages didn't inherit language settings to kind pages |
|
14 | 16 |
17-June-2009 Ruud Eisinga |
15 |
# Bugfix in "droplets/upgrade.php" - wrong parameter order for adding fields.
|
|
17 |
# Bugfix in "droplets/upgrade.php" - wrong parameter order for adding fields.
|
|
16 | 18 |
also the query for "normal" upgrades had a typo. |
17 |
! Added warning in output_filter that the function will be removed in 2.9 |
|
19 |
! Added warning in output_filter that the function will be removed in 2.9
|
|
18 | 20 |
17-June-2009 Dietrich Roland Pehlke |
19 |
# Bugfix in "droplets/upgrade.php" - wrong tablename change to the correct one
|
|
20 |
+ Add upgrade-script to droplets
|
|
21 |
! Changes on upgrade-script to avoid droping droplet-modul-tables if the exists.
|
|
22 |
! calling "upgrate.php" or "install.php" instead of hard-coded lines to avoid
|
|
21 |
# Bugfix in "droplets/upgrade.php" - wrong tablename change to the correct one
|
|
22 |
+ Add upgrade-script to droplets
|
|
23 |
! Changes on upgrade-script to avoid droping droplet-modul-tables if the exists.
|
|
24 |
! calling "upgrate.php" or "install.php" instead of hard-coded lines to avoid
|
|
23 | 25 |
future conflicts by upgrading the modul |
24 | 26 |
15-June-2009 Matthias Gallas |
25 | 27 |
+ Added install routine for droplets to the upgrade script |
trunk/wb/admin/pages/add.php | ||
---|---|---|
117 | 117 |
// Get new order |
118 | 118 |
$position = $order->get_new($parent); |
119 | 119 |
|
120 |
// Work-out if the page parent (if selected) has a seperate template to the default |
|
121 |
$query_parent = $database->query("SELECT template FROM ".TABLE_PREFIX."pages WHERE page_id = '$parent'"); |
|
120 |
// Work-out if the page parent (if selected) has a seperate template or language to the default
|
|
121 |
$query_parent = $database->query("SELECT template, language FROM ".TABLE_PREFIX."pages WHERE page_id = '$parent'");
|
|
122 | 122 |
if($query_parent->numRows() > 0) { |
123 | 123 |
$fetch_parent = $query_parent->fetchRow(); |
124 | 124 |
$template = $fetch_parent['template']; |
125 |
$language = $fetch_parent['language']; |
|
125 | 126 |
} else { |
126 | 127 |
$template = ''; |
128 |
$language = DEFAULT_LANGUAGE; |
|
127 | 129 |
} |
128 | 130 |
|
129 | 131 |
// Insert page into pages table |
Also available in: Unified diff
Fixed bug that parent pages didn't inherit language settings to kind pages