Commit 7859a065 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

add some install features

parent e8916e4f
......@@ -94,7 +94,6 @@ class tx_nG6_pi1 extends tslib_pibase {
$content = tx_nG6_upgrade::upgrade($this->piVars['upgrade']);
}
else if(! $this->pi_is_install_finalized()) {
$content .= $this->pi_install_view();
}
else {
......@@ -371,11 +370,9 @@ class tx_nG6_pi1 extends tslib_pibase {
*/
function pi_is_install_finalized() {
$res = tx_nG6_db::select_user_by_username("admin_install");
if ($res == null){
if ($res == null) {
return true;
}
else
{
} else {
return false;
}
}
......
......@@ -16,84 +16,91 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*}
<div id="error_dialog" title=""></div>
<div class="sub-content sc-bottom">
<div id="message" class="hidden"></div>
<div class="tx-nG6-pi1-update-user">
<h2>Finalize installation </h2>
<h2><small>Set administrator information</small></h2>
<form class="form-horizontal" id="install_form">
<input type="hidden" id="server_name" value="{$server_name}" />
<input type="hidden" id="server_url" value="{$server_url}" />
<input type="hidden" id="pid" value="{$pid}" />
<div class="sub-content sc-top-bottom">
<input type="hidden" id="is_project_admin" value="{$projects[key($projects)].is_admin}" />
<div class="control-group">
<label class="control-label">Last name</label>
<div class="controls">
<input type="text" id="last_name_val" class="typeahead" name="last_name_val" placeholder="Last name"/>
</div>
</div>
<div class="control-group">
<label class="control-label">First name</label>
<div class="controls">
<input type="text" id="first_name_val" class="typeahead" name="first_name_val" placeholder="First name"/>
</div>
</div>
<div class="control-group">
<label class="control-label">Login</label>
<div class="controls">
<input type="text" id="username_val" class="typeahead" name="username_val" placeholder="Login"/>
</div>
</div>
<div class="ng6-content-header-left project">
<h2>Installation steps</h2>
Please provide the following information in order to finalize the installation. The Administrator user is the first
user able to run workflows, but he can also give administrator access to others so they can run workflows by their
own.
</div>
<div class="ng6-content-header-right-white">
<legend>1) Define the administrator user</legend>
<div class="control-group">
<label class="control-label">Password</label>
<div class="controls">
<div class="input-append">
<input class="text" type="password" id="user_password_pwd_val" name="user_password_pwd_val" placeholder="Password"/>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label">Retype password</label>
<div class="controls">
<div class="input-append">
<input class="text" type="password" id="user_password_pwd2_val" name="user_password_pwd2_val" placeholder="Password"/>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label">Email</label>
<div class="controls">
<input type="text" id="email_val" class="typeahead" name="email_val" placeholder="Email"/>
</div>
</div>
<h2><small>Set first project information</small></h2>
<div class="control-group">
<label class="control-label">Project name</label>
<div class="controls">
<input type="text" id="project_name_val" class="typeahead" name="project_name_val" placeholder="Project name"/>
</div>
</div>
<div class="control-group">
<label class="control-label">Description</label>
<div class="controls">
<input type="text" id="description_val" class="typeahead" name="description_val" placeholder="Description"/>
</div>
<form class="form-horizontal" id="install_form">
<input type="hidden" id="server_name" value="{$server_name}" />
<input type="hidden" id="server_url" value="{$server_url}" />
<input type="hidden" id="pid" value="{$pid}" />
<div class="control-group">
<label class="control-label">Last name</label>
<div class="controls">
<input type="text" id="last_name_val" class="typeahead" name="last_name_val" placeholder="Last name"/>
</div>
</form>
<div style="float:right;margin-top:10px">
<button class="btn" id="raz_form_install"><i class="icon-repeat"></i> Clear form</button>
<button id="btn-install" class="btn btn-primary"> Install</button>
</div>
<div style="clear:both"></div>
</div>
<div class="control-group">
<label class="control-label">First name</label>
<div class="controls">
<input type="text" id="first_name_val" class="typeahead" name="first_name_val" placeholder="First name"/>
</div>
</div>
<div class="control-group">
<label class="control-label">Login</label>
<div class="controls">
<input type="text" id="username_val" class="typeahead" name="username_val" placeholder="Login"/>
</div>
</div>
<div class="control-group">
<label class="control-label">Password</label>
<div class="controls">
<div class="input-append">
<input class="text" type="password" id="user_password_pwd_val" name="user_password_pwd_val" placeholder="Password"/>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label">Retype password</label>
<div class="controls">
<div class="input-append">
<input class="text" type="password" id="user_password_pwd2_val" name="user_password_pwd2_val" placeholder="Password"/>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label">Email</label>
<div class="controls">
<input type="text" id="email_val" class="typeahead" name="email_val" placeholder="Email"/>
</div>
</div>
<legend>2) Define the first project</legend>
<div class="control-group">
<label class="control-label">Project name</label>
<div class="controls">
<input type="text" id="project_name_val" class="typeahead" name="project_name_val" placeholder="Project name"/>
</div>
</div>
<div class="control-group">
<label class="control-label">Description</label>
<div class="controls">
<input type="text" id="description_val" class="typeahead" name="description_val" placeholder="Description"/>
</div>
</div>
</form>
<div style="float:right;margin-top:10px">
<button class="btn" id="raz_form_install"><i class="icon-repeat"></i> Clear form</button>
<button id="btn-install" class="btn btn-primary"> Install NG6</button>
</div>
</div>
<div style="clear:both"></div>
</div>
\ No newline at end of file
......@@ -648,7 +648,6 @@ $(function () {
description_val: null
},
submitHandler: function(form) {
var val_url = "index.php?eID=tx_nG6&type=install";
val_url += "&username=" + $("#username_val").val();
val_url += "&first_name=" + $("#first_name_val").val();
......@@ -661,7 +660,6 @@ $(function () {
$.ajax({
url: val_url,
success: function(val, status, xhr) {
console.log (val);
location.assign(location.href);
},
error: function (xhr, ajaxOptions, thrownError) {
......@@ -669,19 +667,27 @@ $(function () {
$("#message").html(html).removeClass("hidden");
}
});
}
});
$("#btn-install").click( function() {
if ($("#username_val").val() == "admin_install") {
var html = '<div id="message" class="alert alert-error"><strong>Login error!</strong> This login is not allowed.<button class="close" data-dismiss="alert" type="button" >x</button></div>';
$("#message").html(html).removeClass("hidden");
}
else
{
} else {
$("#install_form").submit();
}
});
$("#raz_form_install").click( function() {
$("#username_val").val("");
$("#first_name_val").val("");
$("#last_name_val").val("");
$("#user_password_pwd_val").val("");
$("#user_password_pwd2_val").val("");
$("#email_val").val("");
$("#project_name_val").val("");
$("#description_val").val("");
});
});
function addWorkflowsStatusOnRun() {
......
......@@ -95,6 +95,7 @@ ul#menu li a { text-decoration: none; color: #fff; font-size: 1.5em; font-weight
border-top: none;
margin-bottom: 15px;
}
.sc-bottom {
box-shadow: 0 -5px 5px -7px grey;
border-bottom: none;
......@@ -122,6 +123,13 @@ ul#menu li a { text-decoration: none; color: #fff; font-size: 1.5em; font-weight
float: right;
background-color: #FaFaFa;
}
.ng6-content-header-right-white {
margin: 0;
padding: 10px;
width: 585px;
text-align: justify;
float: right;
}
/* Presentation Blocs */
#content .presentation { clear: both; line-height: 1.5; margin-bottom: 1.5em; }
......
......@@ -33,7 +33,8 @@ class Install (Workflow):
# Set typo3 and nG6 path variables
ng6conf = NG6ConfigReader()
[db_host, db_user, db_password, db_name] = ng6conf.get_typo3_db_params()
print "Download web site source code."
print "Downloading web site source code ..."
dummy_tmp_zipfile = tempfile.NamedTemporaryFile(prefix = 'dummy_', suffix = '.zip').name
dummy_tmp_dir = tempfile.mkdtemp(suffix='_typo3', prefix='dummy_')
......@@ -44,18 +45,23 @@ class Install (Workflow):
# Downloading typo3 package
urllib.urlretrieve(self.get_resource("typo3_src"), dummy_tmp_zipfile)
print "Install web site source code."
print "Installing web site ..."
# Testing and Unzipping typo3 package
with zipfile.ZipFile(dummy_tmp_zipfile, 'r') as zipf:
if zipf.testzip() is None:
zipf.extractall(dummy_tmp_dir)
# Copy typo3 folder to web folder
if os.path.exists(self.args["web_path"]) is False:
dirutil.copy_tree(os.path.join(dummy_tmp_dir, os.path.basename(self.get_resource("typo3_src"))[:-4]), self.args["web_path"], preserve_mode=1)
else:
sys.stderr.write("Error: The given www-path already exists ! (" + self.args["web_path"] + ")\n")
try:
# Copy typo3 folder to web folder
if os.path.exists(self.args["web_path"]) is False:
dirutil.copy_tree(os.path.join(dummy_tmp_dir, os.path.basename(self.get_resource("typo3_src"))[:-4]), self.args["web_path"], preserve_mode=1)
else:
sys.stderr.write("Error: The given www-path already exists ! (" + self.args["web_path"] + ")\n")
sys.exit()
except:
sys.stderr.write("Error: sudo privileges are required to install the software in '" + self.args["web_path"] + "'!\n")
sys.exit()
# Copy nG6 folders
dirutil.copy_tree(os.path.join(ng6_path, "ui", "nG6"), os.path.join(self.args["web_path"], "typo3conf", "ext", "nG6"))
......@@ -132,15 +138,11 @@ class Install (Workflow):
for i in curs.fetchall() : tables.append(i[0])
erase = "n"
if len(tables) > 0 and "tx_nG6_project" in tables :
erase = raw_input('Database allready contains a ng6 web site , do you want to DROP ng6 tables (y/n) ? ')
erase = raw_input('The database already contains a ng6 web site, do you want to DROP it (y/n) ? ')
elif len(tables) > 0 and ("tt_content" in tables and "pages" in tables and "be_users" in tables ):
erase = raw_input('Database contains typo3 tables, do you want DROP ng6 tables (y/n) ? ')
erase = raw_input('The database already contains a ng6 web site, do you want to DROP it (y/n) ? ')
if erase == "y" :
print "Drop tables."
curs.execute("Drop table "+ ",".join(ng6_tables) +";")
print "Create tables."
curs.execute("".join(database))
curs.close()
......@@ -153,6 +155,6 @@ class Install (Workflow):
for r,d,f in os.walk(os.path.join(self.args["web_path"], "typo3conf", "ext", "nG6", "res")):
os.chmod( r , 0o777)
print "Web site is available at http://"+ng6conf.get_server_parameters()[0]+"/ng6 "
print "Go http://"+ng6conf.get_server_parameters()[0]+"/ng6/index.php?id=3 to finalize the installation "
web_name = self.args["web_path"].split("/var/www/")
print "The Web site is available at http://"+ng6conf.get_server_parameters()[0]+"/"+web_name[1]
print "Go to http://"+ng6conf.get_server_parameters()[0]+"/"+web_name[1]+"/index.php?id=3 to configure the installation"
......@@ -1054,8 +1054,8 @@ INSERT INTO `fe_users` (`uid`, `pid`, `tstamp`, `username`, `password`, `usergro
INSERT INTO `pages` (`uid`, `pid`, `t3ver_oid`, `t3ver_id`, `t3ver_wsid`, `t3ver_label`, `t3ver_state`, `t3ver_stage`, `t3ver_count`, `t3ver_tstamp`, `t3ver_move_id`, `t3_origuid`, `tstamp`, `sorting`, `deleted`, `perms_userid`, `perms_groupid`, `perms_user`, `perms_group`, `perms_everybody`, `editlock`, `crdate`, `cruser_id`, `hidden`, `title`, `doktype`, `TSconfig`, `storage_pid`, `is_siteroot`, `php_tree_stop`, `tx_impexp_origuid`, `url`, `starttime`, `endtime`, `urltype`, `shortcut`, `shortcut_mode`, `no_cache`, `fe_group`, `subtitle`, `layout`, `url_scheme`, `target`, `media`, `lastUpdated`, `keywords`, `cache_timeout`, `newUntil`, `description`, `no_search`, `SYS_LASTCHANGED`, `abstract`, `module`, `extendToSubpages`, `author`, `author_email`, `nav_title`, `nav_hide`, `content_from_pid`, `mount_pid`, `mount_pid_ol`, `alias`, `l18n_cfg`, `fe_login_mode`, `backend_layout`, `backend_layout_next_level`) VALUES
(1, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 1381241294, 256, 0, 1, 0, 31, 27, 0, 0, 1381240389, 1, 0, 'Home', 1, NULL, 5, 0, 0, 0, '', 0, 0, 1, 0, 0, 0, '', '', 0, 0, '', NULL, 0, NULL, 0, 0, NULL, 0, 0, NULL, '', 0, '', '', '', 0, 0, 0, 0, '', 0, 0, 0, 0),
(2, 1, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 1381240475, 256, 0, 1, 0, 31, 27, 0, 0, 1381240426, 1, 0, 'Runs', 1, NULL, 0, 0, 0, 0, '', 0, 0, 1, 0, 0, 0, '0', '', 0, 0, '', NULL, 0, NULL, 0, 0, NULL, 0, 0, NULL, '', 0, '', '', '', 0, 0, 0, 0, '', 0, 0, 0, 0),
(3, 1, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 1381240477, 512, 0, 1, 0, 31, 27, 0, 0, 1381240435, 1, 0, 'Projects', 1, NULL, 0, 0, 0, 0, '', 0, 0, 1, 0, 0, 0, '0', '', 0, 0, '', NULL, 0, NULL, 0, 0, NULL, 0, 0, NULL, '', 0, '', '', '', 0, 0, 0, 0, '', 0, 0, 0, 0),
(2, 1, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 1381240477, 256, 0, 1, 0, 31, 27, 0, 0, 1381240426, 1, 0, 'Runs', 1, NULL, 0, 0, 0, 0, '', 0, 0, 1, 0, 0, 0, '0', '', 0, 0, '', NULL, 0, NULL, 0, 0, NULL, 0, 0, NULL, '', 0, '', '', '', 0, 0, 0, 0, '', 0, 0, 0, 0),
(3, 1, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 1381240475, 128, 0, 1, 0, 31, 27, 0, 0, 1381240435, 1, 0, 'Projects', 1, NULL, 0, 0, 0, 0, '', 0, 0, 1, 0, 0, 0, '0', '', 0, 0, '', NULL, 0, NULL, 0, 0, NULL, 0, 0, NULL, '', 0, '', '', '', 0, 0, 0, 0, '', 0, 0, 0, 0),
(4, 1, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 1381240479, 768, 0, 1, 0, 31, 27, 0, 0, 1381240445, 1, 0, 'Downloads', 1, NULL, 0, 0, 0, 0, '', 0, 0, 1, 0, 0, 0, '0', '', 0, 0, '', NULL, 0, NULL, 0, 0, NULL, 0, 0, NULL, '', 0, '', '', '', 0, 0, 0, 0, '', 0, 0, 0, 0),
(5, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 1381240471, 512, 0, 1, 0, 31, 27, 0, 0, 1381240455, 1, 0, 'StorageFolder', 254, NULL, 0, 0, 0, 0, '', 0, 0, 1, 0, 0, 0, '0', '', 0, 0, '', NULL, 0, NULL, 0, 0, NULL, 0, 0, NULL, '', 0, '', '', '', 0, 0, 0, 0, '', 0, 0, 0, 0),
(6, 1, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 1382434119, 1024, 0, 1, 0, 31, 27, 0, 0, 1382434107, 1, 0, 'Administration', 1, NULL, 0, 0, 0, 0, '', 0, 0, 1, 0, 0, 0, '0', '', 0, 0, '', NULL, 0, NULL, 0, 0, NULL, 0, 0, NULL, '', 0, '', '', '', 0, 0, 0, 0, '', 0, 0, 0, 0);
......@@ -1073,9 +1073,8 @@ INSERT INTO `sys_refindex` (`hash`, `tablename`, `recuid`, `field`, `flexpointer
('bb0426f5c6f9400d2e5b8de75142ebaf', 'sys_template', 1, 'config', '', 'TStemplate', 'fileadminReferences.14', -1, 0, '_FILE', 0, 'fileadmin/tmp'),
('f5aef573c5ff741002a58cea70b3b09e', 'sys_template', 1, 'config', '', 'email', '2', -1, 0, '_STRING', 0, 'support@ng6.toulouse.inra.fr');
INSERT INTO `sys_template` (`uid`, `pid`, `t3ver_oid`, `t3ver_id`, `t3ver_wsid`, `t3ver_label`, `t3ver_state`, `t3ver_stage`, `t3ver_count`, `t3ver_tstamp`, `t3_origuid`, `tstamp`, `sorting`, `crdate`, `cruser_id`, `title`, `sitetitle`, `hidden`, `starttime`, `endtime`, `root`, `clear`, `include_static_file`, `constants`, `config`, `resources`, `nextLevel`, `description`, `basedOn`, `deleted`, `includeStaticAfterBasedOn`, `static_file_mode`, `tx_impexp_origuid`) VALUES
(1, 1, 0, 0, 0, '', 0, 0, 0, 0, 0, 1381241401, 256, 1381240575, 1, 'NEW SITE', '', 0, 0, 0, 1, 3, 'EXT:css_styled_content/static/', NULL, 'page = PAGE\r\npage.typeNum = 0\r\n\r\npage.meta.DESCRIPTION = nG6\r\npage.meta.KEYWORDS = Sequencing\r\n\r\npage.includeCSS.file1 = fileadmin/templates/nG6template/css/style.css\r\n[browser = msie] && [version = <7]\r\npage.includeCSS.file2 = fileadmin/templates/nG6template/css/ie6.css\r\n[GLOBAL]\r\n\r\ntemp.MenuRechts = HMENU\r\ntemp.MenuRechts.maxItems = 5\r\ntemp.MenuRechts {\r\n 1 = TMENU\r\n 1 {\r\n expAll = 1\r\n wrap = <ul><li class="homeitem"><a href="/ng6"><img alt="homeitem" src="fileadmin/templates/nG6template/images/picto-home.png"/></a></li>|</ul>\r\n noBlur = 1\r\n NO {\r\n wrapItemAndSub = <li>|</li>\r\n ATagParams = accesskey="1"||accesskey="2"||accesskey="3"||accesskey="4"||accesskey="5"||accesskey="6"||\r\n ATagTitle.field = description // title \r\n }\r\n ACT=1\r\n ACT {\r\n wrapItemAndSub = <li class="act">|</li>\r\n ATagParams = accesskey="1"||accesskey="2"||accesskey="3"||accesskey="4"||accesskey="5"||accesskey="6"||\r\n ATagTitle.field = description // title\r\n }\r\n }\r\n}\r\n\r\ntemp.MenuUnten=HMENU\r\ntemp.MenuUnten.special=directory\r\ntemp.MenuUnten.special.value=17\r\ntemp.MenuUnten.1=TMENU\r\ntemp.MenuUnten {\r\n 1 = TMENU\r\n 1 {\r\n expAll = 1\r\n wrap = <ul>|</ul>\r\n noBlur = 1\r\n NO {\r\n wrapItemAndSub = <li>|</li>|*|<li>&#124;|</li>|*||*|\r\n ATagTitle.field = description // title\r\n }\r\n ACT=1\r\n ACT {\r\n wrapItemAndSub = <li>|</li>|*|<li>&#124;|</li>|*||*|\r\n ATagTitle.field = description // title\r\n }\r\n }\r\n}\r\n\r\npage.bodyTag = <body>\r\npage.1 = TEMPLATE\r\npage.1 {\r\n template = FILE\r\n template.file = fileadmin/templates/nG6template/index.html\r\n workOnSubpart = DOCUMENT\r\n subparts.BROWSER < plugin.tx_nG6_pi4\r\n subparts.CONTENT < styles.content.get\r\n subparts.SEARCHBOX < plugin.tx_nG6_pi2\r\n subparts.MENU < temp.MenuRechts\r\n subparts.FOOTER_LINKS < temp.MenuUnten\r\n}\r\npage.config.doctype (\r\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r\n)\r\npage.config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"\r\n\r\n\r\n# nG6 config\r\nplugin.tx_nG6_pi1=USER_INT\r\nplugin.tx_nG6_pi1.userpidList=5\r\nplugin.tx_nG6_pi1.server_url=http://127.0.0.1:8080/\r\nplugin.tx_nG6_pi1.FromEmail=support@ng6.toulouse.inra.fr\r\nplugin.tx_nG6_pi2.result_page_id=7\r\nplugin.tx_nG6_pi2.redirection_page=3\r\nplugin.tx_nG6_pi2=USER_INT\r\nplugin.tx_nG6_pi3=USER_INT\r\nplugin.tx_nG6_pi1.data=/var/www/ng6/fileadmin\r\nplugin.tx_nG6_pi3.result_page_id=7\r\nplugin.tx_nG6_pi3.redirection_page=3\r\nplugin.tx_nG6_pi5.temp=/var/www/ng6/fileadmin/tmp\r\nplugin.tx_nG6_pi5.data=/var/www/ng6/fileadmin/data\r\nplugin.tx_nG6_pi5.server_name=127.0.0.1\r\nplugin.tx_nG6_pi5.directory_prefix=/nosave/cnoirot/scratch/work\r\nplugin.tx_nG6_pi6.data=/var/www/ng6/fileadmin\r\nplugin.tx_nG6_pi6.server_url=http://127.0.0.1:8080/\r\n', NULL, '', NULL, '', 0, 0, 0, 0),
(1, 1, 0, 0, 0, '', 0, 0, 0, 0, 0, 1381241401, 256, 1381240575, 1, 'NEW SITE', '', 0, 0, 0, 1, 3, 'EXT:css_styled_content/static/', NULL, 'page = PAGE\r\npage.typeNum = 0\r\n\r\npage.meta.DESCRIPTION = nG6\r\npage.meta.KEYWORDS = Sequencing\r\n\r\npage.includeCSS.file1 = fileadmin/templates/nG6template/css/style.css\r\n[browser = msie] && [version = <7]\r\npage.includeCSS.file2 = fileadmin/templates/nG6template/css/ie6.css\r\n[GLOBAL]\r\n\r\ntemp.MenuRechts = HMENU\r\ntemp.MenuRechts.maxItems = 5\r\ntemp.MenuRechts {\r\n 1 = TMENU\r\n 1 {\r\n expAll = 1\r\n wrap = <ul><li class="homeitem"><a href="/test"><img alt="homeitem" src="fileadmin/templates/nG6template/images/picto-home.png"/></a></li>|</ul>\r\n noBlur = 1\r\n NO {\r\n wrapItemAndSub = <li>|</li>\r\n ATagParams = accesskey="1"||accesskey="2"||accesskey="3"||accesskey="4"||accesskey="5"||accesskey="6"||\r\n ATagTitle.field = description // title \r\n }\r\n ACT=1\r\n ACT {\r\n wrapItemAndSub = <li class="act">|</li>\r\n ATagParams = accesskey="1"||accesskey="2"||accesskey="3"||accesskey="4"||accesskey="5"||accesskey="6"||\r\n ATagTitle.field = description // title\r\n }\r\n }\r\n}\r\n\r\ntemp.MenuUnten=HMENU\r\ntemp.MenuUnten.special=directory\r\ntemp.MenuUnten.special.value=17\r\ntemp.MenuUnten.1=TMENU\r\ntemp.MenuUnten {\r\n 1 = TMENU\r\n 1 {\r\n expAll = 1\r\n wrap = <ul>|</ul>\r\n noBlur = 1\r\n NO {\r\n wrapItemAndSub = <li>|</li>|*|<li>&#124;|</li>|*||*|\r\n ATagTitle.field = description // title\r\n }\r\n ACT=1\r\n ACT {\r\n wrapItemAndSub = <li>|</li>|*|<li>&#124;|</li>|*||*|\r\n ATagTitle.field = description // title\r\n }\r\n }\r\n}\r\n\r\npage.bodyTag = <body>\r\npage.1 = TEMPLATE\r\npage.1 {\r\n template = FILE\r\n template.file = fileadmin/templates/nG6template/index.html\r\n workOnSubpart = DOCUMENT\r\n subparts.BROWSER < plugin.tx_nG6_pi4\r\n subparts.CONTENT < styles.content.get\r\n subparts.SEARCHBOX < plugin.tx_nG6_pi2\r\n subparts.MENU < temp.MenuRechts\r\n subparts.FOOTER_LINKS < temp.MenuUnten\r\n}\r\npage.config.doctype (\r\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r\n)\r\npage.config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"\r\n\r\n\r\n# nG6 config\r\nplugin.tx_nG6_pi1=USER_INT\r\nplugin.tx_nG6_pi1.userpidList=5\r\nplugin.tx_nG6_pi1.server_url=http://127.0.0.1:8080/\r\nplugin.tx_nG6_pi1.FromEmail=support@ng6.toulouse.inra.fr\r\nplugin.tx_nG6_pi2.result_page_id=7\r\nplugin.tx_nG6_pi2.redirection_page=3\r\nplugin.tx_nG6_pi2=USER_INT\r\nplugin.tx_nG6_pi3=USER_INT\r\nplugin.tx_nG6_pi1.data=/var/www/test/fileadmin\r\nplugin.tx_nG6_pi3.result_page_id=7\r\nplugin.tx_nG6_pi3.redirection_page=3\r\nplugin.tx_nG6_pi5.temp=/var/www/test/fileadmin/tmp\r\nplugin.tx_nG6_pi5.data=/var/www/test/fileadmin/data\r\nplugin.tx_nG6_pi5.server_name=127.0.0.1\r\nplugin.tx_nG6_pi5.directory_prefix=/home/jmariette/scratch/work\r\nplugin.tx_nG6_pi6.data=/var/www/test/fileadmin\r\nplugin.tx_nG6_pi6.server_url=http://127.0.0.1:8080/\r\n', NULL, '', NULL, '', 0, 0, 0, 0),
(2, 2, 0, 0, 0, '', 0, 0, 0, 0, 0, 1381241411, 256, 1381240779, 1, '+ext', '', 0, 0, 0, 0, 0, 'EXT:css_styled_content/static/', NULL, 'plugin.tx_nG6_pi1.view = run', NULL, '', NULL, '', 0, 0, 0, 0),
(3, 3, 0, 0, 0, '', 0, 0, 0, 0, 0, 1381241424, 256, 1381240857, 1, '+ext', '', 0, 0, 0, 0, 0, 'EXT:css_styled_content/static/', NULL, NULL, NULL, '', NULL, '', 0, 0, 0, 0),
(4, 4, 0, 0, 0, '', 0, 0, 0, 0, 0, 1381241436, 256, 1381240888, 1, '+ext', '', 0, 0, 0, 0, 0, 'EXT:css_styled_content/static/', NULL, NULL, NULL, '', NULL, '', 0, 0, 0, 0),
......
......@@ -31,6 +31,7 @@ description = install ng6 web site
# .action [store]: the basic type of action to be taken (store|append)
#
[parameters]
web_path.name = Web path
web_path.flag = --www-path
web_path.default = /var/www/ng6
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment