Empty commit

This commit is contained in:
Git 2016-01-06 08:00:29 +00:00
parent 9f072764d3
commit ef4a741d8b
4 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,8 @@
CHANGE LOG
2016-01-05 by newman
Left align staff PM common answer preview. Sort staff PM common responses alphabetically instead of by ID
2016-01-03 by newman
Fix several permissions bugs

View File

@ -61,7 +61,7 @@
$DB->query("
SELECT ID, Message, Name
FROM staff_pm_responses
ORDER BY ID DESC");
ORDER BY Name ASC");
while (list($ID, $Message, $Name) = $DB->next_record()) {
?>
@ -76,7 +76,7 @@
<input type="text" name="name" id="response_name_<?=$ID?>" size="87" value="<?=display_str($Name)?>" />
</div>
<div class="pad">
<div class="box pad hidden" id="response_div_<?=$ID?>">
<div class="box pad hidden" style="text-align: left;" id="response_div_<?=$ID?>">
<?=Text::full_format($Message)?>
</div>
<textarea rows="10" cols="87" id="response_message_<?=$ID?>" name="message"><?=display_str($Message)?></textarea>

View File

@ -122,7 +122,8 @@
// List common responses
$DB->query("
SELECT ID, Name
FROM staff_pm_responses");
FROM staff_pm_responses
ORDER BY Name ASC");
while (list($ID, $Name) = $DB->next_record()) {
?>
<option value="<?=$ID?>"><?=$Name?></option>

View File

@ -13,7 +13,7 @@
shell_exec('unzip GeoLiteCity-latest.zip');
shell_exec('rm GeoLiteCity-latest.zip');
if (($Locations = file("GeoLiteCity_".date('Ym')."07/GeoLiteCity-Location.csv", FILE_IGNORE_NEW_LINES)) === false) {
if (($Locations = file("GeoLiteCity_".date('Ym')."05/GeoLiteCity-Location.csv", FILE_IGNORE_NEW_LINES)) === false) {
error('Download or extraction of maxmind database failed');
}
array_shift($Locations);