1
aixos
theme default 2.2.5 adapting to xoops 2.0.16 default
  • 2007/1/3 21:59

  • aixos

  • Just popping in

  • Posts: 79

  • Since: 2004/12/31


Hi,
Somebody that dominates this theme of XOOPS 2.2.5, since I can make to pass it to the version XOOPS 2.0.16.

This theme default is in version 2.2.2 + 2.2.3 + 2.2.4 + 2.2.5

Some idea of like adapting it? to version XOOPS 2.0.16

greetings

2
JulioNC
Re: theme default 2.2.5 adapting to xoops 2.0.16 default
  • 2007/1/4 17:24

  • JulioNC

  • Quite a regular

  • Posts: 239

  • Since: 2004/10/8


default/theme.html

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<
head>
[
color=990033]<{assign var=theme_name value=$xoTheme->folderName}>[/color]

<
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<
meta name="robots" content="<{$xoops_meta_robots}>" />
<
meta name="keywords" content="<{$xoops_meta_keywords}>" />
<
meta name="description" content="<{$xoops_meta_description}>" />
<
meta name="rating" content="<{$xoops_meta_rating}>" />
<
meta name="author" content="<{$xoops_meta_author}>" />
<
meta name="copyright" content="<{$xoops_meta_copyright}>" />
<
meta name="generator" content="XOOPS" />

<
title><{$xoops_sitename}> - <{$xoops_pagetitle}>title>
<
link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />

<
link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_url}>/xoops.css" />
[
color=990033]<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>css/style.css" />[/color]
<
script type="text/javascript" src="<{$xoops_imageurl}>js/adminmenu.js">script>
<
script type="text/javascript" src="<{$xoops_imageurl}>js/ie5.js">script>

<
script type="text/javascript">
function 
toggle(notifs_form
{
obj=document.getElementById(notifs_form);
obj.style.display=!(obj.style.display=="block")? "block" "none";  
}

function 
swapimage(swap)
{
img_plus="<{$xoops_imageurl}>images/plus.gif";
img_minus="<{$xoops_imageurl}>images/minus.gif";
obj=document.getElementById(swap);
obj.src=!(obj.src==img_minus)? img_minus img_plus;  
}

script>

<{
$xoops_module_header}>
head>
<
body>
<
div class="wrapper">
<
table class="toptable" cellspacing="0">
<
tr>
<
td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>images/logo.gif" width="148" height="80" title="<{$smarty.const._YOURHOME}>" alt="<{$smarty.const._YOURHOME}>" />a>td>
<
td id="headerbanner"><{$xoops_banner}>td>
tr>
<
tr>
<
td id="headerbar" colspan="2">
<{include 
file="$theme_name/navigation/theme_usernav.html"}>
td>
tr>
table>

<
table class="maintable" cellspacing="0">
<
tr>

<{if 
$xoops_showlblock == 1}>
<
td id="leftcolumn">

<{foreach 
item=block from=$xoops_lblocks}>
<{include 
file="$theme_name/blocks/theme_blockleft.html"}>
<{/foreach}>

td>
<{/if}>


<
td id="centercolumn">

<{if 
$xoops_showcblock == 1}>
<
table cellspacing="0">
<
tr>
<
td id="centerCcolumn" colspan="2">

<{foreach 
item=block from=$xoops_ccblocks}>
<{include 
file="$theme_name/blocks/theme_blockcenter_c.html"}>
<{/foreach}>

td>
tr>
<
tr>
<
td id="centerLcolumn">

<{foreach 
item=block from=$xoops_clblocks}>
<{include 
file="$theme_name/blocks/theme_blockcenter_l.html"}>
<{/foreach}>

td>
<
td id="centerRcolumn">

<{foreach 
item=block from=$xoops_crblocks}>
<{include 
file="$theme_name/blocks/theme_blockcenter_r.html"}>
<{/foreach}>

td>
tr>
table>
<{/if}>

<
div id="content">
<{
$xoops_contents}>
div>
td>

<{if 
$xoops_showrblock == 1}>
<
td id="rightcolumn">

<{foreach 
item=block from=$xoops_rblocks}>
<{include 
file="$theme_name/blocks/theme_blockright.html"}>
<{/foreach}>

td>
<{/if}>

tr>
table>

<
table class="footertable" cellspacing="0">
<
tr>
<
td id="footerbar">
<{
$xoops_footer}>
td>
tr>
table>

div>
<
script type="text/javascript">
var 
menu1 = new AdMenu("menu1");
menu1.position.level1.top 1;
menu1.position.level1.left 0;
menu1.position.levelX.top 0;
menu1.position.levelX.left 0;
menu1.init();
script>

[
color=990033]    [/color]
body>

html>



default/navigation/theme_usernav.html

[color=990033]
<{
php}>

if(
file_exists(XOOPS_ROOT_PATH.'/themes/[b]default[/b]/language/'.$GLOBALS['xoopsConfig']['language'].'/main.php')){
    include_once 
XOOPS_ROOT_PATH.'/themes/xdt2016/language/'.$GLOBALS['xoopsConfig']['language'].'/main.php';

} else {
    include_once 
XOOPS_ROOT_PATH.'/themes/[b]default[/b]/language/english/main.php';
}
<{/
php}>
[/
color]


                    

                    <
div id="navbar">

                        <
table cellspacing="0" cellpadding="0" id="menu1" class="NavMenu">

                            <
tr>

                                <{if 
$xoops_isuser == 1}>

                                    <
td>

                                        <
class="button" href="javascript:void(0)"><{$smarty.const._MA_NAV_ACTIONS}>a>

                                        <
div class="section">

                                            <
class="item" href="<{$xoops_url}>/user.php"><{$smarty.const._MA_NAV_VIEWACCOUNT}>a>

                                            <
class="item" href="<{$xoops_url}>/edituser.php"><{$smarty.const._MA_NAV_EDITACCOUNT}>a>

                                            <
class="item" href="<{$xoops_url}>/notifications.php"><{$smarty.const._MA_NAV_NOTIFICATIONS}>a>

                                            <
class="item" href="<{$xoops_url}>/user.php?op=logout"><{$smarty.const._MA_NAV_LOGOUT}>a>

                                            <{if 
$xoops_isadmin}>

                                                <
class="item" href="<{$xoops_url}>/admin.php"><{$smarty.const._MA_NAV_ADMINISTRATION}>a>

                                            <{/if}>

                                        div>

                                    td>

                                <{else}>

                                    <
td id="date"

                                        <{
$smarty.now|date_format:"%A, %e %B %Y"}>

                                    td>

                                <{/if}>

                                    <
td id="search">

                                        <
form style="margin: 0px;" action="<{$xoops_url}>/search.php" method="get">

                                              <
input type="text" name="query" size="14" />

                                            <
input type="hidden" name="action" value="results" />

                                            <
input class="formButton" type="submit" value="<{$smarty.const._SEARCH}>" />

                                              <{if 
$smarty.const.modid 1}>

                                            <
input type="hidden" name="mids[]" value="<{$smarty.const.modid}>" />

                                              <{/if}>

                                        form>

                                    td>

                            tr>

                        table>

                    div>



Best regards,

Julio

3
aixos
Re: theme default 2.2.5 adapting to xoops 2.0.16 default
  • 2007/1/5 21:06

  • aixos

  • Just popping in

  • Posts: 79

  • Since: 2004/12/31


Ok, Julio NC
thank you very much

greetings

aixos

Login

Who's Online

285 user(s) are online (182 user(s) are browsing Support Forums)


Members: 0


Guests: 285


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits