$alert_message .= JText::_('IC_ALTERNATIVELY') . ':<br /><ul>'; } if ($UTILITIES_DIR) { $alert_message .= JText::_('IC_PLEASE') . ', '; } if (!class_exists('iCLibrary')) { if (!$UTILITIES_DIR) { $alert_message .= '<li>'; } $alert_message .= JText::_('IC_LIBRARY_CHECK_PLUGIN_AND_LIBRARY'); if (!$UTILITIES_DIR) { $alert_message .= '</li>'; } } if (!$UTILITIES_DIR) { $alert_message .= '<li>' . JText::Sprintf('ICAGENDA_UTILITIES_FIX_MANUAL', '<strong>admin/utilities</strong>', '<strong>administrator/components/com_icagenda/</strong>'); $alert_message .= '</li></ul>'; } // Get the message queue $messages = $app->getMessageQueue(); $display_alert_message = false; // If we have messages if (is_array($messages) && count($messages)) { // Check each message for the one we want foreach ($messages as $key => $value) { if ($value['message'] == $alert_message) { $display_alert_message = true; } } } if (!$display_alert_message) {