[%# Admin page for viewing entries in the userlog table. # # Authors: # import r26.1 livejournal -- original page # Jen Griffin -- TT conversion # # Copyright (c) 2008-2020 by Dreamwidth Studios, LLC. # # This code was forked from the LiveJournal project owned and operated # by Live Journal, Inc. The code has been modified and expanded by # Dreamwidth Studios, LLC. These files were originally licensed under # the terms of the license supplied by Live Journal, Inc. # # In accordance with the original license, this code and all its # modifications are provided under the GNU General Public License. # A copy of that license can be found in the LICENSE file included as # part of this distribution. %] [%- sections.title = '.title' | ml -%] [%- CALL dw.active_resource_group( "foundation" ) -%] [%- sections.head = BLOCK %] [% END %]
[% dw.form_auth %] [% form.textbox( label = dw.ml( '.label.username' ), maxlength = site.maxlength_user, size = site.maxlength_user, name = 'user', value = user ); form.submit( value = dw.ml( '.btn.view' ) ) %]
[%- IF u -%]

[% '.txt.latest' | ml( user = u.ljuser_display ) %]

[%- FOREACH row IN rows; actor_u = load_actor( row ) -%] [%- END -%]
[% '.col.date' | ml %] [% '.col.action' | ml %] [% '.col.init' | ml %] [% '.col.ip' | ml %] [% '.col.uniq' | ml %]
[% mysql_time( row.logtime ) %] [% action_text( row ) %] [%- actor_u ? actor_u.ljuser_display : dw.ml( '.txt.notrecorded' ) -%] [% row.ip ? row.ip : dw.ml( '.txt.notrecorded' ) %] [% row.uniq ? row.uniq : dw.ml( '.txt.notrecorded' ) %]
[%- END -%]