Commit 721d1ffa6ecf5cbc7d973f766aed5823c6ff5478
1 parent
2cab5d67
Exists in
master
Adicionada nova biblioteca JavaScript no escopo global: PHP_JS, pacote customizado.
Removido código inútil do template de header padrão do i-Educar.
Showing
2 changed files
with
177 additions
and
42 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,174 @@ |
| 1 | +/** | |
| 2 | + * i-Educar - Sistema de gestão escolar | |
| 3 | + * | |
| 4 | + * Copyright (C) 2006 Prefeitura Municipal de Itajaí | |
| 5 | + * <ctima@itajai.sc.gov.br> | |
| 6 | + * | |
| 7 | + * Este programa é software livre; você pode redistribuí-lo e/ou modificá-lo | |
| 8 | + * sob os termos da Licença Pública Geral GNU conforme publicada pela Free | |
| 9 | + * Software Foundation; tanto a versão 2 da Licença, como (a seu critério) | |
| 10 | + * qualquer versão posterior. | |
| 11 | + * | |
| 12 | + * Este programa é distribuído na expectativa de que seja útil, porém, SEM | |
| 13 | + * NENHUMA GARANTIA; nem mesmo a garantia implícita de COMERCIABILIDADE OU | |
| 14 | + * ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. Consulte a Licença Pública Geral | |
| 15 | + * do GNU para mais detalhes. | |
| 16 | + * | |
| 17 | + * Você deve ter recebido uma cópia da Licença Pública Geral do GNU junto | |
| 18 | + * com este programa; se não, escreva para a Free Software Foundation, Inc., no | |
| 19 | + * endereço 59 Temple Street, Suite 330, Boston, MA 02111-1307 USA. | |
| 20 | + * | |
| 21 | + * Contém funções PHP portadas para o Javascript. | |
| 22 | + * | |
| 23 | + * Pacote PHPJS disponível em: | |
| 24 | + * <http://phpjs.org/packages/view/3063/name:933975c113578d0edd81fd2a76bcd480> | |
| 25 | + * | |
| 26 | + * Transliterado com iconv para ISO-8859-1. | |
| 27 | + * $ iconv -f UTF-8 -t ISO-8859-1//translit | |
| 28 | + * | |
| 29 | + * Contém as seguintes funções: | |
| 30 | + * - checkdate | |
| 31 | + * | |
| 32 | + * @author Eriksen Costa <eriksen.paixao_bs@cobra.com.br> | |
| 33 | + * @license @@license@@ | |
| 34 | + * @since Arquivo disponível desde a versão 2.0.0 | |
| 35 | + * @version $Id$ | |
| 36 | + */ | |
| 37 | + | |
| 38 | +/** | |
| 39 | + * Singleton para evitar múltipla instanciação de PHP_JS. Para obter o objeto, | |
| 40 | + * basta chamar o método getInstance(): | |
| 41 | + * | |
| 42 | + * <code> | |
| 43 | + * phpjs = ied_phpjs.getInstance() | |
| 44 | + * phpjs.PHP_JS_FUNCTION(args, ...); | |
| 45 | + * </code> | |
| 46 | + * | |
| 47 | + * @return PHP_JS | |
| 48 | + */ | |
| 49 | +var ied_phpjs = new function() { | |
| 50 | + var phpjs = new PHP_JS(); | |
| 51 | + this.getInstance = function() { | |
| 52 | + return phpjs; | |
| 53 | + } | |
| 54 | +} | |
| 55 | + | |
| 56 | + | |
| 57 | + /* | |
| 58 | + * More info at: http://phpjs.org | |
| 59 | + * | |
| 60 | + * This is version: 3.17 | |
| 61 | + * php.js is copyright 2010 Kevin van Zonneveld. | |
| 62 | + * | |
| 63 | + * Portions copyright Brett Zamir (http://brett-zamir.me), Kevin van Zonneveld | |
| 64 | + * (http://kevin.vanzonneveld.net), Onno Marsman, Theriault, Michael White | |
| 65 | + * (http://getsprink.com), Waldo Malqui Silva, Paulo Freitas, Jonas Raoni | |
| 66 | + * Soares Silva (http://www.jsfromhell.com), Jack, Philip Peterson, Legaev | |
| 67 | + * Andrey, Ates Goral (http://magnetiq.com), Alex, Ratheous, Martijn Wieringa, | |
| 68 | + * lmeyrick (https://sourceforge.net/projects/bcmath-js/), Nate, Philippe | |
| 69 | + * Baumann, Enrique Gonzalez, Webtoolkit.info (http://www.webtoolkit.info/), | |
| 70 | + * Jani Hartikainen, Ash Searle (http://hexmen.com/blog/), travc, Ole | |
| 71 | + * Vrijenhoek, Carlos R. L. Rodrigues (http://www.jsfromhell.com), | |
| 72 | + * http://stackoverflow.com/questions/57803/how-to-convert-decimal-to-hex-in-javascript, | |
| 73 | + * Michael Grier, Johnny Mast (http://www.phpvrouwen.nl), stag019, Rafal | |
| 74 | + * Kukawski (http://blog.kukawski.pl), pilus, T.Wild, Andrea Giammarchi | |
| 75 | + * (http://webreflection.blogspot.com), WebDevHobo | |
| 76 | + * (http://webdevhobo.blogspot.com/), GeekFG (http://geekfg.blogspot.com), | |
| 77 | + * d3x, Erkekjetter, marrtins, Steve Hilder, Martin | |
| 78 | + * (http://www.erlenwiese.de/), Robin, Oleg Eremeev, mdsjack | |
| 79 | + * (http://www.mdsjack.bo.it), majak, Mailfaker (http://www.weedem.fr/), | |
| 80 | + * David, felix, Mirek Slugen, KELAN, Paul Smith, Marc Palau, Chris, Josh | |
| 81 | + * Fraser | |
| 82 | + * (http://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/), | |
| 83 | + * Breaking Par Consulting Inc | |
| 84 | + * (http://www.breakingpar.com/bkp/home.nsf/0/87256B280015193F87256CFB006C45F7), | |
| 85 | + * Tim de Koning (http://www.kingsquare.nl), Arpad Ray (mailto:arpad@php.net), | |
| 86 | + * Public Domain (http://www.json.org/json2.js), Michael White, Steven | |
| 87 | + * Levithan (http://blog.stevenlevithan.com), Joris, gettimeofday, Sakimori, | |
| 88 | + * Alfonso Jimenez (http://www.alfonsojimenez.com), Aman Gupta, Caio Ariede | |
| 89 | + * (http://caioariede.com), AJ, Diplom@t (http://difane.com/), saulius, | |
| 90 | + * Pellentesque Malesuada, Thunder.m, Tyler Akins (http://rumkin.com), Felix | |
| 91 | + * Geisendoerfer (http://www.debuggable.com/felix), gorthaur, Imgen Tata | |
| 92 | + * (http://www.myipdf.com/), Karol Kowalski, Kankrelune | |
| 93 | + * (http://www.webfaktory.info/), Lars Fischer, Subhasis Deb, josh, Frank | |
| 94 | + * Forte, Douglas Crockford (http://javascript.crockford.com), Adam Wallner | |
| 95 | + * (http://web2.bitbaro.hu/), Marco, paulo kuong, madipta, Gilbert, duncan, | |
| 96 | + * ger, mktime, Oskar Larsson Högfeldt (http://oskar-lh.name/), Arno, Nathan, | |
| 97 | + * Mateusz "loonquawl" Zalega, ReverseSyntax, Francois, Scott Cariss, Slawomir | |
| 98 | + * Kaniecki, Denny Wardhana, sankai, 0m3r, noname, john | |
| 99 | + * (http://www.jd-tech.net), Nick Kolosov (http://sammy.ru), Sanjoy Roy, | |
| 100 | + * Shingo, nobbler, Fox, marc andreu, T. Wild, class_exists, Jon Hohle, | |
| 101 | + * Pyerre, JT, Thiago Mata (http://thiagomata.blog.com), Linuxworld, Ozh, | |
| 102 | + * nord_ua, lmeyrick (https://sourceforge.net/projects/bcmath-js/this.), | |
| 103 | + * Thomas Beaucourt (http://www.webapp.fr), David Randall, merabi, T0bsn, | |
| 104 | + * Soren Hansen, Peter-Paul Koch (http://www.quirksmode.org/js/beat.html), | |
| 105 | + * MeEtc (http://yass.meetcweb.com), Bryan Elliott, Tim Wiel, Brad Touesnard, | |
| 106 | + * XoraX (http://www.xorax.info), djmix, Hyam Singer | |
| 107 | + * (http://www.impact-computing.com/), Paul, J A R, kenneth, Raphael (Ao | |
| 108 | + * RUDLER), David James, Steve Clay, Ole Vrijenhoek (http://www.nervous.nl/), | |
| 109 | + * Marc Jansen, Francesco, Der Simon (http://innerdom.sourceforge.net/), echo | |
| 110 | + * is bad, Lincoln Ramsay, Eugene Bulkin (http://doubleaw.com/), JB, Bayron | |
| 111 | + * Guevara, Stoyan Kyosev (http://www.svest.org/), LH, Matt Bradley, date, | |
| 112 | + * Kristof Coomans (SCK-CEN Belgian Nucleair Research Centre), Pierre-Luc | |
| 113 | + * Paour, Martin Pool, Brant Messenger (http://www.brantmessenger.com/), Kirk | |
| 114 | + * Strobeck, Saulo Vallory, Christoph, Wagner B. Soares, Artur Tchernychev, | |
| 115 | + * Valentina De Rosa, Jason Wong (http://carrot.org/), Daniel Esteban, | |
| 116 | + * strftime, Rick Waldron, Mick@el, Anton Ongson, Simon Willison | |
| 117 | + * (http://simonwillison.net), Gabriel Paderni, Philipp Lenssen, Marco van | |
| 118 | + * Oort, Bug?, Blues (http://tech.bluesmoon.info/), Tomasz Wesolowski, rezna, | |
| 119 | + * Eric Nagel, Bobby Drake, Luke Godfrey, Pul, uestla, Alan C, Zahlii, Ulrich, | |
| 120 | + * Yves Sucaet, hitwork, sowberry, johnrembo, Brian Tafoya | |
| 121 | + * (http://www.premasolutions.com/), Nick Callen, Steven Levithan | |
| 122 | + * (stevenlevithan.com), ejsanders, Scott Baker, Philippe Jausions | |
| 123 | + * (http://pear.php.net/user/jausions), Aidan Lister | |
| 124 | + * (http://aidanlister.com/), Norman "zEh" Fuchs, Rob, HKM, ChaosNo1, metjay, | |
| 125 | + * strcasecmp, strcmp, Taras Bogach, jpfle, Alexander Ermolaev | |
| 126 | + * (http://snippets.dzone.com/user/AlexanderErmolaev), DxGx, kilops, Orlando, | |
| 127 | + * dptr1988, Le Torbi, Pedro Tainha (http://www.pedrotainha.com), James, | |
| 128 | + * penutbutterjelly, Christian Doebler, baris ozdil, Greg Frazier, Tod | |
| 129 | + * Gentille, Alexander M Beedie, Ryan W Tenney (http://ryan.10e.us), | |
| 130 | + * FGFEmperor, gabriel paderni, Atli Þór, Maximusya, daniel airton wermann | |
| 131 | + * (http://wermann.com.br), 3D-GRAF, Yannoo, jakes, Riddler | |
| 132 | + * (http://www.frontierwebdev.com/), T.J. Leahy, stensi, Matteo, Billy, vlado | |
| 133 | + * houba, Itsacon (http://www.itsacon.net/), Jalal Berrami, Victor, fearphage | |
| 134 | + * (http://http/my.opera.com/fearphage/), Luis Salazar | |
| 135 | + * (http://www.freaky-media.com/), FremyCompany, Tim de Koning, taith, Cord, | |
| 136 | + * Manish, davook, Benjamin Lupton, Garagoth, Andrej Pavlovic, Dino, William, | |
| 137 | + * rem, Russell Walker (http://www.nbill.co.uk/), Jamie Beck | |
| 138 | + * (http://www.terabit.ca/), setcookie, Michael, YUI Library: | |
| 139 | + * http://developer.yahoo.com/yui/docs/YAHOO.util.DateLocale.html, Blues at | |
| 140 | + * http://hacks.bluesmoon.info/strftime/strftime.js, DtTvB | |
| 141 | + * (http://dt.in.th/2008-09-16.string-length-in-bytes.html), Andreas, meo, | |
| 142 | + * Greenseed, Luke Smith (http://lucassmith.name), Kheang Hok Chin | |
| 143 | + * (http://www.distantia.ca/), Rival, Diogo Resende, Allan Jensen | |
| 144 | + * (http://www.winternet.no), Howard Yeend, Jay Klehr, Amir Habibi | |
| 145 | + * (http://www.residence-mixte.com/), mk.keck, Yen-Wei Liu, Leslie Hoare, Ben | |
| 146 | + * Bryan, Cagri Ekin, booeyOH | |
| 147 | + * | |
| 148 | + * Dual licensed under the MIT (MIT-LICENSE.txt) | |
| 149 | + * and GPL (GPL-LICENSE.txt) licenses. | |
| 150 | + * | |
| 151 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 152 | + * copy of this software and associated documentation files (the | |
| 153 | + * "Software"), to deal in the Software without restriction, including | |
| 154 | + * without limitation the rights to use, copy, modify, merge, publish, | |
| 155 | + * distribute, sublicense, and/or sell copies of the Software, and to | |
| 156 | + * permit persons to whom the Software is furnished to do so, subject to | |
| 157 | + * the following conditions: | |
| 158 | + * | |
| 159 | + * The above copyright notice and this permission notice shall be included | |
| 160 | + * in all copies or substantial portions of the Software. | |
| 161 | + * | |
| 162 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |
| 163 | + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
| 164 | + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | |
| 165 | + * IN NO EVENT SHALL KEVIN VAN ZONNEVELD BE LIABLE FOR ANY CLAIM, DAMAGES | |
| 166 | + * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | |
| 167 | + * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
| 168 | + * OTHER DEALINGS IN THE SOFTWARE. | |
| 169 | + */ | |
| 170 | + | |
| 171 | + // Compression: minified | |
| 172 | + (function(){if(typeof(this.PHP_JS)==="undefined"){var PHP_JS=function(cfgObj){if(!(this instanceof PHP_JS)){return new PHP_JS(cfgObj);} | |
| 173 | + this.window=cfgObj&&cfgObj.window?cfgObj.window:window;this.php_js={};this.php_js.ini={};if(cfgObj){for(var ini in cfgObj.ini){this.php_js.ini[ini]={};this.php_js.ini[ini].local_value=cfgObj.ini[ini];this.php_js.ini[ini].global_value=cfgObj.ini[ini];}}};} | |
| 174 | + var php_js_shared={};PHP_JS.prototype={constructor:PHP_JS,checkdate:function(m,d,y){return m>0&&m<13&&y>0&&y<32768&&d>0&&d<=(new Date(y,m,0)).getDate();}};this.PHP_JS=PHP_JS;}()); | |
| 0 | 175 | \ No newline at end of file | ... | ... |
ieducar/intranet/templates/nvp_htmlhead.tpl
| 1 | -<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
| 1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
| 2 | + "http://www.w3.org/TR/html4/loose.dtd"> | |
| 2 | 3 | <html lang="pt"> |
| 3 | 4 | <head> |
| 4 | 5 | <meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1' /> |
| ... | ... | @@ -6,12 +7,6 @@ |
| 6 | 7 | <meta http-equiv="Expires" content="-1" /> |
| 7 | 8 | <!-- #&REFRESH&# --> |
| 8 | 9 | |
| 9 | - <meta name='Author' content='Prefeitura de Itajaí' /> | |
| 10 | - <meta name='Description' content='Portal da Prefeitura de Itajaí' /> | |
| 11 | - <meta name='Keywords' content='portal, prefeitura, itajaí, serviço, cidadão' /> | |
| 12 | - | |
| 13 | - <link rel="icon" href="imagens/logo_itajai.ico" type="image/x-icon"> | |
| 14 | - | |
| 15 | 10 | <title><!-- #&TITULO&# --></title> |
| 16 | 11 | |
| 17 | 12 | <link rel=stylesheet type='text/css' href='styles/main.css' /> |
| ... | ... | @@ -27,6 +22,7 @@ |
| 27 | 22 | <script type="text/javascript" src="scripts/menu.js?1"></script> |
| 28 | 23 | <script type="text/javascript" src="scripts/scriptaculous/prototype.js"></script> |
| 29 | 24 | <script type="text/javascript" src="scripts/scriptaculous/scriptaculous.js?load=effects"></script> |
| 25 | + <script type="text/javascript" src="scripts/phpjs/ieducar.package.js?1"></script> | |
| 30 | 26 | |
| 31 | 27 | <script type="text/javascript"> |
| 32 | 28 | var running = false; |
| ... | ... | @@ -90,39 +86,4 @@ |
| 90 | 86 | </script> |
| 91 | 87 | </head> |
| 92 | 88 | <body <!-- #&BODYSCRIPTS&# -->> |
| 93 | - <div id="DOM_expansivel" class="DOM_expansivel"></div> | |
| 94 | - | |
| 95 | -<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
| 96 | -<html lang="pt"> | |
| 97 | -<head> | |
| 98 | - <meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1' /> | |
| 99 | - <meta http-equiv="Pragma" content="no-cache" /> | |
| 100 | - <meta http-equiv="Expires" content="-1" /> | |
| 101 | - <!-- #&REFRESH&# --> | |
| 102 | - | |
| 103 | - <meta name='Author' content='Prefeitura de Itajaí' /> | |
| 104 | - <meta name='Description' content='Portal da Prefeitura de Itajaí' /> | |
| 105 | - <meta name='Keywords' content='portal, prefeitura, itajaí, serviço, cidadão' /> | |
| 106 | - | |
| 107 | - <link rel="icon" href="imagens/logo_itajai.ico" type="image/x-icon"> | |
| 108 | - | |
| 109 | - <title><!-- #&TITULO&# --></title> | |
| 110 | - | |
| 111 | - <link rel=stylesheet type='text/css' href='styles/styles.css' /> | |
| 112 | - <link rel=stylesheet type='text/css' href='styles/novo.css' /> | |
| 113 | - <link rel=stylesheet type='text/css' href='styles/menu.css' /> | |
| 114 | - <!-- #&ESTILO&# --> | |
| 115 | - | |
| 116 | - <script type='text/javascript' src='scripts/padrao.js?1'></script> | |
| 117 | - <script type='text/javascript' src='scripts/novo.js?1'></script> | |
| 118 | - <script type='text/javascript' src='scripts/dom.js?1'></script> | |
| 119 | - <script type='text/javascript' src='scripts/menu.js?1'></script> | |
| 120 | - | |
| 121 | - <!-- #&SCRIPT&# --> | |
| 122 | - | |
| 123 | - <script type="text/javascript"> | |
| 124 | - <!-- #&SCRIPT_HEADER&# --> | |
| 125 | - </script> | |
| 126 | -</head> | |
| 127 | -<body <!-- #&BODYSCRIPTS&# -->> | |
| 128 | 89 | <div id="DOM_expansivel" class="DOM_expansivel"></div> |
| 129 | 90 | \ No newline at end of file | ... | ... |