border. border.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

border.

Started by GerritR, June 19, 2010, 01:53:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GerritR

Hello.

Is it possible to build this border?
http://www.natuurrondleidingen.nl/border.jpg

I am also looking for an opportunity to look at the date as specified in the EXIF data is, now it is only possible to date added in copper mine to search.

http://www.natuurrondleidingen.nl/beeldbank2/index.php


Regards,
Gerrit

papukaija

Quote from: GerritR on June 19, 2010, 01:53:36 PM
Is it possible to build this border?
http://www.natuurrondleidingen.nl/border.jpg
I'm not sure if you just want the border or also its content. Use either a div box with border css-value or combine that with a language and theme selector. For both cases, you need to create a custom theme.

Quote from: GerritR on June 19, 2010, 01:53:36 PM
I am also looking for an opportunity to look at the date as specified in the EXIF data is, now it is only possible to date added in copper mine to search.
Sorry, only issue per thread, as said in board rules.

GerritR

QuoteSorry, only issue per thread, as said in board rules.

I will look better in the future

QuoteI'm not sure if you just want the border or also its content. Use either a div box with border css-value or combine that with a language and theme selector. For both cases, you need to create a custom theme.

I would like to make a working border, there is a standard adjustment for them?
If I do need to write in PHP, there is nothing to correct, copy and paste and I got it, and what color code, programs change, but nothing more.

Regards, Gerrit


papukaija

Just copy the html from the documentation and replace theme selector's html with {THEME_SELECT_LIST} and the language selector's html with {LANGUAGE_SELECT_LIST}. Then paste that html code to your custom theme (or create one if you don't have one yet). These two tokens' usage is explained in detail here.

GerritR

I've changed the html, it works perfectly but not all times.
I show the theme, s curve in the bar to see what is there for.
The arrow keys do not work further.

Could you maybe have to look into?

http://www.natuurrondleidingen.nl/beeldbank2/index.php

Regards, Gerrit

papukaija

Looking for example at here, I can't see the tokens which I referred in my previvous post. Btw, this thread needs to be moved to the themes sub-board.

GerritR

I do it all anymore.
I have all this text pasted html files.

<tr><td style="border: 1px solid white; margin-right: 5px; padding: 2px; font-family: Arial,Helvetica,sans-serif; font-size: 9px; color: black;">21 Themes: <a href="?theme=classic_w_drop" style="font-family: Arial,Helvetica,sans-serif; font-size: 9px; border: 1px solid rgb(0, 93, 140); background-color: rgb(239, 239, 239); background-image: url(&quot;themes/classic/images/button_bg.gif&quot;); background-position: center bottom; color: rgb(0, 0, 0); margin-top: 0px; margin-bottom: 0px; padding: 2px 1px; text-align: center; text-decoration: none;" onmouseover="this.style.color='#5F5F5F';" onmouseout="this.style.color='#000000';" title="previous theme"><img src="images/icons/leftleft.png" 16="" alt="" style="vertical-align: middle; margin-right: 1px;" border="0" width="16 height="> Classic w drop</a>&nbsp;&nbsp;
<form name="demoChooseTheme" id="demoChooseTheme" action="" method="get" style="margin: 0px; display: inline;">
<select name="demoThemeSelect" style="color: rgb(0, 0, 0); background-color: rgb(239, 239, 239); border: 1px solid rgb(0, 93, 140); font-size: 9px; font-family: Arial,Helvetica,sans-serif; vertical-align: middle;" onchange="if (this.options[this.selectedIndex].value) window.location.href='?theme=' + this.options[this.selectedIndex].value;">
<option value="classic">Classic</option>
<option value="classic_vstrip">Classic vstrip</option>
<option value="classic_w_drop">Classic w drop</option>
<option value="curve" selected="selected">Curve</option>
<option value="curve_altmenu">Curve altmenu</option>
<option value="curve_vstrip">Curve vstrip</option>

<option value="curve_vstrip_altmenu">Curve vstrip altmenu</option>
<option value="dark_velvet">Dark velvet</option>
<option value="eyeball">Eyeball</option>
<option value="fruity">Fruity</option>
<option value="hardwired">Hardwired</option>
<option value="igames">Igames</option>
<option value="i_feel_dirty_v">I feel dirty v</option>
<option value="mac_ox_x">Mac ox x</option>
<option value="project_vii">Project vii</option>

<option value="prorandom">Prorandom</option>
<option value="rainy_day">Rainy day</option>
<option value="rhinoswelt">Rhinoswelt</option>
<option value="timoswelt">Timoswelt</option>
<option value="verwischt_giallo">Verwischt giallo</option>
<option value="water_drop">Water drop</option>
</select>
</form>
&nbsp;&nbsp;<a href="?theme=curve_altmenu" style="font-family: Arial,Helvetica,sans-serif; font-size: 9px; border: 1px solid rgb(0, 93, 140); background-color: rgb(239, 239, 239); background-image: url(&quot;themes/classic/images/button_bg.gif&quot;); background-position: center bottom; color: rgb(0, 0, 0); margin-top: 0px; margin-bottom: 0px; padding: 2px 1px; text-align: center; text-decoration: none;" onmouseover="this.style.color='#5F5F5F';" onmouseout="this.style.color='#000000';" title="next theme">Curve altmenu <img src="images/icons/rightright.png" 16="" alt="" style="vertical-align: middle; margin-right: 1px;" border="0" width="16 height="></a>&nbsp;&nbsp;<a href="?theme=xxx"><img src="images/flags/reset.png" alt="" title="reset to default theme" border="0" height="11" width="16"></a> </td><td>&nbsp;</td><td style="border: 1px solid white; margin-right: 5px; padding: 2px; font-family: Arial,Helvetica,sans-serif; font-size: 9px; color: black;">Languages:

<form name="demoChooseLanguage" id="demoChooseLanguage" action="" method="get" style="margin: 0px; display: inline;">
<select name="cpgLanguageSelect" style="color: rgb(0, 0, 0); background-color: rgb(239, 239, 239); border: 1px solid rgb(0, 93, 140); font-size: 9px; font-family: Arial,Helvetica,sans-serif; vertical-align: middle;" onchange="if (this.options[this.selectedIndex].value) window.location.href='?lang=' + this.options[this.selectedIndex].value;">
<option value="arabic">Arabic (العربية)</option>
<option value="bulgarian">Bulgarian (Български)</option>
<option value="chinese_gb">Chinese simplified (中文 - 简体)</option>
<option value="czech">Czech (Česky)</option>
<option value="dutch" selected="selected">Dutch (Nederlands)</option>
<option value="english">English (US)</option>
<option value="english_gb">English (British)</option>
<option value="finnish">Finnish (Suomea)</option>

<option value="french">French (Français)</option>
<option value="german">German (Deutsch)</option>
<option value="german_formal">German_formal</option>
<option value="greek">Greek (Ελληνικά)</option>
<option value="luxembourgish">Luxembourgish</option>
<option value="polish">Polish (Polski)</option>
<option value="russian">Russian (Русский)</option>
<option value="slovenian">Slovenian (Slovensko)</option>
<option value="spanish">Spanish (Español)</option>

<option value="spanish_mx">Spanish_mx</option>
<option value="turkish">Turkish (Türkçe)</option>
<option value="ukrainian">Ukrainian (Українська)</option>
</select>
</form>
<a href="?lang=xxx"><img src="images/flags/reset.png" alt="" title="reset to default language" border="0" height="11" width="16"></a> &nbsp;<a href="docs/en/languages.htm#how" class="greybox" title="How Coppermine handles languages"><img src="images/help.gif" alt="" border="0" height="11" width="13"></a></td><td>&nbsp;&nbsp;&nbsp;<a href="docs/en/configuration.htm#admin_theme_custom_header_path_start" class="greybox" title="How Coppermine handles languages"><img src="images/help.gif" alt="" border="0" height="11" width="13"></a></td></tr>


And then adjusted by topic, so 21 times, according to my needs may be easier, I do not measure love.
curve of the file now looks like this.


<!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="en" lang="en" dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<title>{TITLE}</title>
{META}
<link rel="stylesheet" href="css/coppermine.css" type="text/css" />
<link rel="stylesheet" href="themes/curve/style.css" type="text/css" />
<link rel="shortcut icon" href="favicon.ico" />
<!-- Begin IE6 support -->
<!--[if lt IE 7]>
<style>
body {behavior: url(themes/curve/csshover3.htc );}
.dropmenu li {width: 1px;} .dropmenu li a.firstlevel span.firstlevel {white-space: nowrap;} .main_menu {overflow: auto;}
</style>
<![endif]-->
<!-- End IE6 support -->
{JAVASCRIPT}
<!--
  SVN version info:
  Coppermine version: 1.5.6
  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.5.x/themes/curve/template.html $
  $Revision: 7620 $
-->
<tr><td style="border: 1px solid white; margin-right: 5px; padding: 2px; font-family: Arial,Helvetica,sans-serif; font-size: 9px; color: black;">21 Themes: <a href="?theme=classic_w_drop" style="font-family: Arial,Helvetica,sans-serif; font-size: 9px; border: 1px solid rgb(0, 93, 140); background-color: rgb(239, 239, 239); background-image: url(&quot;themes/classic/images/button_bg.gif&quot;); background-position: center bottom; color: rgb(0, 0, 0); margin-top: 0px; margin-bottom: 0px; padding: 2px 1px; text-align: center; text-decoration: none;" onmouseover="this.style.color='#5F5F5F';" onmouseout="this.style.color='#000000';" title="previous theme"><img src="images/icons/leftleft.png" 16="" alt="" style="vertical-align: middle; margin-right: 1px;" width="16 height=" border="0"> Classic w drop</a>&nbsp;&nbsp;
<form name="demoChooseTheme" id="demoChooseTheme" action="" method="get" style="margin: 0px; display: inline;">
<select name="demoThemeSelect" style="color: rgb(0, 0, 0); background-color: rgb(239, 239, 239); border: 1px solid rgb(0, 93, 140); font-size: 9px; font-family: Arial,Helvetica,sans-serif; vertical-align: middle;" onchange="if (this.options[this.selectedIndex].value) window.location.href='?theme=' + this.options[this.selectedIndex].value;">
<option value="classic">Classic</option>
<option value="classic_vstrip">Classic vstrip</option>
<option value="classic_w_drop">Classic w drop</option>
<option value="curve" selected="selected">Curve</option>
<option value="curve_altmenu">Curve altmenu</option>
<option value="curve_vstrip">Curve vstrip</option>

<option value="curve_vstrip_altmenu">Curve vstrip altmenu</option>
<option value="dark_velvet">Dark velvet</option>
<option value="eyeball">Eyeball</option>
<option value="fruity">Fruity</option>
<option value="hardwired">Hardwired</option>
<option value="igames">Igames</option>
<option value="i_feel_dirty_v">I feel dirty v</option>
<option value="mac_ox_x">Mac ox x</option>
<option value="project_vii">Project vii</option>

<option value="prorandom">Prorandom</option>
<option value="rainy_day">Rainy day</option>
<option value="rhinoswelt">Rhinoswelt</option>
<option value="timoswelt">Timoswelt</option>
<option value="verwischt_giallo">Verwischt giallo</option>
<option value="water_drop">Water drop</option>
</select>
</form>
&nbsp;&nbsp;<a href="?theme=curve_altmenu" style="font-family: Arial,Helvetica,sans-serif; font-size: 9px; border: 1px solid rgb(0, 93, 140); background-color: rgb(239, 239, 239); background-image: url(&quot;themes/classic/images/button_bg.gif&quot;); background-position: center bottom; color: rgb(0, 0, 0); margin-top: 0px; margin-bottom: 0px; padding: 2px 1px; text-align: center; text-decoration: none;" onmouseover="this.style.color='#5F5F5F';" onmouseout="this.style.color='#000000';" title="next theme">Curve altmenu <img src="images/icons/rightright.png" 16="" alt="" style="vertical-align: middle; margin-right: 1px;" width="16 height=" border="0"></a>&nbsp;&nbsp;<a href="?theme=xxx"><img src="images/flags/reset.png" alt="" title="reset to default theme" width="16" border="0" height="11"></a> </td><td>&nbsp;</td><td style="border: 1px solid white; margin-right: 5px; padding: 2px; font-family: Arial,Helvetica,sans-serif; font-size: 9px; color: black;">Languages:

<form name="demoChooseLanguage" id="demoChooseLanguage" action="" method="get" style="margin: 0px; display: inline;">
<select name="cpgLanguageSelect" style="color: rgb(0, 0, 0); background-color: rgb(239, 239, 239); border: 1px solid rgb(0, 93, 140); font-size: 9px; font-family: Arial,Helvetica,sans-serif; vertical-align: middle;" onchange="if (this.options[this.selectedIndex].value) window.location.href='?lang=' + this.options[this.selectedIndex].value;">
<option value="arabic">Arabic (العربية)</option>
<option value="bulgarian">Bulgarian (Български)</option>
<option value="chinese_gb">Chinese simplified (中文 - 简体)</option>
<option value="czech">Czech (Česky)</option>
<option value="dutch"  selected="selected">Dutch (Nederlands)</option>
<option value="english">English (US)</option>
<option value="english_gb">English (British)</option>
<option value="finnish">Finnish (Suomea)</option>

<option value="french">French (Français)</option>
<option value="german">German (Deutsch)</option>
<option value="german_formal">German_formal</option>
<option value="greek">Greek (Ελληνικά)</option>
<option value="luxembourgish">Luxembourgish</option>
<option value="polish">Polish (Polski)</option>
<option value="russian">Russian (Русский)</option>
<option value="slovenian">Slovenian (Slovensko)</option>
<option value="spanish">Spanish (Español)</option>

<option value="spanish_mx">Spanish_mx</option>
<option value="turkish">Turkish (Türkçe)</option>
<option value="ukrainian">Ukrainian (Українська)</option>
</select>
</form>
<a href="?lang=xxx"><img src="images/flags/reset.png" alt="" title="reset to default language" width="16" border="0" height="11"></a> &nbsp;<a href="docs/en/languages.htm#how" class="greybox" title="How Coppermine handles languages"><img src="images/help.gif" alt="" width="13" border="0" height="11"></a></td><td>&nbsp;&nbsp;&nbsp;<a href="docs/en/configuration.htm#admin_theme_custom_header_path_start" class="greybox" title="How Coppermine handles languages"><img src="images/help.gif" alt="" width="13" border="0" height="11"></a></td></tr>
</head>
<body>
    {CUSTOM_HEADER}
    <div id="cpg_logo_block_outer">
        <div class="cpg_logo_block_inner">
            <div id="cpg_logo_block_logo">
                <a href="index.php">
                    <img src="themes/curve/images/coppermine-logo.png" border="0" width="260" height="60" alt="" />
                </a>
            </div>
            <div id="cpg_logo_block_name">
                <h1>{GAL_NAME}</h1>
                <h3>{GAL_DESCRIPTION}</h3>
            </div>
            <div class="clearer"></div>
        </div>
    </div>
    <div id="cpg_header_block_outer">
        <div class="cpg_header_block_inner">
            <div id="main_menu">
                    {SYS_MENU}
                    {SUB_MENU}
                    {ADMIN_MENU}
            </div><!-- Begin IE7 support --><img src="images/spacer.gif" class="menuheight" alt="" /><!-- End IE7 support -->
            <div class="clearer"></div>
            {MESSAGE_BLOCK}
        </div>
    </div>
    <div id="cpg_main_block_outer">
        <div class="cpg_main_block_inner">
            {GALLERY}
            <br /> <!-- workaround for issue 64492 - do not remove the line break! -->
        </div>
    </div>
    <div id="cpg_footer_block_outer">
        <div class="cpg_footer_block_inner">
            {CUSTOM_FOOTER}
            {CREDITS}
        </div>
    </div>
</body>
</html>


Regards, Gerrit

papukaija

Replace <select name="demoThemeSelect" style="color: rgb(0, 0, 0); background-color: rgb(239, 239, 239); border: 1px solid rgb(0, 93, 140); font-size: 9px; font-family: Arial,Helvetica,sans-serif; vertical-align: middle;" onchange="if (this.options[this.selectedIndex].value) window.location.href='?theme=' + this.options[this.selectedIndex].value;">
<option value="classic">Classic</option>
<option value="classic_vstrip">Classic vstrip</option>
<option value="classic_w_drop">Classic w drop</option>
<option value="curve" selected="selected">Curve</option>
<option value="curve_altmenu">Curve altmenu</option>
<option value="curve_vstrip">Curve vstrip</option>

<option value="curve_vstrip_altmenu">Curve vstrip altmenu</option>
<option value="dark_velvet">Dark velvet</option>
<option value="eyeball">Eyeball</option>
<option value="fruity">Fruity</option>
<option value="hardwired">Hardwired</option>
<option value="igames">Igames</option>
<option value="i_feel_dirty_v">I feel dirty v</option>
<option value="mac_ox_x">Mac ox x</option>
<option value="project_vii">Project vii</option>

<option value="prorandom">Prorandom</option>
<option value="rainy_day">Rainy day</option>
<option value="rhinoswelt">Rhinoswelt</option>
<option value="timoswelt">Timoswelt</option>
<option value="verwischt_giallo">Verwischt giallo</option>
<option value="water_drop">Water drop</option>
</select>


with {THEME_SELECT_LIST} and do the same for the lang selector as I suggested
Quote from: papukaija on June 20, 2010, 01:05:46 PM
Just copy the html from the documentation and replace theme selector's html with {THEME_SELECT_LIST} and the language selector's html with {LANGUAGE_SELECT_LIST}. Then paste that html code to your custom theme (or create one if you don't have one yet). These two tokens' usage is explained in detail here.

GerritR

It is now easier, but I still have errors in it
This template Igames html

http://www.natuurrondleidingen.nl/beeldbank2/index.php?theme=igames


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<title>{TITLE}</title>
{META}
<link rel="stylesheet" href="css/coppermine.css" type="text/css" />
<link rel="stylesheet" href="themes/igames/style.css" type="text/css" />
<link rel="shortcut icon" href="favicon.ico" />
{JAVASCRIPT}
<!--
  SVN version info:
  Coppermine version: 1.5.3
  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.5.x/themes/igames/template.html $
  $Revision: 6849 $
  $LastChangedBy: gaugau $
  $Date: 2009-12-11 09:49:36 +0100 (Fr, 11 Dez 2009) $
-->
<tr><td style="border: 1px solid white; margin-right: 5px; padding: 2px; font-family: Arial,Helvetica,sans-serif; font-size: 9px; color: black;">21 Themes: <a href="?theme=i_feel_dirty_v" style="font-family: Arial,Helvetica,sans-serif; font-size: 9px; border: 1px solid rgb(0, 93, 140); background-color: rgb(239, 239, 239); background-image: url(&quot;themes/classic/images/button_bg.gif&quot;); background-position: center bottom; color: rgb(0, 0, 0); margin-top: 0px; margin-bottom: 0px; padding: 2px 1px; text-align: center; text-decoration: none;" onmouseover="this.style.color='#5F5F5F';" onmouseout="this.style.color='#000000';" title="previous theme"><img src="images/icons/leftleft.png" 16="" alt="" style="vertical-align: middle; margin-right: 1px;" width="16 height=" border="0"> I feel dirty v</a>&nbsp;&nbsp;
<form name="demoChooseTheme" id="demoChooseTheme" action="" method="get" style="margin: 0px; display: inline;">
<select name="demoThemeSelect" style="color: rgb(0, 0, 0); background-color: rgb(239, 239, 239); border: 1px solid rgb(0, 93, 140); font-size: 9px; font-family: Arial,Helvetica,sans-serif; vertical-align: middle;" onchange="if (this.options[this.selectedIndex].value) window.location.href='?theme=' + this.options[this.selectedIndex].value;">
{THEME_SELECT_LIST}
</form>
&nbsp;&nbsp;<a href="?theme=project_vii" style="font-family: Arial,Helvetica,sans-serif; font-size: 9px; border: 1px solid rgb(0, 93, 140); background-color: rgb(239, 239, 239); background-image: url(&quot;themes/classic/images/button_bg.gif&quot;); background-position: center bottom; color: rgb(0, 0, 0); margin-top: 0px; margin-bottom: 0px; padding: 2px 1px; text-align: center; text-decoration: none;" onmouseover="this.style.color='#5F5F5F';" onmouseout="this.style.color='#000000';" title="next theme">Project vii <img src="images/icons/rightright.png" 16="" alt="" style="vertical-align: middle; margin-right: 1px;" width="16 height=" border="0"></a>&nbsp;&nbsp;<a href="?theme=xxx"><img src="images/flags/reset.png" alt="" title="reset to default theme" width="16" border="0" height="11"></a> </td><td>&nbsp;</td><td style="border: 1px solid white; margin-right: 5px; padding: 2px; font-family: Arial,Helvetica,sans-serif; font-size: 9px; color: black;">Languages:

<form name="demoChooseLanguage" id="demoChooseLanguage" action="" method="get" style="margin: 0px; display: inline;">
<select name="cpgLanguageSelect" style="color: rgb(0, 0, 0); background-color: rgb(239, 239, 239); border: 1px solid rgb(0, 93, 140); font-size: 9px; font-family: Arial,Helvetica,sans-serif; vertical-align: middle;" onchange="if (this.options[this.selectedIndex].value) window.location.href='?lang=' + this.options[this.selectedIndex].value;">
{LANGUAGE_SELECT_LIST}</form>
<a href="?lang=xxx"><img src="images/flags/reset.png" alt="" title="reset to default language" width="16" border="0" height="11"></a> &nbsp;<a href="docs/en/languages.htm#how" class="greybox" title="How Coppermine handles languages"><img src="images/help.gif" alt="" width="13" border="0" height="11"></a></td><td>&nbsp;&nbsp;&nbsp;<a href="docs/en/configuration.htm#admin_theme_custom_header_path_start" class="greybox" title="How Coppermine handles languages"><img src="images/help.gif" alt="" width="13" border="0" height="11"></a></td></tr><div id="CUSTOM_HEADER">
</head>
<body>
<div id="CUSTOM_HEADER">
  {CUSTOM_HEADER}
  </div>

<div class="top_panel">
  <div class="top_panel_left">
    <div class="top_panel_right">
      <h1>{GAL_NAME}</h1>
      <h3>{GAL_DESCRIPTION}</h3>
    </div>
  </div>
</div>

<div class="top_panel_btm">

</div>

<div id="MENUS">
  <div id="SUB_MENU">
    {SUB_MENU}
  </div>
  <div id="SYS_MENU">
    {SYS_MENU}
  </div>
</div>

<div id="GALLERY">
      {ADMIN_MENU}
      {MESSAGE_BLOCK}
      {GALLERY}
</div>
<div id="CUSTOM_FOOTER">
  {CUSTOM_FOOTER}
  </div>
{CREDITS}
</body>
</html>


I suspect that the error is somewhere here.
<tr><td style="border: 1px solid white; margin-right: 5px; padding: 2px; font-family: Arial,Helvetica,sans-serif; font-size: 9px; color: black;">21 Themes: <a href="?theme=i_feel_dirty_v" style="font-family: Arial,Helvetica,sans-serif; font-size: 9px; border: 1px solid rgb(0, 93, 140); background-color: rgb(239, 239, 239); background-image: url(&quot;themes/classic/images/button_bg.gif&quot;); background-position: center bottom; color: rgb(0, 0, 0); margin-top: 0px; margin-bottom: 0px; padding: 2px 1px; text-align: center; text-decoration: none;" onmouseover="this.style.color='#5F5F5F';" onmouseout="this.style.color='#000000';" title="previous theme"><img src="images/icons/leftleft.png" 16="" alt="" style="vertical-align: middle; margin-right: 1px;" width="16 height=" border="0"> I feel dirty v</a>&nbsp;&nbsp;
<form name="demoChooseTheme" id="demoChooseTheme" action="" method="get" style="margin: 0px; display: inline;">
<select name="demoThemeSelect" style="color: rgb(0, 0, 0); background-color: rgb(239, 239, 239); border: 1px solid rgb(0, 93, 140); font-size: 9px; font-family: Arial,Helvetica,sans-serif; vertical-align: middle;" onchange="if (this.options[this.selectedIndex].value) window.location.href='?theme=' + this.options[this.selectedIndex].value;">
{THEME_SELECT_LIST}
</form>
&nbsp;&nbsp;<a href="?theme=project_vii" style="font-family: Arial,Helvetica,sans-serif; font-size: 9px; border: 1px solid rgb(0, 93, 140); background-color: rgb(239, 239, 239); background-image: url(&quot;themes/classic/images/button_bg.gif&quot;); background-position: center bottom; color: rgb(0, 0, 0); margin-top: 0px; margin-bottom: 0px; padding: 2px 1px; text-align: center; text-decoration: none;" onmouseover="this.style.color='#5F5F5F';" onmouseout="this.style.color='#000000';" title="next theme">Project vii <img src="images/icons/rightright.png" 16="" alt="" style="vertical-align: middle; margin-right: 1px;" width="16 height=" border="0"></a>&nbsp;&nbsp;<a href="?theme=xxx"><img src="images/flags/reset.png" alt="" title="reset to default theme" width="16" border="0" height="11"></a> </td><td>&nbsp;</td><td style="border: 1px solid white; margin-right: 5px; padding: 2px; font-family: Arial,Helvetica,sans-serif; font-size: 9px; color: black;">Languages:

<form name="demoChooseLanguage" id="demoChooseLanguage" action="" method="get" style="margin: 0px; display: inline;">
<select name="cpgLanguageSelect" style="color: rgb(0, 0, 0); background-color: rgb(239, 239, 239); border: 1px solid rgb(0, 93, 140); font-size: 9px; font-family: Arial,Helvetica,sans-serif; vertical-align: middle;" onchange="if (this.options[this.selectedIndex].value) window.location.href='?lang=' + this.options[this.selectedIndex].value;">
{LANGUAGE_SELECT_LIST}</form>
<a href="?lang=xxx"><img src="images/flags/reset.png" alt="" title="reset to default language" width="16" border="0" height="11"></a> &nbsp;<a href="docs/en/languages.htm#how" class="greybox" title="How Coppermine handles languages"><img src="images/help.gif" alt="" width="13" border="0" height="11"></a></td><td>&nbsp;&nbsp;&nbsp;<a href="docs/en/configuration.htm#admin_theme_custom_header_path_start" class="greybox" title="How Coppermine handles languages"><img src="images/help.gif" alt="" width="13" border="0" height="11"></a></td></tr><div id="CUSTOM_HEADER">
</head>
<body>
<div id="CUSTOM_HEADER">
  {CUSTOM_HEADER}
  </div>


Regards, Gerrit


papukaija

You need to delete the static part from your code, for example &nbsp;&nbsp;<a href="?theme=project_vii" style="font-family: Arial,Helvetica,sans-serif; font-size: 9px; border: 1px solid rgb(0, 93, 140); background-color: rgb(239, 239, 239); background-image: url(&quot;themes/classic/images/button_bg.gif&quot;); background-position: center bottom; color: rgb(0, 0, 0); margin-top: 0px; margin-bottom: 0px; padding: 2px 1px; text-align: center; text-decoration: none;" onmouseover="this.style.color='#5F5F5F';" onmouseout="this.style.color='#000000';" title="next theme">Project vii <img src="images/icons/rightright.png" 16="" alt="" style="vertical-align: middle; margin-right: 1px;" width="16 height=" border="0"></a>&nbsp;&nbsp;

That also solves the problem of same content with igames and "I feel dirty" themes, the reason for the same layout is that the i_feel_dirty folder is missing from your server.

The theme counter is of course wrong as it needs to be converted into a dynamic counter with php (make a code which counts the number of sub-folders in themes folder, Google is your friend to loop folders).

GerritR

I do NOT do.
There are still errors.
I'm going to try another way.

Regards, Gerrit

papukaija

Btw, you shouldn't edit default themes as your changes will be lost on next update/upgrade.