From 5d168373f8d3de040dd0f696f2f783958b1304de Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Thu, 19 Nov 2020 14:20:03 +0100 Subject: Rev: 4710 --- .../www/skin/classic/module-portal/css/portal.css | 9 ++++++++- .../skin/classic/module-portal/html/hirek/egyhir.phtml | 2 +- .../classic/module-portal/html/hirek/hirekAdmin.phtml | 2 +- .../skin/classic/module-portal/html/share/hirek.phtml | 18 +++++++++++++++++- .../module-portal/javascript/portal.jquery.min.js | 9 +++++++++ 5 files changed, 36 insertions(+), 4 deletions(-) (limited to 'mayor-orig/mayor-portal/www/skin') diff --git a/mayor-orig/mayor-portal/www/skin/classic/module-portal/css/portal.css b/mayor-orig/mayor-portal/www/skin/classic/module-portal/css/portal.css index 5152e545..9ea85cbc 100644 --- a/mayor-orig/mayor-portal/www/skin/classic/module-portal/css/portal.css +++ b/mayor-orig/mayor-portal/www/skin/classic/module-portal/css/portal.css @@ -68,6 +68,13 @@ div.egyHir span.tag { background-color: #bbb; padding: 0px 4px; margin: 0px 2px; border-radius:2px; color:white;} + div.egyHirmeta a { color: #aaa; border-bottom: dotted 1px #bbb} + div.egyHirmeta a:hover { color: #444; border-bottom: solid 1px #bbb} + + h2.hirKategoriaSelected { text-align: center; padding-left:22px; padding-right:22px; color: #7d96a0 ; text-decoration: underline solid #eee; font-weight:100; letter-spacing:2px; font-size: 24px; font-variant:small-caps} + h2.hirKategoriaSelected a { display:none; color: #d64161; padding-left: 6px; font-size:14px;} + h2.hirKategoriaSelected:hover { padding-right:0px;} + h2.hirKategoriaSelected:hover a { display: inline-block;} div.egyHir:after { clear: both; @@ -87,7 +94,7 @@ hr {display: none;} table.portalMain div.dobozTart a { color: black } - div.static h1 { margin: 20px;} + div.static h1 { margin: 20px; } div.static p { margin-left: 26px; margin-right:26px; margin-bottom: 1.2rem; font-size: 14px; line-height:1.6em;} @media (max-width: 850px) { diff --git a/mayor-orig/mayor-portal/www/skin/classic/module-portal/html/hirek/egyhir.phtml b/mayor-orig/mayor-portal/www/skin/classic/module-portal/html/hirek/egyhir.phtml index f24068ca..e3a31005 100644 --- a/mayor-orig/mayor-portal/www/skin/classic/module-portal/html/hirek/egyhir.phtml +++ b/mayor-orig/mayor-portal/www/skin/classic/module-portal/html/hirek/egyhir.phtml @@ -57,7 +57,7 @@ } echo ''; } - _putKategoriak($ADAT,$HIR['cid']); + // _putKategoriak($ADAT,$HIR['cid']); echo ''; echo ''; diff --git a/mayor-orig/mayor-portal/www/skin/classic/module-portal/html/hirek/hirekAdmin.phtml b/mayor-orig/mayor-portal/www/skin/classic/module-portal/html/hirek/hirekAdmin.phtml index 1f55154a..a995e638 100644 --- a/mayor-orig/mayor-portal/www/skin/classic/module-portal/html/hirek/hirekAdmin.phtml +++ b/mayor-orig/mayor-portal/www/skin/classic/module-portal/html/hirek/hirekAdmin.phtml @@ -40,7 +40,7 @@ $FLAGS = array(0=>'nem látszik', 1=>'látszik', 2=>2, 3=>3); $now = time(); echo ''; - echo ''."\n"; + echo ''."\n"; for ($i=0; $i0 && $KATEGORIAID2LEIRAS[$ADAT['kategoriaId']][0]['leiras']!='') { + echo '

'; + echo ucfirst($KATEGORIAID2LEIRAS[$ADAT['kategoriaId']][0]['leiras']); + echo ''; + echo '

'; + } + for ($i=0; $i'.$CSOPORT[$j].''; //echo ''; } - + if ($D['hirkategoriak']!='') { + $D['kategoriaIdk'] = explode(',',$D['hirkategoriak']); + for ($j=0; $j'.$KATEGORIAID2LEIRAS[$D['kategoriaIdk'][$j]][0]['leiras'].''; + } + } echo ''; } echo '
'; diff --git a/mayor-orig/mayor-portal/www/skin/classic/module-portal/javascript/portal.jquery.min.js b/mayor-orig/mayor-portal/www/skin/classic/module-portal/javascript/portal.jquery.min.js index 41d70923..55364674 100644 --- a/mayor-orig/mayor-portal/www/skin/classic/module-portal/javascript/portal.jquery.min.js +++ b/mayor-orig/mayor-portal/www/skin/classic/module-portal/javascript/portal.jquery.min.js @@ -23,6 +23,15 @@ $(function() { }); }); + $('#kategoriaSelectorContainer').html(''); + $('span.kategoriaSelector.selected').each(function() { + $('', { + type: 'hidden', + name: 'kategoriaId[]', + value: $(this).data('kategoriaid') + }).appendTo($('#kategoriaSelectorContainer')); + }); + /* myForm.on('submit', function(e) { -- cgit v1.2.3