Projekt

Obecné

Profil

« Předchozí | Další » 

Revize c1bdc1c4

Přidáno uživatelem Michal Kliment před více než 9 roky(ů)

Release 1.1.0

Zobrazit rozdíly:

application/views/installation/index.php
<?php echo html::script('media/js/jquery-ui.min', FALSE) ?>
<?php echo html::script('media/js/jquery.autocomplete.min', FALSE) ?>
<?php echo html::script('media/js/jquery.validate.min', FALSE) ?>
<script type="text/javascript"><!--
// settings for jquery.validate.password
var security_password_level = <?php echo Settings::get('security_password_level') ?>;
var security_password_length = <?php echo Settings::get('security_password_length') ?>;
//--></script>
<?php echo html::script('media/js/jquery.validate.password', FALSE) ?>
<?php echo html::script('media/js/messages_cs', FALSE) ?>
<?php echo html::script('media/js/php.min', FALSE) ?>
<script type="text/javascript">
$(document).ready(function(){
$.validator.passwordRating.messages = {
"too-short": "<?php echo __('Too short') ?>",
"very-weak": "<?php echo __('Very weak') ?>",
"weak": "<?php echo __('Weak') ?>",
"good": "<?php echo __('Good') ?>",
"strong": "<?php echo __('Strong') ?>"
}
$('form').validate();
$('#inst_done').hide();
<script type="text/javascript"><!--
$('form').submit(function ()
$(document).ready(function()
{
if ($(this).valid())
{
$('#inst_done').show();
$(this).hide();
$('p.info_text').hide();
$.validator.passwordRating.messages = {
"too-short": "<?php echo __('Too short') ?>",
"very-weak": "<?php echo __('Very weak') ?>",
"weak": "<?php echo __('Weak') ?>",
"good": "<?php echo __('Good') ?>",
"strong": "<?php echo __('Strong') ?>"
}
$('form').validate();
$('#inst_done').hide();
$('form').submit(function ()
{
if ($(this).valid())
{
$('#inst_done').show();
$(this).hide();
$('p.info_text').hide();
}
});
});
});
</script>
//--></script>
</head>
<body>
<div id="main">
<h1><span><?php echo $this->settings->get('title') ?></span></h1>
<h1><span><?php echo $this->settings->get('title') ?></span><i><?php echo Version::get_version() ?></i></h1>
<div id="loading-overlay" style="display: none"></div>
<div class="flags"><?php echo special::create_language_flags(array('cs' => 'Česky', 'en' => 'English')) ?></div>
<div id="main-padd">

Také k dispozici: Unified diff