fixed styles
This commit is contained in:
parent
a0828ac25c
commit
d6a1155dbb
|
@ -39,7 +39,6 @@ if (!empty($news)) {
|
||||||
|
|
||||||
// Prints news dialog template
|
// Prints news dialog template
|
||||||
echo '<div id="news_dialog" class="invisible">';
|
echo '<div id="news_dialog" class="invisible">';
|
||||||
|
|
||||||
echo '<div class="parent_new_dialog_tmplt">';
|
echo '<div class="parent_new_dialog_tmplt">';
|
||||||
echo '<span id="new_text"></span>';
|
echo '<span id="new_text"></span>';
|
||||||
echo '<span id="new_author"></span>';
|
echo '<span id="new_author"></span>';
|
||||||
|
@ -48,14 +47,22 @@ echo '<div id="news_dialog" class="invisible">';
|
||||||
|
|
||||||
echo '<div id="div_btn_new_dialog">';
|
echo '<div id="div_btn_new_dialog">';
|
||||||
echo '<div class="float-right w20p">';
|
echo '<div class="float-right w20p">';
|
||||||
html_print_submit_button('Ok', 'hide-news-help', false, 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub ok w100px";"');
|
html_print_submit_button(
|
||||||
|
'Ok',
|
||||||
|
'hide-news-help',
|
||||||
|
false,
|
||||||
|
[
|
||||||
|
'mode' => 'ui-widget ok mini',
|
||||||
|
'icon' => 'wand',
|
||||||
|
]
|
||||||
|
);
|
||||||
|
echo '</div>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '</div>';
|
|
||||||
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
ui_require_javascript_file('encode_decode_base64');
|
ui_require_javascript_file('encode_decode_base64');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript">
|
<script type="text/javascript" language="javascript">
|
||||||
/* <![CDATA[ */
|
/* <![CDATA[ */
|
||||||
|
@ -82,22 +89,22 @@ $(document).ready (function () {
|
||||||
width: 630,
|
width: 630,
|
||||||
title: news[inew].subject,
|
title: news[inew].subject,
|
||||||
overlay: {
|
overlay: {
|
||||||
opacity: 0.5,
|
opacity: 0.5,
|
||||||
background: "black"
|
background: "black"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.ui-dialog-titlebar-close').hide();
|
$('.ui-dialog-titlebar-close').hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$("#submit-hide-news-help").click (function () {
|
$("#button-hide-news-help").click (function () {
|
||||||
$("#news_dialog" ).dialog('close');
|
$("#news_dialog" ).dialog('close');
|
||||||
inew++;
|
inew++;
|
||||||
show_new ();
|
show_new();
|
||||||
});
|
});
|
||||||
|
|
||||||
show_new ();
|
show_new();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -289,7 +289,7 @@ if ((isset($_GET['form_add'])) || (isset($_GET['form_edit']))) {
|
||||||
'text',
|
'text',
|
||||||
25,
|
25,
|
||||||
100,
|
100,
|
||||||
$text,
|
io_safe_output($text),
|
||||||
'',
|
'',
|
||||||
true,
|
true,
|
||||||
'w100p'
|
'w100p'
|
||||||
|
@ -442,9 +442,19 @@ ui_require_javascript_file('pandora');
|
||||||
dateFormat: "<?php echo DATE_FORMAT_JS; ?>",
|
dateFormat: "<?php echo DATE_FORMAT_JS; ?>",
|
||||||
changeMonth: true,
|
changeMonth: true,
|
||||||
changeYear: true,
|
changeYear: true,
|
||||||
showAnim: "slideDown"});
|
showAnim: "slideDown"}
|
||||||
|
);
|
||||||
|
|
||||||
defineTinyMCE({"elements": "textarea_text",});
|
var added_config = {
|
||||||
|
"elements":"textarea_text",
|
||||||
|
"plugins": "preview, print, table, searchreplace, nonbreaking, xhtmlxtras, noneditable",
|
||||||
|
"theme_advanced_buttons1": "bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,fontselect,fontsizeselect",
|
||||||
|
"theme_advanced_buttons2": "search,replace,|,bullist,numlist,|,undo,redo,|,link,unlink,image,|,cleanup,code,preview,|,forecolor,backcolor",
|
||||||
|
"valid_children": "+body[style]",
|
||||||
|
"width": "90%",
|
||||||
|
}
|
||||||
|
|
||||||
|
defineTinyMCE(added_config);
|
||||||
|
|
||||||
$("#checkbox-expire").click(function() {
|
$("#checkbox-expire").click(function() {
|
||||||
check_expire();
|
check_expire();
|
||||||
|
|
Loading…
Reference in New Issue