Changeset 1722 for trunk/include/functions.inc.php
- Timestamp:
- Jan 15, 2007, 1:09:14 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r1717 r1722 1105 1105 } 1106 1106 1107 /** 1108 * Return value for the current page define on $conf['filter_pages'] 1109 * Îf value is not defined, default value are returned 1110 * 1111 * @param value name 1112 * 1113 * @return filter page value 1114 */ 1115 function get_filter_page_value($value_name) 1116 { 1117 global $conf; 1118 1119 $page_name = script_basename(); 1120 1121 if (isset($conf['filter_pages'][$page_name][$value_name])) 1122 { 1123 return $conf['filter_pages'][$page_name][$value_name]; 1124 } 1125 else if (isset($conf['filter_pages']['default'][$value_name])) 1126 { 1127 return $conf['filter_pages']['default'][$value_name]; 1128 } 1129 else 1130 { 1131 return null; 1132 } 1133 } 1134 1107 1135 ?>
Note: See TracChangeset
for help on using the changeset viewer.