- require_once('view/profile_selectors.php');
-
- $tpl = file_get_contents('view/profed_head.tpl');
- $opt_tpl = file_get_contents("view/profile-in-directory.tpl");
- $profile_in_dir = replace_macros($opt_tpl,array(
- '$yes_selected' => (($r[0]['publish']) ? " checked=\"checked\" " : ""),
- '$no_selected' => (($r[0]['publish'] == 0) ? " checked=\"checked\" " : "")
- ));
-
- if(strlen(get_config('system','directory_submit_url'))) {
- $opt_tpl = file_get_contents("view/profile-in-netdir.tpl");
-
- $profile_in_net_dir = replace_macros($opt_tpl,array(
- '$yes_selected' => (($r[0]['net-publish']) ? " checked=\"checked\" " : ""),
- '$no_selected' => (($r[0]['net-publish'] == 0) ? " checked=\"checked\" " : "")
- ));
- }
- else
- $profile_in_net_dir = '';