|
|
@ -31,8 +31,15 @@ $tool = TOOL_GLOSSARY; |
|
|
|
Display::display_header(get_lang(ucfirst($tool))); |
|
|
|
Display::display_header(get_lang(ucfirst($tool))); |
|
|
|
|
|
|
|
|
|
|
|
// tool introduction |
|
|
|
// tool introduction |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$fck_attribute['Width'] = '100%'; |
|
|
|
|
|
|
|
$fck_attribute['Height'] = '400'; |
|
|
|
|
|
|
|
$fck_attribute['ToolbarSet'] = 'Full'; |
|
|
|
|
|
|
|
|
|
|
|
Display::display_introduction_section(TOOL_GLOSSARY,'left'); |
|
|
|
Display::display_introduction_section(TOOL_GLOSSARY,'left'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$fck_attribute = null; // Clearing this global variable immediatelly after it has been used. |
|
|
|
|
|
|
|
|
|
|
|
// action links |
|
|
|
// action links |
|
|
|
echo '<div class="actions">'; |
|
|
|
echo '<div class="actions">'; |
|
|
|
if (api_is_allowed_to_edit()) |
|
|
|
if (api_is_allowed_to_edit()) |
|
|
@ -571,4 +578,4 @@ function move_glossary($direction, $glossary_id) |
|
|
|
$sql2 = "UPDATE $t_glossary SET display_order = '".Database::escape_string($current_display_order)."' WHERE glossary_id = '".Database::escape_string($next_id)."'"; |
|
|
|
$sql2 = "UPDATE $t_glossary SET display_order = '".Database::escape_string($current_display_order)."' WHERE glossary_id = '".Database::escape_string($next_id)."'"; |
|
|
|
$res = api_sql_query($sql1, __FILE__, __LINE__); |
|
|
|
$res = api_sql_query($sql1, __FILE__, __LINE__); |
|
|
|
$res = api_sql_query($sql2, __FILE__, __LINE__); |
|
|
|
$res = api_sql_query($sql2, __FILE__, __LINE__); |
|
|
|
} |
|
|
|
} |
|
|
|