Revision 1876
Added by Luisehahne over 12 years ago
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
=============================================================================== |
| 13 | 13 |
|
| 14 |
01 Mae-2013 Build 1876 Dietmar Woellbrink (Luisehahne) |
|
| 15 |
! wysgwyg, first try to repair missing table entries |
|
| 16 |
! page sections typofix in header |
|
| 14 | 17 |
28 Feb-2013 Build 1875 Dietmar Woellbrink (Luisehahne) |
| 15 | 18 |
! wysgwyg, now check exitings table entries, otherwise script stop loading content in editor |
| 16 | 19 |
! typofix in groups |
| branches/2.8.x/wb/admin/skel/themes/htt/pages_sections.htt | ||
|---|---|---|
| 41 | 41 |
<td class="header_list_pubdate_start">{TEXT_PUBL_START_DATE}</td>
|
| 42 | 42 |
<td class="header_list_pubdate_end">{TEXT_PUBL_END_DATE}</td>
|
| 43 | 43 |
<td class="header_list_actions" colspan="3">{TEXT_ACTIONS}</td>
|
| 44 |
<td title="{TEXT_SECTION}" class="header_list_section_id">ID</td>
|
|
| 45 |
<td title="Position" class="header_list_section_id" {DISPLAY_DEBUG}>{TEXT_PID}</td>
|
|
| 44 |
<td title="{TEXT_SECTION}" class="header_list_section_id">SID</td>
|
|
| 45 |
<td title="Position" class="header_list_section_id" {DISPLAY_DEBUG}>POS</td>
|
|
| 46 | 46 |
</tr> |
| 47 | 47 |
</thead> |
| 48 | 48 |
<tbody> |
| branches/2.8.x/wb/admin/interface/version.php | ||
|---|---|---|
| 51 | 51 |
|
| 52 | 52 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
| 53 | 53 |
if(!defined('VERSION')) define('VERSION', '2.8.3');
|
| 54 |
if(!defined('REVISION')) define('REVISION', '1875');
|
|
| 54 |
if(!defined('REVISION')) define('REVISION', '1876');
|
|
| 55 | 55 |
if(!defined('SP')) define('SP', '');
|
| branches/2.8.x/wb/modules/wysiwyg/modify.php | ||
|---|---|---|
| 27 | 27 |
// Get page content |
| 28 | 28 |
$sql = 'SELECT `content` FROM `'.TABLE_PREFIX.'mod_wysiwyg` WHERE `section_id`='.(int)$section_id; |
| 29 | 29 |
if ( ($content = $database->get_one($sql)) !== null ) {
|
| 30 |
$content = htmlspecialchars(str_replace('{SYSVAR:MEDIA_REL}', $sMediaUrl, $content));
|
|
| 30 |
$content = htmlspecialchars(str_replace('{SYSVAR:MEDIA_REL}', $sMediaUrl, $content));
|
|
| 31 | 31 |
} else {
|
| 32 |
throw new AppException('Database: missing entry in table \''.TABLE_PREFIX.'mod_wysiwyg\' for section_id='.$section_id);
|
|
| 32 |
$content = 'There is an relation error in the database.'; |
|
| 33 |
$sql = 'INSERT INTO `'.TABLE_PREFIX.'mod_wysiwyg` SET ' |
|
| 34 |
. '`section_id`='.$section_id.', ' |
|
| 35 |
. '`page_id`='.$page_id.', ' |
|
| 36 |
. '`content`=\''.$content.'\', ' |
|
| 37 |
. '`text`=\''.$content.'\''; |
|
| 38 |
if($database->query($sql)) {
|
|
| 39 |
$content .= ' WebsiteBaker has solved this problem successful.'; |
|
| 40 |
}else {
|
|
| 41 |
throw new AppException('Database: missing entry in table \''.TABLE_PREFIX.'mod_wysiwyg\' for section_id='.$section_id);
|
|
| 42 |
} |
|
| 33 | 43 |
} |
| 34 |
|
|
| 35 | 44 |
if(!isset($wysiwyg_editor_loaded)) {
|
| 36 | 45 |
$wysiwyg_editor_loaded=true; |
| 37 | 46 |
if(!function_exists('show_wysiwyg_editor'))
|
Also available in: Unified diff
! wysgwyg, first try to repair missing table entries
! page sections typofix in header