This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE extension SYSTEM "ext-1.0.dtd"> | |
<!-- | |
/** | |
* | |
* This extension allows you to load the statistics only on click, to reduce the number of queries on the index page using Jquery. | |
* Cette extension permet de charger les statistiques uniquement lors d'un clic, afin de réduire le nombre de requètes sur la page index en utilisant jquery. | |
* | |
* @copyright Copyright (C) 2008 PunBB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE extension SYSTEM "ext-1.0.dtd"> | |
<extension engine="1.0"> | |
<id></id> | |
<title></title> | |
<description></description> | |
<author></author> | |
<version>0.1</version> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<hook id="hd_head"><![CDATA[ | |
if ($forum_user['style'] != 'Oxygen' && file_exists($ext_info['path'].'/style/'.$forum_user['style'].'/style.css')) | |
$forum_loader->add_css($ext_info['url'].'/style/'.$forum_user['style'].'/style.css', array('type' => 'url')); | |
else | |
$forum_loader->add_css($ext_info['url'].'/style/Oxygen/style.css', array('type' => 'url')); | |
]]></hook> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<hook id="ft_js_include"><![CDATA[ | |
$forum_loader->add_js($ext_info['url'].'/js/scripts.js'); | |
]]></hook> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Just include inline CSS in page | |
$forum_loader->add_css('.fancy-addthis-post { display: none; }', array('type' => 'inline')); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// This CSS code is executed only when Javascript disabled in browser | |
// Usefull for hidding elements that depends on Javascript | |
$forum_loader->add_css('.fancy-addthis-post { display: none; }', array('type' => 'inline', 'noscript' => true)); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Loads the flash messenger class. | |
* | |
* @copyright (C) 2008-2011 PunBB, partially based on code (C) 2008-2009 FluxBB.org | |
* @license http://www.gnu.org/licenses/gpl.html GPL version 2 or higher | |
* @package PunBB | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/template/admin.tpl b/include/template/admin.tpl | |
index 3536d56..bb42452 100644 | |
--- a/include/template/admin.tpl | |
+++ b/include/template/admin.tpl | |
@@ -1,12 +1,14 @@ | |
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
- | |
-<html xmlns="http://www.w3.org/1999/xhtml" <!-- forum_local -->> | |
+<!DOCTYPE html> | |
+<!--[if lt IE 7 ]> <html class="oldie ie6" <!-- forum_local -->> <![endif]--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ParseISO8601(iso) | |
{ | |
// 0 = whole string | |
// 1 = year | |
// 2 = month | |
// 3 = day | |
// 4 = whole time part | |
// 5 = hour | |
// 6 = minute | |
// 7 = second |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[extensions] | |
color = | |
graphlog = | |
pager = | |
bookmarks = | |
[color] | |
status.modified = magenta bold | |
status.added = green bold | |
status.removed = red bold |
OlderNewer