[geeklog-jp commit] r1442 - Geeklog 1.5.2sr1を externals/geeklog-1.5.2sr2 に取り込みます。

Back to archive index

codes****@googl***** codes****@googl*****
2009年 4月 6日 (月) 11:34:36 JST


Author: tacahi
Date: Sun Apr  5 18:55:30 2009
New Revision: 1442

Added:
    externals/geeklog-1.5.2sr2/public_html/staticpages/
    externals/geeklog-1.5.2sr2/public_html/staticpages/images/
     
externals/geeklog-1.5.2sr2/public_html/staticpages/images/staticpages.png    
(contents, props changed)
    externals/geeklog-1.5.2sr2/public_html/staticpages/index.php

Log:
Geeklog 1.5.2sr1を externals/geeklog-1.5.2sr2 に取り込みます。


Added:  
externals/geeklog-1.5.2sr2/public_html/staticpages/images/staticpages.png
==============================================================================
Binary file. No diff available.

Added: externals/geeklog-1.5.2sr2/public_html/staticpages/index.php
==============================================================================
--- (empty file)
+++ externals/geeklog-1.5.2sr2/public_html/staticpages/index.php	Sun Apr  5  
18:55:30 2009
@@ -0,0 +1,84 @@
+<?php
+
+/* Reminder: always indent with 4 spaces (no tabs). */
+//  
+---------------------------------------------------------------------------+
+// | Geeklog Static Pages Plugin  
1.5                                           |
+//  
+---------------------------------------------------------------------------+
+// |  
index.php                                                                 |
+//  
|                                                                            
|
+// | This is the main page for the Geeklog Static Pages  
Plugin                 |
+//  
+---------------------------------------------------------------------------+
+// | Copyright (C) 2000-2008 by the following  
authors:                         |
+//  
|                                                                            
|
+// | Authors: Tony Bibbs       - tony AT tonybibbs DOT  
com                     |
+// |          Tom Willett      - twillett AT users DOT sourceforge DOT  
net     |
+// |          Dirk Haun        - dirk AT haun-online DOT  
de                    |
+//  
+---------------------------------------------------------------------------+
+//  
|                                                                            
|
+// | This program is free software; you can redistribute it  
and/or             |
+// | modify it under the terms of the GNU General Public  
License               |
+// | as published by the Free Software Foundation; either version  
2            |
+// | of the License, or (at your option) any later  
version.                    |
+//  
|                                                                            
|
+// | This program is distributed in the hope that it will be  
useful,           |
+// | but WITHOUT ANY WARRANTY; without even the implied warranty  
of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See  
the             |
+// | GNU General Public License for more  
details.                              |
+//  
|                                                                            
|
+// | You should have received a copy of the GNU General Public  
License         |
+// | along with this program; if not, write to the Free Software  
Foundation,   |
+// | Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,  
USA.           |
+//  
|                                                                            
|
+//  
+---------------------------------------------------------------------------+
+//
+// $Id: index.php,v 1.48 2008/06/20 15:12:36 dhaun Exp $
+
+require_once '../lib-common.php';
+
+if (!in_array('staticpages', $_PLUGINS)) {
+    echo COM_refresh($_CONF['site_url'] . '/index.php');
+    exit;
+}
+
+
+// MAIN
+
+COM_setArgNames(array('page', 'disp_mode'));
+$page = COM_applyFilter(COM_getArgument('page'));
+$display_mode = COM_applyFilter(COM_getArgument('disp_mode'));
+
+// from comments display refresh:
+if (isset($_POST['order'])) {
+    $comment_order = COM_applyFilter($_POST['order']);
+    $comment_mode  = COM_applyFilter($_POST['mode']);
+    $page = COM_applyFilter($_POST['id']);
+    if ((strcasecmp($comment_order, 'ASC') != 0) &&
+            (strcasecmp($comment_order, 'DESC') != 0)) {
+        $comment_order = '';
+    }
+} else {
+    $comment_order = '';
+    $comment_mode  = '';
+}
+
+if ($display_mode != 'print') {
+    $display_mode = '';
+}
+
+$msg = 0;
+if (isset($_GET['msg'])) {
+    $msg = COM_applyFilter($_GET['msg'], true);
+    if ($msg <= 0) {
+        $msg = 0;
+    }
+}
+
+$retval = SP_returnStaticpage($page, $display_mode, $comment_order,  
$comment_mode, $msg);
+
+if ($display_mode == 'print') {
+    header('Content-Type: text/html; charset=' . COM_getCharset());
+}
+
+echo $retval;
+
+?>




Geeklogjp-changes メーリングリストの案内
Back to archive index