1
liya
Big "Bug" from RC version to 2.06 now. Please fix it
  • 2004/6/5 14:12

  • liya

  • Official Support Member

  • Posts: 21

  • Since: 2002/1/19


In XOOPS2 default templates. Two templates don't seprater some .css to theme files. Only write into system templates so when we change theme don't change "redirect" templates(Thank you for logging in, liya.
If the page does not automatically reload, please click here
)
:
/modules/system/templates/system_imagemanager.html
/modules/system/templates/system_imagemanager2.html

Please Fix this file and add correct ID and Selector in theme .css


le="color: #000000"><?php Effect ID &#65306; table#imagenav table#imagemain table#header td#headerbar div#pagenav div#footer table#imageform


Fix


1.open /class/template.php 89 line

le="color: #000000"><?php $this->assign(array('xoops_url' => XOOPS_URL, 'xoops_rootpath' => XOOPS_ROOT_PATH, 'xoops_langcode' => _LANGCODE, 'xoops_charset' => _CHARSET, 'xoops_version' => XOOPS_VERSION, 'xoops_upload_url' => XOOPS_UPLOAD_URL));


add 'xoops_themecss' => xoops_getcss()
le="color: #000000"><?php $this->assign(array('xoops_url' => XOOPS_URL, 'xoops_rootpath' => XOOPS_ROOT_PATH, 'xoops_langcode' => _LANGCODE, 'xoops_charset' => _CHARSET, 'xoops_version' => XOOPS_VERSION, 'xoops_upload_url' => XOOPS_UPLOAD_URL[color=CC0000], 'xoops_themecss' => xoops_getcss()));[/color]


2.open /modules/system/templates/system_imagemanager.html
/modules/system/templates/system_imagemanager2.html

and find



le="color: #000000"><?php <style type="text/css" media="all"> body {margin: 0;} img {border: 0;} table {width: 100%; margin: 0;} a:link {color: #3a76d6; font-weight: bold; background-color: transparent;} a:visited {color: #9eb2d6; font-weight: bold; background-color: transparent;} a:hover {color: #e18a00; background-color: transparent;} table td {background-color: white; font-size: 12px; padding: 0; border-width: 0; vertical-align: top; font-family: Verdana, Arial, Helvetica, sans-serif;} table#imagenav td {vertical-align: bottom; padding: 5px;} table#imagemain td {border-right: 1px solid silver; border-bottom: 1px solid silver; padding: 5px; vertical-align: middle;} table#imagemain th {border: 0; background-color: #2F5376; color:white; font-size: 12px; padding: 5px; vertical-align: top; text-align:center; font-family: Verdana, Arial, Helvetica, sans-serif;} table#header td {width: 100%; background-color: #2F5376; vertical-align: middle;} table#header td#headerbar {border-bottom: 1px solid silver; background-color: #dddddd;} div#pagenav {text-align:center;} div#footer {text-align:right; padding: 5px;} </style>


replace to

le="color: #000000"><?php <link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />


3.Go to admin system and renew it.

4. If you do not use default templates. copy those two templates and replace your's

5.and add ID: in your theme


le="color: #000000"><?php text-align: center; background-color: #EBEBEB; border-top: 1px solid #FFFFFF; border-left: 1px solid #FFFFFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight: bolder;


After that. when you change theme and your redirect page will fit into your new theme

2
Mithrandir
Re: Big "Bug" from RC version to 2.06 now. Please fix it