Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test revert - do not merge #129

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions centreon/www/include/options/media/images/listImg.ihtml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<td>
{$form.o1.html}
<a href="{$msg.addL}" class="btc bt_success ml-2">{$msg.addT}</a>
<a href='#' class="btc bt_info ml-2 mr-1" onClick="openPopup({$p})">{$syncDir}</a>
<a href='#' class="btc bt_info ml-2 mr-1" onClick="window.open('./main.php?p={$p}&o=sd&min=1','','toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no, width=350, height=250');">{$syncDir}</a>
<label >
{$availiableSpace} {$Available}
</label>
Expand Down Expand Up @@ -67,7 +67,7 @@
<td>
{$form.o2.html}
<a href="{$msg.addL}" class="btc bt_success ml-2">{$msg.addT}</a>
<a href='#' class="btc bt_info ml-2 mr-1" onClick="openPopup({$p})">{$syncDir}</a>
<a href='#' class="btc bt_info ml-2 mr-1" onClick="window.open('./main.php?p={$p}&o=sd&min=1','','toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no, width=350, height=250');">{$syncDir}</a>
<a >
{$availiableSpace} {$Available}
</a>
Expand Down
13 changes: 2 additions & 11 deletions centreon/www/include/options/media/images/listImg.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,7 @@
);

?>
<script type="text/javascript">
function openPopup(pageNumber) {
window.open(
'./main.get.php?p=' + pageNumber + '&o=sd&min=1',
'',
'toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,' +
'width=350,height=250'
)
}

<SCRIPT LANGUAGE="JavaScript">
function setO(_i) {
document.forms['form'].elements['o'].value = _i;
}
Expand Down Expand Up @@ -198,7 +189,7 @@ function setSubNodes(theElement, like) {
}


</script>
</SCRIPT>
<?php
$actions = [null => _("More actions"), IMAGE_DELETE => _("Delete"), IMAGE_MOVE => _("Move images")];
$form->addElement('select', 'o1', null, $actions, ['onchange' => "javascript:submitO('o1');"]);
Expand Down
Loading
Loading