Commit 3c2cbf27 authored by musus's avatar musus

replacing "br" tags with "br /" for xhtml 1.0 compliance

parent f298b21a
<?php
// $Header: /cvsroot/tikiwiki/tiki/categorize.php,v 1.5 2003-11-16 00:17:16 xenfasa Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
include_once ('lib/categories/categlib.php');
if ($feature_categories == 'y') {
$smarty->assign('cat_categorize', 'n');
if (isset($_REQUEST["cat_categorize"]) && $_REQUEST["cat_categorize"] == 'on') {
$smarty->assign('cat_categorize', 'y');
}
if (isset($_REQUEST["cat_categorize"]) && $_REQUEST["cat_categorize"] == 'on') {
$categlib->uncategorize_object($cat_type, $cat_objid);
if (isset($_REQUEST["cat_categories"])) {
foreach ($_REQUEST["cat_categories"] as $cat_acat) {
if ($cat_acat) {
$catObjectId = $categlib->is_categorized($cat_type, $cat_objid);
if (!$catObjectId) {
// The object is not cateorized
$catObjectId = $categlib->add_categorized_object($cat_type, $cat_objid, $cat_desc, $cat_name, $cat_href);
}
$categlib->categorize($catObjectId, $cat_acat);
}
}
}
} else {
$categlib->uncategorize_object($cat_type, $cat_objid);
}
$categories = $categlib->list_all_categories(0, -1, 'name_asc', '', $cat_type, $cat_objid);
$smarty->assign_by_ref('categories', $categories["data"]);
}
?>
\ No newline at end of file
<?php
// $Header: /cvsroot/tikiwiki/tiki/categorize.php,v 1.6 2004-01-28 02:43:25 musus Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
include_once ('lib/categories/categlib.php');
if ($feature_categories == 'y') {
$smarty->assign('cat_categorize', 'n');
if (isset($_REQUEST["cat_categorize"]) && $_REQUEST["cat_categorize"] == 'on') {
$smarty->assign('cat_categorize', 'y');
}
if (isset($_REQUEST["cat_categorize"]) && $_REQUEST["cat_categorize"] == 'on') {
$categlib->uncategorize_object($cat_type, $cat_objid);
if (isset($_REQUEST["cat_categories"])) {
foreach ($_REQUEST["cat_categories"] as $cat_acat) {
if ($cat_acat) {
$catObjectId = $categlib->is_categorized($cat_type, $cat_objid);
if (!$catObjectId) {
// The object is not cateorized
$catObjectId = $categlib->add_categorized_object($cat_type, $cat_objid, $cat_desc, $cat_name, $cat_href);
}
$categlib->categorize($catObjectId, $cat_acat);
}
}
}
} else {
$categlib->uncategorize_object($cat_type, $cat_objid);
}
$categories = $categlib->list_all_categories(0, -1, 'name_asc', '', $cat_type, $cat_objid);
$smarty->assign_by_ref('categories', $categories["data"]);
}
?>
<?php
// $Header: /cvsroot/tikiwiki/tiki/commxmlrpc.php,v 1.11 2003-12-15 00:08:03 redflo Exp $
// $Header: /cvsroot/tikiwiki/tiki/commxmlrpc.php,v 1.12 2004-01-28 02:44:16 musus Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
# $Header: /cvsroot/tikiwiki/tiki/commxmlrpc.php,v 1.11 2003-12-15 00:08:03 redflo Exp $
# $Header: /cvsroot/tikiwiki/tiki/commxmlrpc.php,v 1.12 2004-01-28 02:44:16 musus Exp $
include_once("lib/init/initlib.php");
include_once ('db/tiki-db.php');
include_once ('lib/tikilib.php');
include_once ('lib/userslib.php');
include_once ("db/tiki-db.php");
include_once ("lib/tikilib.php");
include_once ("lib/userslib.php");
include_once ("lib/xmlrpc.inc");
include_once ("lib/xmlrpcs.inc");
include_once ('lib/commcenter/commlib.php');
include_once ("lib/commcenter/commlib.php");
$tikilib = new Tikilib($dbTiki);
$userlib = new Userslib($dbTiki);
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/display_banner.php,v 1.7 2003-12-15 00:08:03 redflo Exp $
// $Header: /cvsroot/tikiwiki/tiki/display_banner.php,v 1.8 2004-01-28 02:45:14 musus Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
# $Header: /cvsroot/tikiwiki/tiki/display_banner.php,v 1.7 2003-12-15 00:08:03 redflo Exp $
# $Header: /cvsroot/tikiwiki/tiki/display_banner.php,v 1.8 2004-01-28 02:45:14 musus Exp $
// Only to be called from edit_banner or view_banner to display the banner without adding
// impressions to the banner
......@@ -15,10 +15,10 @@ if (!isset($_REQUEST["id"])) {
}
include_once("lib/init/initlib.php");
include_once ('db/tiki-db.php');
include_once ('lib/tikilib.php');
include_once ("db/tiki-db.php");
include_once ("lib/tikilib.php");
$tikilib = new Tikilib($dbTiki);
include_once ('lib/banners/bannerlib.php');
include_once ("lib/banners/bannerlib.php");
if (!isset($bannerlib)) {
$bannerlib = new BannerLib($dbTiki);
......@@ -34,7 +34,7 @@ case 'useHTML':
break;
case 'useImage':
$raw = "<img border='0' src=\"banner_image.php?id=" . $id . "\" />";
$raw = "<img border=\"0\" src=\"banner_image.php?id=" . $id . "\" />";
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment