<?php echo select_all_header_list_tag(); echo header_list_tag('pnam', 'name'); echo header_list_tag('palt', 'elevation short'); echo header_list_tag('tp', 'public_transportation_rating short'); echo header_list_tag('tpty', 'type short'); echo header_list_tag('scle', 'snow_clearance_rating'); echo region_header_list_tag('region_name'); echo images_header_list_tag(); echo comments_header_list_tag(); echo picto_header_list_tag('picto_routes', 'nb_routes');
<?php echo select_all_header_list_tag(); echo header_list_tag('hnam', 'name'); echo header_list_tag('halt', 'elevation short'); echo header_list_tag('styp', 'type short'); echo header_list_tag('hscap', 'staffed_capacity short'); echo header_list_tag('hucap', 'unstaffed_capacity short'); echo header_list_tag('act', 'activities short'); echo simple_header_list_tag('phone short'); echo simple_header_list_tag('www'); echo simple_header_list_tag('parkings'); echo region_header_list_tag('region_name'); echo images_header_list_tag(); echo comments_header_list_tag(); echo picto_header_list_tag('picto_routes', 'nb_routes');
<?php echo header_list_tag('cnam', 'name'); echo header_list_tag('ccat', 'categories'); echo header_list_tag('act', 'activities'); echo header_list_tag('ctyp', 'article_type'); echo images_header_list_tag(); echo comments_header_list_tag();
<?php echo header_list_tag('mnam', 'name'); echo header_list_tag('code', 'code'); echo header_list_tag('scal', 'scale'); echo header_list_tag('edit', 'editor'); echo images_header_list_tag(); echo comments_header_list_tag();
function region_header_list_tag($label = null, $default_order = '', $simple = false) { $params_list = array_keys(c2cTools::getCriteriaRequestParameters()); $is_default_list = empty($params_list); $orderby = sfContext::getInstance()->getRequest()->getParameter('orderby'); if (in_array($orderby, array('range', 'admin', 'country', 'valley'))) { $orderby_area = $orderby; } else { $orderby_area = 'range'; } return header_list_tag($orderby_area, $label, $default_order, $is_default_list || $simple); }
<?php use_helper('Field'); $request = sfContext::getInstance()->getRequest(); $orderby = $request->getParameter('orderby', ''); $add_rating_link = !empty($orderby) && in_array($orderby, sfConfig::get('mod_routes_sort_route_criteria')); if (!$add_rating_link and !empty($activities)) { $orderby = Route::getDefaultRatingOrderby($activities); $add_rating_link = !empty($orderby); } echo select_all_header_list_tag(); echo header_list_tag('rnam', 'name'); echo header_list_tag('act', 'activities short'); echo header_list_tag('maxa', 'elevation short'); echo header_list_tag('fac', 'facing short'); echo header_list_tag('hdif', 'height_diff_up short'); echo header_list_tag($orderby, 'ratings', '', !$add_rating_link); echo simple_header_list_tag('parkings'); echo region_header_list_tag('region_name'); echo images_header_list_tag(); echo comments_header_list_tag(); echo picto_header_list_tag('picto_outings', 'nb_linked_outings');
<?php echo select_all_header_list_tag(); echo header_list_tag('snam', 'name'); echo header_list_tag('salt', 'elevation short'); echo header_list_tag('styp', 'summit_type'); echo region_header_list_tag('region_name'); echo images_header_list_tag(); echo comments_header_list_tag(); echo picto_header_list_tag('picto_routes', 'nb_routes');
<?php echo header_list_tag('bnam', 'name'); echo header_list_tag('auth', 'author'); echo header_list_tag('edit', 'editor'); echo simple_header_list_tag('date short'); echo header_list_tag('act', 'activities short'); echo header_list_tag('btyp', 'type short'); echo header_list_tag('lang', 'langs'); echo images_header_list_tag(); echo comments_header_list_tag();
<?php echo header_list_tag('name'); echo header_list_tag('module'); //echo simple_header_list_tag('region_name'); echo comments_header_list_tag();
<?php echo select_all_header_list_tag(); echo header_list_tag('tnam', 'name'); echo header_list_tag('talt', 'elevation short'); echo header_list_tag('rqty', 'routes_quantity short'); echo header_list_tag('ttyp', 'type short'); echo header_list_tag('trock', 'rock_types short'); echo simple_header_list_tag('parkings'); echo region_header_list_tag('region_name'); echo images_header_list_tag(); echo comments_header_list_tag(); echo picto_header_list_tag('picto_outings', 'nb_outings');
<?php echo select_all_header_list_tag(); echo header_list_tag('fnam', 'name'); echo header_list_tag('falt', 'elevation short'); echo header_list_tag('ftyp', 'type short'); echo simple_header_list_tag('www'); echo simple_header_list_tag('parkings'); echo region_header_list_tag('region_name'); echo images_header_list_tag(); echo comments_header_list_tag();
<?php echo select_all_header_list_tag(); echo header_list_tag('anam', 'name'); echo header_list_tag('atyp', 'area_type'); echo images_header_list_tag(); echo comments_header_list_tag();
<?php use_helper('Field', 'Pagination'); $params_list = array_keys(c2cTools::getCriteriaRequestParameters()); $is_default_list = empty($params_list); $request = sfContext::getInstance()->getRequest(); $orderby = $request->getParameter('orderby'); $add_rating_link = !empty($orderby) && in_array($orderby, sfConfig::get('mod_outings_sort_route_criteria')); if (!$add_rating_link and !empty($activities)) { $orderby = Route::getDefaultRatingOrderby($activities); $add_rating_link = !empty($orderby); } echo select_all_header_list_tag(); echo header_list_tag('onam', 'name', '', $is_default_list); echo header_list_tag('date', 'date short', 'desc'); echo header_list_tag('act', 'activities short', '', $is_default_list); echo header_list_tag('alt', 'elevation short'); echo header_list_tag('hdif', 'height_diff_up short'); echo header_list_tag($orderby, 'ratings', '', !$add_rating_link); echo header_list_tag('cond', 'cond short'); echo header_list_tag('freq', 'frequentation short'); echo region_header_list_tag('region_name'); echo images_header_list_tag(); echo comments_header_list_tag(); echo simple_header_list_tag('author short');