}
if (stristr($order, 'created')) {
- usort($parents,'sort_thr_created');
+ usort($parents, 'sort_thr_created');
} elseif (stristr($order, 'commented')) {
- usort($parents,'sort_thr_commented');
+ usort($parents, 'sort_thr_commented');
}
if (count($parents)) {
function get_response_button_text($v, $count) {
switch ($v) {
case 'like':
- return tt('Like','Likes', $count,'noun');
+ return tt('Like', 'Likes', $count, 'noun');
break;
case 'dislike':
- return tt('Dislike','Dislikes', $count,'noun');
+ return tt('Dislike', 'Dislikes', $count, 'noun');
break;
case 'attendyes':
- return tt('Attending','Attending', $count,'noun');
+ return tt('Attending', 'Attending', $count, 'noun');
break;
case 'attendno':
- return tt('Not Attending','Not Attending', $count,'noun');
+ return tt('Not Attending', 'Not Attending', $count, 'noun');
break;
case 'attendmaybe':
- return tt('Undecided','Undecided', $count,'noun');
+ return tt('Undecided', 'Undecided', $count, 'noun');
break;
}
}
proc_run(PRIORITY_LOW, "include/discover_poco.php", "suggestions");
- set_config('system', 'last_expire_day',$d2);
+ set_config('system', 'last_expire_day', $d2);
proc_run(PRIORITY_LOW, 'include/expire.php');