Fixed English typo.

This commit is contained in:
Loic d'Anterroches 2009-06-29 21:45:55 +02:00
parent 75af09062f
commit bdea6e4cbb
2 changed files with 2 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class IDF_Views_User
} }
$keys = $request->user->get_idf_key_list(); $keys = $request->user->get_idf_key_list();
if ($keys->count() > 0 and strlen($keys[0]->content) > 30) { if ($keys->count() > 0 and strlen($keys[0]->content) > 30) {
$ssh_key = Pluf_Template::markSafe('<span class="mono">'.Pluf_esc(substr($keys[0]->content, 0, 30)).'...</span><br /><span class="helptext">'.__('Troncated for security reasons.').'</span>'); $ssh_key = Pluf_Template::markSafe('<span class="mono">'.Pluf_esc(substr($keys[0]->content, 0, 30)).'...</span><br /><span class="helptext">'.__('Truncated for security reasons.').'</span>');
} else { } else {
$ssh_key = __('You have not upload your public SSH key yet.'); $ssh_key = __('You have not upload your public SSH key yet.');
} }

View File

@ -96,6 +96,7 @@ $(document).ready(function() {
$("#form-show-0").click(function(){ $("#form-show-0").click(function(){
$(".pass-info").show(); $(".pass-info").show();
$("#form-block-0").hide(); $("#form-block-0").hide();
return false;
}); });
$(".pass-info").hide(); $(".pass-info").hide();
});{/literal} });{/literal}