diff --git a/index.php b/index.php index 2735038..19278ac 100644 --- a/index.php +++ b/index.php @@ -264,7 +264,7 @@ function prettyAddress( $address )
-', empty( $address ) ? '' : ( 'w8.io · ' . prettyAddress( $address ) ), $light ? '-light' : '' );
+', empty( $address ) ? '' : ( 'w8.io · ' . prettyAddress( $address ) ), $light ? '-l' : '-n' );
 /*
 , W8IO_ROOT, W8IO_ROOT, W8IO_ROOT,
 //isset( $showtime ) ? '0.66vw' : '14pt',
@@ -639,9 +639,9 @@ function w8io_print_transactions( $aid, $where, $uid, $count, $address, $d )
         {
             $p1pad = $maxlen1 - $p1pad;
             $p2pad = $maxlen2 - ( $p2pad - $out[4] );
-            $pad2 = $p2pad > 3 ? ( ' ' . str_repeat( '-', $p2pad - 1 ) ) : str_repeat( ' ', $p2pad );
+            $pad2 = $p2pad > 3 ? ( ' ' . str_repeat( '—', $p2pad - 1 ) . '' ) : str_repeat( ' ', $p2pad );
         }
-        $pad1 = $p1pad > 3 ? ( ' ' . str_repeat( '-', $p1pad - 1 ) ) : str_repeat( ' ', $p1pad );
+        $pad1 = $p1pad > 3 ? ( ' ' . str_repeat( '—', $p1pad - 1 ) . '' ) : str_repeat( ' ', $p1pad );
 
         echo $p1 . $pad1 . $addon . $pad2 . ' ' . $p3 . PHP_EOL;
     }
@@ -1303,7 +1303,7 @@ function htmlscript( $tx )
             {
                 echo '' . $amount . ' ' . $asset . '';
                 echo ' io' . PHP_EOL;
-                echo '' . str_repeat( '—', 39 ) . ' ' .  PHP_EOL;
+                echo '' . str_repeat( '—', 39 ) . ' ' .  PHP_EOL;
             }
             else
             {
@@ -1361,7 +1361,7 @@ function htmlscript( $tx )
         {
             echo '' . $frecord['amount'] . ' ' . $frecord['asset'] . '';
             echo ' io' . PHP_EOL;
-            echo '' . str_repeat( '—', 39 ) . ' ' .  PHP_EOL;
+            echo '' . str_repeat( '—', 39 ) . ' ' .  PHP_EOL;
         }
 
         arsort( $weights );
@@ -1371,7 +1371,7 @@ function htmlscript( $tx )
             if( $weight === 0 && !isset( $zerotrades ) )
             {
                 if( !$js )
-                    echo '' . str_repeat( '—', 39 ) . ' ' .  PHP_EOL;
+                    echo '' . str_repeat( '—', 39 ) . ' ' .  PHP_EOL;
                 $zerotrades = true;
             }
 
@@ -1384,7 +1384,7 @@ function htmlscript( $tx )
 
         if( !isset( $zerotrades ) && !$js )
         {
-            echo '' . str_repeat( '—', 39 ) . ' ' .  PHP_EOL;
+            echo '' . str_repeat( '—', 39 ) . ' ' .  PHP_EOL;
             $zerotrades = true;
         }
 
diff --git a/static/static-light.css b/static/static-l.css
similarity index 100%
rename from static/static-light.css
rename to static/static-l.css
diff --git a/static/static.css b/static/static-n.css
similarity index 100%
rename from static/static.css
rename to static/static-n.css