<?php
$systemTemplates = array(
'family' => array(
'product.category_overview' => 'Family Overview',
'product.category_overview_slideshow' => 'Family Overview W/ Slideshow',
'product.category_overview' => 'Family Overview No Parallax'
),
'category' => array(
'product.category_detail' => 'Category Overview'
),
'group' => array(
'product.group' => 'Group w/ 1 Line Art',
'product.group_multi' => 'Group w/ 2 Line Art'
),
'product' => array(
'product.detail' => 'Product Detail'
),
'content' => array(
'content.home' => 'Basic Content Home',
'content.about' => 'Basic Content About'
),
'legacy' => array(
'detail' => 'Product Detail'
)
);
foreach($systemTemplates AS $name => $detail)
{
$templates[$name] = ucwords($name));
}
print_r($templates);
- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.27
- Parse error: syntax error, unexpected ')' in /in/FkhIF on line 30
Process exited with code 255.
preferences:
175.48 ms | 1395 KiB | 64 Q