Revision 834

Date:
2021/10/11 20:49:49
Author:
ahitrov
Revision Log:
Default link tab + creation datetime in list

Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/plugins/users/comps/contenido/users/document.html

     
    47 47
    48 48 <br>
    49 49
    50 <a name="document-links"></a>
    50 51 <table width="100%" cellspacing="5" cellpadding="0" border="0">
    51 52 <tr>
    52 53 <td width=50% valign=top>\
     
    58 59 </td>
    59 60 <td width=50% valign=top>\
    60 61 % if ( $m->comp_exists ("/contenido/components/pbase_links.msn") ) {
    61 <& "/contenido/components/pbase_links.msn", document => $document &>\
    62 <& "/contenido/components/pbase_links.msn", document => $document, default => $def_link || '' &>\
    62 63 % }
    63 64 <iframe id="links" src="/contenido/document_links.html?id=<% $document->id() %>&class=<% $document->class() %>" width="100%" height="700" frameborder="0"></iframe>
    64 65
     
    74 75 </body>
    75 76 </html>
    76 77 <%ARGS>
    78
    77 79 $p => 1
    78 80 $class => undef
    79 81 $sect_id => undef
    80 82 $s_alias => undef
    83 $def_link => undef
    81 84 $id => undef
    82 85 $delete => undef
    83 86 $save => undef
    84 87 $clone => undef
    85 88 $activate => undef
    86 89 $deactivate => undef
    90
    87 91 </%ARGS>
    88 92 <%INIT>
    89 93
  • utf8/plugins/users/lib/users/SQL/UserProfile.pm

     
    59 59 'attr' => 'name',
    60 60 'type' => 'string',
    61 61 'rusname' => 'Ф.И.О.',
    62 'column' => 2,
    62 'column' => 1,
    63 63 'db_field' => 'name',
    64 64 'db_type' => 'varchar(255)',
    65 65 },
     
    70 70 'readonly' => 1,
    71 71 'auto' => 1,
    72 72 'hidden' => 1,
    73 'column' => 2,
    73 74 'db_field' => 'ctime',
    74 75 'db_type' => 'timestamp',
    75 76 'db_opts' => 'not null default now()',
     
    98 99 'attr' => 'lastlogin',
    99 100 'type' => 'datetime',
    100 101 'rusname' => 'Дата и время последнего логина<sup style="color:#888;">&nbsp;1)</sup>',
    101 'column' => 1,
    102 'shortname' => 'Был',
    103 'column' => 2,
    102 104 'db_field' => 'lastlogin',
    103 105 'db_type' => 'timestamp',
    104 106 'db_opts' => 'not null default now()',