OSDN Git Service

Add support i18n.logOutputEncoding at log list
[tortoisegit/TortoiseGitJp.git] / contrib / drupal-modules / module / download_manuals.php
1 <?php\r
2 //\r
3 // Drupal download page for the TortoiseSVN manuals\r
4 // loaded into:\r
5 // "http://tortoisesvn.net/support" \r
6 //\r
7 // Copyright (C) 2004-2008 the TortoiseSVN team\r
8 // This file is distributed under the same license as TortoiseSVN\r
9 //\r
10 // $Author: luebbe $\r
11 // $Date: 2008-06-27 19:27:15 +0800 (Fri, 27 Jun 2008) $\r
12 // $Rev: 13360 $\r
13 //\r
14 // Author: Lübbe Onken 2004-2008\r
15 //         Stefan Küng 2004-2008\r
16 //\r
17 \r
18 include("/var/www/vhosts/default/htdocs/modules/tortoisesvn/trans_countries.inc");\r
19 include("/var/www/vhosts/default/htdocs/modules/tortoisesvn/tortoisevars.inc");\r
20 \r
21 $tsvn_var['devurl']='http://www.tortoisesvn.net/docs/nightly/';\r
22 $tsvn_var['relurl']='http://www.tortoisesvn.net/docs/release/';\r
23 \r
24 if (!function_exists('print_manuals')) {\r
25 function print_manuals($i, $postat, $v, $b_release)\r
26 {\r
27   $infobits=$postat[1];\r
28   $flagimg=$v['flagpath']."$postat[2].png";\r
29 \r
30   if ( ($infobits & "110") <> "0") {\r
31 \r
32     if ($postat[2] == "gb") {\r
33       $m_cc = "en";\r
34       $m_cn = "English";\r
35     } else {\r
36       $m_cc = $postat[2];\r
37       $m_cn = $postat[3];\r
38     }\r
39 \r
40     $ts_pdf="TortoiseSVN-".$v['release'].'-'.$m_cc.".pdf";\r
41     $tm_pdf="TortoiseMerge-".$v['release'].'-'.$m_cc.".pdf";\r
42     $ts_htm="TortoiseSVN_".$m_cc."/index.html";\r
43     $tm_htm="TortoiseMerge_".$m_cc."/index.html";\r
44 \r
45     if ($b_release==TRUE) {\r
46       $pdfTSVN="<a href=\"".$v['url1'].$ts_pdf.$v['url2']."\">PDF</a>";\r
47       $htmTSVN="<a href=\"".$v['relurl'].$ts_htm."\">HTML</a>";\r
48       $pdfTMerge="<a href=\"".$v['url1'].$tm_pdf.$v['url2']."\">PDF</a>";\r
49       $htmTMerge="<a href=\"".$v['relurl'].$tm_htm."\">HTML</a>";\r
50     } else {\r
51       $htmTSVN="<a href=\"".$v['devurl'].$ts_htm."\">HTML</a>";\r
52       $htmTMerge="<a href=\"".$v['devurl'].$tm_htm."\">HTML</a>";\r
53     }\r
54 \r
55     echo "<tr>";\r
56     echo "<td><img src=\"$flagimg\" height=\"12\" width=\"18\" />&nbsp;$m_cn</td>";\r
57     if ( ($infobits & "010") <> "0") {\r
58       echo "<td>$pdfTSVN</td>";\r
59       echo "<td>$htmTSVN</td>";\r
60     }\r
61     else {\r
62       echo "<td>&nbsp;</td>";\r
63       echo "<td>&nbsp;</td>";\r
64     }\r
65     if ( ($infobits & "100") <> "0") {\r
66       echo "<td>$pdfTMerge</td>";\r
67       echo "<td>$htmTMerge</td>";\r
68     }\r
69     else {\r
70       echo "<td>&nbsp;</td>";\r
71       echo "<td>&nbsp;</td>";\r
72     }\r
73     echo "</tr>";\r
74   }\r
75 \r
76 }\r
77 }\r
78 ?>\r
79 \r
80 There are several places where you can get support for TortoiseSVN.\r
81 \r
82 <h2>Online documentation</h2>\r
83 <p>\r
84 <!-- SiteSearch Google --><form method="get" action="http://www.google.com/custom" target="_top"><table border="0" bgcolor="#ffffff"><tr><td nowrap="nowrap" valign="top" align="left" height="32"><br/><input type="hidden" name="domains" value="tortoisesvn.net"></input><input type="text" name="q" size="25" maxlength="255" value=""></input></td></tr><tr><td nowrap="nowrap"><table><tr><td><input type="radio" name="sitesearch" value=""></input><font size="-1" color="#000000">Web</font></td><td><input type="radio" name="sitesearch" value="tortoisesvn.net" checked="checked"></input><font size="-1" color="#000000">tortoisesvn.net</font></td></tr></table><input type="submit" name="sa" value="Google Search"></input><input type="hidden" name="client" value="pub-0430507460695576"></input><input type="hidden" name="forid" value="1"></input><input type="hidden" name="ie" value="ISO-8859-1"></input>\r
85 <input type="hidden" name="oe" value="ISO-8859-1"></input><input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1"></input>\r
86 <input type="hidden" name="hl" value="en"></input></td></tr></table></form><!-- SiteSearch Google -->\r
87 </p>\r
88 \r
89 \r
90 <?php\r
91 \r
92 // Convert Data into a list of columns\r
93 foreach ($countries as $key => $row) {\r
94    $potfile[$key] = $row[0];\r
95    $country[$key] = $row[3];\r
96 }\r
97 \r
98 // Add $countries as the last parameter, to sort by the common key\r
99 array_multisort($potfile, $country, $countries);\r
100 \r
101 ?>\r
102 \r
103 <h1>Manuals (release version)</h1>\r
104 <p>If you have TortoiseSVN installed, you can simply press the F1 key in any dialog to start up the help. That help is the same as the documentation you find here.\r
105 <div class="table">\r
106 <table>\r
107 <tr>\r
108 <th class="lang">Language</th>\r
109 <th class="lang" colspan="2">TortoiseSVN</th>\r
110 <th class="lang" colspan="2">TortoiseMerge</th>\r
111 </tr>\r
112 <?php\r
113 $i=0;\r
114 foreach ($countries as $key => $postat)\r
115 {\r
116   if ($postat[0] >= "0" ) {\r
117     $i++;\r
118     print_manuals($i, $postat, $tsvn_var, TRUE);\r
119   }\r
120 }\r
121 ?>\r
122 </table>\r
123 </div>\r
124 </p>\r
125 \r
126 <h1>Manuals (developer version)</h1>\r
127 <p>These manuals are only for the trunk build, not released versions. Please note that these docs aren't updated nightly but very irregularly.\r
128 <div class="table">\r
129 <table>\r
130 <tr>\r
131 <th class="lang">Language</th>\r
132 <th class="lang" colspan="2">TortoiseSVN</th>\r
133 <th class="lang" colspan="2">TortoiseMerge</th>\r
134 </tr>\r
135 <?php\r
136 $i=0;\r
137 foreach ($countries as $key => $postat)\r
138 {\r
139   if ($postat[0] >= "0" ) {\r
140     $i++;\r
141     print_manuals($i, $postat, $tsvn_var, FALSE);\r
142   }\r
143 }\r
144 ?>\r
145 </table>\r
146 </div>\r
147 </p>\r
148 \r
149 <h1>Older Manuals</h1>\r
150 <p>Older releases are available from the <a href="http://sourceforge.net/project/showfiles.php?group_id=<?php print $tsvn_var['sf_project']; ?>">Sourceforge files</a> section.</p>\r
151 \r
152 <h1>Project Status</h1>\r
153 <p>Have a look at our <a href="/status">project status</a> page to see what we are working on at the moment, and to check the release history.</p>\r
154 \r
155 <h1>Subversion book</h1>\r
156 <p>Read the official Subversion book <a href="http://www.amazon.com/gp/product/0596004486?ie=UTF8&tag=to0d-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0596004486">Version Control with Subversion</a><img src="http://www.assoc-amazon.com/e/ir?t=to0d-20&l=as2&o=1&a=0596004486" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> to find out what it's all about. This book explains the general concepts of Subversion. It's no must, but it'll give you deep insight. There's also a <a href="http://svnbook.red-bean.com/">free online version</a> available.</p>\r
157 \r
158 <h1>FAQ</h1>\r
159 <p>A list of common problems and their solutions can be found in the <a href="/faq">FAQ</a>. Please note that the FAQ contains answers, but is not the place to ask questions. For that you need to go to the users mailing list. When we have a good answer to a good question we post it in the FAQ.</p>\r
160 <!--break-->\r
161 \r
162 <h1>Mailing list</h1>\r
163 <p>If your question is not answered in any of these places, you can subscribe to one of our two mailing lists:\r
164 <ul>\r
165 <li>The users list, where we deal with the howto (configuration, daily work, ...). If there is something you don't understand, feel free to ask a question here and you will usually get a rapid response.</li>\r
166 <li>The developer list, where we discuss the internals of TortoiseSVN (bugs, features, enhancements, ...). If you want to contribute to the project, this is where the development discussions take place.</li>\r
167 </ul>\r
168 Before you post/subscribe to one of these lists, please read our <a href="http://tortoisesvn.tigris.org/list_etiquette.html">list etiquette</a>. Also please search the archives before posting questions. Many questions have been asked before.</p>\r
169 <p>\r
170 You can subscribe to our mailing lists <a href="http://tortoisesvn.tigris.org/servlets/ProjectMailingListList">here</a>.\r
171 </p>\r
172 <p>If you want to search the lists, our mailing lists are archived on gmane.org and haxx.se. You can either access the archives via http: or nntp: protocol. Haxx.se is recommended for searches.</p>\r
173 \r
174 <h3>Users list archive</h3>\r
175 <p><ul>\r
176 <li><a href="http://groups.google.com/group/tortoisesvn">via web browser (Google Groups)</a></li>\r
177 <li><a href="http://svn.haxx.se/tsvnusers/">via web browser (haxx)</a></li>\r
178 <li><a href="nntp://news.gmane.org/gmane.comp.version-control.subversion.tortoisesvn.user">via news reader</a></li></ul></p>\r
179 <h3>Developer list archive</h3>\r
180 <p><ul>\r
181 <li><a href="http://groups.google.com/group/tortoisesvn-dev">via web browser (Google Groups)</a></li>\r
182 <li><a href="http://svn.haxx.se/tsvn/">via web browser (haxx)</a></li>\r
183 <li><a href="nntp://news.gmane.org/gmane.comp.version-control.subversion.tortoisesvn.devel">via news reader</a></li></ul></p>\r
184 \r
185 <h1>RSS Feed</h1>\r
186 <p>The latest updates on our project web page are always visible in a <a href="node/feed">RSS feed</a>.</p>\r