From b6db3e3acc6ba349d845ec58e3242d025352ef2f Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Thu, 21 Jun 2012 11:53:00 +0100 Subject: re-base on ALv2 code. Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1 --- sd/res/webview/common.inc | 18 ++++++++++++++++++ sd/res/webview/common.pl | 20 +++++++++++++++++++- sd/res/webview/editpic.pl | 17 +++++++++++++++++ sd/res/webview/poll.pl | 19 ++++++++++++++++++- sd/res/webview/savepic.pl | 17 +++++++++++++++++ sd/res/webview/show.pl | 19 ++++++++++++++++++- sd/res/webview/webview.pl | 19 ++++++++++++++++++- 7 files changed, 125 insertions(+), 4 deletions(-) (limited to 'sd/res') diff --git a/sd/res/webview/common.inc b/sd/res/webview/common.inc index f0dd463821d2..de95c771b2c8 100644 --- a/sd/res/webview/common.inc +++ b/sd/res/webview/common.inc @@ -1,3 +1,21 @@ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * 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 . + */ + <% public const cnRefreshTime = 5 ' refresh time in seconds diff --git a/sd/res/webview/common.pl b/sd/res/webview/common.pl index fc4a4866a6d7..69c9c1d71dd9 100644 --- a/sd/res/webview/common.pl +++ b/sd/res/webview/common.pl @@ -1,3 +1,21 @@ +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This file incorporates work covered by the following license notice: +# +# 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 . +# + package common; $REFRESH_TIME = 5; @@ -45,4 +63,4 @@ sub HTTP_getRequest return %aRequestMap; } ##HTTP_getRequest -1; \ No newline at end of file +1; diff --git a/sd/res/webview/editpic.pl b/sd/res/webview/editpic.pl index 834421601b77..929efdefe236 100644 --- a/sd/res/webview/editpic.pl +++ b/sd/res/webview/editpic.pl @@ -1,4 +1,21 @@ #!/usr/bin/perl +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This file incorporates work covered by the following license notice: +# +# 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 . +# require "common.pl"; diff --git a/sd/res/webview/poll.pl b/sd/res/webview/poll.pl index 08a31c3e22b4..4fc939ec6b90 100644 --- a/sd/res/webview/poll.pl +++ b/sd/res/webview/poll.pl @@ -1,4 +1,21 @@ #!/usr/bin/perl +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This file incorporates work covered by the following license notice: +# +# 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 . +# require "common.pl"; @@ -29,4 +46,4 @@ else print ""; -print ""; \ No newline at end of file +print ""; diff --git a/sd/res/webview/savepic.pl b/sd/res/webview/savepic.pl index 8d545aa108b0..26bb2bc9c2ee 100644 --- a/sd/res/webview/savepic.pl +++ b/sd/res/webview/savepic.pl @@ -1,4 +1,21 @@ #!/usr/bin/perl +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This file incorporates work covered by the following license notice: +# +# 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 . +# require "common.pl"; diff --git a/sd/res/webview/show.pl b/sd/res/webview/show.pl index 9687bd995538..6e9c8e43b0b9 100644 --- a/sd/res/webview/show.pl +++ b/sd/res/webview/show.pl @@ -1,4 +1,21 @@ #!/usr/bin/perl +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This file incorporates work covered by the following license notice: +# +# 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 . +# require "common.pl"; @@ -36,4 +53,4 @@ print ""; print "

"; print ""; -print ""; \ No newline at end of file +print ""; diff --git a/sd/res/webview/webview.pl b/sd/res/webview/webview.pl index 299c9480e330..dadffe2e988a 100644 --- a/sd/res/webview/webview.pl +++ b/sd/res/webview/webview.pl @@ -1,4 +1,21 @@ #!/usr/bin/perl +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This file incorporates work covered by the following license notice: +# +# 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 . +# print "Content-type: text/html\n\n"; @@ -18,4 +35,4 @@ print ""; print ""; print ""; -print ""; \ No newline at end of file +print ""; -- cgit