Changeset 12761 for trunk/include
- Timestamp:
- Dec 17, 2011, 11:52:19 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_html.inc.php
r12479 r12761 295 295 function tag_alpha_compare($a, $b) 296 296 { 297 return strcmp(strtolower($a['url_name']), strtolower($b['url_name'])); 297 global $page; 298 299 foreach (array($a, $b) as $tag) 300 { 301 if (!isset($page[__FUNCTION__.'_cache'][ $tag['name'] ])) 302 { 303 $page[__FUNCTION__.'_cache'][ $tag['name'] ] = strtolower(str2url($tag['name'])); 304 } 305 } 306 307 return strcmp($page[__FUNCTION__.'_cache'][ $a['name'] ], $page[__FUNCTION__.'_cache'][ $b['name'] ]); 298 308 } 299 309
Note: See TracChangeset
for help on using the changeset viewer.