Avoid HTML, PHP mix in lib files

This commit is contained in:
Madhura Jayaratne 2012-05-12 22:11:02 +05:30
parent d603a16316
commit c115d97ec7

View File

@ -2710,9 +2710,11 @@ function PMA_generateSliderEffect($id, $message)
* method maybe by using an additional param, the id of the div to
* append to
*/
?>
<div id="<?php echo $id; ?>" <?php echo $GLOBALS['cfg']['InitialSlidersState'] == 'closed' ? ' style="display: none; overflow:auto;"' : ''; ?> class="pma_auto_slider" title="<?php echo htmlspecialchars($message); ?>">
<?php
echo '<div id="' . $id . '"';
echo $GLOBALS['cfg']['InitialSlidersState'] == 'closed'
? ' style="display: none; overflow:auto;"'
: '';
echo ' class="pma_auto_slider" title="' . htmlspecialchars($message) . '">';
}
/**