srchub

srchub Commit Details


Date:2014-03-09 22:40:56 (10 years 9 months ago)
Author:Natalie Adams
Branch:master
Commit:700889bedd504d9889e9fda8b0e911b914066775
Parents: 9ffb668e4eaf09e7da1139f474acad89c63708ac
Message:Adding file for new syntax highlighter changing OTP url for QR code creation

Changes:

File differences

indefero/src/IDF/Template/MarkdownPrefilter.php
101101
102102
103103
104
104105
105106
106107
'caption' => array('class', 'dir', 'id', 'style', 'title',
'align'), // deprecated attribute),
'code' => array('class', 'dir', 'id', 'style', 'title'),
'script' => array('type', 'class', 'dir', 'id', 'style', 'title'),
'dd' => array('class', 'dir', 'id', 'style', 'title'),
'del' => array('class', 'dir', 'id', 'style', 'title',
'cite', 'datetime'),
indefero/src/IDF/templates/idf/user/myaccount.html
181181
182182
183183
184
184
185185
186186
187187
......
194194
195195
196196
197
197
198198
199199
200200
201201
202202
203
203
204204
205205
206206
{
if ($("#id_otpkey").val() != "")
{
var url = "https://chart.googleapis.com/chart?chs=300x300&cht=qr&chl=otpauth%3A%2F%2Ftotp%2F" + user + "?secret=" + $("#id_otpkey").val() + "%26issuer=srchub&choe=UTF-8";
var url = "https://chart.googleapis.com/chart?chs=300x300&cht=qr&chl=otpauth%3A%2F%2Ftotp%2Fsrchub:" + user + "?secret=" + $("#id_otpkey").val() + "%26issuer=srchub&choe=UTF-8";
$("#QRcode").html('<img src="' + url + '" />');
} else {
$("#QRcode").html('');
for(var i = 0; i < 32; i++)
key += chars[Math.floor(Math.random() * 32)];
$("#id_otpkey").val(key);
var url = "https://chart.googleapis.com/chart?chs=300x300&cht=qr&chl=otpauth%3A%2F%2Ftotp%2F" + user + "?secret=" + $("#id_otpkey").val().toUpperCase() + "%26issuer=srchub&choe=UTF-8";
var url = "https://chart.googleapis.com/chart?chs=300x300&cht=qr&chl=otpauth%3A%2F%2Ftotp%srchub:" + user + "?secret=" + $("#id_otpkey").val().toUpperCase() + "%26issuer=srchub&choe=UTF-8";
$("#QRcode").html('<img src="' + url + '" />')
return false;
});
if ($("#id_otpkey").val() != "")
{
var url = "https://chart.googleapis.com/chart?chs=300x300&cht=qr&chl=otpauth%3A%2F%2Ftotp%2F" + user + "?secret=" + $("#id_otpkey").val().toUpperCase() + "%26issuer=srchub&choe=UTF-8";
var url = "https://chart.googleapis.com/chart?chs=300x300&cht=qr&chl=otpauth%3A%2F%2Ftotp%2Fsrchub:" + user + "?secret=" + $("#id_otpkey").val().toUpperCase() + "%26issuer=srchub&choe=UTF-8";
$("#QRcode").html('<img src="' + url + '" />')
}
});{/literal}

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.08853s using 14 queries.