This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span class="h2-subtitle">Comente</span> | |
<div class="interna-comentario" tal:define="mod_pf python:getAplicativoByTitulo('Portal Functions')"> | |
<form tal:attributes="action python:urls_site()['base_ajax'] + 'portal_functions/' + mod_pf.schema + ',' + str(mod_pf.id_site) + '/comentar'" id="form_comentar"> | |
<textarea id="area_comm" rows="6"></textarea> | |
<div class="ic-form first"><label for="nome">Nome:<span class="required">*</span></label><input id="nome" name="nome" type="text"/></div> | |
<div class="ic-form"><label for="email">E-mail:<span class="required">*</span></label><input type="text" name="email" id="email"/></div> | |
<input id="btn" type="submit" class="btn" value="Enviar" /> | |
</form> | |
</div> | |
<script type="text/javascript" tal:content="python:'var ID_CONTEUDO = ' + str(request.get('i', 1)) + ';\nvar SCHEMA = ' + repr(mod.schema)" tal:define="mod python:getAplicativoByTitulo('Noticias')"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prezados, | |
A Storm Security é uma Empresa de Sistemas Críticos e de Segurança da | |
Informação situada no Rio de Janeiro - RJ. Estamos buscando 2 | |
programadores com o seguinte perfil: | |
Características pessoais (o mais importante): | |
- empenhado | |
- organizado |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
# $Id: options.pptp,v 1.3 2006/03/26 23:11:05 quozl Exp $ | |
# | |
# Sample PPTP PPP options file /etc/ppp/options.pptp | |
# Options used by PPP when a connection is made by a PPTP client. | |
# This file can be referred to by an /etc/ppp/peers file for the tunnel. | |
# Changes are effective on the next connection. See "man pppd". | |
# | |
# You are expected to change this file to suit your system. As | |
# packaged, it requires PPP 2.4.2 or later from http://ppp.samba.org/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<tal:block tal:define="req here/request; | |
id_site req/id_site; | |
portal here/portal; | |
user here/user; | |
pagina_folder python:[i for i in portal._getFoldersPage(env_site=id_site)]"> | |
<ul class="menu_dir" > | |
<li><a href="javascript:void(0)">Conteúdo<span class="right">-</span></a> | |
<ul> | |
<li> | |
<a href="javascript:void(0)"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="box_noticia" tal:define="features python:{'abas':1, | |
'comentarios':1, | |
'denuncie':1, | |
'moderacao':1, | |
'voto':1, | |
'link_interno_infografico':1, | |
'saibamais':1, | |
'link_interno':1, | |
'videos':1, | |
'imagem':1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div tal:define="mod1 python:getAplicativoByTitulo('Conteúdo'); | |
mod2 python:getAplicativoByTitulo('Galeria'); | |
id_conteudo python:request.get('i', 1); | |
conteudo python:mod1._getNoticiaPublicada(id_conteudo); | |
rel python:getRelacionamento(mod1.schema, id_conteudo); | |
galeria python:[i for i in rel if i['meta_type'] == 'foto'];"> | |
<div> | |
</div> | |
<div id="galeria" tal:condition="galeria"> | |
<div tal:define="gal python:mod2._getGaleriaPublicada(galeria[0]['id_pk'])" id="gallery"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.fn.extend({ | |
toggleClass: function(class1, class2) | |
{ | |
if ($(this).hasClass(class1)) { | |
$(this).removeClass(class1).addClass(class2) | |
} | |
else if ($(this).hasClass(class2)) { | |
$(this).removeClass(class2).addClass(class1) | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() | |
{ | |
function toggle() | |
{ | |
$(".cliente_publi > ul li:nth-child(" + li1 + ")").slideToggle(); | |
$(".cliente_publi > ul li:nth-child(" + li2 + ")").slideToggle(); | |
++li1; | |
++li2; | |
if (li1 > limit_s) | |
li1 = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="interna" tal:define=" id_site python:1; | |
id_noticia python:request.get('i', 1); | |
exportar python:request.get('exportar', None); | |
mod python:getAplicativoByTitulo('Noticias'); | |
noticia python:mod._getNoticiaPublicada(id_noticia=id_noticia, mkl=lambda dados, mklink=mklink, mth=scripts['mklinkn'], getAplicativoByTitulo=getAplicativoByTitulo, getUrlByFile=getUrlByFile:mth(dados, mklink, getAplicativoByTitulo, getUrlByFile=getUrlByFile) ); | |
dados python:mod._getAttrNoticia(noticia['id_conteudo']);"> | |
<span class="style1" tal:content="noticia/publicado_em">25/07/2010</span> | |
<h4 tal:content="structure noticia/titulo">Cultivando Cultura e Conhecimento</h4> | |
<span class="corponoticia"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This file is executed when the Python interactive shell is started if | |
$PYTHONSTARTUP is in your environment and points to this file. It's just | |
regular Python commands, so do what you will. Your ~/.inputrc file can greatly | |
complement this file. | |
""" | |
import os | |
try: |