Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 889

Přidáno uživatelem Ondřej Fibich před více než 13 roky(ů)

Merge z testingu: Nahrazeni deprecated funkce split v knihovne Swift, pridano validovano formulare pro odesilano bugu javascriptem.

Zobrazit rozdíly:

freenetis/trunk/kohana/application/i18n/cs_CZ/texts.php
'please choose language' => 'Prosím vyberte jazyk',
'please enter the code you received in an sms message' => 'Prosím vložte kód, který jste obdrželi v SMS zprávě',
'please fill in the form with information about your association' => 'Prosím, vyplňte formulář údaji o vašem sdružení',
'please report this error as bug to our' => 'Nahlaště prosím tuto chybu jako bug na naše',
'please report this error as bug using form below' => 'Nahlaště prosím tuto chybu jako bug tímto formulářem',
'please select a method of obtaining a password and follow the instructions' => 'Prosím zvolte způsob získání hesla a pokračujte dle instrukcí',
'please use button to save form' => 'Použijte prosím tlačítko pro uložení formuláře',
'polarization' => 'Polarizace',
freenetis/trunk/kohana/system/vendor/swift/Swift.php
for ($i = 1, $len = count($list); $i < $len; $i++)
{
$extension = substr($list[$i], 4);
$attributes = split("[ =]", $extension);
$attributes = preg_split("/[ =]/", $extension);
$this->connection->setExtension($attributes[0], (isset($attributes[1]) ? array_slice($attributes, 1) : array()));
}
}
freenetis/trunk/kohana/system/views/kohana_error_page.php
.detail {text-align:center;}
.backtrace {margin:0 2em 1em;}
.backtrace pre {background:#eee;}
.error {font-size: 10px; color: red}
/* ]]> */
</style>
<?php echo html::stylesheet('media/css/tables.css', 'screen') ?>
<?php echo html::stylesheet('media/css/forms.css', 'screen') ?>
<!--[if IE]>
<?php echo html::stylesheet('media/css/forms.css', 'screen') ?>
......
-->
<script type="text/javascript">document.write('<base href="http://php.net/" />')</script>
<?php echo html::script('media/js/jquery.min', FALSE) ?>
<?php echo html::script('media/js/jquery.validate.min', FALSE) ?>
<script type="text/javascript"><!--
$(document).ready(function ()
......
$(this).focus(function () {});
return false;
});
// form
$('form').validate();
});
--></script>
......
<body>
<div id="wrap">
<h1><?php echo url_lang::lang('texts.Server error') ?></h1>
<p><?php echo url_lang::lang('texts.Please report this error as bug to our') ?> <a href="http://vyuka.slfree.net/course/view.php?id=12"><?php echo url_lang::lang('texts.forum') ?></a>, <?php echo url_lang::lang('texts.using form bellow') ?>:</p>
<p><?php echo url_lang::lang('texts.Please report this error as bug using form below') ?>:</p>
<form action="<?php echo url_lang::base() ?>email/send_email_to_developers" class="form" method="post" style="margin-bottom: 20px">
<table cellspacing="4" class="form">
<tr>
<td><label for="uname"><?php echo url_lang::lang('texts.Your name') ?>:</label></td>
<td><input type="text" name="uname" /></td>
<td><input type="text" name="uname" class="required" /></td>
</tr>
<tr>
<td><label for="uemail"><?php echo url_lang::lang('texts.Your email') ?>:</label></td>
<td><input type="text" name="uemail" /></td>
<td><input type="text" name="uemail" class="required email" /></td>
</tr>
<tr>
<td><label for="udescription"><?php echo url_lang::lang('texts.Description') ?>:</label></td>
<td><textarea name="udescription" style="width: 380px; height: 100px;"><?php echo url_lang::lang('texts.Describe what you have been doing, when the error came out') ?>...</textarea></td>
<td><textarea name="udescription" class="required" style="width: 380px; height: 100px;"><?php echo url_lang::lang('texts.Describe what you have been doing, when the error came out') ?>...</textarea></td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="<?php echo url_lang::lang('texts.Send error report') ?>" /></td>
</tr>
<input type="hidden" name="line" value="<?php echo ($line ? $line : 0); ?>" />
<input type="hidden" name="file" value="<?php echo ($file ? $line : 0); ?>" />
<input type="hidden" name="line" value="<?php echo ($line ? $line : -1); ?>" />
<input type="hidden" name="file" value="<?php echo ($file ? $line : -1); ?>" />
<input type="hidden" name="url" value="<?php echo url_lang::current() ?>" />
<input type="hidden" name="error" value="<?php echo htmlspecialchars($error) ?>" />
<input type="hidden" name="description" value="<?php echo htmlspecialchars($description) ?>" />

Také k dispozici: Unified diff