Dotclear

source: plugins/pages/page.php @ 198:61d85982ea30

Revision 198:61d85982ea30, 18.9 KB checked in by amalgame <philippe@…>, 14 years ago (diff)

added help files to plugin pages

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ---------------------------------------
3#
4# This file is part of Dotclear 2.
5#
6# Copyright (c) 2003-2010 Olivier Meunier & Association Dotclear
7# Licensed under the GPL version 2.0 license.
8# See LICENSE file or
9# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10#
11# -- END LICENSE BLOCK -----------------------------------------
12if (!defined('DC_CONTEXT_ADMIN')) { return; }
13dcPage::check('pages,contentadmin');
14
15$redir_url = $p_url.'&act=page';
16
17$post_id = '';
18$post_dt = '';
19$post_format = $core->auth->getOption('post_format');
20$post_password = '';
21$post_url = '';
22$post_lang = $core->auth->getInfo('user_lang');
23$post_title = '';
24$post_excerpt = '';
25$post_excerpt_xhtml = '';
26$post_content = '';
27$post_content_xhtml = '';
28$post_notes = '';
29$post_status = $core->auth->getInfo('user_post_status');
30$post_position = 0;
31$post_open_comment = false;
32$post_open_tb = false;
33
34$post_media = array();
35
36$page_title = __('New page');
37
38$can_view_page = true;
39$can_edit_page = $core->auth->check('pages,usage',$core->blog->id);
40$can_publish = $core->auth->check('pages,publish,contentadmin',$core->blog->id);
41$can_delete = false;
42
43$post_headlink = '<link rel="%s" title="%s" href="'.html::escapeURL($redir_url).'&amp;id=%s" />';
44$post_link = '<a href="'.html::escapeURL($redir_url).'&amp;id=%s" title="%s">%s</a>';
45
46$next_link = $prev_link = $next_headlink = $prev_headlink = null;
47
48# If user can't publish
49if (!$can_publish) {
50     $post_status = -2;
51}
52
53# Status combo
54foreach ($core->blog->getAllPostStatus() as $k => $v) {
55     $status_combo[$v] = (string) $k;
56}
57
58# Formaters combo
59foreach ($core->getFormaters() as $v) {
60     $formaters_combo[$v] = $v;
61}
62
63# Languages combo
64$rs = $core->blog->getLangs(array('order'=>'asc'));
65$all_langs = l10n::getISOcodes(0,1);
66$lang_combo = array('' => '', __('Most used') => array(), __('Available') => l10n::getISOcodes(1,1));
67while ($rs->fetch()) {
68     if (isset($all_langs[$rs->post_lang])) {
69          $lang_combo[__('Most used')][$all_langs[$rs->post_lang]] = $rs->post_lang;
70          unset($lang_combo[__('Available')][$all_langs[$rs->post_lang]]);
71     } else {
72          $lang_combo[__('Most used')][$rs->post_lang] = $rs->post_lang;
73     }
74}
75unset($all_langs);
76unset($rs);
77
78
79# Get page informations
80if (!empty($_REQUEST['id']))
81{
82     $params['post_type'] = 'page';
83     $params['post_id'] = $_REQUEST['id'];
84     
85     $post = $core->blog->getPosts($params);
86     
87     if ($post->isEmpty())
88     {
89          $core->error->add(__('This page does not exist.'));
90          $can_view_page = false;
91     }
92     else
93     {
94          $post_id = $post->post_id;
95          $post_dt = date('Y-m-d H:i',strtotime($post->post_dt));
96          $post_format = $post->post_format;
97          $post_password = $post->post_password;
98          $post_url = $post->post_url;
99          $post_lang = $post->post_lang;
100          $post_title = $post->post_title;
101          $post_excerpt = $post->post_excerpt;
102          $post_excerpt_xhtml = $post->post_excerpt_xhtml;
103          $post_content = $post->post_content;
104          $post_content_xhtml = $post->post_content_xhtml;
105          $post_notes = $post->post_notes;
106          $post_status = $post->post_status;
107          $post_position = (integer) $post->post_position;
108          $post_open_comment = (boolean) $post->post_open_comment;
109          $post_open_tb = (boolean) $post->post_open_tb;
110         
111          $page_title = __('Edit page');
112         
113          $can_edit_page = $post->isEditable();
114          $can_delete= $post->isDeletable();
115         
116          $next_rs = $core->blog->getNextPost($post,1);
117          $prev_rs = $core->blog->getNextPost($post,-1);
118         
119          if ($next_rs !== null) {
120               $next_link = sprintf($post_link,$next_rs->post_id,
121                    html::escapeHTML($next_rs->post_title),__('next page').'&nbsp;&#187;');
122               $next_headlink = sprintf($post_headlink,'next',
123                    html::escapeHTML($next_rs->post_title),$next_rs->post_id);
124          }
125         
126          if ($prev_rs !== null) {
127               $prev_link = sprintf($post_link,$prev_rs->post_id,
128                    html::escapeHTML($prev_rs->post_title),'&#171;&nbsp;'.__('previous page'));
129               $prev_headlink = sprintf($post_headlink,'previous',
130                    html::escapeHTML($prev_rs->post_title),$prev_rs->post_id);
131          }
132         
133          try {
134               $core->media = new dcMedia($core);
135               $post_media = $core->media->getPostMedia($post_id);
136          } catch (Exception $e) {}
137     }
138}
139
140# Format content
141if (!empty($_POST) && $can_edit_page)
142{
143     $post_format = $_POST['post_format'];
144     $post_excerpt = $_POST['post_excerpt'];
145     $post_content = $_POST['post_content'];
146     
147     $post_title = $_POST['post_title'];
148     
149     if (isset($_POST['post_status'])) {
150          $post_status = (integer) $_POST['post_status'];
151     }
152     
153     if (empty($_POST['post_dt'])) {
154          $post_dt = '';
155     } else {
156          $post_dt = strtotime($_POST['post_dt']);
157          $post_dt = date('Y-m-d H:i',$post_dt);
158     }
159     
160     $post_open_comment = !empty($_POST['post_open_comment']);
161     $post_open_tb = !empty($_POST['post_open_tb']);
162     $post_lang = $_POST['post_lang'];
163     $post_password = !empty($_POST['post_password']) ? $_POST['post_password'] : null;
164     $post_position = (integer) $_POST['post_position'];
165     
166     $post_notes = $_POST['post_notes'];
167
168     if (isset($_POST['post_url'])) {
169          $post_url = $_POST['post_url'];
170     }
171     
172     $core->blog->setPostContent(
173          $post_id,$post_format,$post_lang,
174          $post_excerpt,$post_excerpt_xhtml,$post_content,$post_content_xhtml
175     );
176}
177
178# Create or update post
179if (!empty($_POST) && !empty($_POST['save']) && $can_edit_page)
180{
181     $cur = $core->con->openCursor($core->prefix.'post');
182     
183     # Magic tweak :)
184     $core->blog->settings->system->post_url_format = $page_url_format;
185     
186     $cur->post_type = 'page';
187     $cur->post_title = $post_title;
188     $cur->post_dt = $post_dt ? date('Y-m-d H:i:00',strtotime($post_dt)) : '';
189     $cur->post_format = $post_format;
190     $cur->post_password = $post_password;
191     $cur->post_lang = $post_lang;
192     $cur->post_title = $post_title;
193     $cur->post_excerpt = $post_excerpt;
194     $cur->post_excerpt_xhtml = $post_excerpt_xhtml;
195     $cur->post_content = $post_content;
196     $cur->post_content_xhtml = $post_content_xhtml;
197     $cur->post_notes = $post_notes;
198     $cur->post_status = $post_status;
199     $cur->post_position = $post_position;
200     $cur->post_open_comment = (integer) $post_open_comment;
201     $cur->post_open_tb = (integer) $post_open_tb;
202     
203     if (isset($_POST['post_url'])) {
204          $cur->post_url = $post_url;
205     }
206     
207     # Update post
208     if ($post_id)
209     {
210          try
211          {
212               # --BEHAVIOR-- adminBeforePageUpdate
213               $core->callBehavior('adminBeforePageUpdate',$cur,$post_id);
214               
215               $core->blog->updPost($post_id,$cur);
216               
217               # --BEHAVIOR-- adminAfterPageUpdate
218               $core->callBehavior('adminAfterPageUpdate',$cur,$post_id);
219               
220               http::redirect($redir_url.'&id='.$post_id.'&upd=1');
221          }
222          catch (Exception $e)
223          {
224               $core->error->add($e->getMessage());
225          }
226     }
227     else
228     {
229          $cur->user_id = $core->auth->userID();
230         
231          try
232          {
233               # --BEHAVIOR-- adminBeforePageCreate
234               $core->callBehavior('adminBeforePageCreate',$cur);
235               
236               $return_id = $core->blog->addPost($cur);
237               
238               # --BEHAVIOR-- adminAfterPageCreate
239               $core->callBehavior('adminAfterPageCreate',$cur,$return_id);
240               
241               http::redirect($redir_url.'&id='.$return_id.'&crea=1');
242          }
243          catch (Exception $e)
244          {
245               $core->error->add($e->getMessage());
246          }
247     }
248}
249
250if (!empty($_POST['delete']) && $can_delete)
251{
252     try {
253          # --BEHAVIOR-- adminBeforePageDelete
254          $core->callBehavior('adminBeforePageDelete',$post_id);
255          $core->blog->delPost($post_id);
256          http::redirect($p_url);
257     } catch (Exception $e) {
258          $core->error->add($e->getMessage());
259     }
260}
261
262/* DISPLAY
263-------------------------------------------------------- */
264$default_tab = 'edit-entry';
265if (!$can_edit_page) {
266     $default_tab = '';
267}
268if (!empty($_GET['co'])) {
269     $default_tab = 'comments';
270}
271
272?>
273<html>
274<head>
275  <title><?php echo $page_title.' - '.__('Pages'); ?></title>
276  <script type="text/javascript">
277  //<![CDATA[
278  <?php echo dcPage::jsVar('dotclear.msg.confirm_delete_post',__("Are you sure you want to delete this page?")); ?>
279  //]]>
280  </script>
281  <?php echo
282  dcPage::jsDatePicker().
283  dcPage::jsToolBar().
284  dcPage::jsModal().
285  dcPage::jsLoad('js/_post.js').
286  dcPage::jsConfirmClose('entry-form','comment-form').
287  # --BEHAVIOR-- adminPageHeaders
288  $core->callBehavior('adminPageHeaders').
289  dcPage::jsPageTabs($default_tab).
290  $next_headlink."\n".$prev_headlink;
291  ?>
292</head>
293
294<body>
295
296<?php
297
298if (!empty($_GET['upd'])) {
299          echo '<p class="message">'.__('Page has been successfully updated.').'</p>';
300}
301elseif (!empty($_GET['crea'])) {
302          echo '<p class="message">'.__('Page has been successfully created.').'</p>';
303}
304elseif (!empty($_GET['attached'])) {
305     echo '<p class="message">'.__('File has been successfully attached.').'</p>';
306}
307elseif (!empty($_GET['rmattach'])) {
308     echo '<p class="message">'.__('Attachment has been successfully removed.').'</p>';
309}
310
311# XHTML conversion
312if (!empty($_GET['xconv']))
313{
314     $post_excerpt = $post_excerpt_xhtml;
315     $post_content = $post_content_xhtml;
316     $post_format = 'xhtml';
317     
318     echo '<p class="message">'.__('Don\'t forget to validate your XHTML conversion by saving your post.').'</p>';
319}
320
321echo '<h2>'.html::escapeHTML($core->blog->name).
322' &rsaquo; <a href="'.$p_url.'">'.__('Pages').'</a> &rsaquo; '.$page_title;
323
324if ($post_id && $post->post_status == 1) {
325     echo ' - <a id="post-preview" href="'.$post->getURL().'" class="button">'.__('View page').'</a>';
326} elseif ($post_id) {
327     $preview_url =
328     $core->blog->url.$core->url->getBase('pagespreview').'/'.
329     $core->auth->userID().'/'.
330     http::browserUID(DC_MASTER_KEY.$core->auth->userID().$core->auth->getInfo('user_pwd')).
331     '/'.$post->post_url;
332     echo ' - <a id="post-preview" href="'.$preview_url.'" class="button">'.__('Preview page').'</a>';
333}
334
335echo '</h2>';
336
337if ($post_id)
338{
339     echo '<p>';
340     if ($prev_link) { echo $prev_link; }
341     if ($next_link && $prev_link) { echo ' - '; }
342     if ($next_link) { echo $next_link; }
343     
344     # --BEHAVIOR-- adminPageNavLinks
345     $core->callBehavior('adminPageNavLinks',isset($post) ? $post : null);
346     
347     echo '</p>';
348}
349
350# Exit if we cannot view page
351if (!$can_view_page) {
352     echo '</body></html>';
353     return;
354}
355
356
357/* Post form if we can edit post
358-------------------------------------------------------- */
359if ($can_edit_page)
360{
361     echo '<div class="multi-part" title="'.__('Edit page').'" id="edit-entry">';
362     echo '<form action="'.html::escapeURL($redir_url).'" method="post" id="entry-form">';
363     echo '<div id="entry-sidebar">';
364     
365     echo
366     '<p><label for="post_status">'.__('Page status:').
367     form::combo('post_status',$status_combo,$post_status,'',3,!$can_publish).
368     '</label></p>'.
369     
370     '<p><label for="post_dt">'.__('Published on:').
371     form::field('post_dt',16,16,$post_dt,'',3).'</label></p>'.
372     
373     '<p><label for="post_format">'.__('Text formating:').
374     form::combo('post_format',$formaters_combo,$post_format,'',3).
375     ($post_id && $post_format != 'xhtml' ? '<a href="'.html::escapeURL($redir_url).'&amp;id='.$post_id.'&amp;xconv=1">'.__('Convert to XHTML').'</a>' : '').
376     '</label></p>'.
377     
378     '<p><label for="post_open_comment" class="classic">'.form::checkbox('post_open_comment',1,$post_open_comment,'',3).' '.
379     __('Accept comments').'</label></p>'.
380     '<p><label for="post_open_tb" class="classic">'.form::checkbox('post_open_tb',1,$post_open_tb,'',3).' '.
381     __('Accept trackbacks').'</label></p>'.
382     
383     '<p><label for="post_position" class="classic">'.__('Page position:').' '.
384     form::field('post_position',3,3,(string) $post_position,'',3).
385     '</label></p>'.
386     
387     '<p><label for="post_lang">'.__('Page lang:').
388     form::combo('post_lang',$lang_combo,$post_lang,'',5).'</label></p>'.
389     
390     '<p><label for="post_password">'.__('Page password:').
391     form::field('post_password',10,32,html::escapeHTML($post_password),'maximal',3).
392     '</label></p>'.
393     
394     '<div class="lockable">'.
395     '<p><label for="post_url">'.__('Basename:').
396     form::field('post_url',10,255,html::escapeHTML($post_url),'maximal',3).
397     '</label></p>'.
398     '<p class="form-note warn">'.
399     __('Warning: If you set the URL manually, it may conflict with another page.').
400     '</p>'.
401     '</div>';
402     
403     if ($post_id)
404     {
405          echo
406          '<h3 class="clear">'.__('Attachments').'</h3>';
407          foreach ($post_media as $f)
408          {
409               $ftitle = $f->media_title;
410               if (strlen($ftitle) > 18) {
411                    $ftitle = substr($ftitle,0,16).'...';
412               }
413               echo
414               '<div class="media-item">'.
415               '<a class="media-icon" href="media_item.php?id='.$f->media_id.'">'.
416               '<img src="'.$f->media_icon.'" alt="" title="'.$f->basename.'" /></a>'.
417               '<ul>'.
418               '<li><a class="media-link" href="media_item.php?id='.$f->media_id.'"'.
419               'title="'.$f->basename.'">'.$ftitle.'</a></li>'.
420               '<li>'.$f->media_dtstr.'</li>'.
421               '<li>'.files::size($f->size).' - '.
422               '<a href="'.$f->file_url.'">'.__('open').'</a>'.'</li>'.
423               
424               '<li class="media-action"><a class="attachment-remove" id="attachment-'.$f->media_id.'" '.
425               'href="post_media.php?post_id='.$post_id.'&amp;media_id='.$f->media_id.'&amp;remove=1">'.
426               '<img src="images/check-off.png" alt="'.__('remove').'" /></a>'.
427               '</li>'.
428               
429               '</ul>'.
430               '</div>';
431          }
432          unset($f);
433         
434          if (empty($post_media)) {
435               echo '<p>'.__('No attachment.').'</p>';
436          }
437          echo '<p><a href="media.php?post_id='.$post_id.'">'.__('Add files to this page').'</a></p>';
438     }
439     
440     # --BEHAVIOR-- adminPageFormSidebar
441     $core->callBehavior('adminPageFormSidebar',isset($post) ? $post : null);
442     
443     echo '</div>';      // End #entry-sidebar
444     
445     echo '<div id="entry-content"><fieldset class="constrained">';
446     
447     echo
448     '<p class="col"><label for="post_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').
449     form::field('post_title',20,255,html::escapeHTML($post_title),'maximal',2).
450     '</label></p>'.
451     
452     '<p class="area" id="excerpt-area"><label for="post_excerpt">'.__('Excerpt:').'</label> '.
453     form::textarea('post_excerpt',50,5,html::escapeHTML($post_excerpt),'',2).
454     '</p>'.
455     
456     '<p class="area"><label class="required" '.
457     'for="post_content"><abbr title="'.__('Required field').'">*</abbr> '.__('Content:').'</label> '.
458     form::textarea('post_content',50,$core->auth->getOption('edit_size'),html::escapeHTML($post_content),'',2).
459     '</p>';
460     
461     echo
462     '<p class="area" id="notes-area"><label for="post_notes">'.__('Notes:').'</label>'.
463     form::textarea('post_notes',50,5,html::escapeHTML($post_notes),'',2).
464     '</p>';
465
466     # --BEHAVIOR-- adminPageForm
467     $core->callBehavior('adminPageForm',isset($post) ? $post : null);
468     
469     echo
470     '<p>'.
471     ($post_id ? form::hidden('id',$post_id) : '').
472     '<input type="submit" value="'.__('save').' (s)" tabindex="4" '.
473     'accesskey="s" name="save" /> '.
474     ($can_delete ? '<input type="submit" class="delete" value="'.__('delete').'" name="delete" />' : '').
475     $core->formNonce().
476     '</p>';
477     
478     echo '</fieldset></div>';          // End #entry-content
479     echo '</form>';
480     echo '</div>';
481     
482     if ($post_id && !empty($post_media))
483     {
484          echo
485          '<form action="post_media.php" id="attachment-remove-hide" method="post">'.
486          '<div>'.form::hidden(array('post_id'),$post_id).
487          form::hidden(array('media_id'),'').
488          form::hidden(array('remove'),1).
489          $core->formNonce().'</div></form>';
490     }
491}
492
493
494/* Comments and trackbacks
495-------------------------------------------------------- */
496if ($post_id)
497{
498     $params = array('post_id' => $post_id, 'order' => 'comment_dt ASC');
499     
500     $comments = $core->blog->getComments(array_merge($params,array('comment_trackback'=>0)));
501     $trackbacks = $core->blog->getComments(array_merge($params,array('comment_trackback'=>1)));
502     
503     # Actions combo box
504     $combo_action = array();
505     if ($can_edit_page && $core->auth->check('publish,contentadmin',$core->blog->id))
506     {
507          $combo_action[__('publish')] = 'publish';
508          $combo_action[__('unpublish')] = 'unpublish';
509          $combo_action[__('mark as pending')] = 'pending';
510          $combo_action[__('mark as junk')] = 'junk';
511     }
512     
513     if ($can_edit_page && $core->auth->check('delete,contentadmin',$core->blog->id))
514     {
515          $combo_action[__('delete')] = 'delete';
516     }
517     
518     $has_action = !empty($combo_action) && (!$trackbacks->isEmpty() || !$comments->isEmpty());
519     
520     echo
521     '<div id="comments" class="multi-part" title="'.__('Comments').'">';
522     
523     if ($has_action) {
524          echo '<form action="comments_actions.php" method="post">';
525     }
526     
527     echo '<h3>'.__('Trackbacks').'</h3>';
528     
529     if (!$trackbacks->isEmpty()) {
530          showComments($trackbacks,$has_action);
531     } else {
532          echo '<p>'.__('No trackback').'</p>';
533     }
534     
535     echo '<h3>'.__('Comments').'</h3>';
536     if (!$comments->isEmpty()) {
537          showComments($comments,$has_action);
538     } else {
539          echo '<p>'.__('No comment').'</p>';
540     }
541     
542     if ($has_action) {
543          echo
544          '<div class="two-cols">'.
545          '<p class="col checkboxes-helpers"></p>'.
546         
547          '<p class="col right"><label for="action">'.__('Selected comments action:').'</label> '.
548          form::combo('action',$combo_action).
549          form::hidden('redir',html::escapeURL($redir_url).'&amp;id='.$post_id.'&amp;co=1').
550          $core->formNonce().
551          '<input type="submit" value="'.__('ok').'" /></p>'.
552          '</div>'.
553          '</form>';
554     }
555     
556     echo '</div>';
557}
558
559/* Add a comment
560-------------------------------------------------------- */
561if ($post_id)
562{
563     echo
564     '<div class="multi-part" id="add-comment" title="'.__('Add a comment').'">'.
565     '<h3>'.__('Add a comment').'</h3>'.
566     
567     '<form action="comment.php" method="post" id="comment-form">'.
568     '<fieldset class="constrained">'.
569     '<p><label for="comment_author" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Name:').
570     form::field('comment_author',30,255,html::escapeHTML($core->auth->getInfo('user_cn'))).
571     '</label></p>'.
572     
573     '<p><label for="comment_email">'.__('Email:').
574     form::field('comment_email',30,255,html::escapeHTML($core->auth->getInfo('user_email'))).
575     '</label></p>'.
576     
577     '<p><label for="comment_site">'.__('Web site:').
578     form::field('comment_site',30,255,html::escapeHTML($core->auth->getInfo('user_url'))).
579     '</label></p>'.
580     
581     '<p class="area"><label for="comment_content" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Comment:').'</label> '.
582     form::textarea('comment_content',50,8,html::escapeHTML('')).
583     '</p>'.
584     
585     '<p>'.form::hidden('post_id',$post_id).
586     $core->formNonce().
587     '<input type="submit" name="add" value="'.__('save').'" /></p>'.
588     '</fieldset>'.
589     '</form>'.
590     '</div>';
591}
592
593
594# Show comments or trackbacks
595function showComments($rs,$has_action)
596{
597     echo
598     '<table class="comments-list"><tr>'.
599     '<th colspan="2">'.__('Author').'</th>'.
600     '<th>'.__('Date').'</th>'.
601     '<th class="nowrap">'.__('IP address').'</th>'.
602     '<th>'.__('Status').'</th>'.
603     '<th>&nbsp;</th>'.
604     '</tr>';
605     
606     while($rs->fetch())
607     {
608          $comment_url = 'comment.php?id='.$rs->comment_id;
609         
610          $img = '<img alt="%1$s" title="%1$s" src="images/%2$s" />';
611          switch ($rs->comment_status) {
612               case 1:
613                    $img_status = sprintf($img,__('published'),'check-on.png');
614                    break;
615               case 0:
616                    $img_status = sprintf($img,__('unpublished'),'check-off.png');
617                    break;
618               case -1:
619                    $img_status = sprintf($img,__('pending'),'check-wrn.png');
620                    break;
621               case -2:
622                    $img_status = sprintf($img,__('junk'),'junk.png');
623                    break;
624          }
625         
626          echo
627          '<tr class="line'.($rs->comment_status != 1 ? ' offline' : '').'"'.
628          ' id="c'.$rs->comment_id.'">'.
629         
630          '<td class="nowrap">'.
631          ($has_action ? form::checkbox(array('comments[]'),$rs->comment_id,'','','',0,'title="'.__('select this comment').'"') : '').'</td>'.
632          '<td class="maximal">'.$rs->comment_author.'</td>'.
633          '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$rs->comment_dt).'</td>'.
634          '<td class="nowrap"><a href="comments.php?ip='.$rs->comment_ip.'">'.$rs->comment_ip.'</a></td>'.
635          '<td class="nowrap status">'.$img_status.'</td>'.
636          '<td class="nowrap status"><a href="'.$comment_url.'">'.
637          '<img src="images/edit-mini.png" alt="" title="'.__('Edit this comment').'" /></a></td>'.
638         
639          '</tr>';
640     }
641     
642     echo '</table>';
643}
644dcPage::helpBlock('page');
645?>
646</body>
647</html>
Note: See TracBrowser for help on using the repository browser.

Sites map