]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - locale/zh/pgsrc/PhotoAlbumPlugin
added chinese locale, sf.net patch #934100 by Yan-ren Tsai (druryl)
[SourceForge/phpwiki.git] / locale / zh / pgsrc / PhotoAlbumPlugin
1 Date: Sat, 4 Jan 2003 23:05:22 -0500
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.4)
3 X-Rcs-Id: $Id: PhotoAlbumPlugin,v 1.1 2004-04-29 23:59:07 rurban Exp $
4 Content-Type: application/x-phpwiki;
5   pagename=PhotoAlbumPlugin;
6   flags="";
7   pgsrc_version="2 $Revision: 1.1 $";
8   markup=2;
9   charset=UTF-8
10 Content-Transfer-Encoding: binary
11
12 !!! Summary
13 藉著顯示帶有說明以及相片檔名的文字檔以製作相簿.
14
15 !!! Usage
16 <verbatim>
17 <?plugin PhotoAlbum
18          src=http://server/textfile
19          mode=[column|row]
20          align=[center|left|right]
21          desc=true
22          sort=false
23          height=100%
24          width=100%
25 ?>
26 </verbatim>
27
28 !!! Arguments
29 ''只有 ='src'= 參數是必要的.''
30
31 __src__:
32   一個 CSV 文字檔案,裡面每行的格式為 filename, description.
33   裡面列出的每張相片必須都與 CSV 文字檔在同個目錄下. Descriptions 可寫可不寫.
34
35 __mode__:
36   指定相片排列的方法, ='column'= 表示直放, ='row'= 表示橫放. 預設為 ='row'=.
37
38 __align__:
39   每欄的對齊方式. 預設為 ='center'=.
40
41 __desc__:
42   是否顯示文字檔中指定的 description. 預設為真.
43
44 __sort__:
45   以檔案名稱排序圖片. 預設是以文字檔中的順序來排列.
46
47 __height__, __width__:
48   高度與寬度用來與用 [php-function:getimagesize] 取得的原始高度與寬度做比較,
49   可以指定絕對值或百分比 (例如 "50%").
50
51 !!! Examples
52 !! Text file
53 正確文字檔的內容應該是:
54
55 <verbatim>
56 photo-01.jpg; My girlfriend and I
57 photo-02.jpg
58 christmas.gif; Merry Christmas!
59 </verbatim>
60
61 !! Sample Album
62 <?plugin PhotoAlbum
63          src="http://phpwiki.sourceforge.net/demo/themes/Hawaiian/images/pictures/PhotoAlbum"
64 ?>
65
66 !!! Plugin Author
67 [Ted Vinke|mailto:teddy@jouwfeestje.com] <teddy@jouwfeestje.com>
68 ----
69 PhpWikiDocumentation WikiPlugin