* @version 2.0 * @package First_Steps * @copyright Copyright © 2011 DNA Bank Network http://www.dnabank-network.org
The contents of this file are subject to the Mozilla Public License Version 1.1 * @filesource * @license http://www.mozilla.org/MPL/ MPL */ $config = true; /** * calling connection to database */ include ("config/head.php"); /** * calling authorisation script */ include ("auth.php"); ?> DNA Bank Network - First Steps

Welcome to the DNA Module - First Steps

"; } else { echo "Your logo will be placed here later during cofiguration."; }} else { /** * try to load xml-parser for general settings (logo path, config/loadgeneralsettings.php), if not successful display message that logo will be placed here later during configuration */ include("config/loadgeneralsettings.php"); if($Path_Logo != "") {echo $Path_Logo; } else { echo "Your logo will be placed here later during cofiguration."; }}?>
1) { $TestAdmin = false; echo ""; } else { $Test = true; } } if($Test == "true" or (isset($_SESSION['admin']) || $_SESSION['admin'])) { if($formSubmitSave) { if($_POST['logopath'] == "") { echo ""; $test = true; } if($test != true) { /******************************************************************************************** * Saving logo path in an xml file (config/config.xml) * * further configurations (general settings) can be done via the Configuration Tool * * that's why except of logo path all xml tags left empty * * START * *********************************************************************************************/ $file = "config/config.xml"; $newfile = fopen($file,"w+"); if(stristr($_REQUEST['logopath'], 'http://') === FALSE) { $logopath2 = "../".$_REQUEST['logopath']; } else { $logopath2 = $_REQUEST['logopath']; } $newxml = ' '.$_REQUEST['logopath'].' '.$logopath2.' http://www.ncbi.nlm.nih.gov/nuccore/ http://boldsystems.org/index.php/Public_RecordView?processid= '; rewind($newfile); fwrite($newfile, $newxml); fclose($newfile); } echo ""; } /******************************************************************************************** * Saving logo path in an xml file (config/config.xml) * * END * *********************************************************************************************/ if(file_exists("config/loadgeneralsettings.php")) { /** * Start page, try to load the xml file via config/loadgeneralsettings.php (xml-Parser) */ include("config/loadgeneralsettings.php"); } echo ""; echo ''; } ?>

Step 5: Define logo path

Go back to step 5
Please define path of your institution logo. Ask your administrator for help if you want to load the image file in DNA Module folder.
Sorry, you have no permission for editing configuration parameters! Please login as administrator or contact an admin.
Please enter logo path! e.g. for YOUR_DNA_MODULE_FOLDER/images/logo.png type 'images/logo.png' or if it's an external path type 'http://www.123.org/logo.png'
Your logo should be placed on top right now.
Logo path:Path of your institution logo.
Main configuration steps are done now. Thank you very much for your time and now enjoy the DNA Module.