new config file structuring
This commit is contained in:
parent
79f9243e1e
commit
58648d58ea
|
@ -197,12 +197,13 @@ include '../main_header.php';
|
||||||
$deleteLink->setOnClick("profileShowDeleteDialog('" . _('Delete') . "', '" . _('Ok') . "', '" . _('Cancel') . "', '" . $templateClasses[$i]['scope'] . "', '" . 'template_' . $templateClasses[$i]['scope'] . "');");
|
$deleteLink->setOnClick("profileShowDeleteDialog('" . _('Delete') . "', '" . _('Ok') . "', '" . _('Cancel') . "', '" . $templateClasses[$i]['scope'] . "', '" . 'template_' . $templateClasses[$i]['scope'] . "');");
|
||||||
$existingContainer->addElement($deleteLink);
|
$existingContainer->addElement($deleteLink);
|
||||||
|
|
||||||
$importLink = new htmlLink(null, '#', '../../graphics/import.png');
|
if (count($configProfiles) > 1) {
|
||||||
$importLink->setTitle(_('Import PDF structures'));
|
$importLink = new htmlLink(null, '#', '../../graphics/import.png');
|
||||||
$importLink->setOnClick("showDistributionDialog('" . _("Import PDF structures") . "', '" .
|
$importLink->setTitle(_('Import PDF structures'));
|
||||||
_('Ok') . "', '" . _('Cancel') . "', '" . $templateClasses[$i]['scope'] . "', 'import');");
|
$importLink->setOnClick("showDistributionDialog('" . _("Import PDF structures") . "', '" .
|
||||||
$existingContainer->addElement($importLink);
|
_('Ok') . "', '" . _('Cancel') . "', '" . $templateClasses[$i]['scope'] . "', 'import');");
|
||||||
|
$existingContainer->addElement($importLink);
|
||||||
|
}
|
||||||
$exportLink = new htmlLink(null, '#', '../../graphics/export.png');
|
$exportLink = new htmlLink(null, '#', '../../graphics/export.png');
|
||||||
$exportLink->setTitle(_('Export PDF structure'));
|
$exportLink->setTitle(_('Export PDF structure'));
|
||||||
$exportLink->setOnClick("showDistributionDialog('" . _("Export PDF structure") . "', '" .
|
$exportLink->setOnClick("showDistributionDialog('" . _("Export PDF structure") . "', '" .
|
||||||
|
|
|
@ -195,12 +195,13 @@ for ($i = 0; $i < sizeof($profileClasses); $i++) {
|
||||||
$deleteLink->setTitle(_('Delete'));
|
$deleteLink->setTitle(_('Delete'));
|
||||||
$deleteLink->setOnClick("profileShowDeleteDialog('" . _('Delete') . "', '" . _('Ok') . "', '" . _('Cancel') . "', '" . $profileClasses[$i]['scope'] . "', '" . 'profile_' . $profileClasses[$i]['scope'] . "');");
|
$deleteLink->setOnClick("profileShowDeleteDialog('" . _('Delete') . "', '" . _('Ok') . "', '" . _('Cancel') . "', '" . $profileClasses[$i]['scope'] . "', '" . 'profile_' . $profileClasses[$i]['scope'] . "');");
|
||||||
$existingContainer->addElement($deleteLink);
|
$existingContainer->addElement($deleteLink);
|
||||||
$importLink = new htmlLink(null, '#', '../../graphics/import.png');
|
if (count($configProfiles) > 1) {
|
||||||
$importLink->setTitle(_('Import profiles'));
|
$importLink = new htmlLink(null, '#', '../../graphics/import.png');
|
||||||
$importLink->setOnClick("showDistributionDialog('" . _("Import profiles") . "', '" .
|
$importLink->setTitle(_('Import profiles'));
|
||||||
_('Ok') . "', '" . _('Cancel') . "', '" . $profileClasses[$i]['scope'] . "', 'import');");
|
$importLink->setOnClick("showDistributionDialog('" . _("Import profiles") . "', '" .
|
||||||
$existingContainer->addElement($importLink);
|
_('Ok') . "', '" . _('Cancel') . "', '" . $profileClasses[$i]['scope'] . "', 'import');");
|
||||||
|
$existingContainer->addElement($importLink);
|
||||||
|
}
|
||||||
$exportLink = new htmlLink(null, '#', '../../graphics/export.png');
|
$exportLink = new htmlLink(null, '#', '../../graphics/export.png');
|
||||||
$exportLink->setTitle(_('Export profile'));
|
$exportLink->setTitle(_('Export profile'));
|
||||||
$exportLink->setOnClick("showDistributionDialog('" . _("Export profile") . "', '" .
|
$exportLink->setOnClick("showDistributionDialog('" . _("Export profile") . "', '" .
|
||||||
|
|
Loading…
Reference in New Issue