Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 24119b61

Von Moritz Bunkus vor mehr als 16 Jahren hinzugefügt

  • ID 24119b61074bc5f9b27f0e0c917c8a7e528e2152
  • Vorgänger df870c64
  • Nachfolger b15e4435

Eine Fehlermeldung ausgeben, wenn der veraltete Aufruf "parse_html_template2" gefunden wird.

Unterschiede anzeigen:

locale/de/locales.pl
350 350
      }
351 351

  
352 352
      # is this a template call?
353
      if (/parse_html_template\s*\(\s*[\"\']([\w\/]+)\s*[\"\']/) {
353
      if (/parse_html_template2?\s*\(\s*[\"\']([\w\/]+)\s*[\"\']/) {
354 354
        my $newfile = "$basedir/templates/webpages/$1_master.html";
355
        if (/parse_html_template2/) {
356
          print "E: " . strip_base($file) . " is still using 'parse_html_template2' for " . strip_base($newfile) . ".\n";
357
        }
355 358
        if (-f $newfile) {
356 359
#           &scanhtmlfile($newfile);
357 360
#           &converthtmlfile($newfile);

Auch abrufbar als: Unified diff