Skip to content

Commit

Permalink
Modules updates
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonLV committed Nov 21, 2023
1 parent 387222d commit 2939804
Show file tree
Hide file tree
Showing 19 changed files with 1,161 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?php
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*/

$aConfig = array(
/**
* Main Section.
*/
'title' => 'Artificer',
'version_from' => '13.0.14',
'version_to' => '13.0.15',
'vendor' => 'BoonEx',

'compatible_with' => array(
'13.1.0'
),

/**
* 'home_dir' and 'home_uri' - should be unique. Don't use spaces in 'home_uri' and the other special chars.
*/
'home_dir' => 'boonex/artificer/updates/update_13.0.14_13.0.15/',
'home_uri' => 'artificer_update_13014_13015',

'module_dir' => 'boonex/artificer/',
'module_uri' => 'artificer',

'db_prefix' => 'bx_artificer_',
'class_prefix' => 'BxArtificer',

/**
* Installation/Uninstallation Section.
*/
'install' => array(
'execute_sql' => 0,
'update_files' => 1,
'update_languages' => 0,
'clear_db_cache' => 0,
),

/**
* Category for language keys.
*/
'language_category' => 'Boonex Artificer Template',

/**
* Files Section
*/
'delete_files' => array(),
);
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*/

class BxArtificerUpdater extends BxDolStudioUpdater
{
function __construct($aConfig)
{
parent::__construct($aConfig);
}

public function update($aParams)
{
$aResult = parent::update($aParams);
if(!$aResult['result'])
return $aResult;

$oCacheUtilities = BxDolCacheUtilities::getInstance();
$oCacheUtilities->clear('css');
$oCacheUtilities->clear('template');

return $aResult;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/*
import url(../../../../../../../template/css/media-tablet.css);
*/

html.bx-media-tablet {
font-size:100%;
}

/* never visible - used to check MQ */
.bx-media-tablet body::before {
display: none;
content: 'tablet';
}

.bx-media-tablet .bx-def-media-tablet-hide {
display:none !important;
}
.bx-media-tablet .bx-def-media-tablet-show-block {
display:block;
}

.bx-media-tablet .bx-def-constraint-all *,
.bx-media-tablet .bx-def-constraint-list ol, .bx-def-constraint-list ul,
.bx-media-tablet .bx-def-constraint-pre:not(.bx-def-vanilla-html) pre,
.bx-media-tablet .bx-def-constraint-object object,
.bx-media-tablet .bx-def-constraint-iframe iframe {
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;

max-width:500px !important;
overflow:hidden !important;
}
.bx-media-tablet .bx-def-constraint-pre:not(.bx-def-vanilla-html) pre {
overflow:scroll !important;
}
.bx-media-tablet .bx-def-constraint-img img {
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

/* default.css */
.bx-media-tablet .bx-def-page-width {
width:auto;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?php
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup Artificer Artificer template
* @ingroup UnaModules
*
* @{
*/

$aConfig = array(
/**
* Main Section.
*/
'type' => BX_DOL_MODULE_TYPE_TEMPLATE,
'name' => 'bx_artificer',
'title' => 'Artificer',
'note' => 'Design template',
'version' => '13.0.15',
'vendor' => 'Boonex',
'help_url' => 'http://feed.una.io/?section={module_name}',

'compatible_with' => array(
'13.1.0'
),

/**
* 'home_dir' and 'home_uri' - should be unique. Don't use spaces in 'home_uri' and the other special chars.
*/
'home_dir' => 'boonex/artificer/',
'home_uri' => 'artificer',

'db_prefix' => 'bx_artificer_',
'class_prefix' => 'BxArtificer',

/**
* Category for language keys.
*/
'language_category' => 'Boonex Artificer Template',

/**
* Installation/Uninstallation Section.
*/
'install' => array(
'execute_sql' => 1,
'update_languages' => 1,
'clear_db_cache' => 1
),
'uninstall' => array (
'execute_sql' => 1,
'update_languages' => 1,
'clear_db_cache' => 1
),
'enable' => array(
'execute_sql' => 1
),
'disable' => array(
'execute_sql' => 1
),

/**
* Dependencies Section
*/
'dependencies' => array(),
);

/** @} */
51 changes: 51 additions & 0 deletions modules/boonex/massmailer/updates/13.0.6_13.0.7/install/config.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?php
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*/

$aConfig = array(
/**
* Main Section.
*/
'title' => 'Mass mailer',
'version_from' => '13.0.6',
'version_to' => '13.0.7',
'vendor' => 'BoonEx',

'compatible_with' => array(
'13.1.0'
),

/**
* 'home_dir' and 'home_uri' - should be unique. Don't use spaces in 'home_uri' and the other special chars.
*/
'home_dir' => 'boonex/massmailer/updates/update_13.0.6_13.0.7/',
'home_uri' => 'massmailer_update_1306_1307',

'module_dir' => 'boonex/massmailer/',
'module_uri' => 'massmailer',

'db_prefix' => 'bx_massmailer_',
'class_prefix' => 'BxMassMailer',

/**
* Installation/Uninstallation Section.
*/
'install' => array(
'execute_sql' => 0,
'update_files' => 1,
'update_languages' => 1,
'clear_db_cache' => 0,
),

/**
* Category for language keys.
*/
'language_category' => 'MassMailer',

/**
* Files Section
*/
'delete_files' => array(),
);
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*/

class BxMassMailerUpdater extends BxDolStudioUpdater
{
function __construct($aConfig)
{
parent::__construct($aConfig);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources name="en" flag="gb" title="English">
<string_add name="_bx_massmailer_form_campaign_send_all_display"><![CDATA[Send to all]]></string_add>
<string_add name="_bx_massmailer_form_campaign_send_test_display"><![CDATA[Send a test]]></string_add>
</resources>
Loading

0 comments on commit 2939804

Please sign in to comment.