dnExists($request['dn'])) error(sprintf(_('The entry (%s) does not exist.'),$request['dn']),'error','index.php'); $request['page'] = new PageRender($app['server']->getIndex(),get_request('template','REQUEST',false,'none')); $request['page']->setDN($request['dn']); $request['page']->accept(); # Render the form $request['page']->drawTitle(sprintf('%s %s',_('Compare another DN with'),get_rdn($request['dn']))); $request['page']->drawSubTitle(); printf('',JSDIR); echo '
'; printf('%s %s %s
',_('Compare'),get_rdn($request['dn']),_('with ')); echo '
'; echo '
'; echo '
'; echo ''; printf('',$app['server']->getIndex()); printf('',$app['server']->getIndex()); printf('',htmlspecialchars($request['dn'])); echo '
'; echo "\n"; echo ''; echo ''; printf('', _('Compare this DN with another'),_('Destination DN')); echo ''; echo ''; echo "\n"; printf('',server_select_list($app['server']->getIndex(),true,'server_id_dst')); echo "\n"; printf('',_('Compare')); echo "\n"; echo '
%s:'; echo ''; draw_chooser_link('compare_form','dn_dst','true',''); echo '
%s
'; echo '
'; ?>