Changeset 1503 for trunk/include/functions_url.inc.php
- Timestamp:
- Jul 26, 2006, 11:00:16 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_url.inc.php
r1403 r1503 93 93 * @return string 94 94 */ 95 function make_index_ URL($params = array())95 function make_index_url($params = array()) 96 96 { 97 97 global $conf; … … 105 105 $url .= '?'; 106 106 } 107 $url.= make_section_in_ URL($params);107 $url.= make_section_in_url($params); 108 108 $url = add_well_known_params_in_url($url, $params); 109 109 return $url; … … 114 114 * and removes. 115 115 * 116 * duplicate_index_ URL(array('category' => 12), array('start')) will create116 * duplicate_index_url(array('category' => 12), array('start')) will create 117 117 * an index URL on the current section (categories), but on a redefined 118 118 * category and without the start URL parameter. … … 122 122 * @return string 123 123 */ 124 function duplicate_index_ URL($redefined = array(), $removed = array())125 { 126 return make_index_ URL(124 function duplicate_index_url($redefined = array(), $removed = array()) 125 { 126 return make_index_url( 127 127 params_for_duplication($redefined, $removed) 128 128 ); … … 167 167 /** 168 168 * create a picture URL with current page parameters, but with redefinitions 169 * and removes. See duplicate_index_ URL.169 * and removes. See duplicate_index_url. 170 170 * 171 171 * @param array redefined keys … … 173 173 * @return string 174 174 */ 175 function duplicate_picture_ URL($redefined = array(), $removed = array())176 { 177 return make_picture_ URL(175 function duplicate_picture_url($redefined = array(), $removed = array()) 176 { 177 return make_picture_url( 178 178 params_for_duplication($redefined, $removed) 179 179 ); … … 186 186 * @return string 187 187 */ 188 function make_picture_ URL($params)188 function make_picture_url($params) 189 189 { 190 190 global $conf; 191 191 if (!isset($params['image_id'])) 192 192 { 193 die('make_picture_ URL: image_id is a required parameter');193 die('make_picture_url: image_id is a required parameter'); 194 194 } 195 195 … … 227 227 $url .= $params['image_id']; 228 228 } 229 $url .= make_section_in_ URL($params);229 $url .= make_section_in_url($params); 230 230 $url = add_well_known_params_in_url($url, $params); 231 231 return $url; … … 267 267 * @return string 268 268 */ 269 function make_section_in_ URL($params)269 function make_section_in_url($params) 270 270 { 271 271 global $conf; … … 324 324 if (!isset($params['tags']) or count($params['tags']) == 0) 325 325 { 326 die('make_section_in_ URL: require at least one tag');326 die('make_section_in_url: require at least one tag'); 327 327 } 328 328 … … 357 357 if (!isset($params['search'])) 358 358 { 359 die('make_section_in_ URL: require a search identifier');359 die('make_section_in_url: require a search identifier'); 360 360 } 361 361 … … 368 368 if (!isset($params['list'])) 369 369 { 370 die('make_section_in_ URL: require a list of items');370 die('make_section_in_url: require a list of items'); 371 371 } 372 372
Note: See TracChangeset
for help on using the changeset viewer.