Removed the "Allow anonymous access to this app" since its not being used and I hate answer emails and questions about it everyday :)

This commit is contained in:
jengo 2001-07-13 07:12:46 +00:00
parent 9b6cc18eb8
commit a2cf079de6
2 changed files with 0 additions and 26 deletions

View File

@ -81,15 +81,6 @@
. "app_title='" . addslashes($n_app_title) . "', app_enabled='"
. "$n_app_status',app_order='$app_order' where app_name='$old_app_name'",__LINE__,__FILE__);
if($n_app_anonymous)
{
$phpgw->acl->add_repository($n_app_name,'everywhere',0,PHPGW_ACL_READ);
}
else
{
$phpgw->acl->delete_repository($n_app_name,'everywhere',0);
}
Header("Location: " . $phpgw->link("/admin/applications.php"));
$phpgw->common->phpgw_exit();
}
@ -114,7 +105,6 @@
$n_app_status = $phpgw->db->f('app_enabled');
$old_app_name = $phpgw->db->f('app_name');
$app_order = $phpgw->db->f('app_order');
$n_app_anonymous = $phpgw->acl->check('everywhere', PHPGW_ACL_READ, $n_app_name);
}
$p->set_var('lang_header',lang('Edit application'));
@ -136,15 +126,6 @@
display_row(lang("Status"),'<select name="n_app_status">' . $status_html . '</select>');
display_row(lang("Select which location this app should appear on the navbar, lowest (left) to highest (right)"),'<input name="app_order" value="' . $app_order . '">');
$str = '<input type="checkbox" name="n_app_anonymous" value="True"';
if ($n_app_anonymous)
{
$str .= " checked";
}
$str .= ">";
display_row(lang('Allow Anonymous access to this app'),$str);
$p->set_var('select_status',$status_html);
$p->pparse('out','form');

View File

@ -77,11 +77,6 @@
. addslashes($n_app_name) . "','" . addslashes($n_app_title) . "','"
. "$n_app_status','$app_order')",__LINE__,__FILE__);
if($n_app_anonymous)
{
$phpgw->acl->add_repository($n_app_name,'everywhere',0,PHPGW_ACL_READ);
}
Header("Location: " . $phpgw->link("/admin/applications.php"));
$phpgw->common->phpgw_exit();
}
@ -122,8 +117,6 @@
display_row(lang("Select which location this app should appear on the navbar, lowest (left) to highest (right)"),'<input name="app_order" value="' . $app_order . '">');
display_row(lang("Allow Anonymous access to this app"),'<input type="checkbox" name="n_app_anonymous" value="True">');
$p->set_var("lang_submit_button",lang("add"));
$p->pparse("out","form");