Skip to content

Commit

Permalink
Merge branch 'master' of code.pp.plesk.ru:plesk-sdk/nat-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
sibprogrammer committed Oct 6, 2014
2 parents 4b62203 + deff8e6 commit c103db9
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion htdocs/index.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php

// Copyright 1999-2014. Parallels IP Holdings GmbH. All Rights Reserved.
$application = new pm_Application();
$application->run();
3 changes: 2 additions & 1 deletion meta.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 1999-2014. Parallels IP Holdings GmbH. All Rights Reserved. -->
<module>
<id>nat</id>
<name>NAT Manager</name>
<description>Plugin provides an ability to manage public/private IP addresses for proper working behind NAT.</description>
<version>1.0</version>
<release>1</release>
<release>2</release>
<vendor>Parallels, Inc.</vendor>
<plesk_min_version>12.0.18</plesk_min_version>
</module>
2 changes: 1 addition & 1 deletion plib/controllers/IndexController.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

// Copyright 1999-2014. Parallels IP Holdings GmbH. All Rights Reserved.
class IndexController extends pm_Controller_Action
{

Expand Down
2 changes: 1 addition & 1 deletion plib/library/NatManager.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

// Copyright 1999-2014. Parallels IP Holdings GmbH. All Rights Reserved.
class Modules_Nat_NatManager
{

Expand Down
2 changes: 1 addition & 1 deletion plib/resources/locales/en-US.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

// Copyright 1999-2014. Parallels IP Holdings GmbH. All Rights Reserved.
$messages = array(
'indexPageTitle' => 'NAT Manager',
'indexPageHint' => 'Select IP address and define public to private IP translation. In order to propagate changes to DNS zones of existing domains need to sync these zones with DNS zone template.',
Expand Down
3 changes: 3 additions & 0 deletions plib/views/scripts/index/index.phtml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
<?php
// Copyright 1999-2014. Parallels IP Holdings GmbH. All Rights Reserved.
?>
<p><?php echo $this->pageHint; ?></p>
<?php echo $this->renderList($this->list); ?>
3 changes: 3 additions & 0 deletions plib/views/scripts/index/update-address.phtml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php
// Copyright 1999-2014. Parallels IP Holdings GmbH. All Rights Reserved.
?>
<?php echo $this->form; ?>

0 comments on commit c103db9

Please sign in to comment.