7 * This file is part of the LibreOffice project.
9 * This Source Code Form is subject to the terms of the Mozilla Public
10 * License, v. 2.0. If a copy of the MPL was not distributed with this
11 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
13 * This file incorporates work covered by the following license notice:
15 * Licensed to the Apache Software Foundation (ASF) under one or more
16 * contributor license agreements. See the NOTICE file distributed
17 * with this work for additional information regarding copyright
18 * ownership. The ASF licenses this file to you under the Apache
19 * License, Version 2.0 (the "License"); you may not use this file
20 * except in compliance with the License. You may obtain a copy of
21 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
24 <!-- #include file = "common.inc" -->
28 Dim aPictureArray
, nPic
, nUpper
30 aPictureArray
= File_getDataVirtual( csFilePicture
, ".", ";" )
31 nPic
= File_readVirtual( "currpic.txt", "." )
32 nUpper
= CInt( (UBound(aPictureArray
) - 1 ) / 2)
39 <FORM action=
"savepic.asp" method=get
>
41 if isNumeric(nPic
) then
42 if (CInt( nPic
) >= CInt( (UBound(aPictureArray
) - 1 ) / 2 )) then
50 if CInt( nPic
) > 1 then
52 <INPUT type=submit
name=
"Auswahl" value=
"-"></INPUT>
56 <INPUT type=button
value=
" "></INPUT>
60 <INPUT type=text
name=
"CurrPic" value=
"<% = nPic %>" SIZE
=3></INPUT
>
62 if CInt( nPic
) < CInt( nUpper
) then
64 <INPUT type=submit
name=
"Auswahl" value=
"+"></INPUT>
68 <INPUT type=button
value=
" "></INPUT>
72 <INPUT type=submit
name=
"Auswahl" value=
"$$2"></INPUT>