$err_msg="<h2><font color='red'><b>Please retry after specifying the path of your webclient<br/> (e.g. '/var/www/html/webclient/', 'c:\inetpub\webclient\', etc.)<br/> in your config.php!</b></font></h2>";
$err_msg="<h2><font color='red'><b>Please retry after specifying the URL of the repository of i2b2 webclient plugins<br/> (e.g. 'https://raw.githubusercontent.com/i2b2/PLUGIN-i2b2-catalogs/master/i2b2-wc.repo')<br/> in your config.php!</b></font></h2>";
$go=false;
}else{
$go=true;
}
$wc_loc=$webclient_path;
if(!file_exists($wc_loc)&&'Y'==$i2b2_admin){#doesn't matter if it's a regular user, who can't install any way
$err_msg=sprintf("Folder '%s' does not exist!",$wc_loc);
$docs.="<br/><a class='btn' href='$plugin->installGuide' target='_blank' title='Installation Guide for this plugin'><nobr>Installation Guide</nobr></a>";
<br/>[1] Only "standalone" (i.e. NOT accompanying new or modified cells) webclient plugins are eligible for automated installation.
<br/> a) Please ensure that your i2b2 webclient folder write access has been set properly to enable
installations.<br/>
<br/>[2] Please contact us to submit your plugin to our repository for automated installation, with the following information:
<br/> a) any dependent standard javascript libraries to be included;
<br/> b) any installation guide, readme, or user's manual to be included.<br/>
<br/>[3] Please check the resulting display to see if a plugin requires additional installation steps beyond the basic ones automated.<br/>
<br/>[4] '<b>Plugin Group</b>' refers to the name of the webclient intermediary subdirectory
('<i>examples</i>', '<i>standard</i>', '<i>community</i>') that houses the codes for this plugin.
<br/> a) The '<i>examples</i>' group houses all plugins that are of example nature
(e.g. '<i>ExampHello</i>', etc.);
<br/> b) All the "standard issue" plugins that ship with the i2b2 webclient are under the '<i>standard</i>'
group (e.g. '<i>Dem1Set</i>', etc.);
<br/> c) The '<i>community</i>' group contains all popular plugins not distributed with the i2b2 webclient;
they are usually developed and shared by community institutions (e.g. '<i>ExportXLS</i>', etc.).
<br/> <b>***** NOTICE that if a popular plugin has its previous version installed under the '<i>standard</i>' group,
then it won't be detected (as it is expected under the '<i>community</i>' group only). *****</b><br/>
<br/>[5] '<b>Folder Name</b>' refers to the name of the subdirectory within the webclient directory that houses the codes for this plugin.
<br/> We included this information here to facilitate your finding out if you already have