Is there a way to change this setting permanently?
I have made a site for a friend , who sends emails frequently, but never changes from 500 emails - and the server only allows 100 p/h
I want it to say 50 and not be editable if possible
OK - I fixed that - i found it in users.php and changed line 1258 to
In I also duplicated "makeinputcode" (lines 229 - 250) and renamed it makeinputcode2 and added this to make it non editable...
I added onfocus=\"blur()\" to make it non editable - Probably not correct - but it seems to work
I have made a site for a friend , who sends emails frequently, but never changes from 500 emails - and the server only allows 100 p/h
I want it to say 50 and not be editable if possible
OK - I fixed that - i found it in users.php and changed line 1258 to
makeinputcode($lang->per_page, "searchop[perpage]", "50", "10");
In I also duplicated "makeinputcode" (lines 229 - 250) and renamed it makeinputcode2 and added this to make it non editable...
function makeinputcode2($title, $name, $value="", $size="25", $extra="", $maxlength="", $autocomplete=1, $extra2="")
{
$bgcolor = getaltbg();
$value = htmlspecialchars_uni($value);
if($autocomplete != 1)
{
$ac = " autocomplete=\"off\"";
}
if($value != '')
{
$value = " value=\"{$value}\"";
}
if($maxlength != '')
{
$maxlength = " maxlength=\"$maxlength\"";
}
if($size != '')
{
$size = " size=\"$size\"";
}
echo "<tr>\n<td class=\"$bgcolor\" valign=\"top\" width=\"40%\">$title</td>\n<td class=\"$bgcolor\" valign=\"top\" width=\"60%\">\n$extra2<input type=\"text\" class=\"inputbox\" onfocus=\"blur()\" name=\"$name\"$size$maxlength$ac$value />\n$extra\n</td>\n</tr>\n";
}
I added onfocus=\"blur()\" to make it non editable - Probably not correct - but it seems to work