use case-insensitive array search for matching directory keywords with your own
This commit is contained in:
parent
80879369e7
commit
71dde7c687
@ -23,7 +23,7 @@ We need much more than this, but here are areas where developers can help. Pleas
|
|||||||
|
|
||||||
* Extend WebDAV to provide desktop access to photo albums and existing file (attachment) storage
|
* Extend WebDAV to provide desktop access to photo albums and existing file (attachment) storage
|
||||||
|
|
||||||
* Directory - provide a hover popup providing much more detail about the channel of interest. Keywords, additional public profile details, perhaps the last public post, anything else of interest.
|
* Directory - provide a hover popup providing much more detail about the channel of interest. Keywords, additional public profile details, perhaps the last public post, anything else of interest. [Update - we now have this, but it can be improved.]
|
||||||
|
|
||||||
* Events module - bring back birthday reminders for friends, fix permissions on events, and provide JS translation support for the calendar overview
|
* Events module - bring back birthday reminders for friends, fix permissions on events, and provide JS translation support for the calendar overview
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ function dirprofile_init(&$a) {
|
|||||||
foreach($karr as $k) {
|
foreach($karr as $k) {
|
||||||
if(strlen($out))
|
if(strlen($out))
|
||||||
$out .= ', ';
|
$out .= ', ';
|
||||||
if($marr && in_array($k,$marr))
|
if($marr && in_arrayi($k,$marr))
|
||||||
$out .= '<strong>' . $k . '</strong>';
|
$out .= '<strong>' . $k . '</strong>';
|
||||||
else
|
else
|
||||||
$out .= $k;
|
$out .= $k;
|
||||||
|
Reference in New Issue
Block a user