This commit is contained in:
cutemeli
2025-12-22 10:35:30 +00:00
parent 0bfc6c8425
commit 5ce7ca2c5d
38927 changed files with 0 additions and 4594700 deletions

View File

@@ -1,57 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<table cellspacing="0" width="100%" class="form-table form-limits"><tbody>
<tr id="<?php echo $this->elementId; ?>-row" class="form-row">
<td class="field-name">
<label for="<?php echo $this->elementId; ?>-value">
<?php echo $this->elementPart($this->element->getElement('hardDiskQuotaValue'))->label(); ?>
</label>
</td>
<td class="field-value">
<div class="nowrap">
<?php echo $this->elementPart($this->element->getElement('hardDiskQuotaValue'))->content(); ?>
<?php echo $this->lmsg('smb.components.forms.web-user.megabytes'); ?>
</div>
<?php echo $this->element->getElement('hardDiskQuota'); ?>
<span class="field-errors" style="display: none;"></span>
</td>
<td class="nowrap">
<?php echo $this->elementPart($this->element->getElement('hardDiskQuotaUnlimited'))->content(); ?>
<?php echo $this->elementPart($this->element->getElement('hardDiskQuotaUnlimited'))->label() . $this->explanation; ?>
</td>
</tr>
</tbody></table>
<script type="text/javascript">
//<![CDATA[
Jsw.onReady(function () {
var updateElementValueFunction = function (event) {
var elementId = <?php echo $this->jsEscape($this->elementId); ?>;
if (document.getElementById(elementId + '-unlimited') && document.getElementById(elementId + '-unlimited').checked) {
document.getElementById(elementId + '-value').disabled = true;
document.getElementById(elementId).value = -1;
} else {
document.getElementById(elementId + '-value').disabled = false;
if (event && event.target.id === elementId + '-unlimited') {
try {
document.getElementById(elementId + '-value').focus();
} catch (e) {}
}
var value = document.getElementById(elementId + '-value').value;
if (!/^\d+$/.test(value)) {
document.getElementById(elementId).value = value;
} else {
document.getElementById(elementId).value = value;
}
}
}
document.getElementById('<?php echo $this->elementId; ?>-value').addEventListener('change', updateElementValueFunction);
if (document.getElementById('<?php echo $this->elementId; ?>-unlimited')) {
document.getElementById('<?php echo $this->elementId; ?>-unlimited').addEventListener('click', updateElementValueFunction);
}
updateElementValueFunction();
});
//]]>
</script>

View File

@@ -1,14 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<div class='form-row'>
<div class='field-name'>
<label for="<?php echo $this->element->getId(); ?>">
<?php echo $this->element->getLabel(); ?>
</label>
</div>
<div class='single-row'>
<?php echo $this->elementPart($this->element)->content(); ?>
<span class="field-errors" style="display: none;"></span>
</div>
</div>

View File

@@ -1,4 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php echo $this->form ?>

View File

@@ -1,4 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php echo $this->form ?>

View File

@@ -1,87 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<script type="text/javascript">
//<![CDATA[
Jsw.onReady(function() {
new Jsw.Hint({
renderTo: 'main',
hint: <?php echo $this->jsLmsg('hint'); ?>
});
new Jsw.Panel({
cls: 'list-box',
renderTo: 'main',
items: [
new Jsw.List({
id: 'web-users-list',
searchOveral: 'name',
searchFilters: <?php echo Zend_Json::encode($this->webUsersList->getSearchFilterConfig()); ?>,
data: <?php echo Zend_Json::encode($this->webUsersList->fetchData()); ?>,
dataUrl: '/web-user/list-data',
columns: [
Jsw.list.COLUMN_SELECTION,
{
header: <?php echo $this->webUsersList->jsLmsg('name'); ?>,
sortable: true,
dataIndex: 'name',
renderer: function(item) {
return '<a href=' + Jsw.prepareUrl('/web-user/edit/id/' + item.id) + '>' + item.name + '</a>';
}
}, {
header: '',
sortable: false,
cls: 'min',
renderer: function(item) {
return '<span class="tooltipData">' + <?php echo $this->webUsersList->jsLmsg('buttonOpenHomepageHint');?> + '</span>' +
'<a target="_blank" href=' + item.url +' class="s-btn sb-open-in-browser"><span></span></a>';
}
}
],
operations: [
{
componentType: 'Jsw.SmallButton',
id: 'buttonCreate',
title: <?php echo $this->webUsersList->jsLmsg('add');?>,
description: <?php echo $this->webUsersList->jsLmsg('hintAdd', array('resourceUsage' => $this->resourceUsage)); ?>,
addCls: 'sb-add-user btn-primary',
href: '/web-user/create'
}, {
componentType: 'Jsw.bar.Separator'
},
{
componentType: 'Jsw.SmallButton',
id: 'buttonSettings',
title: <?php echo $this->webUsersList->jsLmsg('settings');?>,
description: <?php echo $this->webUsersList->jsLmsg('hintSettings'); ?>,
addCls: 'sb-settings',
href: '/web-user/settings'
}, {
componentType: 'Jsw.bar.Separator'
},
{
componentType: 'Jsw.SmallButton',
id: 'buttonRemoveWebUser',
title: <?php echo $this->webUsersList->jsLmsg('remove');?>,
description: <?php echo $this->webUsersList->jsLmsg('hintRemove'); ?>,
addCls: 'sb-remove-selected',
handler: function(event) {
Jsw.getComponent('web-users-list').execGroupOperation({
url: '/web-user/delete',
subtype: 'delete',
mouseEvent: event,
locale: {
confirmOnGroupOperation: <?php echo $this->webUsersList->jsLmsg('confirmOnDelete'); ?>
}
});
}
}
]
})
]
});
});
//]]>
</script>

View File

@@ -1,4 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php echo $this->form ?>