Bläddra i källkod

Fix justgrey.css typo, and typo in pum

Morten Brix Pedersen 21 år sedan
förälder
incheckning
bbfd1f2d42
3 ändrade filer med 66 tillägg och 63 borttagningar
  1. 1 0
      docs/Changelog
  2. 61 61
      layout/justgrey.css
  3. 4 2
      scripts/pum/pum.pl

+ 1 - 0
docs/Changelog

@@ -19,6 +19,7 @@ pisg (0.67) - ??
        active nicks" (closes SF #1255234).
      + Die if output cannot be written (closes SF #1207883); remove some
        redundant newlines.
+     * Fix minor typo in 'justgrey' colorscheme
    * Languages:
      + Dutch: small update to shout1 (thanks, Søren Jensen).
      + Dutch/Flemish: new strings added (thanks, Jeroen van Nimwegen).

+ 61 - 61
layout/justgrey.css

@@ -5,48 +5,48 @@
  * Theme by ICU (me at 1cu.de)
  */
    
-A
+a
 {
-    TEXT-DECORATION: none
+    text-decoration: none;
 }
-A:link
+a:link
 {
-    COLOR: #bdcddd
+    color: #bdcddd;
 }
-A:visited
+a:visited
 {
-    COLOR: #bdcddd
+    color: #bdcddd;
 }
-A:hover
+a:hover
 {
-    COLOR: #bdcddd;
-    TEXT-DECORATION: underline;
-    font-weight: none
+    color: #bdcddd;
+    text-decoration: underline;
+    font-weight: none;
 }
-A.background
+a.background
 {
-    COLOR: none;
-    TEXT-DECORATION: none
+    color: none;
+    text-decoration: none;
 }
-A.background:link
+a.background:link
 {
-    COLOR: #314151
+    color: #314151;
 }
-A.background:visited
+a.background:visited
 {
-    COLOR: #415161
+    color: #415161;
 }
-A.background:hover
+a.background:hover
 {
-    COLOR: #003c60;
-    TEXT-DECORATION: underline
+    color: #003c60;
+    text-decoration: underline;
 }
-BODY
+body
 {
-    FONT-SIZE: 13px;
-    COLOR: white;
-    FONT-FAMILY: Verdana, Arial, sans-serif;
-    BACKGROUND-COLOR: #647684;
+    font-size: 13px;
+    color: white;
+    font-family: verdana, arial, sans-serif;
+    background-color: #647684;
     scrollbar-face-color: #647684;
     scrollbar-shadow-color: black;
     scrollbar-highlight-color: #647684;
@@ -55,82 +55,82 @@ BODY
     scrollbar-track-color: #647684;
     scrollbar-arrow-color: black;
 }
-TD
+td
 {
-    FONT-SIZE: 13px;
-    COLOR: white;
-    FONT-FAMILY: Verdana, Arial, sans-serif;
-    TEXT-ALIGN: left
+    font-size: 13px;
+    color: white;
+    font-family: verdana, arial, sans-serif;
+    text-align: left;
 }
 .title
 {
-    COLOR: white;
-    FONT-WEIGHT: bold;
-    FONT-SIZE: 16px;
-    FONT-FAMILY: Tahoma, Arial, sans-serif
+    color: white;
+    font-weight: bold;
+    font-size: 16px;
+    font-family: tahoma, arial, sans-serif;
 }
 .headtext
 {
-    FONT-WEIGHT: bold;
-    COLOR: white;
-    BACKGROUND-COLOR: none;
-    TEXT-ALIGN: center
+    font-weight: bold;
+    color: white;
+    background-color: none;
+    text-align: center;
 }
 .headlinebg
 {
-    BACKGROUND-COLOR: #344454
+    background-color: #344454;
 }
 .tdtop
 {
-    BACKGROUND-COLOR: #445464
+    background-color: #445464;
 }
 .hicell
 {
-    BACKGROUND-COLOR: #748494
+    background-color: #748494;
 }
 .hicell10
 {
-    FONT-SIZE: 10px;
-    BACKGROUND-COLOR: #94a4b4
+    font-size: 10px;
+    background-color: #94a4b4;
 }
 .rankc
 {
-    BACKGROUND-COLOR: #748494
+    background-color: #748494;
 }
 .hirankc
 {
-    FONT-WEIGHT: bold;
-    BACKGROUND-COLOR: #94a4b4
+    font-weight: bold;
+    background-color: #94a4b4;
 }
 .rankc10
 {
-    FONT-SIZE: 10px;
-    BACKGROUND-COLOR: #748494
+    font-size: 10px;
+    background-color: #748494;
 }
 .rankc10center
 {
-    FONT-SIZE: 10px;
-    BACKGROUND-COLOR: #748494;
-    TEXT-ALIGN: center
+    font-size: 10px;
+    background-color: #748494;
+    text-align: center;
 }
 .hirankc10center
 {
-    FONT-WEIGHT: bold;
-    FONT-SIZE: 10px;
-    BACKGROUND-COLOR: #94a4b4;
-    TEXT-ALIGN: center
+    font-weight: bold;
+    font-size: 10px;
+    background-color: #94a4b4;
+    text-align: center;
 }
 .small
 {
-    FONT-SIZE: 10px;
-    FONT-FAMILY: Verdana, Arial, sans-serif
+    font-size: 10px;
+    font-family: verdana, arial, sans-serif;
 }
 .asmall
 {
-    FONT-SIZE: 10px;
-    COLOR: white;
-    FONT-FAMILY: "Arial narrow", Arial, sans-serif
-    TEXT-ALIGN: center
+    font-size: 10px;
+    color: white;
+    font-family: "arial narrow", arial, sans-serif;
+    text-align: center;
 }
 
 .male, .male a {

+ 4 - 2
scripts/pum/pum.pl

@@ -134,6 +134,8 @@ if (param('op') eq 'show') {
     &show_nicks;
 } elsif (param('op') eq 'del' and $config->get('cgi_user_del')) {
     &del_nick;
+} else {
+    print _p("Error: Unknown operation!");
 }
 
 if (not (param('op') eq 'del' and not param('confirm') and
@@ -311,8 +313,8 @@ sub show_data_form {
     my $this = $data{$nick};
     my $pp = $config->get('cgi_pics_prefix');
     print _start_form('GET', $script_uri);
-    print _hidden( -name  => 'op', -value => ( $nick or param('op') eq
-	    'create' ? 'save' : 'create' ), -override => 1);
+    print _hidden( -name  => 'op', -value => ( ($nick or param('op') eq
+            'create') ? 'save' : 'create' ), -override => 1);
     print _hidden('old_nick', $nick);
     print _table(_Tr(_td('Nickname'), _td(textfield('nick',$this->{nick},9))),
         _Tr(_td('Alias(ses)'), _td(textfield('alias',$this->{alias},30))),