Not logged in. · Lost password · Register
Forum: Support Ideas and suggestions RSS
Moving miscellaneous MarkUp #4
jense #1
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
Subject: Moving miscellaneous MarkUp #4
This time for announcements and post or thread lists.  Please, find a patch attached (this time in DOS format)...

I can also send three separate patches that would not appear that huge ;-)
Alala, Alala, Gimme three wishes - CSS
The author has attached one file to this post:
patch-tpl 20.1 kBytes
You have no permission to open this file.
jense #2
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
I missed a small fourth one:

In common_out.lib.php, about line 2052:
  1.                                         'link' => UnbLink('@main', null, true),
  2.                                         'image' => '<img ' . $UNB['Image']['nav_overview'] . ' />',
  3.                                         'imageUrl' => 'nav_overview.png',
  4. -                                       'title' => '<b>' . $UNB_T['forum'] . '</b>',
  5. +                                       'title' => $UNB_T['overview'],
  6.                                         'active' => $UNB['ThisPage'] == '@main' ||
  7.                                                 $UNB['ThisPage'] == '@thread' ||
  8.                                                 $UNB['ThisPage'] == '@post');
and in _head.html about line 47:
  1.                         <li{if $active} class="active"{endif}>
  2.                                 <a href="{$link}">
  3.                                 {if $imageUrl}<span class="backimage" style="background: url({imgurl}{$imageUrl}) no-repeat; padding-left: 20px;">{endif}
  4. -                               {$title}
  5. +                               {if eq $title tr "overview"}<b>{tr "forum"}</b>{else}{$title}{endif}
  6.                                 {if $imageUrl}</span>{endif}
  7.                                 </a>
  8.                         </li>

This one is quite useful if the navigation should be externally implemented as a drop-down/side-out menue...
Alala, Alala, Gimme three wishes - CSS
jense #3
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
Finally, all changes have no effect on the markup output in the default installation.  They really just move the markup at the right places...
Alala, Alala, Gimme three wishes - CSS
Avatar
Yves (Administrator) #4
User title: UNB developer & webmaster
Member since Jan 2004 · 3814 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Looks good. As your previous work on this IIRC. Could you please include the missing patches in the single file, so I can integrate it easier?
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20110527-dev, © 2003-2011 by Yves Goergen
Page created in 205.5 ms (115.1 ms) · 55 database queries in 144.3 ms
Current time: 2012-02-08, 09:17:42 (UTC +01:00)