mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 02:13:15 +00:00
Remove /login/home.js file as it is no more related to login
This commit is contained in:
committed by
Romain Neutron
parent
70c27b7cbc
commit
9264df7547
@@ -2,12 +2,48 @@
|
|||||||
"http://www.w3.org/TR/html4/strict.dtd">
|
"http://www.w3.org/TR/html4/strict.dtd">
|
||||||
<html lang="{{ locale }}">
|
<html lang="{{ locale }}">
|
||||||
<head>
|
<head>
|
||||||
<script src="/include/minify/?f=include/jslibs/jquery-1.7.1.js,include/jslibs/jquery-validation/jquery.validate.js,include/jslibs/jquery-validate.password/jquery.validate.password.js,include/jslibs/jquery.cookie.js" type="text/javascript"></script>
|
<script src="/include/minify/f=include/jslibs/$-1.7.1.js,include/jslibs/$-validation/$.validate.js,include/jslibs/$-validate.password/$.validate.password.js,include/jslibs/$.cookie.js" type="text/javascript"></script>
|
||||||
<script type="text/javascript" src="/include/jslibs/jquery-ui-1.8.17/js/jquery-ui-1.8.17.custom.min.js"></script>
|
<script type="text/javascript" src="/include/jslibs/$-ui-1.8.17/js/$-ui-1.8.17.custom.min.js"></script>
|
||||||
<script type="text/javascript" src="/include/path_files_tests.jquery.js"></script>
|
<script type="text/javascript" src="/include/path_files_tests.$.js"></script>
|
||||||
<script type="text/javascript" src="/include/login/home.js"></script>
|
<link rel="stylesheet" type="text/css" href="/include/jslibs/$-ui-1.8.17/css/dark-hive/$-ui-1.8.17.custom.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="/include/jslibs/jquery-ui-1.8.17/css/dark-hive/jquery-ui-1.8.17.custom.css" />
|
|
||||||
<link rel="stylesheet" type="text/css" href="/skins/setup/setup.css" />
|
<link rel="stylesheet" type="text/css" href="/skins/setup/setup.css" />
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(document).ready(function(){
|
||||||
|
var date = new Date();
|
||||||
|
date.setMonth(date.getMonth() + 2);
|
||||||
|
$.cookie('screen', screen.width+"x"+screen.height, { path: '/', expires: date });
|
||||||
|
|
||||||
|
var test_cookie = date.getTime();
|
||||||
|
$.cookie('test_cookie'+test_cookie, 'accepted', { path: '/', expires: date });
|
||||||
|
if(!$.cookie('test_cookie'+test_cookie))
|
||||||
|
{
|
||||||
|
$('.notice.notice_cookie').show();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
date.setMonth(date.getMonth() - 5);
|
||||||
|
$.cookie('test_cookie'+test_cookie, '', { path: '/', expires: date });
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
|
function setLanguage()
|
||||||
|
{
|
||||||
|
var date = new Date();
|
||||||
|
date.setMonth(date.getMonth() + 2);
|
||||||
|
$.cookie('locale', $('#lng-select')[0].value, { path: '/', expires: date });
|
||||||
|
window.location.replace(window.location.protocol+"//"+window.location.host+window.location.pathname);
|
||||||
|
}
|
||||||
|
|
||||||
|
function setTab(tab,el)
|
||||||
|
{
|
||||||
|
$('.tab').removeClass('click');
|
||||||
|
$(el).addClass('click');
|
||||||
|
$('.tab-content').hide();
|
||||||
|
$('#id-'+tab).show();
|
||||||
|
}
|
||||||
|
</script>
|
||||||
{% block extrahead %}{% endblock %}
|
{% block extrahead %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -1,35 +0,0 @@
|
|||||||
jQuery(document).ready(function(){
|
|
||||||
var date = new Date();
|
|
||||||
date.setMonth(date.getMonth() + 2);
|
|
||||||
jQuery.cookie('screen', screen.width+"x"+screen.height, { path: '/', expires: date });
|
|
||||||
|
|
||||||
var test_cookie = date.getTime();
|
|
||||||
jQuery.cookie('test_cookie'+test_cookie, 'accepted', { path: '/', expires: date });
|
|
||||||
if(!jQuery.cookie('test_cookie'+test_cookie))
|
|
||||||
{
|
|
||||||
jQuery('.notice.notice_cookie').show();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
date.setMonth(date.getMonth() - 5);
|
|
||||||
jQuery.cookie('test_cookie'+test_cookie, '', { path: '/', expires: date });
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
|
|
||||||
function setLanguage()
|
|
||||||
{
|
|
||||||
var date = new Date();
|
|
||||||
date.setMonth(date.getMonth() + 2);
|
|
||||||
jQuery.cookie('locale', jQuery('#lng-select')[0].value, { path: '/', expires: date });
|
|
||||||
window.location.replace(window.location.protocol+"//"+window.location.host+window.location.pathname);
|
|
||||||
}
|
|
||||||
|
|
||||||
function setTab(tab,el)
|
|
||||||
{
|
|
||||||
jQuery('.tab').removeClass('click');
|
|
||||||
jQuery(el).addClass('click');
|
|
||||||
jQuery('.tab-content').hide();
|
|
||||||
jQuery('#id-'+tab).show();
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user