Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

'removido javascript nao utilizado e comentado hr'

  • Loading branch information...
commit 7f541cb8b016a572f70f416678e335dc7b82d679 1 parent cc868e6
@lslucas authored
Showing with 1 addition and 48 deletions.
  1. +1 −1  admin/pet/form.php
  2. +0 −47 admin/pet/mod.header.php
View
2  admin/pet/form.php
@@ -83,7 +83,7 @@
<input class="galeria" type='file' name='galeria0' id='galeria' alt='0' style="height:18px;font-size:7pt;margin-bottom:8px; width:500px;">
<!--<br clear='all'/><input class="legenda" type='text' name='legenda0' id='legenda' alt='0' style="height:18px;font-size:7pt;margin-bottom:8px; width:500px;">-->
<br><span class='small'>- JPEG, PNG ou GIF;<?=$var['imagemWidth_texto'].$var['imagemHeight_texto']?></span>
- <hr noshade size=1 style='border-color:#C4C4C4; background-color:#FFF; width:520px;'/>
+ <!--<hr noshade size=1 style='border-color:#C4C4C4; background-color:#FFF; width:520px;'/>-->
</div>
</p>
<?php
View
47 admin/pet/mod.header.php
@@ -42,8 +42,6 @@
<script type="text/javascript" src="${rp}js/tinymce/jscripts/tiny_mce/jquery.tinymce.js"></script>
<script type="text/javascript" src="${rp}js/jquery.validate.min.js"></script>
-
-
<script>
$(function(){
// validação do formulario, todos os campos com a classe
@@ -76,51 +74,6 @@
});
- function checkHoroscopo(id) {
- if (id==12) {
- $('.horoscopo').slideDown();
- $('#signo').removeAttr('disabled');
- $('.anti-horoscopo').slideUp();
- $('.anti-horoscopo').find('input, select, textarea').attr('disabled', true);
-
- } else {
- $('.horoscopo').slideUp();
- $('#signo').attr('disabled', true);
- $('.anti-horoscopo').slideDown();
- $('.anti-horoscopo').find('input, select, textarea').removeAttr('disabled');
- }
-
- }
-
-
- function checkTV(id) {
- if (id==13) {
- $('.tv').slideDown();
- $('#video').removeAttr('disabled');
- $('.anti-tv').slideUp();
- $('.anti-tv').find('input, select, textarea').attr('disabled', true);
- $('.tv-unblock').find('input, select, textarea').removeClass('required');
-
- } else {
- $('.tv').slideUp();
- $('#video').attr('disabled', true);
- $('.anti-tv').slideDown();
- $('.anti-tv').find('input, select, textarea').removeAttr('disabled');
- $('.tv-unblock').find('input, select, textarea').addClass('required');
-
- }
-
- }
-
- checkHoroscopo($('#area').val());
- $('#area').change(function() {
- checkHoroscopo($(this).val());
- });
-
- checkTV($('#area').val());
- $('#area').change(function() {
- checkTV($(this).val());
- });
// ao arrastar alguma linha altera a posição dos elementos
// e altera na banco
Please sign in to comment.
Something went wrong with that request. Please try again.