Ignore:
Timestamp:
Aug 3, 2021, 11:20:41 AM (3 years ago)
Author:
chronos
Message:
  • Modified: Used explicit types where possible for better error reporting.
  • Modified: Updated Common packaged to newer version.
  • Modified: Simplified pages title.
  • Added: Simple keyword based spam filter for meet items.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        1 nbproject
        2 Config.php
        31.settings
        42.project
        53.buildpath
         4.htaccess
  • trunk/Modules/Movie/Movie.php

    r56 r63  
    11<?php
    22
    3 class ModuleMovie extends AppModule
     3class ModuleMovie extends Module
    44{
    55  function __construct($System)
     
    1515  }
    1616
    17   function Start()
     17  function Start(): void
    1818  {
    19     $this->System->RegisterPage('filmy', 'PageMovieList');
    20     $this->System->RegisterMenuItem('/filmy', 'Filmy');
     19    $this->System->RegisterPage(['filmy'], 'PageMovieList');
     20    Core::Cast($this->System)->RegisterMenuItem('/filmy', 'Filmy');
    2121  }
    2222}
     
    2727  {
    2828    parent::__construct($System);
    29     $this->FullTitle = 'Taneční filmy';
    30     $this->ShortTitle = 'Filmy';
     29    $this->Title = 'Filmy';
     30    $this->Description = 'Taneční filmy';
    3131  }
    3232
    33   function Show()
     33  function Show(): string
    3434  {
    3535    $Output = '';
    36     $this->Title = 'Filmy - '.$this->Title;
    3736    if (array_key_exists('lvm', $_GET) and ($_GET['lvm'] == 'seznam'))
    3837      $this->RawPage = true;
Note: See TracChangeset for help on using the changeset viewer.