Commit 966cdeaa authored by Jerome Mariette's avatar Jerome Mariette

first version download

parent 37533bf8
This diff is collapsed.
......@@ -38,7 +38,7 @@ $EM_CONF[$_EXTKEY] = array(
'suggests' => array(
),
),
'_md5_values_when_last_written' => 'a:24:{s:9:"ChangeLog";s:4:"f9b7";s:10:"README.txt";s:4:"9fa9";s:12:"ext_icon.gif";s:4:"1bdc";s:17:"ext_localconf.php";s:4:"7efc";s:14:"ext_tables.php";s:4:"e84d";s:14:"ext_tables.sql";s:4:"1b60";s:23:"icon_tx_nG6_analyze.gif";s:4:"475a";s:23:"icon_tx_nG6_project.gif";s:4:"475a";s:31:"icon_tx_nG6_project_analyze.gif";s:4:"475a";s:27:"icon_tx_nG6_project_run.gif";s:4:"475a";s:19:"icon_tx_nG6_run.gif";s:4:"475a";s:27:"icon_tx_nG6_run_analyze.gif";s:4:"475a";s:13:"locallang.xml";s:4:"a0c8";s:16:"locallang_db.xml";s:4:"2862";s:7:"tca.php";s:4:"4639";s:19:"doc/wizard_form.dat";s:4:"110b";s:20:"doc/wizard_form.html";s:4:"44cc";s:14:"pi1/ce_wiz.gif";s:4:"02b6";s:24:"pi1/class.tx_nG6_pi1.php";s:4:"e726";s:32:"pi1/class.tx_nG6_pi1_wizicon.php";s:4:"b2ac";s:13:"pi1/clear.gif";s:4:"cc11";s:17:"pi1/locallang.xml";s:4:"3bb2";s:24:"pi1/static/editorcfg.txt";s:4:"4730";s:20:"pi1/static/setup.txt";s:4:"7bca";s:14:"pi2/ce_wiz.gif";s:4:"02b6";s:24:"pi2/class.tx_nG6_pi2.php";s:4:"7164";s:32:"pi2/class.tx_nG6_pi2_wizicon.php";s:4:"ff00";s:13:"pi2/clear.gif";s:4:"cc11";s:17:"pi2/locallang.xml";s:4:"9216";s:24:"pi2/static/editorcfg.txt";s:4:"e404";s:14:"pi3/ce_wiz.gif";s:4:"02b6";s:24:"pi3/class.tx_nG6_pi3.php";s:4:"7164";s:32:"pi3/class.tx_nG6_pi3_wizicon.php";s:4:"ff00";s:13:"pi3/clear.gif";s:4:"cc11";s:17:"pi3/locallang.xml";s:4:"9216";s:24:"pi3/static/editorcfg.txt";s:4:"e404";s:14:"pi4/ce_wiz.gif";s:4:"02b6";s:24:"pi4/class.tx_nG6_pi4.php";s:4:"7164";s:32:"pi4/class.tx_nG6_pi4_wizicon.php";s:4:"ff00";s:13:"pi4/clear.gif";s:4:"cc11";s:17:"pi4/locallang.xml";s:4:"9216";s:24:"pi4/static/editorcfg.txt";s:4:"e404";}',
'_md5_values_when_last_written' => 'a:24:{s:9:"ChangeLog";s:4:"f9b7";s:10:"README.txt";s:4:"9fa9";s:12:"ext_icon.gif";s:4:"1bdc";s:31:"class.tx_nG6_eid.php";s:4:"bb99";s:17:"ext_localconf.php";s:4:"7efc";s:14:"ext_tables.php";s:4:"e84d";s:14:"ext_tables.sql";s:4:"1b60";s:23:"icon_tx_nG6_analyze.gif";s:4:"475a";s:23:"icon_tx_nG6_project.gif";s:4:"475a";s:31:"icon_tx_nG6_project_analyze.gif";s:4:"475a";s:27:"icon_tx_nG6_project_run.gif";s:4:"475a";s:19:"icon_tx_nG6_run.gif";s:4:"475a";s:27:"icon_tx_nG6_run_analyze.gif";s:4:"475a";s:13:"locallang.xml";s:4:"a0c8";s:16:"locallang_db.xml";s:4:"2862";s:7:"tca.php";s:4:"4639";s:19:"doc/wizard_form.dat";s:4:"110b";s:20:"doc/wizard_form.html";s:4:"44cc";s:14:"pi1/ce_wiz.gif";s:4:"02b6";s:24:"pi1/class.tx_nG6_pi1.php";s:4:"e726";s:32:"pi1/class.tx_nG6_pi1_wizicon.php";s:4:"b2ac";s:13:"pi1/clear.gif";s:4:"cc11";s:17:"pi1/locallang.xml";s:4:"3bb2";s:24:"pi1/static/editorcfg.txt";s:4:"4730";s:20:"pi1/static/setup.txt";s:4:"7bca";s:14:"pi2/ce_wiz.gif";s:4:"02b6";s:24:"pi2/class.tx_nG6_pi2.php";s:4:"7164";s:32:"pi2/class.tx_nG6_pi2_wizicon.php";s:4:"ff00";s:13:"pi2/clear.gif";s:4:"cc11";s:17:"pi2/locallang.xml";s:4:"9216";s:24:"pi2/static/editorcfg.txt";s:4:"e404";s:14:"pi3/ce_wiz.gif";s:4:"02b6";s:24:"pi3/class.tx_nG6_pi3.php";s:4:"7164";s:32:"pi3/class.tx_nG6_pi3_wizicon.php";s:4:"ff00";s:13:"pi3/clear.gif";s:4:"cc11";s:17:"pi3/locallang.xml";s:4:"9216";s:24:"pi3/static/editorcfg.txt";s:4:"e404";s:14:"pi4/ce_wiz.gif";s:4:"02b6";s:24:"pi4/class.tx_nG6_pi4.php";s:4:"7164";s:32:"pi4/class.tx_nG6_pi4_wizicon.php";s:4:"ff00";s:13:"pi4/clear.gif";s:4:"cc11";s:17:"pi4/locallang.xml";s:4:"9216";s:24:"pi4/static/editorcfg.txt";s:4:"e404";s:14:"pi5/ce_wiz.gif";s:4:"02b6";s:24:"pi5/class.tx_nG6_pi5.php";s:4:"7164";s:32:"pi5/class.tx_nG6_pi5_wizicon.php";s:4:"ff00";s:13:"pi5/clear.gif";s:4:"cc11";s:17:"pi5/locallang.xml";s:4:"9216";s:24:"pi5/static/editorcfg.txt";s:4:"e404";}',
);
?>
\ No newline at end of file
......@@ -33,4 +33,15 @@ t3lib_extMgm::addTypoScript($_EXTKEY,'editorcfg','
t3lib_extMgm::addPItoST43($_EXTKEY,'pi4/class.tx_nG6_pi4.php','_pi4','list_type',1);
## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY,'editorcfg','
tt_content.CSS_editor.ch.tx_nG6_pi5 = < plugin.tx_nG6_pi5.CSS_editor
',43);
t3lib_extMgm::addPItoST43($_EXTKEY,'pi5/class.tx_nG6_pi5.php','_pi5','list_type',1);
## Added to do some ajax
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['tx_nG6'] = 'EXT:nG6/class.tx_nG6_eid.php';
?>
\ No newline at end of file
......@@ -159,4 +159,9 @@ t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi4']='layout,select_key';
t3lib_extMgm::addPlugin(Array('LLL:EXT:nG6/locallang_db.xml:tt_content.list_type_pi4', $_EXTKEY.'_pi4'),'list_type');
if (TYPO3_MODE=="BE") $TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_nG6_pi4_wizicon"] = t3lib_extMgm::extPath($_EXTKEY).'pi4/class.tx_nG6_pi4_wizicon.php';
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi5']='layout,select_key';
t3lib_extMgm::addPlugin(Array('LLL:EXT:nG6/locallang_db.xml:tt_content.list_type_pi5', $_EXTKEY.'_pi5'),'list_type');
if (TYPO3_MODE=="BE") $TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_nG6_pi5_wizicon"] = t3lib_extMgm::extPath($_EXTKEY).'pi5/class.tx_nG6_pi5_wizicon.php';
?>
\ No newline at end of file
......@@ -4,11 +4,15 @@ plugin.tx_nG6_pi1 {
recursive =
view =
results_at_a_time = 20
data = /tools/typoweb/ng6/fileadmin
data = /var/www/typoweb/ng6/fileadmin
}
plugin.tx_nG6_pi2 {
result_page_id = 6
}
plugin.tx_nG6_pi3 {
redirection_page = 2
}
plugin.tx_nG6_pi5 {
temp_directory = /var/www/typoweb/ng6/fileadmin/temp
data = /var/www/typoweb/ng6/fileadmin
}
\ No newline at end of file
......@@ -14,6 +14,8 @@
<label index="pi3_plus_wiz_description">Adds nG6 search results to the page</label>
<label index="pi4_title">nG6 browser</label>
<label index="pi4_plus_wiz_description">Adds nG6 browser to the page</label>
<label index="pi5_title">nG6 downloader</label>
<label index="pi5_plus_wiz_description">Adds nG6 downloader to the page</label>
</languageKey>
<languageKey index="fr" type="array">
<label index="pi1_title">nG6</label>
......@@ -24,6 +26,8 @@
<label index="pi3_plus_wiz_description">Ajoute un resultat de recherche nG6 a la page</label>
<label index="pi4_title">navigateur nG6</label>
<label index="pi4_plus_wiz_description">Ajoute un navigateur nG6 a la page</label>
<label index="pi5_title">Centre de telechargement nG6</label>
<label index="pi5_plus_wiz_description">Ajoute un Centre de telechargement nG6 a la page</label>
</languageKey>
</data>
</T3locallang>
\ No newline at end of file
This diff is collapsed.
<?php
/***************************************************************
* Copyright notice
*
* (c) 2009 PF bioinformatique de Toulouse <>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/**
* Class that adds the wizard icon.
*
* @author PF bioinformatique de Toulouse <>
*/
class tx_nG6_pi5_wizicon {
/**
* Processing the wizard items array
*
* @param array $wizardItems: The wizard items
* @return Modified array with wizard items
*/
function proc($wizardItems) {
global $LANG;
$LL = $this->includeLocalLang();
$wizardItems['plugins_tx_nG6_pi5'] = array(
'icon'=>t3lib_extMgm::extRelPath('nG6').'pi5/ce_wiz.gif',
'title'=>$LANG->getLLL('pi5_title',$LL),
'description'=>$LANG->getLLL('pi5_plus_wiz_description',$LL),
'params'=>'&defVals[tt_content][CType]=list&defVals[tt_content][list_type]=nG6_pi5'
);
return $wizardItems;
}
/**
* Reads the [extDir]/locallang.xml and returns the \$LOCAL_LANG array found in that file.
*
* @return The array with language labels
*/
function includeLocalLang() {
global $LANG;
$LOCAL_LANG = $LANG->includeLLFile('EXT:nG6/locallang.xml',FALSE);
return $LOCAL_LANG;
}
}
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/nG6/pi5/class.tx_nG6_pi5_wizicon.php']) {
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/nG6/pi5/class.tx_nG6_pi5_wizicon.php']);
}
?>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3locallang>
<meta type="array">
<type>module</type>
<description>Language labels for plugin &quot;tx_ng6_pi5&quot;</description>
</meta>
<data type="array">
<languageKey index="default" type="array">
<label index="listFieldHeader_download_btn">Download</label>
<label index="listFieldHeader_project_description">Project ###SPAN_NAME###</label>
<label index="listFieldHeader_run_description">Run ###SPAN_NAME### - (###SPAN_DATE###) produced ###SPAN_NB_SEQ### reads</label>
<label index="listFieldHeader_analyse_description">Analyse ###SPAN_NAME###</label>
</languageKey>
<languageKey index="fr" type="array">
<label index="listFieldHeader_download_btn">Télécharger</label>
<label index="listFieldHeader_project_description">Projet ###SPAN_NAME###</label>
<label index="listFieldHeader_analyse_description">Run ###SPAN_NAME### - r&amp;eacute;alis&amp;eacute; le ###SPAN_DATE###, ###SPAN_NB_SEQ### lectures</label>
<label index="listFieldHeader_analyse_description">Analyse ###SPAN_NAME###</label>
</languageKey>
</data>
</T3locallang>
\ No newline at end of file
/**
* Cookie plugin
*
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/
/**
* Create a cookie with the given name and value and other optional parameters.
*
* @example $.cookie('the_cookie', 'the_value');
* @desc Set the value of a cookie.
* @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
* @desc Create a cookie with all available options.
* @example $.cookie('the_cookie', 'the_value');
* @desc Create a session cookie.
* @example $.cookie('the_cookie', null);
* @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain
* used when the cookie was set.
*
* @param String name The name of the cookie.
* @param String value The value of the cookie.
* @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
* @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
* If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
* If set to null or omitted, the cookie will be a session cookie and will not be retained
* when the the browser exits.
* @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
* @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
* @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
* require a secure protocol (like HTTPS).
* @type undefined
*
* @name $.cookie
* @cat Plugins/Cookie
* @author Klaus Hartl/klaus.hartl@stilbuero.de
*/
/**
* Get the value of a cookie with the given name.
*
* @example $.cookie('the_cookie');
* @desc Get the value of a cookie.
*
* @param String name The name of the cookie.
* @return The value of the cookie.
* @type String
*
* @name $.cookie
* @cat Plugins/Cookie
* @author Klaus Hartl/klaus.hartl@stilbuero.de
*/
jQuery.cookie = function(name, value, options) {
if (typeof value != 'undefined') { // name and value given, set cookie
options = options || {};
if (value === null) {
value = '';
options.expires = -1;
}
var expires = '';
if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
var date;
if (typeof options.expires == 'number') {
date = new Date();
date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
} else {
date = options.expires;
}
expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
}
// CAUTION: Needed to parenthesize options.path and options.domain
// in the following expressions, otherwise they evaluate to undefined
// in the packed version for some reason...
var path = options.path ? '; path=' + (options.path) : '';
var domain = options.domain ? '; domain=' + (options.domain) : '';
var secure = options.secure ? '; secure' : '';
document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
} else { // only name given, get cookie
var cookieValue = null;
if (document.cookie && document.cookie != '') {
var cookies = document.cookie.split(';');
for (var i = 0; i < cookies.length; i++) {
var cookie = jQuery.trim(cookies[i]);
// Does this cookie string begin with the name we want?
if (cookie.substring(0, name.length + 1) == (name + '=')) {
cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
break;
}
}
}
return cookieValue;
}
};
\ No newline at end of file
/*
* jQuery Hotkeys Plugin
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Based upon the plugin by Tzury Bar Yochay:
* http://github.com/tzuryby/hotkeys
*
* Original idea by:
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
*/
(function(jQuery){
jQuery.hotkeys = {
version: "0.8",
specialKeys: {
8: "backspace", 9: "tab", 13: "return", 16: "shift", 17: "ctrl", 18: "alt", 19: "pause",
20: "capslock", 27: "esc", 32: "space", 33: "pageup", 34: "pagedown", 35: "end", 36: "home",
37: "left", 38: "up", 39: "right", 40: "down", 45: "insert", 46: "del",
96: "0", 97: "1", 98: "2", 99: "3", 100: "4", 101: "5", 102: "6", 103: "7",
104: "8", 105: "9", 106: "*", 107: "+", 109: "-", 110: ".", 111 : "/",
112: "f1", 113: "f2", 114: "f3", 115: "f4", 116: "f5", 117: "f6", 118: "f7", 119: "f8",
120: "f9", 121: "f10", 122: "f11", 123: "f12", 144: "numlock", 145: "scroll", 191: "/", 224: "meta"
},
shiftNums: {
"`": "~", "1": "!", "2": "@", "3": "#", "4": "$", "5": "%", "6": "^", "7": "&",
"8": "*", "9": "(", "0": ")", "-": "_", "=": "+", ";": ": ", "'": "\"", ",": "<",
".": ">", "/": "?", "\\": "|"
}
};
function keyHandler( handleObj ) {
// Only care when a possible input has been specified
if ( typeof handleObj.data !== "string" ) {
return;
}
var origHandler = handleObj.handler,
keys = handleObj.data.toLowerCase().split(" ");
handleObj.handler = function( event ) {
// Don't fire in text-accepting inputs that we didn't directly bind to
if ( this !== event.target && (/textarea|select/i.test( event.target.nodeName ) ||
event.target.type === "text") ) {
return;
}
// Keypress represents characters, not special keys
var special = event.type !== "keypress" && jQuery.hotkeys.specialKeys[ event.which ],
character = String.fromCharCode( event.which ).toLowerCase(),
key, modif = "", possible = {};
// check combinations (alt|ctrl|shift+anything)
if ( event.altKey && special !== "alt" ) {
modif += "alt+";
}
if ( event.ctrlKey && special !== "ctrl" ) {
modif += "ctrl+";
}
// TODO: Need to make sure this works consistently across platforms
if ( event.metaKey && !event.ctrlKey && special !== "meta" ) {
modif += "meta+";
}
if ( event.shiftKey && special !== "shift" ) {
modif += "shift+";
}
if ( special ) {
possible[ modif + special ] = true;
} else {
possible[ modif + character ] = true;
possible[ modif + jQuery.hotkeys.shiftNums[ character ] ] = true;
// "$" can be triggered as "Shift+4" or "Shift+$" or just "$"
if ( modif === "shift+" ) {
possible[ jQuery.hotkeys.shiftNums[ character ] ] = true;
}
}
for ( var i = 0, l = keys.length; i < l; i++ ) {
if ( possible[ keys[i] ] ) {
return origHandler.apply( this, arguments );
}
}
};
}
jQuery.each([ "keydown", "keyup", "keypress" ], function() {
jQuery.event.special[ this ] = { add: keyHandler };
});
})( jQuery );
\ No newline at end of file
This diff is collapsed.
/*
* jsTree default theme 1.0
* Supported features: dots/no-dots, icons/no-icons, focused, loading
* Supported plugins: ui (hovered, clicked), checkbox, contextmenu, search
*/
.jstree-default li,
.jstree-default ins { background-image:url("d.png"); background-repeat:no-repeat; background-color:transparent; }
.jstree-default li { background-position:-90px 0; background-repeat:repeat-y; }
.jstree-default li.jstree-last { background:transparent; }
.jstree-default .jstree-open > ins { background-position:-72px 0; }
.jstree-default .jstree-closed > ins { background-position:-54px 0; }
.jstree-default .jstree-leaf > ins { background-position:-36px 0; }
.jstree-default .jstree-hovered { background:#e7f4f9; border:1px solid #d8f0fa; padding:0 2px 0 1px; }
.jstree-default .jstree-clicked { background:#beebff; border:1px solid #99defd; padding:0 2px 0 1px; }
.jstree-default a .jstree-icon { background-position:-56px -19px; }
.jstree-default a.jstree-loading .jstree-icon { background:url("throbber.gif") center center no-repeat !important; }
.jstree-default.jstree-focused { background:#ffffee; }
.jstree-default .jstree-no-dots li,
.jstree-default .jstree-no-dots .jstree-leaf > ins { background:transparent; }
.jstree-default .jstree-no-dots .jstree-open > ins { background-position:-18px 0; }
.jstree-default .jstree-no-dots .jstree-closed > ins { background-position:0 0; }
.jstree-default .jstree-no-icons a .jstree-icon { display:none; }
.jstree-default .jstree-search { font-style:italic; }
.jstree-default .jstree-no-icons .checkbox { display:inline-block; }
.jstree-default .jstree-no-checkboxes .checkbox { display:none !important; }
.jstree-default .jstree-checked > a > .checkbox { background-position:-38px -19px; }
.jstree-default .jstree-unchecked > a > .checkbox { background-position:-2px -19px; }
.jstree-default .jstree-undetermined > a > .checkbox { background-position:-20px -19px; }
.jstree-default .jstree-checked > a > .checkbox:hover { background-position:-38px -37px; }
.jstree-default .jstree-unchecked > a > .checkbox:hover { background-position:-2px -37px; }
.jstree-default .jstree-undetermined > a > .checkbox:hover { background-position:-20px -37px; }
#vakata-dragged.jstree-default ins { background:transparent !important; }
#vakata-dragged.jstree-default .jstree-ok { background:url("d.png") -2px -53px no-repeat !important; }
#vakata-dragged.jstree-default .jstree-invalid { background:url("d.png") -18px -53px no-repeat !important; }
#jstree-marker.jstree-default { background:url("d.png") -41px -57px no-repeat !important; }
.jstree-default a.jstree-search { color:aqua; }
#vakata-contextmenu.jstree-default-context,
#vakata-contextmenu.jstree-default-context li ul { background:#f0f0f0; border:1px solid #979797; -moz-box-shadow: 1px 1px 2px #999; -webkit-box-shadow: 1px 1px 2px #999; box-shadow: 1px 1px 2px #999; }
#vakata-contextmenu.jstree-default-context li { }
#vakata-contextmenu.jstree-default-context a { color:black; }
#vakata-contextmenu.jstree-default-context a:hover,
#vakata-contextmenu.jstree-default-context .vakata-hover > a { padding:0 5px; background:#e8eff7; border:1px solid #aecff7; color:black; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
#vakata-contextmenu.jstree-default-context li.vakata-separator { background:white; border-top:1px solid #e0e0e0; margin:0; }
#vakata-contextmenu.jstree-default-context li ul { margin-left:-4px; }
/* TODO: IE6 support - the `>` selectors */
\ No newline at end of file
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