Commit 76851ed0 authored by chealer's avatar chealer

[FIX] Files galleries last modification date.

oops. thanks Sylvie
parent 94f226f0
......@@ -21,7 +21,7 @@ $fgal_listing_conf = array(
'description' => array('name' => tra('Description')),
'size' => array('name' => tra('Size')),
'created' => array('name' => tra('Created').' / '.tra('Uploaded')),
'lastmodif' => array('name' => tra('Last Modified'), 'key' => 'show_modified'),
'lastModif' => array('name' => tra('Last Modified'), 'key' => 'show_modified'),
'creator' => array('name' => tra('Creator')),
'author' => array('name' => tra('Author')),
'last_user' => array('name' => tra('Last editor')),
......@@ -33,7 +33,7 @@ $fgal_listing_conf = array(
foreach ( $fgal_listing_conf as $k => $v ) {
if ( $k == 'type' ) $show_k = 'icon';
elseif ( $k == 'lastmodif' ) $show_k = 'modified';
elseif ( $k == 'lastModif' ) $show_k = 'modified';
else $show_k = $k;
if ( isset($_REQUEST['fgal_list_'.$k]) ) {
......
{if empty($sort_arg)}{assign var='sort_arg' value='sort_mode'}{/if}
{debug}{if empty($sort_arg)}{assign var='sort_arg' value='sort_mode'}{/if}
<table class="normal">
<tr>
{if $gal_info.show_checked ne 'n' and ($tiki_p_admin_file_galleries eq 'y' or $tiki_p_upload_files eq 'y')}
......@@ -134,7 +134,7 @@
{assign var=propval value=$files[changes].$propname}
{* Format property values *}
{if $propname eq 'created' or $propname eq 'lastmodif'}
{if $propname eq 'created' or $propname eq 'lastModif'}
{assign var=propval value=$propval|tiki_long_date}
{elseif $propname eq 'last_user' or $propname eq 'author' or $propname eq 'creator'}
{assign var=propval value=$propval|username}
......@@ -220,7 +220,7 @@
{else}
{assign var=propval value="<a class='fgalname' $link>$propval</a>"}
{/if}
{elseif $propname eq 'created' or $propname eq 'lastmodif'}
{elseif $propname eq 'created' or $propname eq 'lastModif'}
{assign var=propval value=$propval|tiki_short_date}
{elseif $propname eq 'last_user' or $propname eq 'author' or $propname eq 'creator'}
{assign var=propval value=$propval|userlink}
......
......@@ -29,7 +29,7 @@ if ($output["data"]=="EMPTY") {
$desc = (!empty($desc_rss_file_galleries)) ? $desc_rss_file_galleries : tra("Last files uploaded to the file galleries.");
$id = "fileId";
$descId = "description";
$dateId = "lastmodif";
$dateId = "lastModif";
$authorId = "lastModifUser";
$titleId = "filename";
$readrepl = "tiki-download_file.php?$id=%s";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment