fix usage
This commit is contained in:
parent
94ac9ffb43
commit
72a1a20e2f
|
@ -20,7 +20,7 @@ $content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARA
|
|||
<?php
|
||||
foreach ($content['halls'] as $hall_name) {
|
||||
?>
|
||||
<td><?php echo htmlspecialchars($hall_name[$lang]); ?></td>
|
||||
<td><?php echo htmlspecialchars($hall_name[$CF['lang']]); ?></td>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -35,7 +35,7 @@ if ( preg_match('/^workshop/', $pagename) ) {
|
|||
* There is no better way to get where the speakers are
|
||||
*/
|
||||
|
||||
if ('en' === $lang) {
|
||||
if ('en' === $CF['lang']) {
|
||||
$CF['s_slug'] = 'speakers';
|
||||
} else {
|
||||
$CF['s_slug'] = 'lektori';
|
||||
|
|
Loading…
Reference in New Issue