Changeset 13242 for trunk/include/functions.inc.php
- Timestamp:
- Feb 18, 2012, 10:18:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r13240 r13242 758 758 * returns available themes 759 759 */ 760 function get_pwg_themes( )760 function get_pwg_themes($show_mobile=false) 761 761 { 762 762 global $conf; … … 774 774 while ($row = pwg_db_fetch_assoc($result)) 775 775 { 776 if ($row['id'] == $conf['mobile_theme']) 777 { 778 if (!$show_mobile) 779 { 780 continue; 781 } 782 $row['name'] .= ' ('.l10n('Mobile').')'; 783 } 776 784 if (check_theme_installed($row['id'])) 777 785 {
Note: See TracChangeset
for help on using the changeset viewer.