Rev 1433 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1433 | Rev 1436 | ||
---|---|---|---|
Line 642... | Line 642... | ||
642 | $tabcont .= '<p>'._L('These XML files are following the <a %1>XML schema</a> of <b>oid-info.com</b>. They can be used for various purposes though.','href="http://oid-info.com/oid.xsd" target="_blank"').'</p>'; |
642 | $tabcont .= '<p>'._L('These XML files are following the <a %1>XML schema</a> of <b>oid-info.com</b>. They can be used for various purposes though.','href="http://oid-info.com/oid.xsd" target="_blank"').'</p>'; |
643 | $tabcont .= '<p><input type="button" onclick="window.open(\''.OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'oidinfo_export.php\',\'_blank\')" value="'._L('Generate XML (all OIDs)').'"></p>'; |
643 | $tabcont .= '<p><input type="button" onclick="window.open(\''.OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'oidinfo_export.php\',\'_blank\')" value="'._L('Generate XML (all OIDs)').'"></p>'; |
644 | $tabcont .= '<p><input type="button" onclick="window.open(\''.OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'oidinfo_export.php?online=1\',\'_blank\')" value="'._L('Generate XML (only OIDs which do not exist at oid-info.com)').'"></p>'; |
644 | $tabcont .= '<p><input type="button" onclick="window.open(\''.OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'oidinfo_export.php?online=1\',\'_blank\')" value="'._L('Generate XML (only OIDs which do not exist at oid-info.com)').'"></p>'; |
645 | $tabcont .= '<p><a href="http://oid-info.com/submit.htm" target="_blank">'._L('Upload XML files manually to oid-info.com').'</a></p>'; |
645 | $tabcont .= '<p><a href="http://oid-info.com/submit.htm" target="_blank">'._L('Upload XML files manually to oid-info.com').'</a></p>'; |
646 | $tabcont .= '<br><p>'._L('Attention: Do not use this XML Export/Import to exchange, backup or restore data between OIDplus systems!<br>It will cause various loss of information, e.g. because Non-OIDs like GUIDs are converted in OIDs and can\'t be converted back.').'</p>'; |
646 | $tabcont .= '<br><p>'._L('Attention: Do not use this XML Export/Import to exchange, backup or restore data between OIDplus systems!<br>It will cause various loss of information, e.g. because Non-OIDs like GUIDs are converted in OIDs and can\'t be converted back.').'</p>'; |
- | 647 | if (OIDplus::getEditionInfo()['vendor'] == 'ViaThinkSoft') { |
|
647 | $tabcont .= '<h2>'._L('Automatic export to oid-info.com').'</h2>'; |
648 | $tabcont .= '<h2>'._L('Automatic export to oid-info.com').'</h2>'; |
648 | $privacy_level = OIDplus::config()->getValue('reg_privacy'); |
649 | $privacy_level = OIDplus::config()->getValue('reg_privacy'); |
649 | if ($privacy_level == 0) { |
650 | if ($privacy_level == 0) { |
650 | $tabcont .= '<p>'._L('All your OIDs will automatically submitted to oid-info.com through the remote directory service in regular intervals.').' (<a '.OIDplus::gui()->link('oidplus:srv_registration').'>'._L('Change preference').'</a>)</p>'; |
651 | $tabcont .= '<p>'._L('All your OIDs will automatically submitted to oid-info.com through the remote directory service in regular intervals.').' (<a '.OIDplus::gui()->link('oidplus:srv_registration').'>'._L('Change preference').'</a>)</p>'; |
651 | } else { |
652 | } else { |
652 | $tabcont .= '<p>'._L('If you set the privacy option to "0" (your system is registered), then all your OIDs will be automatically exported to oid-info.com.').' (<a '.OIDplus::gui()->link('oidplus:srv_registration').'>'._L('Change preference').'</a>)</p>'; |
653 | $tabcont .= '<p>'._L('If you set the privacy option to "0" (your system is registered), then all your OIDs will be automatically exported to oid-info.com.').' (<a '.OIDplus::gui()->link('oidplus:srv_registration').'>'._L('Change preference').'</a>)</p>'; |
653 | } |
654 | } |
- | 655 | } |
|
654 | $tabcont .= '<h2>'._L('Comparison with oid-info.com').'</h2>'; |
656 | $tabcont .= '<h2>'._L('Comparison with oid-info.com').'</h2>'; |
655 | $tabcont .= '<p><a '.OIDplus::gui()->link('oidplus:oidinfo_compare_export').'>'._L('List OIDs in your system which are missing at oid-info.com').'</a></p>'; |
657 | $tabcont .= '<p><a '.OIDplus::gui()->link('oidplus:oidinfo_compare_export').'>'._L('List OIDs in your system which are missing at oid-info.com').'</a></p>'; |
656 | $out['text'] .= OIDplus::gui()->tabContentPage('export', $tabcont, $tab === 'export'); |
658 | $out['text'] .= OIDplus::gui()->tabContentPage('export', $tabcont, $tab === 'export'); |
657 | // ---------------- "Import" tab |
659 | // ---------------- "Import" tab |
658 | $tabcont = '<h2>'._L('Import XML file').'</h2>'; |
660 | $tabcont = '<h2>'._L('Import XML file').'</h2>'; |