Changeset 3 for trunk/format_html.php


Ignore:
Timestamp:
Jul 27, 2016, 8:36:02 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Updated to work with PHP7. Old database class replaced by Common package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/format_html.php

    r1 r3  
    11<?php
     2
    23include('global.php');
    3 ShowHeader(array('Formátovaè HTML' => '/format_html.php'), 'Formátovaè HTML kódu');
     4
     5ShowHeader(array('Formátovač HTML' => '/format_html.php'), 'Formátovač HTML kódu');
    46
    57if(array_key_exists('code', $_POST))
     
    79  $Output .= '<pre>'.htmlspecialchars(FormatOutput($_POST['code'])).'</pre>';
    810} else
    9 $Output .= '<strong>Vlo¾te kód, který chcete zformátovat</strong><br>'.
     11$Output .= '<strong>Vložte kód, který chcete zformátovat</strong><br>'.
    1012'<form method="post" action="format_html.php">
    1113<textarea name="code" cols="80" rows="30"></textarea><br>
     
    1416
    1517ShowFooter();
    16 ?>
     18
Note: See TracChangeset for help on using the changeset viewer.