xhtml validation, and small skin improvements.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 3 Nov 2007 11:22:30 +0000 (12:22 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 3 Nov 2007 11:22:30 +0000 (12:22 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
htdocs/css/xnet.css
templates/xnet/skin.tpl

index 8c3bf94..3bfd9bc 100644 (file)
@@ -177,7 +177,7 @@ td#menu {
     background-color: #d0c198;
 }
 
-#menu a {
+#menu a, #menu form {
     display: block;
     padding: 0.2em 0em 0.2em 15px;
     font-size: 89%;
index cd78540..6a5024a 100644 (file)
                                                 $smarty.session.suid.may_update[$asso.id])))}
           <h1>Voir le site comme...</h1>
           <form method="post" action="{$platal->ns}change_rights">
-            <select name="right" onchange="this.form.submit()" style="margin: 0; padding: 0">
-              {if hasPerm('admin') || ($smarty.session.suid && $smarty.session.suid.perms->hasFlag('admin'))}
-              <option value="admin" {if hasPerm('admin')}selected="selected"{/if}>Administrateur</option>
-              {/if}
-              <option value="anim" {if $is_admin && !hasPerm('admin')}selected="selected"{/if}>Animateur</option>
-              <option value="member" {if !$is_admin && $is_member}selected="selected"{/if}>Membre</option>
-              <option value="logged" {if !$is_admin && !$is_member}selected="selected"{/if}>Non-membre</option>
-            </select>
+            <div>
+              <select name="right" onchange="this.form.submit()" style="margin: 0; padding: 0">
+                {if hasPerm('admin') || ($smarty.session.suid && $smarty.session.suid.perms->hasFlag('admin'))}
+                <option value="admin" {if hasPerm('admin')}selected="selected"{/if}>Administrateur</option>
+                {/if}
+                <option value="anim" {if $is_admin && !hasPerm('admin')}selected="selected"{/if}>Animateur</option>
+                <option value="member" {if !$is_admin && $is_member}selected="selected"{/if}>Membre</option>
+                <option value="logged" {if !$is_admin && !$is_member}selected="selected"{/if}>Non-membre</option>
+              </select>
+            </div>
           </form>
           {/if}
         </td>