* Profile:
- #502: Use 'alias' instead of 'aka' to specify the nickname -FRU
+ * Xnet/Events:
+ - #490: Events can be opened to non-members -FRU
+ - #514: Improve visibility of open events -FRU
+
From 0.9.11 branch:
* Core:
- #486: fix force login to see private fiche. -Car
- #509: can access trombi of the current year promotion -FRU
- * Xnet/Events:
- - #490: Events can be opened to non-members -FRU
-
================================================================================
VERSION 0.9.11 18 Septembre 2006
table.normal td { border: none; }
th { background: #d0c198; }
+th.grayed {
+ background: #d0cbb0;
+ color: #666;
+}
/***************************************************************************
* Special pages
WHERE asso_id = {?}"
. (is_member() || may_update() ? "" : " AND accept_nonmembre != 0 ")
. "GROUP BY e.eid
- ORDER BY debut", S::v('uid'), $globals->asso('id'));
+ ORDER BY inscr_open DESC, debut DESC", S::v('uid'), $globals->asso('id'));
$evts = array();
<col width='25%' />
</colgroup>
<tr>
- <th colspan="2">
+ <th colspan="2"{if !$e.inscr_open} class="grayed"{/if}>
{$e.intitule}
+ {if !$e.inscr_open}
+ (<span class="error">Inscriptions closes</span>)
+ {/if}
{if $admin}
<br />
[<a href="{$platal->ns}events/edit/{$e.eid}">
</td>
</tr>
+ {if $admin || $e.show_participants || ($e.deadline_inscription && $e.inscr_open)}
<tr>
<td class="titre">Informations :</td>
<td class='actions'>
{icon name=group title="Liste des participants"}
</a><br />
{/if}
- {if $e.deadline_inscription}
- {if $e.inscr_open}
- dernières inscriptions
- le {$e.deadline_inscription|date_format:"%d %B %Y"}
- {else}
- <span class='error'>Inscriptions closes.</span><br />
- {/if}
+ {if $e.deadline_inscription && $e.inscr_open}
+ dernières inscriptions
+ le {$e.deadline_inscription|date_format:"%d %B %Y"}
{/if}
</td>
</tr>
+ {/if}
<tr>
<td class="titre">