mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 12:11:36 +00:00
Empty commit
This commit is contained in:
parent
9f072764d3
commit
ef4a741d8b
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user