This file contains 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
<script> | |
$('#urlinput').attr('readonly', 'readonly'); | |
jQuery('input[id=nameinput]').each(function(){ | |
$(this).keyup(function(){ | |
var x = $(this).closest("form").find('#urlinput'); | |
//alert(x); | |
var y = $(this); | |
jQuery(x).val(jQuery(y).val().replace(/[&;,.() *-]/g, '_').replace(/[öóő]/g, 'o').replace(/[üúű]/g, 'u').replace(/[á]/g, "a").replace(/[é]/g, "e")); | |
This file contains 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
<script> | |
function DeleteComment(server, app, f, attrid) { | |
var args = Array.prototype.slice.call(arguments, 0); | |
args.unshift("http:/") | |
Url = args.join("/"); | |
//alert(Url); | |
$( "#dialog-confirm" ).dialog({ | |
resizable: false, | |
height:320, | |
width: 320, |
This file contains 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
A(I(_class="icon icon-edit"), _href=URL('default', 'edit', args=["wbs", item['wbs_list']['id']]), _class="btn btn-mini btn-info", cid="remoteformbody", **{'_data-toggle': 'modal', '_data-target': '#RemoteModal', '_data-replace': 'true'}) |
This file contains 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
modell | |
====== | |
if session.language: | |
T.force(session.language) | |
controller | |
========== | |
def set_lang(): | |
l = request.vars.lang | |
session.language = l |
This file contains 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
ls -l | awk '{print $5}' | awk '{ foo = $1 / 1024 / 1024 ; print foo "MB" }' |
This file contains 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
<script> | |
$(document).ready(function() { | |
$("#traveling_napidij_napok_szama").click(function(){ | |
$(this).css('background-color', 'white').css('color', 'black'); | |
}); | |
$(".sumvaluta").each(function() { | |
$(this).attr('disabled','disabled'); | |
}); | |
NewerOlder