1099 lines
46 KiB
PHP
1099 lines
46 KiB
PHP
<script type="text/javascript" src="/libraries/ckeditor/ckeditor.js"></script>
|
|
<script type="text/javascript" src="/libraries/ckeditor/adapters/jquery.js"></script>
|
|
<script type="text/javascript" src="/libraries/jquery/sortable/sortable.js"></script>
|
|
<?
|
|
global $db, $settings;
|
|
|
|
ob_start();
|
|
?>
|
|
<div id="settings-tabs">
|
|
<ul class="resp-tabs-list settings-tabs">
|
|
<li><i class="fa fa-file"></i>Treść</li>
|
|
<li><i class="fa fa-wrench"></i>Ustawienia</li>
|
|
</ul>
|
|
<div class="resp-tabs-container settings-tabs">
|
|
<div>
|
|
<!-- Zmiana rodzaju case study -->
|
|
<?= \Html::input_switch( [
|
|
'label' => 'Case Study duże',
|
|
'name' => 'case_study_big',
|
|
'checked' => $this -> case_study['case_study_big'] == 1 or !$this -> case_study['id'] ? true : false
|
|
] ); ?>
|
|
|
|
<?= \Html::input([
|
|
'label' => 'Tytuł',
|
|
'name' => 'title',
|
|
'id' => 'title',
|
|
'value' => $this->case_study['title'],
|
|
'inline' => true,
|
|
] );?>
|
|
|
|
<?= \Html::aPanel([
|
|
'title' => 'Nagłówek',
|
|
'id' => 'naglowek',
|
|
'content' =>
|
|
\Html::textarea(
|
|
array(
|
|
'label' => 'Podtytul',
|
|
'name' => 'case_study_subtitle',
|
|
'id' => 'case_study_subtitle',
|
|
'value' => $this -> case_study['case_study_subtitle'],
|
|
'inline' => true
|
|
)
|
|
)
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel([
|
|
'title' => 'O firmie',
|
|
'id' => 'o-firmie',
|
|
'content' =>
|
|
\Html::input_icon( [
|
|
'label' => 'Logo',
|
|
'name' => 'logo',
|
|
'id' => 'logo',
|
|
'value' => $this->case_study['logo'],
|
|
'icon_content' => 'przeglądaj',
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=logo&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'Sekcja Firma tekst',
|
|
'name' => 'section_company_text',
|
|
'id' => 'section_company_text',
|
|
'value' => $this->case_study['section_company_text'],
|
|
] )
|
|
. \Html::input([
|
|
'label' => 'Branża',
|
|
'name' => 'branza',
|
|
'id' => 'branza',
|
|
'value' => $this -> case_study['branza'],
|
|
] )
|
|
. \Html::input([
|
|
'label' => 'Współpraca od',
|
|
'name' => 'wspolpraca-od',
|
|
'id' => 'wspolpraca-od',
|
|
'value' => $this -> case_study['wspolpraca-od'],
|
|
] )
|
|
. \Html::input([
|
|
'label' => 'Rynek',
|
|
'name' => 'rynek',
|
|
'id' => 'rynek',
|
|
'value' => $this -> case_study['rynek'],
|
|
] )
|
|
. \Html::input([
|
|
'label' => 'Witryna',
|
|
'name' => 'witryna',
|
|
'id' => 'witryna',
|
|
'value' => $this -> case_study['witryna'],
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'Sekcja firma cytat',
|
|
'name' => 'quote_company_text',
|
|
'id' => 'quote_company_text',
|
|
'value' => $this->case_study['quote_company_text'],
|
|
] )
|
|
.\Html::input_icon( [
|
|
'label' => 'Sekcja Firma zdjęcie',
|
|
'name' => 'section_company_img',
|
|
'id' => 'section_company_img',
|
|
'value' => $this->case_study['section_company_img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=section_company_img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::input( [
|
|
'label' => 'Sekcja Firma wideo(iframe z youtube)',
|
|
'name' => 'section_company_iframe',
|
|
'id' => 'section_company_iframe',
|
|
'value' => $this->case_study['section_company_iframe'],
|
|
])
|
|
. \Html::input_icon( [
|
|
'label' => 'Sekcja Firma wideo(plik lokalny na serwerze)',
|
|
'name' => 'section_company_video',
|
|
'id' => 'section_company_video',
|
|
'value' => $this->case_study['section_company_video'],
|
|
'icon_content' => 'przeglądaj',
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=2&popup=1&field_id=section_company_video&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
])
|
|
.\Html::textarea( [
|
|
'label' => 'Sekcja Firma tekst dolny',
|
|
'name' => 'section_company_text_bottom',
|
|
'id' => 'section_company_text_bottom',
|
|
'value' => $this->case_study['section_company_text_bottom'],
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel([
|
|
'title' => 'Firma w liczbach',
|
|
'id' => 'firma-w-liczbach',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::textarea( [
|
|
'label' => 'naglowek',
|
|
'name' => 'firma-w-liczbach-naglowek',
|
|
'id' => 'firma-w-liczbach-naglowek',
|
|
'value' => $this -> case_study['firma-w-liczbach-naglowek'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'liczby',
|
|
'name' => 'firma-w-liczbach-liczby',
|
|
'id' => 'firma-w-liczbach-liczby',
|
|
'value' => $this -> case_study['firma-w-liczbach-liczby'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'liczby',
|
|
'name' => 'firma-w-liczbach-stopka',
|
|
'id' => 'firma-w-liczbach-stopka',
|
|
'value' => $this -> case_study['firma-w-liczbach-stopka'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'cytat zdjęcie',
|
|
'name' => 'firma-w-liczbach-cytat-img',
|
|
'id' => 'firma-w-liczbach-cytat-img',
|
|
'value' => $this -> case_study['firma-w-liczbach-cytat-img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=firma-w-liczbach-cytat-img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'cytat nagłówek',
|
|
'name' => 'firma-w-liczbach-cytat-naglowek',
|
|
'id' => 'firma-w-liczbach-cytat-naglowek',
|
|
'value' => $this -> case_study['firma-w-liczbach-cytat-naglowek'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'cytat tekst',
|
|
'name' => 'firma-w-liczbach-cytat-tekst',
|
|
'id' => 'firma-w-liczbach-cytat-tekst',
|
|
'value' => $this -> case_study['firma-w-liczbach-cytat-tekst'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel([
|
|
'title' => 'Cele współpracy',
|
|
'id' => 'cele-wspolpracy',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::input( [
|
|
'label' => 'Kolor tła',
|
|
'name' => 'cele-wspolpracy-background',
|
|
'id' => 'cele-wspolpracy-background',
|
|
'value' => $this -> case_study['cele-wspolpracy-background'],
|
|
'inline' => true,
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'nagłówek',
|
|
'name' => 'cele-wspolpracy-header',
|
|
'id' => 'cele-wspolpracy-header',
|
|
'value' => $this -> case_study['cele-wspolpracy-header'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'zdjęcie',
|
|
'name' => 'cele-wspolpracy-img',
|
|
'id' => 'cele-wspolpracy-img',
|
|
'value' => $this->case_study['cele-wspolpracy-img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=cele-wspolpracy-img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'cele-wspolpracy-text',
|
|
'id' => 'cele-wspolpracy-text',
|
|
'value' => $this -> case_study['cele-wspolpracy-text'],
|
|
'inline' => true
|
|
] )
|
|
]);
|
|
?>
|
|
|
|
<?= \Html::aPanel([
|
|
'title' => 'CTA',
|
|
'id' => 'cta-01',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'cta-01-text',
|
|
'id' => 'cta-01-text',
|
|
'value' => $this -> case_study['cta-01-text'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'zdjęcie',
|
|
'name' => 'cta-01-img',
|
|
'id' => 'cta-01-img',
|
|
'value' => $this->case_study['cta-01-img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=cta-01-img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'dane kontaktowe',
|
|
'name' => 'cta-01-dane-kontaktowe',
|
|
'id' => 'cta-01-dane-kontaktowe',
|
|
'value' => $this -> case_study['cta-01-dane-kontaktowe'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel([
|
|
'title' => 'Blok tekstowy 01',
|
|
'id' => 'blok-tekstowy-01',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::textarea( [
|
|
'label' => 'nagłówek',
|
|
'name' => 'firma-o-dobrej-reputacji-naglowek',
|
|
'id' => 'firma-o-dobrej-reputacji-naglowek',
|
|
'value' => $this -> case_study['firma-o-dobrej-reputacji-naglowek'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'cytat zdjęcie',
|
|
'name' => 'firma-o-dobrej-reputacji-cytat-img',
|
|
'id' => 'firma-o-dobrej-reputacji-cytat-img',
|
|
'value' => $this -> case_study['firma-o-dobrej-reputacji-cytat-img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=firma-o-dobrej-reputacji-cytat-img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'cytat nagłówek',
|
|
'name' => 'firma-o-dobrej-reputacji-cytat-naglowek',
|
|
'id' => 'firma-o-dobrej-reputacji-cytat-naglowek',
|
|
'value' => $this -> case_study['firma-o-dobrej-reputacji-cytat-naglowek'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'cytat tekst',
|
|
'name' => 'firma-o-dobrej-reputacji-cytat-tekst',
|
|
'id' => 'firma-o-dobrej-reputacji-cytat-tekst',
|
|
'value' => $this -> case_study['firma-o-dobrej-reputacji-cytat-tekst'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel([
|
|
'title' => 'Blok tekstowy 02',
|
|
'id' => 'blok-tekstowy-02',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::textarea( [
|
|
'label' => 'nagłówek',
|
|
'name' => 'blok-tekstowy-02-naglowek',
|
|
'id' => 'blok-tekstowy-02-naglowek',
|
|
'value' => $this -> case_study['blok-tekstowy-02-naglowek'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'cytat zdjęcie',
|
|
'name' => 'blok-tekstowy-02-cytat-img',
|
|
'id' => 'blok-tekstowy-02-cytat-img',
|
|
'value' => $this -> case_study['blok-tekstowy-02-cytat-img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=blok-tekstowy-02-cytat-img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'cytat nagłówek',
|
|
'name' => 'blok-tekstowy-02-cytat-naglowek',
|
|
'id' => 'blok-tekstowy-02-cytat-naglowek',
|
|
'value' => $this -> case_study['blok-tekstowy-02-cytat-naglowek'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'cytat tekst',
|
|
'name' => 'blok-tekstowy-02-cytat-tekst',
|
|
'id' => 'blok-tekstowy-02-cytat-tekst',
|
|
'value' => $this -> case_study['blok-tekstowy-02-cytat-tekst'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel( [
|
|
'title' => 'Możliwości Zaufane.pl',
|
|
'id' => 'mozliwosci-zaufane',
|
|
'class' => 'panel-primary big',
|
|
'content' => \Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'mozliwosci-zaufane-text',
|
|
'id' => 'mozliwosci-zaufane-text',
|
|
'value' => $this -> case_study['mozliwosci-zaufane-text'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel([
|
|
'title' => 'Blok tekstowy 03 (tekst + ocena + cytat)',
|
|
'id' => 'blok-tekstowy-03',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::input( [
|
|
'label' => 'Kolor tła',
|
|
'name' => 'zastosowane-rozwiazania-background',
|
|
'id' => 'zastosowane-rozwiazania-background',
|
|
'value' => $this -> case_study['zastosowane-rozwiazania-background'],
|
|
'inline' => true,
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'zastosowane-rozwiazania-tekst',
|
|
'id' => 'zastosowane-rozwiazania-tekst',
|
|
'value' => $this -> case_study['zastosowane-rozwiazania-tekst'],
|
|
'inline' => true,
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'ocena',
|
|
'name' => 'zastosowane-rozwiazania-ocena-img',
|
|
'id' => 'zastosowane-rozwiazania-ocena-img',
|
|
'value' => $this -> case_study['zastosowane-rozwiazania-ocena-img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=zastosowane-rozwiazania-ocena-img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'ocena',
|
|
'name' => 'zastosowane-rozwiazania-ocena',
|
|
'id' => 'zastosowane-rozwiazania-ocena',
|
|
'value' => $this -> case_study['zastosowane-rozwiazania-ocena'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'cytat zdjęcie',
|
|
'name' => 'zastosowane-rozwiazania-cytat-img',
|
|
'id' => 'zastosowane-rozwiazania-cytat-img',
|
|
'value' => $this -> case_study['zastosowane-rozwiazania-cytat-img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=zastosowane-rozwiazania-cytat-img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'cytat nagłówek',
|
|
'name' => 'zastosowane-rozwiazania-cytat-naglowek',
|
|
'id' => 'zastosowane-rozwiazania-cytat-naglowek',
|
|
'value' => $this -> case_study['zastosowane-rozwiazania-cytat-naglowek'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'cytat tekst',
|
|
'name' => 'zastosowane-rozwiazania-cytat-tekst',
|
|
'id' => 'zastosowane-rozwiazania-cytat-tekst',
|
|
'value' => $this -> case_study['zastosowane-rozwiazania-cytat-tekst'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel( [
|
|
'title' => 'Blok tekstowy 04 (zdjęcie + tekst)',
|
|
'id' => 'blok-tekstowy-04',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::select( [
|
|
'label' => 'pozycja zdjęcia',
|
|
'name' => 'blok-tekstowy-04-zdjecie-pozycja',
|
|
'values' => [ 0 => 'po lewej', 1 => 'po prawej' ],
|
|
'value' => $this -> case_study['blok-tekstowy-04-zdjecie-pozycja']
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'zdjęcie',
|
|
'name' => 'blok-testowy-04-img',
|
|
'id' => 'blok-testowy-04-img',
|
|
'value' => $this -> case_study['blok-testowy-04-img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=blok-testowy-04-img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'blok-testowy-04-text',
|
|
'id' => 'blok-testowy-04-text',
|
|
'value' => $this -> case_study['blok-testowy-04-text'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel( [
|
|
'title' => 'Blok tekstowy 05 (zdjęcie + tekst + ocena)',
|
|
'id' => 'blok-tekstowy-05',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::input( [
|
|
'label' => 'Kolor tła',
|
|
'name' => 'gwiazdki-w-reklamach-background',
|
|
'id' => 'gwiazdki-w-reklamach-background',
|
|
'value' => $this -> case_study['gwiazdki-w-reklamach-background'],
|
|
'inline' => true,
|
|
] )
|
|
. \Html::select( [
|
|
'label' => 'pozycja zdjęcia',
|
|
'name' => 'gwiazdki-w-reklamach-zdjecie-pozycja',
|
|
'values' => [ 0 => 'po lewej', 1 => 'po prawej' ],
|
|
'value' => $this -> case_study['gwiazdki-w-reklamach-zdjecie-pozycja'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'zdjęcie',
|
|
'name' => 'gwiazdki-w-reklamach-img',
|
|
'id' => 'gwiazdki-w-reklamach-img',
|
|
'value' => $this -> case_study['gwiazdki-w-reklamach-img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=gwiazdki-w-reklamach-img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'gwiazdki-w-reklamach-text',
|
|
'id' => 'gwiazdki-w-reklamach-text',
|
|
'value' => $this -> case_study['gwiazdki-w-reklamach-text'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'ocena',
|
|
'name' => 'blok-testowy-05-ocena-img',
|
|
'id' => 'blok-testowy-05-ocena-img',
|
|
'value' => $this -> case_study['blok-testowy-05-ocena-img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=blok-testowy-05-ocena-img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'ocena',
|
|
'name' => 'blok-testowy-05-ocena',
|
|
'id' => 'blok-testowy-05-ocena',
|
|
'value' => $this -> case_study['blok-testowy-05-ocena'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel( [
|
|
'title' => 'Blok tekstowy 06',
|
|
'id' => 'blok-tekstowy-06',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::input_icon( [
|
|
'label' => 'zdjęcie',
|
|
'name' => 'blok-tekstowy-06-logo',
|
|
'id' => 'blok-tekstowy-06-logo',
|
|
'value' => $this -> case_study['blok-tekstowy-06-logo'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=blok-tekstowy-06-logo&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'blok-tekstowy-06-text',
|
|
'id' => 'blok-tekstowy-06-text',
|
|
'value' => $this -> case_study['blok-tekstowy-06-text'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel( [
|
|
'title' => 'Blok tekstowy 07 (zdjęcie + tekst)',
|
|
'id' => 'blok-tekstowy-07',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::input( [
|
|
'label' => 'Kolor tła',
|
|
'name' => 'blok-tekstowy-07-background',
|
|
'id' => 'blok-tekstowy-07-background',
|
|
'value' => $this -> case_study['blok-tekstowy-07-background'],
|
|
'inline' => true,
|
|
] )
|
|
. \Html::select( [
|
|
'label' => 'pozycja zdjęcia',
|
|
'name' => 'blok-tekstowy-07-zdjecie-pozycja',
|
|
'values' => [ 0 => 'po lewej', 1 => 'po prawej' ],
|
|
'value' => $this -> case_study['blok-tekstowy-07-zdjecie-pozycja'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'zdjęcie',
|
|
'name' => 'blok-tekstowy-07-zdjecie',
|
|
'id' => 'blok-tekstowy-07-zdjecie',
|
|
'value' => $this -> case_study['blok-tekstowy-07-zdjecie'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=blok-tekstowy-07-zdjecie&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'blok-tekstowy-07-text',
|
|
'id' => 'blok-tekstowy-07-text',
|
|
'value' => $this -> case_study['blok-tekstowy-07-text'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel( [
|
|
'title' => 'Widgety na stronie',
|
|
'id' => 'widgety-na-stronie',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::input( [
|
|
'label' => 'Kolor tła',
|
|
'name' => 'widgety-na-stronie-background',
|
|
'id' => 'widgety-na-stronie-background',
|
|
'value' => $this -> case_study['widgety-na-stronie-background'],
|
|
'inline' => true,
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'widgety-na-stronie-text',
|
|
'id' => 'widgety-na-stronie-text',
|
|
'value' => $this -> case_study['widgety-na-stronie-text'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel( [
|
|
'title' => 'Opinie Google Moja Firma',
|
|
'id' => 'opinie-google-moja-firma',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::input( [
|
|
'label' => 'Kolor tła',
|
|
'name' => 'opinie-google-moja-firma-background',
|
|
'id' => 'opinie-google-moja-firma-background',
|
|
'value' => $this -> case_study['opinie-google-moja-firma-background'],
|
|
'inline' => true,
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'opinie-google-moja-firma-text',
|
|
'id' => 'opinie-google-moja-firma-text',
|
|
'value' => $this -> case_study['opinie-google-moja-firma-text'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'ocena',
|
|
'name' => 'opinie-google-moja-firma-ocena-img',
|
|
'id' => 'opinie-google-moja-firma-ocena-img',
|
|
'value' => $this -> case_study['opinie-google-moja-firma-ocena-img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=opinie-google-moja-firma-ocena-img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'ocena',
|
|
'name' => 'opinie-google-moja-firma-ocena',
|
|
'id' => 'opinie-google-moja-firma-ocena',
|
|
'value' => $this -> case_study['opinie-google-moja-firma-ocena'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel( [
|
|
'title' => 'Blok tekstowy 08 (zdjęcie + tekst)',
|
|
'id' => 'blok-tekstowy-08',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::input( [
|
|
'label' => 'Kolor tła',
|
|
'name' => 'blok-tekstowy-08-background',
|
|
'id' => 'blok-tekstowy-08-background',
|
|
'value' => $this -> case_study['blok-tekstowy-08-background'],
|
|
'inline' => true,
|
|
] )
|
|
. \Html::select( [
|
|
'label' => 'pozycja zdjęcia',
|
|
'name' => 'blok-tekstowy-08-zdjecie-pozycja',
|
|
'values' => [ 0 => 'po lewej', 1 => 'po prawej' ],
|
|
'value' => $this -> case_study['blok-tekstowy-08-zdjecie-pozycja'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'zdjęcie',
|
|
'name' => 'blok-tekstowy-08-zdjecie',
|
|
'id' => 'blok-tekstowy-08-zdjecie',
|
|
'value' => $this -> case_study['blok-tekstowy-08-zdjecie'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=blok-tekstowy-08-zdjecie&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'blok-tekstowy-08-text',
|
|
'id' => 'blok-tekstowy-08-text',
|
|
'value' => $this -> case_study['blok-tekstowy-08-text'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel( [
|
|
'title' => 'Blok tekstowy 09',
|
|
'id' => 'blok-tekstowy-09',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::input( [
|
|
'label' => 'Kolor tła',
|
|
'name' => 'blok-tekstowy-09-background',
|
|
'id' => 'blok-tekstowy-09-background',
|
|
'value' => $this -> case_study['blok-tekstowy-09-background'],
|
|
'inline' => true,
|
|
] )
|
|
. \Html::select( [
|
|
'label' => 'pozycja zdjęcia',
|
|
'name' => 'blok-tekstowy-09-zdjecie-pozycja',
|
|
'values' => [ 0 => 'po lewej', 1 => 'po prawej' ],
|
|
'value' => $this -> case_study['blok-tekstowy-09-zdjecie-pozycja'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'zdjęcie',
|
|
'name' => 'blok-tekstowy-09-zdjecie',
|
|
'id' => 'blok-tekstowy-09-zdjecie',
|
|
'value' => $this -> case_study['blok-tekstowy-09-zdjecie'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=blok-tekstowy-09-zdjecie&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'blok-tekstowy-09-text',
|
|
'id' => 'blok-tekstowy-09-text',
|
|
'value' => $this -> case_study['blok-tekstowy-09-text'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel( [
|
|
'title' => 'Blok tekstowy 10',
|
|
'id' => 'blok-tekstowy-10',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::input( [
|
|
'label' => 'Kolor tła',
|
|
'name' => 'blok-tekstowy-10-background',
|
|
'id' => 'blok-tekstowy-10-background',
|
|
'value' => $this -> case_study['blok-tekstowy-10-background'],
|
|
'inline' => true,
|
|
] )
|
|
. \Html::select( [
|
|
'label' => 'pozycja zdjęcia',
|
|
'name' => 'blok-tekstowy-10-zdjecie-pozycja',
|
|
'values' => [ 0 => 'po lewej', 1 => 'po prawej' ],
|
|
'value' => $this -> case_study['blok-tekstowy-10-zdjecie-pozycja'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'zdjęcie',
|
|
'name' => 'blok-tekstowy-10-zdjecie',
|
|
'id' => 'blok-tekstowy-10-zdjecie',
|
|
'value' => $this -> case_study['blok-tekstowy-10-zdjecie'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=blok-tekstowy-10-zdjecie&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'blok-tekstowy-10-text',
|
|
'id' => 'blok-tekstowy-10-text',
|
|
'value' => $this -> case_study['blok-tekstowy-10-text'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel([
|
|
'title' => 'Blok tekstowy 11 (tekst + cytat)',
|
|
'id' => 'blok-tekstowy-11',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::input( [
|
|
'label' => 'Kolor tła',
|
|
'name' => 'blok-tekstowy-11-background',
|
|
'id' => 'blok-tekstowy-11-background',
|
|
'value' => $this -> case_study['blok-tekstowy-11-background'],
|
|
'inline' => true,
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'blok-tekstowy-11-tekst',
|
|
'id' => 'blok-tekstowy-11-tekst',
|
|
'value' => $this -> case_study['blok-tekstowy-11-tekst'],
|
|
'inline' => true,
|
|
] )
|
|
. \Html::input_icon( [
|
|
'label' => 'cytat zdjęcie',
|
|
'name' => 'blok-tekstowy-11-cytat-img',
|
|
'id' => 'blok-tekstowy-11-cytat-img',
|
|
'value' => $this -> case_study['blok-tekstowy-11-cytat-img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=blok-tekstowy-11-cytat-img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'cytat nagłówek',
|
|
'name' => 'blok-tekstowy-11-cytat-naglowek',
|
|
'id' => 'blok-tekstowy-11-cytat-naglowek',
|
|
'value' => $this -> case_study['blok-tekstowy-11-cytat-naglowek'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'cytat tekst',
|
|
'name' => 'blok-tekstowy-11-cytat-tekst',
|
|
'id' => 'blok-tekstowy-11-cytat-tekst',
|
|
'value' => $this -> case_study['blok-tekstowy-11-cytat-tekst'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel( [
|
|
'title' => 'Integracja',
|
|
'id' => 'integracja',
|
|
'class' => 'panel-primary big',
|
|
'content' =>
|
|
\Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'integracja-text',
|
|
'id' => 'integracja-text',
|
|
'value' => $this -> case_study['integracja-text'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel([
|
|
'title' => 'Cele do osiągnięcia',
|
|
'id' => 'cele-do-osiagniecia',
|
|
'class' => 'panel-primary small',
|
|
'content' =>
|
|
\Html::input_icon( [
|
|
'label' => 'Sekcja cele do osiągnięcia zdjecie',
|
|
'name' => 'section_goals_img',
|
|
'id' => 'section_goals_img',
|
|
'value' => $this->case_study['section_goals_img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=section_goals_img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'Sekcja cele do osiągnięcia tekst',
|
|
'name' => 'section_goals_text',
|
|
'id' => 'section_goals_text',
|
|
'value' => $this->case_study['section_goals_text'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'Sekcja cele do osiągnięcia cytat',
|
|
'name' => 'quote_goals_text',
|
|
'id' => 'quote_goals_text',
|
|
'value' => $this->case_study['quote_goals_text'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel([
|
|
'title' => 'Opinie klientów',
|
|
'id' => 'opinie-klientow',
|
|
'class' => 'panel-primary small',
|
|
'content' =>
|
|
\Html::textarea( [
|
|
'label' => 'Sekcja efekty współpracy tekst',
|
|
'name' => 'section_effects_text',
|
|
'id' => 'section_effects_text',
|
|
'value' => $this->case_study['section_effects_text'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input([
|
|
'label' => 'Sekcja efekty współpracy okres współpracy',
|
|
'name' => 'section_effects_date',
|
|
'id' => 'section_effects_date',
|
|
'inline' => true,
|
|
'value' => $this->case_study['section_effects_date']
|
|
])
|
|
. \Html::input([
|
|
'label' => 'Sekcja efekty współpracy średnia ocena o firmie',
|
|
'name' => 'section_effects_rating',
|
|
'id' => 'section_effects_rating',
|
|
'inline' => true,
|
|
'value' => $this->case_study['section_effects_rating']
|
|
])
|
|
. \Html::input_icon([
|
|
'label' => 'Sekcja efekty współpracy zdjecie',
|
|
'name' => 'section_effects_img',
|
|
'id' => 'section_effects_img',
|
|
'value' => $this->case_study['section_effects_img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=section_effects_img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'Sekcja efekty współpracy cytat',
|
|
'name' => 'quote_effects_text',
|
|
'id' => 'quote_effects_text',
|
|
'value' => $this->case_study['quote_effects_text'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel([
|
|
'title' => 'Sekcja wdrożenie',
|
|
'id' => 'sekcja-wdrozenie',
|
|
'class' => 'panel-primary small',
|
|
'content' =>
|
|
\Html::input_icon([
|
|
'label' => 'Sekcja wdrożenie zdjecie',
|
|
'name' => 'section_implementation_img',
|
|
'id' => 'section_implementation_img',
|
|
'value' => $this->case_study['section_implementation_img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=section_implementation_img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::input_icon([
|
|
'label' => 'Sekcja wdrożenie zdjecie 2',
|
|
'name' => 'section_implementation_img_2',
|
|
'id' => 'section_implementation_img_2',
|
|
'value' => $this->case_study['section_implementation_img_2'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=section_implementation_img_2&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
])
|
|
. \Html::textarea( [
|
|
'label' => 'Sekcja wdrożenie tekst',
|
|
'name' => 'section_implementation_text',
|
|
'id' => 'section_implementation_text',
|
|
'value' => $this->case_study['section_implementation_text'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'Sekcja wdrożenie cytat',
|
|
'name' => 'quote_implementation_text',
|
|
'id' => 'quote_implementation_text',
|
|
'value' => $this->case_study['quote_implementation_text'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel([
|
|
'title' => 'Wiadomości email',
|
|
'id' => 'wiadomosci-email',
|
|
'class' => 'panel-primary small',
|
|
'content' =>
|
|
\Html::textarea( [
|
|
'label' => 'Sekcja wiadomości email tekst',
|
|
'name' => 'section_email_msg_text',
|
|
'id' => 'section_email_msg_text',
|
|
'value' => $this->case_study['section_email_msg_text'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'Sekcja wiadomości email cytat',
|
|
'name' => 'quote_email_msg_text',
|
|
'id' => 'quote_email_msg_text',
|
|
'value' => $this->case_study['quote_email_msg_text'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon([
|
|
'label' => 'Sekcja wiadomości email zdjecie',
|
|
'name' => 'section_email_msg_img',
|
|
'id' => 'section_email_msg_img',
|
|
'value' => $this->case_study['section_email_msg_img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=section_email_msg_img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel([
|
|
'title' => 'Integracja',
|
|
'id' => 'integracja',
|
|
'class' => 'panel-primary small',
|
|
'content' =>
|
|
\Html::textarea( [
|
|
'label' => 'Sekcja integracja cytat',
|
|
'name' => 'quote_integration_text',
|
|
'id' => 'quote_integration_text',
|
|
'value' => $this->case_study['quote_integration_text'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'Sekcja integracja tekst',
|
|
'name' => 'section_integration_text',
|
|
'id' => 'section_integration_text',
|
|
'value' => $this->case_study['section_integration_text'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<?= \Html::aPanel([
|
|
'title' => 'Widgety na stronie',
|
|
'id' => 'section_widgets',
|
|
'class' => 'panel-primary small',
|
|
'content' =>
|
|
\Html::textarea([
|
|
'label' => 'tekst',
|
|
'name' => 'section_widgets_text',
|
|
'id' => 'section_widgets_text',
|
|
'value' => $this -> case_study['section_widgets_text'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon([
|
|
'label' => 'zdjecie',
|
|
'name' => 'section_widgets_img',
|
|
'id' => 'section_widgets_img',
|
|
'value' => $this->case_study['section_widgets_img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=section_widgets_img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'cytat',
|
|
'name' => 'quote_widgets_text',
|
|
'id' => 'quote_widgets_text',
|
|
'value' => $this -> case_study['quote_widgets_text'],
|
|
'inline' => true
|
|
] )
|
|
] );
|
|
?>
|
|
|
|
<!-- Wizytowka google -->
|
|
<?= \Html::aPanel([
|
|
'title' => 'Wizytowka google',
|
|
'id' => 'wizytowka-google',
|
|
'class' => 'panel-primary small',
|
|
'content' =>
|
|
\Html::textarea( [
|
|
'label' => 'tekst',
|
|
'name' => 'section_business_card_text',
|
|
'id' => 'section_business_card_text',
|
|
'value' => $this->case_study['section_business_card_text'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::textarea( [
|
|
'label' => 'cytat',
|
|
'name' => 'quote_business_card_text',
|
|
'id' => 'quote_business_card_text',
|
|
'value' => $this->case_study['quote_business_card_text'],
|
|
'inline' => true
|
|
] )
|
|
. \Html::input_icon([
|
|
'label' => 'zdjęcie',
|
|
'name' => 'section_business_card_img',
|
|
'id' => 'section_business_card_img',
|
|
'value' => $this->case_study['section_business_card_img'],
|
|
'icon_content' => 'przeglądaj',
|
|
'inline' => true,
|
|
'icon_js' => "window.open ( '/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=section_business_card_img&akey=c3cb2537d25c0efc9e573d059d79c3b8', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');"
|
|
] )
|
|
] );
|
|
?>
|
|
</div>
|
|
<div>
|
|
<?= \Html::input_switch(
|
|
array(
|
|
'label' => 'Opublikowany',
|
|
'name' => 'status',
|
|
'checked' => $this->case_study['status'] == 1 or !$this->case_study['id'] ? true : false
|
|
)
|
|
); ?>
|
|
<? if ($settings['calendar']) : ?>
|
|
<?= \Html::input_icon(
|
|
array(
|
|
'label' => 'Data wydarzenia',
|
|
'class' => 'date-range',
|
|
'name' => 'event_date',
|
|
'id' => 'event_date',
|
|
'value' => ($this->article['date_start'] and $this->article['date_end']) ? $this->article['date_start'] . ' - ' . $this->article['date_end'] : '',
|
|
'icon_class' => 'date-range-icon',
|
|
'icon_content' => '<i class="fa fa-calendar"></i>'
|
|
)
|
|
); ?>
|
|
|
|
<? endif; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?
|
|
$out = ob_get_clean();
|
|
|
|
$grid = new \gridEdit;
|
|
$grid->id = 'case-study-edit';
|
|
$grid->gdb_opt = $gdb;
|
|
$grid->include_plugins = true;
|
|
$grid->title = 'Edycja Case Study';
|
|
$grid->fields = [
|
|
[
|
|
'db' => 'id',
|
|
'type' => 'hidden',
|
|
'value' => $this->case_study['id']
|
|
]
|
|
];
|
|
$grid->actions = [
|
|
'save' => ['url' => '/admin/case_study/case_study_save/', 'back_url' => '/admin/case_study/main_view/'],
|
|
'cancel' => ['url' => '/admin/case_study/main_view/']
|
|
];
|
|
$grid->external_code = $out;
|
|
$grid->persist_edit = true;
|
|
$grid->id_param = 'id';
|
|
|
|
echo $grid->draw();
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
$('#settings-tabs').easyResponsiveTabs({
|
|
width: 'auto',
|
|
fit: true,
|
|
tabidentify: 'settings-tabs',
|
|
type: 'vertical'
|
|
});
|
|
|
|
<?php if ($this -> case_study['case_study_big']): ?>
|
|
$('.small').hide();
|
|
<?php else : ?>
|
|
$('.big').hide();
|
|
<?php endif; ?>
|
|
|
|
CKEDITOR.on('instanceReady', function(evt) {
|
|
var editor = evt.editor;
|
|
var body = CKEDITOR.document.getBody();
|
|
|
|
editor.on('focus', function() {
|
|
|
|
});
|
|
|
|
editor.on('blur', function(e) {
|
|
e.editor.destroy();
|
|
});
|
|
});
|
|
|
|
$('body').on('focus', '#fg-case-study-edit textarea', function() {
|
|
CKEDITOR.replace($(this).attr('id'), {
|
|
toolbar: 'Basic'
|
|
});
|
|
});
|
|
|
|
$('#settings-tabs').adminpanel({
|
|
mobile: false
|
|
});
|
|
});
|
|
</script>
|