Changeset 2325 for trunk/admin/include/functions.php
- Timestamp:
- May 2, 2008, 11:56:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r2324 r2325 1838 1838 return $query; 1839 1839 } 1840 1841 /** 1842 * Returns array use on template with html_options method 1843 * @param Min and Max access to use 1844 * @return array of user access level 1845 */ 1846 function get_user_access_level_html_options($MinLevelAccess = ACCESS_FREE, $MaxLevelAccess = ACCESS_CLOSED) 1847 { 1848 $tpl_options = array(); 1849 for ($level = $MinLevelAccess; $level <= $MaxLevelAccess; $level++) 1850 { 1851 $tpl_options[$level] = l10n(sprintf('ACCESS_%d', $level)); 1852 } 1853 return $tpl_options; 1854 } 1855 1840 1856 ?>
Note: See TracChangeset
for help on using the changeset viewer.