diff --git a/2016/index.php b/2016/index.php index 3c328db..93ec704 100644 --- a/2016/index.php +++ b/2016/index.php @@ -1,396 +1,399 @@ . require 'load.php'; $conference = FullConference::factoryFromUID( CURRENT_CONFERENCE_UID ) ->queryRow(); -$conference or die_with_404(); +if( !$conference ) { + die_with_404(); +} -FORCE_PERMALINK - and $conference->forceConferencePermalink(); +if( FORCE_PERMALINK ) { + $conference->forceConferencePermalink(); +} enqueue_js('leaflet'); enqueue_js('leaflet.init'); enqueue_js('scrollfire'); enqueue_css('leaflet'); enqueue_css('home'); // Support for non-JavaScript inject_in_module('header', function() { echo "\n\t"; } ); Header::spawn( null, [ 'show-title' => false, 'head-title' => $s = $conference->getConferenceTitle(), 'title' => $s, 'url' => $conference->getConferenceURL() ] ); ?> getConferenceEnd('Y-m-d H:i:s'); $other_events = $conference->factoryFullEventByConference() ->select( [ Event::UID, Event::TITLE, Event::START, Event::END, Chapter::UID, Chapter::NAME, Room::NAME, ] ) ->where( sprintf( "%s > '%s'", Event::END, esc_sql( $from ) ) ) ->orderBy( Event::START ) ->queryGenerator(); ?> valid() ): ?>
| = __("Evento") ?> | = __("Quando") ?> |
|---|---|
|
= HTML::a(
FullEvent::permalink(
$conference->getConferenceUID(),
$event->getEventUID(),
$event->getChapterUID()
),
$event->getEventTitle()
) ?> (= $event->getChapterName() ?>) |
(getEventStart( __( "d/m/Y" ) ), $event->getEventStart( 'H:i' ) ) ?>) |
%s (%s) presso il Dipartimento di Informatica dell'Università degli studi di Torino." ), HTML::a( __('https://it.wikipedia.org/wiki/GNU'), 'GNU', null, 'black-text hoverable' ), HTML::a( __('https://it.wikipedia.org/wiki/Linux_%28kernel%29'), 'Linux', null, 'black-text hoverable' ), $conference->getConferenceStart('d/m/Y'), $conference->getConferenceHumanStart() ) ?>
// How to write good code
$software: function(play, freedom, friends) { /* RTFM */ }
= __("Il tema di quest'anno a livello nazionale è... il coding!") ?>
{$eventsTable->countEvents()}", "{$eventsTable->getHours()}" ) ?>
{$eventsTable->countTracks()}" ) ?>
printTable(); ?>= __("La manifestazione è suddivisa in aule tematiche.") ?>
" />
LDTO Companion" ) ?>
= __("In contemporanea ai talk avranno luogo diverse attività:") ?>
= $conference->getLocationName() ?>
= $conference->getLocationNoteHTML(['p' => 'flow-text']) ?>= $conference->getLocationAddress() ?>
= HTML::a( $conference->getLocationGeoOSM(), icon('place', 'right'), sprintf( __("Vedi %s su OpenStreetMap"), esc_html( $conference->getConferenceTitle() ) ), 'btn-floating btn-large purple darken-3 waves-effect', 'target="_blank"' ) ?>
" />
".
"Non dimenticare di portarti a casa una maglietta o ".
"qualche dozzina di adesivi e spille! ".
"È il nostro modo per promuovere ulteriormente il software libero, ".
"per far sì che altri Linux Day rimangano sempre indipendenti, liberi e gratuiti.
".
"Ci vediamo il %s!"
),
__("22 ottobre")
) ?>
= __( "LAN party, installation party, mini Restart Party. Porta un amico da convertire: ci divertiremo insieme a tutte le community." ) ?>
= __( "Scegli fra l'aula base, l'aula per sistemisti o programmatori e divertiti!" ) ?>
= __( "Programmatori, ingegneri, avvocati, professionisti nell'ambito del software libero. Tutti insieme a Torino." ) ?>
= __( "Ecco un assaggio dei temi che verranno affrontati:" ) ?>
=
$event->getEventStart( 'H:i' )
?> (= $event->getHumanEventDuration( [ 'long' => false ] ) ?>)
= $event->getEventAbstractHTML() ?>
isEventEditable() ): ?> = HTML::a( $event->getFullEventEditURL(), __( "Modifica" ) ) ?>= __( "Domande frequenti" ) ?>
= __( "È un evento nazionale che si svolge da quasi 20 anni. Si svolge in tutta Italia, parallelamente, e a Torino non mancheremo." ) ?>
= HTML::a( 'https://www.linuxday.it/', __( "Informazioni sul Linux Day nazionale" ) ) ?>
= __( "Porta rispetto per il tuo amico. Ma soprattutto porta il tuo amico! Abbandonalo all'aula \"base\" e vedrai che non si annoierà. Oppure portalo all'installation party e lo aiuteremo nella migrazione al software libero!" ) ?>
= __( "L'evento è completamente gratuito ed è unicamente possibile grazie al sostegno di tutte le community di Torino e di chi crede in loro." ) ?>
= __( "Comunicaci la tua taglia e te la terremo da parte fresca per l'evento!" ) ?>
= __( "Seriamente, ti conviene dircelo prima perchè alcune taglie finiscono molto velocemente, e ogni anno molte persone rimangono spoglie." ) ?>
= __( "La sede del Linux Day Torino 2019 sarà Toolbox Coworking, in via Agostino da Montefeltro 2." ) ?>
= __( "Per raggiungerci puoi:" ) ?>