Skip to content

Commit

Permalink
4.4.12 and 5.0.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
nickian committed Apr 16, 2024
1 parent 4c7a736 commit 8d13dfe
Show file tree
Hide file tree
Showing 14 changed files with 51,431 additions and 0 deletions.
4,826 changes: 4,826 additions & 0 deletions templates/4.4.12/app/bundles/CoreBundle/Assets/css/app.css

Large diffs are not rendered by default.

19,240 changes: 19,240 additions & 0 deletions templates/4.4.12/app/bundles/CoreBundle/Assets/css/libraries/libraries.css

Large diffs are not rendered by default.

1,777 changes: 1,777 additions & 0 deletions templates/4.4.12/app/bundles/CoreBundle/Assets/js/1a.content.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<?php

/*
* @copyright 2014 Mautic Contributors. All rights reserved
* @author Mautic
*
* @link http://mautic.org
*
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
?>
<!DOCTYPE html>
<html>
<?php echo $view->render('MauticCoreBundle:Default:head.html.php'); ?>
<body class="header-fixed">
<!-- start: app-wrapper -->
<section id="app-wrapper">
<?php $view['assets']->outputScripts('bodyOpen'); ?>

<!-- start: app-sidebar(left) -->
<aside class="app-sidebar sidebar-left">
<?php echo $view->render('MauticCoreBundle:LeftPanel:index.html.php'); ?>
</aside>
<!--/ end: app-sidebar(left) -->

<!-- start: app-sidebar(right) -->
<aside class="app-sidebar sidebar-right">
<?php echo $view->render('MauticCoreBundle:RightPanel:index.html.php'); ?>
</aside>
<!--/ end: app-sidebar(right) -->

<!-- start: app-header -->
<header id="app-header" class="navbar">
<?php echo $view->render('MauticCoreBundle:Default:navbar.html.php'); ?>

<?php echo $view->render('MauticCoreBundle:Notification:flashes.html.php'); ?>
</header>
<!--/ end: app-header -->

<!-- start: app-footer(need to put on top of #app-content)-->
<footer id="app-footer">
<div class="container-fluid">
<div class="row">
<div class="col-xs-6 text-muted"> {{company_name}}{{footer_prefix}} {{footer}}</div>
<div class="col-xs-6 text-muted text-right small">v<?php
/** @var \Mautic\CoreBundle\Templating\Helper\VersionHelper $version */
$version = $view['version'];
echo $version->getVersion(); ?>
</div>
</div>
</div>
</footer>
<!--/ end: app-footer -->

<!-- start: app-content -->
<section id="app-content">
<?php $view['slots']->output('_content'); ?>
</section>
<!--/ end: app-content -->

</section>
<!--/ end: app-wrapper -->

<script>
Mautic.onPageLoad('body');
<?php if ('dev' === $app->getEnvironment()): ?>
mQuery( document ).ajaxComplete(function(event, XMLHttpRequest, ajaxOption){
if(XMLHttpRequest.responseJSON && typeof XMLHttpRequest.responseJSON.ignore_wdt == 'undefined' && XMLHttpRequest.getResponseHeader('x-debug-token')) {
if (mQuery('[class*="sf-tool"]').length) {
mQuery('[class*="sf-tool"]').remove();
}

mQuery.get(mauticBaseUrl + '_wdt/'+XMLHttpRequest.getResponseHeader('x-debug-token'),function(data){
mQuery('body').append('<div class="sf-toolbar-reload">'+data+'</div>');
});
}
});
<?php endif; ?>
</script>
<?php $view['assets']->outputScripts('bodyClose'); ?>
<?php echo $view->render('MauticCoreBundle:Helper:modal.html.php', [
'id' => 'MauticSharedModal',
'footerButtons' => true,
]); ?>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

/*
* @copyright 2014 Mautic Contributors. All rights reserved
* @author Mautic
*
* @link http://mautic.org
*
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
?>
<head>
<meta charset="UTF-8" />
<title><?php if (!empty($view['slots']->get('headerTitle', ''))): ?>
<?php echo strip_tags(str_replace('<', ' <', $view['slots']->get('headerTitle', ''))); ?> |
<?php endif; ?>
<?php echo $view['slots']->get('pageTitle', '{{company_name}}'); ?>
</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="icon" type="image/x-icon" href="<?php echo $view['assets']->getUrl('media/images/favicon.ico'); ?>" />
<link rel="icon" sizes="192x192" href="<?php echo $view['assets']->getUrl('media/images/favicon.ico'); ?>">
<link rel="apple-touch-icon" href="<?php echo $view['assets']->getUrl('media/images/apple-touch-icon.png'); ?>" />

<?php echo $view['assets']->outputSystemStylesheets(); ?>

<?php echo $view->render('MauticCoreBundle:Default:script.html.php'); ?>
<?php $view['assets']->outputHeadDeclarations(); ?>
</head>
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?php

/*
* @copyright 2014 Mautic Contributors. All rights reserved
* @author Mautic
*
* @link http://mautic.org
*
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
$extraMenu = $view['menu']->render('extra');
?>
<!-- start: sidebar-header -->
<div class="sidebar-header">
<!-- brand -->
<a class="mautic-brand<?php echo (!empty($extraMenu)) ? ' pull-left pl-0 pr-0' : ''; ?>" href="#">
<img src="<?php echo $view['assets']->getUrl('{{sidebar_image}}') ?>" style="width:100%; max-width:{{sidebar_width}}px; margin:{{margin_top}}px {{margin_right}}px 0 {{margin_left}}px;" />
</a>
<?php if (!empty($extraMenu)): ?>
<div class="dropdown extra-menu">
<a href="#" data-toggle="dropdown" class="dropdown-toggle">
<i class="fa fa-chevron-down fa-lg"></i>
</a>
<?php echo $extraMenu; ?>
</div>
<?php endif; ?>
<!--/ brand -->
</div>
<!--/ end: sidebar-header -->

<div class="sidebar-content">
<div class="scroll-content slimscroll">
<nav class="nav-sidebar">
<?php echo $view['content']->getCustomContent('menu.above', $mauticTemplateVars); ?>
<?php echo $view['menu']->render('main'); ?>

<ul class="nav sidebar-left-dark">
<li class="hidden-xs">
<a href="javascript:void(0)" data-toggle="minimize" class="sidebar-minimizer"><span class="direction icon pull-left fa"></span><span class="nav-item-name pull-left text"><?php echo $view['translator']->trans('mautic.core.menu.left.collapse'); ?></span></a>
</li>
</ul>
</nav>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?php

/*
* @copyright 2014 Mautic Contributors. All rights reserved
* @author Mautic
*
* @link http://mautic.org
*
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
?>

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title><?php echo $view['slots']->get('pageTitle', '{{company_name}}'); ?></title>
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="icon" type="image/x-icon" href="<?php echo $view['assets']->getUrl('media/images/favicon.ico'); ?>" />
<link rel="apple-touch-icon" href="<?php echo $view['assets']->getUrl('media/images/apple-touch-icon.png'); ?>" />
<?php $view['assets']->outputSystemStylesheets(); ?>
<?php echo $view->render('MauticCoreBundle:Default:script.html.php'); ?>
<?php $view['assets']->outputHeadDeclarations(); ?>
</head>
<body>
<section id="main" role="main">
<div class="container" style="margin-top:100px;">
<div class="row">
<div class="col-lg-4 col-lg-offset-4">
<div class="panel" name="form-login">
<div class="panel-body">
<div class="mautic-logo img-circle mb-md text-center" style="width:{{login_logo_width}}px;">
<img src="<?php echo $view['assets']->getUrl('{{login_logo}}') ?>" style="width:{{login_logo_width}}px; margin:{{login_logo_margin_top}}px 0 {{login_logo_margin_bottom}}px 0;" />
</div>
<div id="main-panel-flash-msgs">
<?php echo $view->render('MauticCoreBundle:Notification:flashes.html.php'); ?>
</div>
<?php $view['slots']->output('_content'); ?>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-4 col-lg-offset-4 text-center text-muted">
&copy; <?php echo date('Y');?> {{company_name}}{{footer_prefix}}
<p style="margin-top:1em;">{{footer}}</p>
</div>
</div>
</div>
</section>
<?php echo $view['security']->getAuthenticationContent(); ?>
</body>
</html>
Loading

0 comments on commit 8d13dfe

Please sign in to comment.