Location: PHPKode > projects > Charray's CMS > ccms/module/w3validator.php
<?php

// Charray's CMS (CCMS) Version 0.9
//
// Copyright (c) 2007, Kinson Chan
// charray[at]gmail.com / kchan[at]cs.hku.hk
// All rights reserved.
//
// Please refer to LICENSE.txt coming with this package for
// terms and conditions for redistribution and reuse.

if (!defined("CCMS_IN")) {
	die();
}

function ccms_module_w3validator($path) {
	$result['title'] = 'W3 Validator';
	$result['content'] = '<p style="text-align:center">';
	$result['content'] .= '<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>';
	$result['content'] .= '<a href="http://jigsaw.w3.org/css-validator/check/referer"><img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" /></a>';
	$result['content'] .= '</p>';
	return $result;
}

?>
Return current item: Charray's CMS