Default profile publicity is now ax (Closes #1360).
authorStéphane Jacob <sj@m4x.org>
Sat, 27 Nov 2010 22:22:01 +0000 (23:22 +0100)
committerStéphane Jacob <sj@m4x.org>
Sat, 27 Nov 2010 22:22:16 +0000 (23:22 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/address.php
classes/phone.php
templates/include/flags.radio.tpl

index d5f7f87..a5c651c 100644 (file)
@@ -78,7 +78,7 @@ class Address
     public $geocodeChosen = null;
 
     // Database's field required for both 'home' and 'job' addresses.
-    public $pub = 'private';
+    public $pub = 'ax';
 
     // Database's fields required for 'home' addresses.
     public $flags = null; // 'current', 'temporary', 'secondary', 'mail', 'cedex', 'deliveryIssue'
index 948894f..5ca75ee 100644 (file)
@@ -67,7 +67,7 @@ class Phone
     // The following fields are the fields of the form in the profile edition.
     private $type = 'fixed';
     public $display = '';
-    private $pub = 'private';
+    private $pub = 'ax';
     public $comment = '';
     private $error = false;
 
index 4ea1998..b20df9d 100644 (file)
@@ -22,7 +22,7 @@
 {if t($withtext)}
 <a href="Xorg/FAQ?display=light#flags" class="popup_800x240">Quelle couleur ?</a>
 {/if}
-{if !t($val)}{assign var=val value='private'}{/if}
+{if !t($val)}{assign var=val value='ax'}{/if}
 <label><input type="radio" name="{$name}" value="public"{if $val eq 'public'} checked="checked"{/if}
        {if t($disabled)}disabled="disabled"{/if} />
 {icon name="flag_green" title="site public"}