You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2012/07/03 23:18:28 UTC
svn commit: r1356953 - in /incubator/ambari/branches/branch-0.9: ./ hmc/html/
Author: yusaku
Date: Tue Jul 3 21:18:26 2012
New Revision: 1356953
URL: http://svn.apache.org/viewvc?rev=1356953&view=rev
Log:
AMBARI-591. License header for PHP files should use PHP comments, not HTML comments (Contributed by yusaku)
Modified:
incubator/ambari/branches/branch-0.9/CHANGES.txt
incubator/ambari/branches/branch-0.9/hmc/html/addNodesWizard.php
incubator/ambari/branches/branch-0.9/hmc/html/bootstrapJs.htmli
incubator/ambari/branches/branch-0.9/hmc/html/footer.htmli
incubator/ambari/branches/branch-0.9/hmc/html/head.htmli
incubator/ambari/branches/branch-0.9/hmc/html/head.inc
incubator/ambari/branches/branch-0.9/hmc/html/index.php
incubator/ambari/branches/branch-0.9/hmc/html/initializeCluster.php
incubator/ambari/branches/branch-0.9/hmc/html/installFailed.php
incubator/ambari/branches/branch-0.9/hmc/html/manageServices.php
incubator/ambari/branches/branch-0.9/hmc/html/reinstall.php
incubator/ambari/branches/branch-0.9/hmc/html/showDeployAddedNodesProgress.php
incubator/ambari/branches/branch-0.9/hmc/html/showDeployProgress.php
incubator/ambari/branches/branch-0.9/hmc/html/showManageServicesProgress.php
incubator/ambari/branches/branch-0.9/hmc/html/showUninstallProgress.php
incubator/ambari/branches/branch-0.9/hmc/html/subnav.htmli
incubator/ambari/branches/branch-0.9/hmc/html/topnav.htmli
incubator/ambari/branches/branch-0.9/hmc/html/txnUtils.htmli
incubator/ambari/branches/branch-0.9/hmc/html/uninstallFailed.php
incubator/ambari/branches/branch-0.9/hmc/html/uninstallWizard.php
incubator/ambari/branches/branch-0.9/hmc/html/utils.htmli
incubator/ambari/branches/branch-0.9/hmc/html/welcome.inc
incubator/ambari/branches/branch-0.9/hmc/html/welcome.php
Modified: incubator/ambari/branches/branch-0.9/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/CHANGES.txt?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/CHANGES.txt (original)
+++ incubator/ambari/branches/branch-0.9/CHANGES.txt Tue Jul 3 21:18:26 2012
@@ -6,6 +6,9 @@ characters wide.
Release 0.9.0 - unreleased
+ AMBARI-591. License header for PHP files should use PHP comments,
+ not HTML comments (yusaku)
+
Added notices where we use compatibly licensed third party libraries (vikram)
Rat tool compliance on special files. (hitesh and vikram)
Modified: incubator/ambari/branches/branch-0.9/hmc/html/addNodesWizard.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/addNodesWizard.php?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/addNodesWizard.php (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/addNodesWizard.php Tue Jul 3 21:18:26 2012
@@ -1,6 +1,5 @@
-<?php require_once "./head.inc" ?>
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -17,9 +16,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
+<?php require_once "./head.inc" ?>
<html>
<head>
<?php require "./head.htmli" ?>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/bootstrapJs.htmli
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/bootstrapJs.htmli?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/bootstrapJs.htmli (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/bootstrapJs.htmli Tue Jul 3 21:18:26 2012
@@ -1,5 +1,5 @@
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -16,9 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
<link type="text/css" rel="stylesheet" href="../css/yuiCombined.css">
<script src="../js/ext/yui-min.js"></script>
<script src="../js/ext/yuiCombined.js"></script>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/footer.htmli
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/footer.htmli?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/footer.htmli (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/footer.htmli Tue Jul 3 21:18:26 2012
@@ -1,5 +1,5 @@
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -16,9 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
<!-- START FOOTER -->
<div class="container">
<footer><?php echo $RES['page.footer.body'] ?></footer>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/head.htmli
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/head.htmli?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/head.htmli (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/head.htmli Tue Jul 3 21:18:26 2012
@@ -1,5 +1,5 @@
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -16,9 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
<title id="pageTitleId"><?php echo $RES['page.title'] ?></title>
<link type="text/css" rel="stylesheet" href="../css/cssreset-min.css">
<link type="text/css" rel="stylesheet" href="../css/bootstrap.css" media="screen"/>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/head.inc
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/head.inc?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/head.inc (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/head.inc Tue Jul 3 21:18:26 2012
@@ -1,5 +1,5 @@
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -16,10 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
+*/
--->
-
-<?php
require_once '../php/conf/MessageResources-en.inc';
require_once '../php/util/Logger.php';
require_once '../php//conf/Config.inc';
Modified: incubator/ambari/branches/branch-0.9/hmc/html/index.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/index.php?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/index.php (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/index.php Tue Jul 3 21:18:26 2012
@@ -1,6 +1,5 @@
-<?php require_once "./head.inc" ?>
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -17,9 +16,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
+<?php require_once "./head.inc" ?>
<html>
<head>
<?php require "./head.htmli" ?>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/initializeCluster.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/initializeCluster.php?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/initializeCluster.php (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/initializeCluster.php Tue Jul 3 21:18:26 2012
@@ -1,6 +1,5 @@
-<?php require_once "./head.inc"; ?>
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -17,9 +16,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
+<?php require_once "./head.inc"; ?>
<html>
<head>
<?php require "./head.htmli" ?>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/installFailed.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/installFailed.php?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/installFailed.php (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/installFailed.php Tue Jul 3 21:18:26 2012
@@ -1,25 +1,24 @@
-<?php require_once "./head.inc" ?>
+<?php
/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
-*/
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+*/
+?>
+<?php require_once "./head.inc" ?>
<html>
<head>
<?php require "./head.htmli" ?>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/manageServices.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/manageServices.php?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/manageServices.php (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/manageServices.php Tue Jul 3 21:18:26 2012
@@ -1,6 +1,5 @@
-<?php require_once "./head.inc" ?>
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -17,9 +16,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
+<?php require_once "./head.inc" ?>
<html>
<head>
<?php require "./head.htmli" ?>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/reinstall.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/reinstall.php?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/reinstall.php (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/reinstall.php Tue Jul 3 21:18:26 2012
@@ -1,6 +1,5 @@
-<?php require_once "./head.inc" ?>
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -17,9 +16,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
+<?php require_once "./head.inc" ?>
<html>
<head>
<?php require "./head.htmli" ?>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/showDeployAddedNodesProgress.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/showDeployAddedNodesProgress.php?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/showDeployAddedNodesProgress.php (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/showDeployAddedNodesProgress.php Tue Jul 3 21:18:26 2012
@@ -1,6 +1,5 @@
-<?php require_once "./head.inc" ?>
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -17,9 +16,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
+<?php require_once "./head.inc" ?>
<html>
<head>
<?php require "./head.htmli" ?>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/showDeployProgress.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/showDeployProgress.php?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/showDeployProgress.php (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/showDeployProgress.php Tue Jul 3 21:18:26 2012
@@ -1,6 +1,5 @@
-<?php require_once "./head.inc" ?>
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -17,9 +16,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
+<?php require_once "./head.inc" ?>
<html>
<head>
<?php require "./head.htmli" ?>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/showManageServicesProgress.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/showManageServicesProgress.php?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/showManageServicesProgress.php (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/showManageServicesProgress.php Tue Jul 3 21:18:26 2012
@@ -1,6 +1,5 @@
-<?php require_once "./head.inc" ?>
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -17,9 +16,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
+<?php require_once "./head.inc" ?>
<html>
<head>
<?php require "./head.htmli" ?>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/showUninstallProgress.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/showUninstallProgress.php?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/showUninstallProgress.php (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/showUninstallProgress.php Tue Jul 3 21:18:26 2012
@@ -1,6 +1,5 @@
-<?php require_once "./head.inc" ?>
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -17,9 +16,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
+<?php require_once "./head.inc" ?>
<html>
<head>
<?php require "./head.htmli" ?>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/subnav.htmli
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/subnav.htmli?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/subnav.htmli (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/subnav.htmli Tue Jul 3 21:18:26 2012
@@ -1,5 +1,5 @@
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -16,9 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
<?php
switch ($requestPage) {
case 'html':
Modified: incubator/ambari/branches/branch-0.9/hmc/html/topnav.htmli
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/topnav.htmli?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/topnav.htmli (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/topnav.htmli Tue Jul 3 21:18:26 2012
@@ -1,5 +1,5 @@
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -16,9 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
<!-- START TOPNAV -->
<?php
$homeUrl = '/hmc/html';
Modified: incubator/ambari/branches/branch-0.9/hmc/html/txnUtils.htmli
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/txnUtils.htmli?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/txnUtils.htmli (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/txnUtils.htmli Tue Jul 3 21:18:26 2012
@@ -1,5 +1,5 @@
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -16,9 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
<div id="txnProgressCoreDivId" style="display:none">
<div id="txnProgressBox">
<div id="txnProgressHeader"></div>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/uninstallFailed.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/uninstallFailed.php?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/uninstallFailed.php (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/uninstallFailed.php Tue Jul 3 21:18:26 2012
@@ -1,6 +1,5 @@
-<?php require_once "./head.inc" ?>
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -17,9 +16,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
+<?php require_once "./head.inc" ?>
<html>
<head>
<?php require "./head.htmli" ?>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/uninstallWizard.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/uninstallWizard.php?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/uninstallWizard.php (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/uninstallWizard.php Tue Jul 3 21:18:26 2012
@@ -1,6 +1,5 @@
-<?php require_once "./head.inc" ?>
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -17,9 +16,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
+<?php require_once "./head.inc" ?>
<html>
<head>
<?php require "./head.htmli" ?>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/utils.htmli
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/utils.htmli?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/utils.htmli (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/utils.htmli Tue Jul 3 21:18:26 2012
@@ -1,5 +1,5 @@
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -16,9 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
<!-- The mechanism by which we black out the screen and affix the
the spotlight on a smaller portion of it. -->
<div id="blackScreenDivId" style="display:none"></div>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/welcome.inc
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/welcome.inc?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/welcome.inc (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/welcome.inc Tue Jul 3 21:18:26 2012
@@ -1,5 +1,5 @@
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -16,9 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
<div class="alert alert-info" style="margin-top:40px;padding:20px">
<h2 style="margin-bottom:10px"><?php echo $RES['welcome.header'] ?></h2>
<p><?php echo $RES['welcome.body'] ?></p>
Modified: incubator/ambari/branches/branch-0.9/hmc/html/welcome.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/html/welcome.php?rev=1356953&r1=1356952&r2=1356953&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/html/welcome.php (original)
+++ incubator/ambari/branches/branch-0.9/hmc/html/welcome.php Tue Jul 3 21:18:26 2012
@@ -1,6 +1,5 @@
-<?php require_once "./head.inc"; ?>
-<!--
-
+<?php
+/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -17,9 +16,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
--->
-
+*/
+?>
+<?php require_once "./head.inc"; ?>
<html>
<head>
<?php require "./head.htmli" ?>