diff options
author | M.Gergo | 2018-07-06 11:34:04 +0200 |
---|---|---|
committer | M.Gergo | 2018-07-06 11:34:04 +0200 |
commit | 095e5987eadbe3786be5e12ef385bda9640155b0 (patch) | |
tree | e796dcd1c575094cf43e0b0b7d4c8fb22896e66f /mayor-orig/www/skin/classic | |
parent | 43de9af71f7f4ca5731b94a06d688ae8412ba427 (diff) | |
download | mayor-095e5987eadbe3786be5e12ef385bda9640155b0.tar.gz mayor-095e5987eadbe3786be5e12ef385bda9640155b0.zip |
checkupdate.sh + portal 2018/Feb kiinduló
Diffstat (limited to 'mayor-orig/www/skin/classic')
18 files changed, 590 insertions, 0 deletions
diff --git a/mayor-orig/www/skin/classic/module-portal/config.php.example b/mayor-orig/www/skin/classic/module-portal/config.php.example new file mode 100644 index 00000000..fe68ca47 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/config.php.example @@ -0,0 +1,10 @@ +<?php + +if ( ($policy=='private' || $policy=='parent') && $page=='portal' && $sub=='hirek' && $f=='egyhir') { + $SSSHH .= ' + <script src="skin/classic/share/javascript/tiny_mce/tiny_mce.js" type="text/javascript"></script> + <script src="skin/classic/module-portal/javascript/hirek/egyhir.php?lang='.$lang.'" type="text/javascript"></script> + '; +} + +?>
\ No newline at end of file diff --git a/mayor-orig/www/skin/classic/module-portal/css/hirek/egyhir.css b/mayor-orig/www/skin/classic/module-portal/css/hirek/egyhir.css new file mode 100644 index 00000000..8be4a7c3 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/css/hirek/egyhir.css @@ -0,0 +1,42 @@ + + + + div.egyhir { + margin-left: 50px; + } + + div.egyhir form { + font-weight: bold; + } + + div.egyhir label { + + } + + div.egyhir input { + background-color: white; + border: solid 1px #667766; + } + + div.egyhir textarea { + width: 80%; + height: 300px; + border: solid 1px #667766; + background-color: white; + } + + table.egyhirdetail { + background-color: #eeeeee; + border-bottom: solid 2px #667766; + } + table.egyhirdetail td { + border: solid 1px #667766; + } + table.egyhirdetail th { + background-color: #667766; + color: white; + height:30px; + border-bottom: solid 2px #001100; + } + + .mceEditor iframe { border: blue 1px solid; } diff --git a/mayor-orig/www/skin/classic/module-portal/css/hirek/hirek.css b/mayor-orig/www/skin/classic/module-portal/css/hirek/hirek.css new file mode 100644 index 00000000..8887a347 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/css/hirek/hirek.css @@ -0,0 +1,9 @@ + + div.hirCim { + font-style: italic; + font-size: 14px; + color: #000088; + font-weight: bold; + margin-top:1em; + padding-bottom: 0.5em; + } diff --git a/mayor-orig/www/skin/classic/module-portal/css/hirek/hirekAdmin.css b/mayor-orig/www/skin/classic/module-portal/css/hirek/hirekAdmin.css new file mode 100644 index 00000000..9e05068d --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/css/hirek/hirekAdmin.css @@ -0,0 +1,29 @@ + + div.hirCim { + font-style: italic; + font-size: 14px; + color: #000088; + font-weight: bold; + margin-top:1em; + padding-bottom: 0.5em; + } + + table.hAdmin { + background-color: #445560; + + } + table.hAdmin tr td { + background-color: #eeeeee; + } + + + table.hAdmin tr.unk td { + background-color: #993456; + } + table.hAdmin tr.old td { + background-color: #999999; + } + + table.hAdmin a { display: block; color: black; } + + label { margin:0px; padding:0px; } diff --git a/mayor-orig/www/skin/classic/module-portal/css/kerdoiv/kerdoivAdmin.css b/mayor-orig/www/skin/classic/module-portal/css/kerdoiv/kerdoivAdmin.css new file mode 100644 index 00000000..41dd7dd2 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/css/kerdoiv/kerdoivAdmin.css @@ -0,0 +1,8 @@ + + form.kerdoiv { padding: 30px; width:300px; float:left; } + form.kerdoiv p { background-color: #556677; padding:2px; color:white; margin-bottom:0px; border-bottom: solid 1px white;} + form.kerdoiv input { border: solid 1px #556677; } + form.kerdoiv ol { background-color: #aabbcc; margin-top:0px;} + form.kerdoiv ol li { padding:2px; } + form.kerdoiv ul { background-color: #ccbbcc; margin-top:0px;} + form.kerdoiv ul li { padding:2px; } diff --git a/mayor-orig/www/skin/classic/module-portal/css/portal.css b/mayor-orig/www/skin/classic/module-portal/css/portal.css new file mode 100644 index 00000000..60c89501 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/css/portal.css @@ -0,0 +1,99 @@ + + div.hirCim { + font-style: italic; + font-size: 14px; + color: #000088; + font-weight: bold; + margin-top:1em; + padding-bottom: 0.5em; + } + + div.hirCim a { + color: #000088; + text-decoration: none; + } + div.hirCim a:hover { color: #1E90FF } + + table.portalMain { width: 100%; } + + table.portalMain td.bal { + width:140px; + vertical-align: top; + font-size: 10px; + } + table.portalMain td.kozep { + vertical-align: top; + padding:4px; + } + + table.portalMain td.jobb { + width:160px; + vertical-align: top; + font-size: 10px; + } + + table.portalMain div.doboz { width:100%; padding:0em; margin-bottom: 4px; margin-right: 2px; margin-left: 2px; } + table.portalMain div.doboz ul { padding-left:20px; margin: 0px 0px 0px 0px; } + table.portalMain div.doboz ul li { padding:0px 0px 0px 0px; margin: 0px 0px 0px 0px; } + table.portalMain div.doboz ul li a { color: black; text-decoration: none; } + table.portalMain div.doboz ul li a:hover { color: black; text-decoration: underline; } + + + table.portalMain td.bal div.doboz div.dobozCim { + width:100%; font-size:11px;font-weight: bold; padding: 0.1em 0em; color: white; border-bottom: solid 1px #676767; + border-top-right-radius: 5px; + border-top-left-radius: 5px; + } + table.portalMain td.jobb div.doboz div.dobozCim { + width:100%; font-size:11px;font-weight: bold; padding: 0.1em 0em; color: white; border-bottom: solid 1px #676767; + border-top-right-radius: 5px; + border-top-left-radius: 5px; + } + div.doboz div.dobozCim span { padding-left: 0.8em; } + div.doboz div.dobozCim a { color:white; text-decoration: none;} + div.doboz div.dobozCim a:hover { text-decoration: underline; } + + div.doboz:hover div.dobozCim { opacity: 0.8; } + +/* + div.doboz div.dobozCim , div.doboz div.dobozCim { border-bottom: solid 1px black; } + div.doboz div.dobozCim tr th {color:white; font-weight:bold; text-align: left; font-size:10px;} +*/ + + table.kerdoiv { font-size:10px; } + div.kerdes { text-align: center; font-weight:bold; } + table.kerdoiv tr td.j { text-align: right } + + div.egyHir {position:relative;} + div.egyHir div.hir a { color:#325C99; } + div.egyHir div.hir a:hover { color:#1E90FF; } +/* +div.egyHir div.hirCim:after {position:absolute; display:block; content:""; background-color:#eeeeee; height:1px; width:100%; +bottom:0px; right:0px; } +*/ + +/*Az a hr mindig a halálom volt :) */ +div.egyHir:after { + clear: both; + height: 0px; + margin-top: 2em; + margin-bottom: 2em; + width: 100%; + background-color: #777777; + border-style: solid; + border-color: #eeeeee; + border-width: 0px 0px 1px 0px; + content: " "; + display: block; +} +hr {display: none;} + + table.portalMain div.dobozTart a { color: black } + + + +@media (max-width: 850px) { + .bal, .jobb { + display: none; + } +}
\ No newline at end of file diff --git a/mayor-orig/www/skin/classic/module-portal/css/portal/hir.css b/mayor-orig/www/skin/classic/module-portal/css/portal/hir.css new file mode 100644 index 00000000..84d9cbcd --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/css/portal/hir.css @@ -0,0 +1,5 @@ + + div.hir { margin:20px; } + div.hir h1 { color: #008; } + div.hir h1 a { text-decoration: underline} + div.hir p { line-height:1.5em; } diff --git a/mayor-orig/www/skin/classic/module-portal/html/hirek/egyhir.phtml b/mayor-orig/www/skin/classic/module-portal/html/hirek/egyhir.phtml new file mode 100644 index 00000000..c75b2756 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/html/hirek/egyhir.phtml @@ -0,0 +1,153 @@ +<?php + + function _putKategoriak($ADAT,$cid) { + + echo '<select name="cid">'; + echo '<option value=""></option>'; + for ($i=0; $i<count($ADAT['kategoriak']); $i++) { + $_SEL = ($ADAT['kategoriak'][$i]['id'] == $cid) ? ' selected="selected" ':''; + echo '<option value="'.$ADAT['kategoriak'][$i]['id'].'" '.$_SEL.'>'.$ADAT['kategoriak'][$i]['leiras'].'</option>'; + } + echo '</select>'; + + } + + function putHirForm($HIR,$ADAT) { + global $LANGUAGES, $AUTH; + + $CLASSS = array(1 => _KULSO_HIR, 2 => _KIS_HIR, 6 => _CSAK_BELSO, 0 => _ISMERETLEN); + $FLAGSS = array(0 => _NEM_LATSZIK, 1 => _LATSZIK, 2 => 2, 3 => 3); + + $FLAGS = Array(0,1); + + echo '<div class="egyhir">'; + + echo '<h2>'.__TITLE.'</h2>'; + + formBegin(); + + if (__HIREKADMIN===true) { + + echo '<table class="egyhirdetail" cellspacing="1">'; + echo '<tr><th colspan="3">'._BEALLITASOK.'</th></tr>'; + echo '<tr><td style="text-align:right">'; + + echo _TOLDT.': <input type="text" name="kdt" id="kdt" value="'.$HIR['kdt'].'" class="datetime" /><br/>'; + echo _IGDT.': <input type="text" name="vdt" id="vdt" value="'.$HIR['vdt'].'" class="datetime" />'; + + echo '</td>'; + echo '<td>'; + + reset($LANGUAGES); + echo '<select name="lang">'; + for($i=0; $i<count($LANGUAGES); $i++) { + //echo '<input type="checkbox" name="policies" value="'.$LANGUAGES[$i].'" />'; + $_CHK = ($LANGUAGES[$i]==$HIR['lang']) ? ' selected="selected" ':''; + echo '<option value="'.$LANGUAGES[$i].'" '.$_CHK.'/>'; + echo $LANGUAGES[$i]; + echo '</option>'; + } + echo '</select>'; + + _putKategoriak($ADAT,$HIR['cid']); + + echo '</td>'; + echo '<td>'; + echo $HIR['owner']; + echo '</td>'; + echo '</tr>'; + + echo '<tr>'; + echo '<td>'; + + + reset($FLAGS); + for($i=0; $i<count($FLAGS); $i++) { + $_CHK = ($FLAGS[$i]==$HIR['flag']) ? ' checked="checked" ':''; + echo '<input type="radio" id="F'.$i.'" name="flag" value="'.$FLAGS[$i].'" '.$_CHK.'/>'; + echo '<label for="F'.$i.'">'; + echo ' '; + echo $FLAGSS[$i]; + echo '('.$FLAGS[$i].')'; + echo '</label>'; + echo '<br/>'; + } + + + + echo '</td><td>'; + + //$POLICIES = Array('private','parent','public'); + $POLICIES = Array(1,6); + reset($POLICIES); + for($i=0; $i<count($POLICIES); $i++) { + //echo '<input type="checkbox" name="policies" value="'.$POLICIES[$i].'" />'; + $_CHK = ($POLICIES[$i]==$HIR['class']) ? ' checked="checked" ':''; + echo '<input id="P'.$i.'" type="radio" name="class" value="'.$POLICIES[$i].'" '.$_CHK.'/>'; + echo '<label for="P'.$i.'"> '; + echo $CLASSS[$POLICIES[$i]]; + echo ' ('.$POLICIES[$i].')'; + echo '</label>'; + echo '<br/>'; + } + + echo '</td>'; + echo '<td>'; + for($i=0; $i<count($C = $AUTH['private']['categories']); $i++) { + $_CHK = (strstr($HIR['csoport'],$C[$i])) ? ' checked="checked"':''; + echo '<input type="checkbox" id="C1'.$i.'" name="csoport[]" value="'.$C[$i].'" '.$_CHK.'/>'; + echo '<label for="C1'.$i.'">'.$C[$i].'</label>'; + } + for($i=0; $i<count($C = $AUTH['parent']['categories']); $i++) { + $_CHK = (strstr($HIR['csoport'],$C[$i])) ? ' checked="checked"':''; + echo '<input type="checkbox" id="C2'.$i.'" name="csoport[]" value="'.$C[$i].'" '.$_CHK.'/>'; + echo '<label for="C2'.$i.'">'.$C[$i].'</label>'; + } + echo '</td>'; + echo '</tr>'; + + echo '</table>'; + + + } else { + echo '<input type="hidden" name="flag" value="0" />'; + } + + echo '<p>'; + + + echo '<label for="cim">'._CIM.': </label>'; + echo '<input type="text" name="cim" id="cim" size="80" value="'.htmlspecialchars($HIR['cim']).'" />'; + + echo '<br/>'; + echo "\n".'<textarea name="txt" id="txt" class="wysiwyg" rows="10" cols="80">'.htmlspecialchars($HIR['txt']).'</textarea>'."\n"; + + echo '<br/>'; + echo _KEP; + echo '<input type="text" name="pic" id="pic" size="128" value="'.$HIR['pic'].'" /><br/>'; + echo '<input type="submit" value="'._ROGZIT.'" />'; + echo '<input type="hidden" name="action" value="save" />'; + echo '<input type="hidden" name="hirId" value="'.($HIR['id']).'" />'; + echo '</p>'; + + + formEnd(); + + echo '</div>'; + + + if (__HIREKADMIN===true) { + echo '<hr/>'; + echo '<div class="hirCim">'.($HIR['cim']).'</div>'; + echo '<div class="hir">'.($HIR['txt']).'</div>'; + for ($j=0; $j<count($ADAT['hirek']['linkek'][$HIR['id']]); $j++) { + echo '<a href="'.$ADAT['hirek']['linkek'][$HIR['id']][$j]['uri'].'">'; + //echo $ADAT['hirek']['linkek'][$HIR['id']][$j]['szoveg']; + echo '</a>'; + } + echo '<hr/>'; + } + + } + +?> diff --git a/mayor-orig/www/skin/classic/module-portal/html/hirek/hirekAdmin.phtml b/mayor-orig/www/skin/classic/module-portal/html/hirek/hirekAdmin.phtml new file mode 100644 index 00000000..6dc5900d --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/html/hirek/hirekAdmin.phtml @@ -0,0 +1,51 @@ +<?php + + function putHirek($ADAT) { + +/* + hideShowContainer + onClickHideShow + openable +*/ + + $CLASS = array(1=>'külső hír',2=>'kis hír',6=>'csak belső',0=>'ISMERETLEN'); + $FLAGS = array(0=>'nem látszik', 1=>'látszik', 2=>2, 3=>3); + $now = time(); + echo '<table class="hAdmin hideShowContainer" align="center">'; + echo '<tr><th colspan="5"><button type="button" class="onClickHideShow">+++</button></th></tr>'."\n"; + for ($i=0; $i<count($ADAT); $i++) { + $D = $ADAT[$i]; + if ($D['class']==0) $_class='class="unk"'; else + if (strtotime($D['vdt'])<$now || $D['flag']==0) $_class='class="old openable" style="display: none"'; else $_class=""; + + echo '<tr '.$_class.'>'; + echo '<td>'; + echo $D['lang']; + echo '</td>'; + + echo '<td>'; + echo '<a href="'.href('index.php?page=portal&sub=hirek&f=egyhir&hirId='.$D['id']).'">'; + echo ($D['cim']=='')?'nincs cím':htmlspecialchars($D['cim']); + echo '</a>'; + echo '</td>'; + echo '<td>'; + echo $CLASS[$D['class']]; + echo '</td>'; + echo '<td>'; + echo $FLAGS[$D['flag']]; + echo ' '.$D['csoport']; + echo '</td>'; + echo '<td>'; + echo $D['owner']; + echo '</td>'; + echo '<td>'; + echo $D['kdt']; + echo $D['vdt']; + echo '</td></tr>'; + echo "\n\n"; + } + echo '</table>'; + + } + +?> diff --git a/mayor-orig/www/skin/classic/module-portal/html/kerdoiv/kerdoivAdmin.phtml b/mayor-orig/www/skin/classic/module-portal/html/kerdoiv/kerdoivAdmin.phtml new file mode 100644 index 00000000..2d657a27 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/html/kerdoiv/kerdoivAdmin.phtml @@ -0,0 +1,38 @@ +<?php + + function putUjKerdoiv() { + + formBegin(array('class'=>'kerdoiv')); + echo '<input type="hidden" name="action" value="ujKerdes" />'; + echo '<p>'; + echo '<label for="kerdes">'._KERDES.'</label>'."\n"; + echo '<input type="text" name="kerdes" text="" />'; + echo '</p>'; + echo '<ol>'; + for ($i = 0; $i < 15; $i++) { + echo '<li><input type="text" name="valaszok[]" text="" /></li>'; + } + echo '</ol>'; + echo '<input type="submit" />'; + formEnd(); + + } + + function putRegiKerdesek($ADAT) { + formBegin(array('class'=>'kerdoiv')); + echo '<input type="hidden" name="action" value="delKerdes" />'; + echo '<p>Törlendők</p>'; + echo '<ul>'; + for ($i=0; $i<count($ADAT); $i++) { + echo '<li>'; + echo '<input type="checkbox" name="sorszam[]" value="'.$ADAT[$i]['sorszam'].'" />'; + echo $ADAT[$i]['kerdes']; + echo '</li>'; + } + echo '</ul>'; + echo '<input type="submit" />'; + formEnd(); + + } + +?> diff --git a/mayor-orig/www/skin/classic/module-portal/html/portal/hir.phtml b/mayor-orig/www/skin/classic/module-portal/html/portal/hir.phtml new file mode 100644 index 00000000..30be4289 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/html/portal/hir.phtml @@ -0,0 +1,16 @@ +<?php + + function putHir($ADAT) { + $H = $ADAT['hirek']['szovegek'][0]; + echo '<div class="hir">'; + echo '<h1>'.$H['cim'].'</h1>'; + echo '<p>'.$H['txt'].'</p>'; + //echo '<div>'.$H['kdt'].'</div>'; + echo '</div>'; + if (_OG_ENABLED===true) { + echo '<div class="fb-comments" style="z-index:0" data-href="'._BASE_URL.'/index.php?page=portal&sub=portal&f=hir&hirId='.$H['id'].'" + data-width="100%" data-numposts="10" data-colorscheme="light"></div>'; + } + } + +?>
\ No newline at end of file diff --git a/mayor-orig/www/skin/classic/module-portal/html/share/doboz.phtml b/mayor-orig/www/skin/classic/module-portal/html/share/doboz.phtml new file mode 100644 index 00000000..7c903e27 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/html/share/doboz.phtml @@ -0,0 +1,32 @@ +<?php + + function genLinkek($ADAT) { + + if (is_array($ADAT) && count($ADAT)>0) { + $str = '<ul>'; + for ($i=0; $i<count($ADAT); $i++) { + $L = $ADAT[$i]; + $str .= '<li>'; + $str .= '<a href="'.$L['href'].'">'; + $str .= $L['szoveg']; + $str .= '</a>'; + $str .= '</li>'."\n"; + } + $str .= '</ul>'; + } + return $str; + } + + function putDoboz($cime, $bele, $SET = array('width'=>'100%','background-color'=> '#eeeeee', 'header-color'=>'#444444', 'header-link'=>'')) { + + $bgcolor = ($SET['background-color']=='') ? '#eeeeee' : $SET['background-color'] ; + $width = ($SET['width']=='') ? '100%':$SET['width']; + if ($SET['header-link']!='') $cime = '<a href="'.$SET['header-link'].'">'.$cime.'</a>'; + echo '<div class="doboz">'; + echo '<div class="dobozCim" style="width: '.$width.'; background-color: '.$SET['header-color'].'"><span>'.$cime.'</span></div>'; + echo '<div class="dobozTart" style="background-color: '.$bgcolor.'">'.$bele.'</div>'; + echo '</div>'; + + } + +?> diff --git a/mayor-orig/www/skin/classic/module-portal/html/share/hirek.phtml b/mayor-orig/www/skin/classic/module-portal/html/share/hirek.phtml new file mode 100644 index 00000000..9b586cd7 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/html/share/hirek.phtml @@ -0,0 +1,34 @@ +<?php + + function putHirek($ADAT) { + + if (count($ADAT['hirek']['szovegek'])==0) { +/* echo '<div class="egyHir"><div class="hirCim">'; + echo 'MaYoR elektronikus napló'; + echo '</div><div class="hir">'; + echo 'Szabadszoftver a közoktatási intézmények napi adminisztrációjához.'; + echo '<ul><li><a href="http://www.mayor.hu">www.mayor.hu</a> - a mindennapokra</li></ul>'; + echo '</div></div>'; +*/ + } else { + for ($i=0; $i<count($ADAT['hirek']['szovegek']); $i++) { + echo '<div class="egyHir">'; + $D = $ADAT['hirek']['szovegek'][$i]; + list ($a,$b) = explode('<!-- more -->',$D['txt']); + echo '<div class="hirCim"><a href="'.href('index.php?page=portal&sub=portal&f=hir&hirId='.$D['id']).'">'.$D['cim'].'</a></div>'; + echo '<div class="hir">'; + echo $a; + if ($b!="") echo ' <a href="'.href('index.php?page=portal&sub=portal&f=hir&hirId='.$D['id']).'">Tovább...</a>'; + echo '</div>'; + for ($j=0; $j<count($ADAT['hirek']['linkek'][$D['id']]); $j++) { + echo '<a href="'.$ADAT['hirek']['linkek'][$D['id']][$j]['uri'].'">'; + echo $ADAT['hirek']['linkek'][$D['id']][$j]['szoveg']; + echo '</a>'; + } + echo '<hr style="clear:both; height:0px; margin-top:2em; margin-bottom:2em; width:80%; background-color: #777777; border-style: solid; border-color: #eeeeee; border-width: 0px 0px 1px 0px;" />'; + echo '</div>'; + } + } + } + +?> diff --git a/mayor-orig/www/skin/classic/module-portal/html/share/kerdoiv.phtml b/mayor-orig/www/skin/classic/module-portal/html/share/kerdoiv.phtml new file mode 100644 index 00000000..4e8ab0e6 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/html/share/kerdoiv.phtml @@ -0,0 +1,41 @@ +<?php + + function genKerdoiv($ADAT) { + + $VALASZOK = $ADAT['valaszok']; + + $r = formBegin(array(),array("print"=>false)); + $r .= '<input type="hidden" name="action" value="szavaz" />'; + $r .= '<input type="hidden" name="kerdoivId" value="'.$ADAT['kerdes']['sorszam'].'" />'; + $r .= '<div class="kerdes">'.$ADAT['kerdes']['kerdes'].'</div>'; + + $r.='<table class="kerdoiv" cellpadding="1" cellspacing="0">'; + + if (count($VALASZOK)>15 && $ADAT['szavazott']!==true) { + $r .= '<tr><td>'; + $r .= '<select name="vId">'; + for ($i = 0; $i < count($VALASZOK); $i++) { + $r .= '<option value="'.$VALASZOK[$i]['sorszam'].'">'.$VALASZOK[$i]['valasz'].'</option>'; + } + $r .= '</select>'; + $r .= '</td></tr>'."\n"; + } else { + for ($i = 0; $i < count($VALASZOK); $i++) { + $r .= '<tr><td>'; + if ($ADAT['szavazott'] != true) $r .= '<input type="radio" name="vId" id="vId'.$i.'" value="'.$VALASZOK[$i]['sorszam'].'" />'; + $r .= '</td><td>'; + $r .= '<label for="vId'.$i.'">'.$VALASZOK[$i]['valasz'].'</label>'; + $r .= '</td><td class="j">'; + $r .= $VALASZOK[$i]['pontszam']; + $r .= '</td></tr>'; + } + } + $r .= '</table>'."\n"; + if ($ADAT['szavazott'] != true) $r .= '<input type="submit" />'; + $r .= formEnd(array("print"=>false)); + + return $r; + + } + +?> diff --git a/mayor-orig/www/skin/classic/module-portal/img/cl.gif b/mayor-orig/www/skin/classic/module-portal/img/cl.gif Binary files differnew file mode 100644 index 00000000..9f2f2c22 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/img/cl.gif diff --git a/mayor-orig/www/skin/classic/module-portal/img/cr.gif b/mayor-orig/www/skin/classic/module-portal/img/cr.gif Binary files differnew file mode 100644 index 00000000..9fe3cad0 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/img/cr.gif diff --git a/mayor-orig/www/skin/classic/module-portal/img/ok_button.gif b/mayor-orig/www/skin/classic/module-portal/img/ok_button.gif Binary files differnew file mode 100644 index 00000000..f703e173 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/img/ok_button.gif diff --git a/mayor-orig/www/skin/classic/module-portal/javascript/hirek/egyhir.php b/mayor-orig/www/skin/classic/module-portal/javascript/hirek/egyhir.php new file mode 100644 index 00000000..bbaa9f91 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-portal/javascript/hirek/egyhir.php @@ -0,0 +1,23 @@ +<?php + + if ($_GET['lang'] != '') $lang = substr($_GET['lang'],0,2); + else $lang = 'hu'; + + if ($lang == 'jp') $lang = 'ja'; + + echo ' + tinyMCE.init({ + mode : "specific_textareas", + editor_selector : "wysiwyg", + theme : "advanced", + language : "'.$lang.'", + plugins : "table,advimage,style,visualchars", + entity_encoding : "raw", + inline_styles : true, + theme_advanced_buttons1_add : "fontsizeselect,fontselect", + theme_advanced_buttons2_add : "separator,forecolor,backcolor,visualchars", + theme_advanced_buttons3_add_before : "tablecontrols,separator,styleprops" + }); + '; + +?>
\ No newline at end of file |