New 'libraries' folder in root instalation directory

This commit is contained in:
Manuel Cillero 2017-08-08 18:24:12 +02:00
parent 05b6a91b0c
commit 006992b900
2267 changed files with 50 additions and 65 deletions

View file

@ -7,7 +7,7 @@ Version 6.x-2.2:
Version 6.x-2.1:
- Bug #1508998 by m.koo, juliangb | copeasetic: Fixed Views - Broken/Missing handler on Status field.
- Bug #1596208 by Raphael Dürst: Fixed Bug with datebegin/dateend and _stormproject_beforesave().
- Bug #1596208 by Raphael D<EFBFBD>rst: Fixed Bug with datebegin/dateend and _stormproject_beforesave().
- Bug #1621074 by Raphael Dürst: Fixed Calculation of hourly and daily rates.
- Bug #1505446 by juliangb | modctek: Fixed Fullname still being called on Invoice template.
- Bug #1448764 by kfritsche: Fixed Ticketlist doesn't show edit link.
@ -248,7 +248,7 @@ Version 6.x-1.23:
- Feature #325363: Ticket - more fields visible on node view
- Bug #469002: Teammember - assigned person not remembered after save
- Bug #450778: Invoice - allow editting of invoice amount fields
- Task #456164: Added variable for location of tcpdf library plus check of existance. Defaults now to sites/all/libraries.
- Task #456164: Added variable for location of tcpdf library plus check of existance. Defaults now to libraries.
- Bug #460472: Knowledgebase topics not displayed, plus similar bug for organization countries
- Bug #433300: Can't cancel attribute creation - removed code
- Feature #348777: Organization Phone Number

View file

@ -883,8 +883,8 @@ function storminvoice_admin_settings() {
$form['storminvoice_tcpdf_location'] = array(
'#type' => 'textfield',
'#title' => t('Location of tcpdf library'),
'#default_value' => variable_get('storminvoice_tcpdf_location', t('sites/all/libraries/tcpdf')),
'#description' => t('The directory that contains the <a href="http://sourceforge.net/projects/tcpdf/files/">TCPDF library</a> (sites/all/libraries/tcpdf is recommended).'),
'#default_value' => variable_get('storminvoice_tcpdf_location', t('libraries/tcpdf')),
'#description' => t('The directory that contains the <a href="http://sourceforge.net/projects/tcpdf/files/">TCPDF library</a> (libraries/tcpdf is recommended).'),
'#size' => 50,
);

View file

@ -199,7 +199,7 @@ function theme_storminvoice_view($node, $teaser = FALSE, $page = FALSE) {
);
// Display link to tcpdf library only if library is installed.
$tcpdf_dir = variable_get('storminvoice_tcpdf_location', 'sites/all/libraries/tcpdf');
$tcpdf_dir = variable_get('storminvoice_tcpdf_location', 'libraries/tcpdf');
if (file_exists($tcpdf_dir .'/tcpdf.php')) {
$node->content['links']['print']['pdf'] = array(
'#prefix' => '<dt class="stormcomponent print_pdf">',
@ -480,7 +480,7 @@ function theme_storminvoice_report($node, $report, $language) {
}
function theme_storminvoice_report_pdf($node, $language, $output = 'screen') {
$tcpdf_dir = variable_get('storminvoice_tcpdf_location', 'sites/all/libraries/tcpdf');
$tcpdf_dir = variable_get('storminvoice_tcpdf_location', 'libraries/tcpdf');
// Performs simple check for existance of tcpdf library . If it doesn't exist, revert to node display with message about tcpdf library.
if (!file_exists($tcpdf_dir .'/tcpdf.php')) {