mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Removed some old comments
Sorry about the cruft
This commit is contained in:
parent
0995810249
commit
583d63620b
@ -281,27 +281,6 @@ class user_shortcodes extends e_shortcode
|
||||
//return "<span class='e-email' data-user='".$user."' data-dom='".$dom."'>@</span>";
|
||||
}
|
||||
|
||||
########################################################
|
||||
# Security Note - 04 May 2013 #
|
||||
########################################################
|
||||
# #
|
||||
# The CSS code direction rtl is an effective way to #
|
||||
# prevent spam bots from scraping emails that are #
|
||||
# not hidden. #
|
||||
# #
|
||||
# You can find empirical support for this method at #
|
||||
# <http://superuser.com/a/235965>. #
|
||||
# #
|
||||
# {e_CORE}templates/user_template.php was modified to #
|
||||
# support this code. In $USER_FULL_TEMPLATE, the #
|
||||
# LAN_USER_60 value {USER_EMAIL_LINK} was changed to #
|
||||
# {USER_EMAIL}. I couldn't figure out how the two #
|
||||
# shortcodes were different, so I took precautions in #
|
||||
# hopes that the CSS direction won't break actual HTML #
|
||||
# tags. #
|
||||
# #
|
||||
# -- Deltik #
|
||||
########################################################
|
||||
}
|
||||
|
||||
|
||||
|
@ -17,18 +17,13 @@ if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
/*
|
||||
* Type defines
|
||||
* XXX - convert to eMessage class constants
|
||||
* @note 07 May 2013: These have been converted to eMessage class constants!
|
||||
* Example: eMessage::E_MESSAGE_SUCCESS is 'success'
|
||||
* -- Deltik
|
||||
* P.S. Now somebody needs to get rid of these universal constants...
|
||||
*/
|
||||
define('E_MESSAGE_INFO', 'info');
|
||||
define('E_MESSAGE_SUCCESS', 'success');
|
||||
define('E_MESSAGE_WARNING', 'warning');
|
||||
define('E_MESSAGE_ERROR', 'error');
|
||||
define('E_MESSAGE_DEBUG', 'debug');
|
||||
define('E_MESSAGE_NODISPLAY', 'nodisplay'); // Appears to be needed by update_routine
|
||||
define('E_MESSAGE_INFO', 'info');
|
||||
define('E_MESSAGE_SUCCESS', 'success');
|
||||
define('E_MESSAGE_WARNING', 'warning');
|
||||
define('E_MESSAGE_ERROR', 'error');
|
||||
define('E_MESSAGE_DEBUG', 'debug');
|
||||
define('E_MESSAGE_NODISPLAY', 'nodisplay'); // Appears to be needed by update_routine
|
||||
|
||||
//FIXME - language file! new?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user