Author: jablko
Date: Wed Sep 16 12:20:51 2009
New Revision: 3344

Log:
Markup language list with <ul> -- force

Modified:
   trunk/apps/qubit/modules/i18n/templates/_changeLanguageList.php
   trunk/web/css/menu.css

Modified: trunk/apps/qubit/modules/i18n/templates/_changeLanguageList.php
==============================================================================
--- trunk/apps/qubit/modules/i18n/templates/_changeLanguageList.php     Wed Sep 
16 12:06:07 2009        (r3343)
+++ trunk/apps/qubit/modules/i18n/templates/_changeLanguageList.php     Wed Sep 
16 12:20:51 2009        (r3344)
@@ -1,9 +1,5 @@
-<div class="language-list">
+<ul class="language-list">
   <?php foreach ($enabledI18nLanguages as $key => $language): ?>
-    <?php if ($key == $sf_user->getCulture()): ?>
-      <?php echo link_to($language, array('sf_culture' => $key) + 
$sf_request->getParameterHolder()->getAll(), array('class' => 'active')) ?>
-    <?php else: ?>
-      <?php echo link_to($language, array('sf_culture' => $key) + 
$sf_request->getParameterHolder()->getAll()) ?>
-    <?php endif; ?>
+    <li<?php if ($key == $sf_user->getCulture()): ?> class="active"<?php 
endif; ?>><?php echo link_to($language, array('sf_culture' => $key) + 
$sf_request->getParameterHolder()->getAll()) ?></li>
   <?php endforeach; ?>
-</div>
+</ul>

Modified: trunk/web/css/menu.css
==============================================================================
--- trunk/web/css/menu.css      Wed Sep 16 12:06:07 2009        (r3343)
+++ trunk/web/css/menu.css      Wed Sep 16 12:20:51 2009        (r3344)
@@ -25,7 +25,7 @@
   margin: 0;
 }
 
-.menu-quick-links li
+.language-list li, .menu-quick-links li
 {
   float: left;
   background: none;
@@ -68,12 +68,12 @@
   color: #ffffff;
 }
 
-.menu-quick-links a.active
+.language-list li.active a, .menu-quick-links a.active
 {
   border-bottom: 3px solid #999999;
 }
 
-.menu-quick-links li:first-child
+.language-list li:first-child, .menu-quick-links li:first-child
 {
   border-left: none;
 }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to