Changeset 2313:ef1db3d7c388 for inc/admin/default-templates/auth.html.twig
- Timestamp:
- 10/08/13 15:27:39 (12 years ago)
- Branch:
- twig
- Parents:
- 1524:913f5a36bbb0 (diff), 2312:d01c85eaa37d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/default-templates/auth.html.twig
r1517 r2313 1 1 {% import "js_helpers.html.twig" as js %} 2 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang=" <?php echo $dlang; ?>" lang="en">3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{dlang}}" lang="{{dlang}}"> 4 4 <head> 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta http-equiv="Content-Script-Type" content="text/javascript" /> 7 7 <meta http-equiv="Content-Style-Type" content="text/css" /> 8 <meta http-equiv="Content-Language" content=" en" />8 <meta http-equiv="Content-Language" content="{{dlang}}" /> 9 9 <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" /> 10 10 <meta name="GOOGLEBOT" content="NOSNIPPET" /> 11 11 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 12 12 <title>{{vendor_name}}</title> 13 <link rel="stylesheet" href="{{theme_url}}style/default.css" type="text/css" media="screen" /> 13 <link rel="icon" type="image/png" href="images/favicon96-logout.png" /> 14 <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> 14 15 {{ js.load_IE7 }} 15 16 {{ js.common }} 16 <script type="text/javascript" src="{{theme_url}}js/_auth.js"></script> 17 <link rel="stylesheet" href="{{theme_url}}style/default.css" type="text/css" media="screen" /> 18 <script type="text/javascript"> 19 //<![CDATA[ 20 $(window).load(function() { 21 var uid = $('input[name=user_id]'); 22 var upw = $('input[name=user_pwd]'); 23 uid.focus(); 24 25 if (upw.length == 0) { return; } 26 27 uid.keypress(processKey); 28 29 function processKey(evt) { 30 if (evt.which == 13 && upw.val() == '') { 31 upw.focus(); 32 return false; 33 } 34 return true; 35 }; 36 $.cookie('dc_admin_test_cookie',true); 37 if ($.cookie('dc_admin_test_cookie')) { 38 $('#cookie_help').hide(); 39 $.cookie('dc_admin_test_cookie', '', {'expires': -1}); 40 } else { 41 $('#cookie_help').show(); 42 } 43 $('#issue #more').toggleWithLegend($('#issue').children().not('#more')); 44 }); 45 //]]> 46 </script> 17 47 </head> 18 48 19 49 <body id="dotclear-admin" class="auth"> 20 50 21 {% form 'auth' %}22 <div id="login-screen"> 51 {% form 'auth' with {'id':'login-screen'} %} 52 23 53 <h1>{{vendor_name}}</h1> 24 54 {% if messages.alert is not empty %} … … 64 94 <p>{{ form_field('user_id') }}</p> 65 95 <p>{{ form_field('user_pwd') }}</p> 66 <p>{{ form_field('user_remember',{},{'nestedlabel': true, 'labelclass':'classic'}) }}</p>67 <p>{{ form_field('auth_login',{"class":" add button"}) }}</p>96 <p>{{ form_field('user_remember',{},{'nestedlabel':false}) }}</p> 97 <p>{{ form_field('auth_login',{"class":"login"}) }}{{ form_hidden() }}</p> 68 98 {% if safe_mode %} 69 99 </fieldset> … … 84 114 </div> 85 115 {% endif %} 86 </div>87 116 {% endform %} 88 117 </body>
Note: See TracChangeset
for help on using the changeset viewer.