SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Geoffrey T. D. <da...@us...> - 2001年11月28日 20:12:51
Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv1077/lib
Modified Files:
	stdlib.php 
Log Message:
Revert to working version until theme support becomes functional.
Index: stdlib.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/stdlib.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -r1.45 -r1.46
*** stdlib.php	2001年11月26日 06:23:42	1.45
--- stdlib.php	2001年11月28日 20:12:48	1.46
***************
*** 20,27 ****
 
 function DataURL($url) {
- global $theme;
 if (preg_match('@^(\w+:|/)@', $url))
 	 return $url;
 return SERVER_URL . DATA_PATH . "/templates/$theme/$url";
 }
 	 
--- 20,31 ----
 
 function DataURL($url) {
 if (preg_match('@^(\w+:|/)@', $url))
 	 return $url;
+ return SERVER_URL . DATA_PATH . "/$url";
+ // Beginnings of theme support by Carsten Klapp:
+ /*
+ global $theme;
 return SERVER_URL . DATA_PATH . "/templates/$theme/$url";
+ */
 }
 	 
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /