Skip to content

Commit

Permalink
Better Implementation of Multilingual
Browse files Browse the repository at this point in the history
Reset needs to be confirmed now
  • Loading branch information
instantflorian committed Mar 15, 2019
1 parent df2dd94 commit 7a2a90e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions wbce/admin/pages/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,11 @@
{
// workout field is set but module missing
$TEXT['PAGE_CODE'] = empty($TEXT['PAGE_CODE']) ? 'Pagecode' : $TEXT['PAGE_CODE'];
$template->set_var( array(
'DISPLAY_CODE_PAGE_LIST' => ' id="multi_lingual"',
'TEXT_PAGE_CODE' => '<a href="'.WB_URL.'/modules/mod_multilingual/update_keys.php?page_id='.$page_id.'">'.$TEXT['PAGE_CODE'].'</a>'
)
);
$template->set_var( array(
'DISPLAY_CODE_PAGE_LIST' => ' id="multi_lingual"',
'TEXT_PAGE_CODE' => $TEXT['PAGE_CODE'].'&nbsp;[<a href="'.WB_URL.'/modules/mod_multilingual/update_keys.php?page_id='.$page_id.'" onclick="return confirm(\''.$TEXT['ARE_YOU_SURE'].'\');"><span class="fa fa-trash"></span></a>]'
)
);

// Page_code list
/* $database = new database(); */
Expand Down

0 comments on commit 7a2a90e

Please sign in to comment.