* Profile:
- #1445: Add job entry year -JAC
+ * Search:
+ - #990: Adds search on broken redirections -JAC
+
* XnetList:
- #957: Allows xnet list sorting by description and members count -JAC
new UFBF_Promo('promo2', 'Promotion', 'egal2'),
new UFBF_Sex('woman', 'Sexe'),
new UFBF_Registered('subscriber', 'Inscrit'),
+ new UFBF_HasEmailRedirect('has_email_redirect', 'A une redirection active'),
new UFBF_Dead('alive', 'En vie'),
new UFBF_Town('city', 'Ville / Code Postal'),
}
// }}}
+// {{{ class UFBF_HasEmailRedirect
+class UFBF_HasEmailRedirect extends UFBF_Enum
+{
+ public function __construct($envfield, $formtext = '')
+ {
+ parent::__construct($envfield, $formtext, array(1, 2));
+ }
+
+ protected function buildUFC(UserFilterBuilder $ufb)
+ {
+ if ($this->val == 1) {
+ return new UFC_HasEmailRedirect();
+ } else if ($this->val == 2) {
+ return new PFC_Not(new UFC_HasEmailRedirect());
+ }
+ }
+}
+// }}}
+
// {{{ class UFBF_Dead
class UFBF_Dead extends UFBF_Enum
{
</td>
</tr>
<tr>
+ <td>A une redirection active</td>
+ <td>
+ <table>
+ <tr>
+ <td style="width:100px">
+ <input type="radio" name="has_email_redirect" value="0" {if !$smarty.request.has_email_redirect}checked="checked"{/if}
+ id="has_email_redirect0" /><label for="has_email_redirect0">indifférent</label>
+ </td>
+ <td style="width:100px">
+ <input type="radio" name="has_email_redirect" value="1" {if $smarty.request.has_email_redirect eq 1}checked="checked"{/if}
+ id="has_email_redirect1" /><label for="has_email_redirect1">oui</label>
+ </td>
+ <td style="width:100px">
+ <input type="radio" name="has_email_redirect" value="2" {if $smarty.request.has_email_redirect eq 2}checked="checked"{/if}
+ id="has_email_redirect2" /><label for="has_email_redirect2">non</label>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
<td>En vie</td>
<td>
<table>