[Easymod-cvs] easymod2/mods/easymod/includes admin_easymod.php.txt,1.3,1.4
Status: Beta
Brought to you by:
wgeric
From: Brendan K. <bk...@us...> - 2005-05-01 12:23:39
|
Update of /cvsroot/easymod/easymod2/mods/easymod/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25556/easymod/includes Modified Files: admin_easymod.php.txt Log Message: Redoing some of Erics edits for title length, applying a small fix for the default spaces, and fixing a typo. Index: admin_easymod.php.txt =================================================================== RCS file: /cvsroot/easymod/easymod2/mods/easymod/includes/admin_easymod.php.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_easymod.php.txt 1 May 2005 07:22:50 -0000 1.3 --- admin_easymod.php.txt 1 May 2005 12:23:18 -0000 1.4 *************** *** 176,180 **** $sql = "SELECT * FROM " . EASYMOD_TABLE . " ! WHERE mod_title = '" . substr( $mod_title, 0, 100) . "' AND mod_version = '" . substr( $mod_version, 0, 15) . "' ORDER BY mod_id DESC" ; --- 176,180 ---- $sql = "SELECT * FROM " . EASYMOD_TABLE . " ! WHERE mod_title = '" . substr( $mod_title, 0, 255) . "' AND mod_version = '" . substr( $mod_version, 0, 15) . "' ORDER BY mod_id DESC" ; *************** *** 2876,2880 **** $phpbb_version = get_phpbb_version() ; ! $mod_title = str_replace("'", "''", substr( $mod_title, 0, 50)) ; $mod_author_handle = str_replace("'", "''", substr( $mod_author_handle, 0, 25)) ; $mod_author_email = str_replace("'", "''", substr( $mod_author_email, 0, 100)) ; --- 2876,2880 ---- $phpbb_version = get_phpbb_version() ; ! $mod_title = str_replace("'", "''", substr( $mod_title, 0, 255)) ; $mod_author_handle = str_replace("'", "''", substr( $mod_author_handle, 0, 25)) ; $mod_author_email = str_replace("'", "''", substr( $mod_author_email, 0, 100)) ; |