OSDN Git Service

Unified. Added blank lines just before functions
authorhenoheno <henoheno>
Sat, 26 Jun 2004 13:27:49 +0000 (22:27 +0900)
committerhenoheno <henoheno>
Sat, 26 Jun 2004 13:27:49 +0000 (22:27 +0900)
func.php

index 45e2ea8..c2cd527 100644 (file)
--- a/func.php
+++ b/func.php
@@ -2,7 +2,7 @@
 /////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
 //
-// $Id: func.php,v 1.63 2004/05/08 02:57:52 arino Exp $
+// $Id: func.php,v 1.64 2004/06/26 13:27:49 henoheno Exp $
 //
 
 // Ê¸»úÎó¤¬InterWikiName¤«¤É¤¦¤«
@@ -12,6 +12,7 @@ function is_interwiki($str)
 
        return preg_match("/^$InterWikiName$/",$str);
 }
+
 // Ê¸»úÎ󤬥ڡ¼¥¸Ì¾¤«¤É¤¦¤«
 function is_pagename($str)
 {
@@ -34,17 +35,20 @@ function is_pagename($str)
        
        return $is_pagename;
 }
+
 // Ê¸»úÎó¤¬URL¤«¤É¤¦¤«
 function is_url($str,$only_http=FALSE)
 {
        $scheme = $only_http ? 'https?' : 'https?|ftp|news';
        return preg_match('/^('.$scheme.')(:\/\/[-_.!~*\'()a-zA-Z0-9;\/?:\@&=+\$,%#]*)$/', $str);
 }
+
 // ¥Ú¡¼¥¸¤¬Â¸ºß¤¹¤ë¤«
 function is_page($page,$reload=FALSE)
 {
        return file_exists(get_filename($page));
 }
+
 // ¥Ú¡¼¥¸¤¬ÊÔ½¸²Äǽ¤«
 function is_editable($page)
 {
@@ -111,6 +115,7 @@ function auto_template($page)
        }
        return $body;
 }
+
 // ¸¡º÷¸ì¤òŸ³«¤¹¤ë
 function get_search_words($words,$special=FALSE)
 {
@@ -165,6 +170,7 @@ function get_search_words($words,$special=FALSE)
        }
        return $retval;
 }
+
 // ¸¡º÷
 function do_search($word,$type='AND',$non_format=FALSE)
 {
@@ -515,6 +521,7 @@ function get_autolink_pattern(&$pages)
        
        return array($result,$result_a,$forceignorepages);
 }
+
 function get_autolink_pattern_sub(&$pages,$start,$end,$pos)
 {
        if ($end == 0)
@@ -566,6 +573,7 @@ function get_autolink_pattern_sub(&$pages,$start,$end,$pos)
        }
        return $result;
 }
+
 // pukiwiki.php¥¹¥¯¥ê¥×¥È¤Îabsolute-uri¤òÀ¸À®
 function get_script_uri()
 {
@@ -596,6 +604,7 @@ function get_script_uri()
        
        return $script;
 }
+
 /*
 ÊÑ¿ôÆâ¤Înull(\0)¥Ð¥¤¥È¤òºï½ü¤¹¤ë
 PHP¤Ïfopen("hoge.php\0.txt")¤Ç"hoge.php"¤ò³«¤¤¤Æ¤·¤Þ¤¦¤Ê¤É¤ÎÌäÂꤢ¤ê