コード例 #1
0
ファイル: generic.text.php プロジェクト: lyoshenka/txt
<?php

if (!\txt\Response::isSuccess($_status)) {
    echo $_status . ': ';
    $_textKey = isset($_textKey) ? $_textKey : 'error';
}
echo (isset($_textKey) ? $_vars[$_textKey] : \txt\Response::getStatusMessage($_status)) . "\n";
コード例 #2
0
ファイル: generic.html.php プロジェクト: lyoshenka/txt
<h2><?php 
echo $_status;
?>
</h2>
<p><?php 
echo \txt\Response::getStatusMessage($_status);
?>
</p>