diff options
author | xgizzmo <xgizzmo@ampache> | 2007-01-09 02:34:20 +0000 |
---|---|---|
committer | xgizzmo <xgizzmo@ampache> | 2007-01-09 02:34:20 +0000 |
commit | 8ed4a1e163f8750820f643b4f81b04215154e972 (patch) | |
tree | 534c84006759a5805d3bbc71ad3ce78d13aef27c | |
parent | 4d948bcd7c451b35df7686f2d24ebc57746096c2 (diff) | |
download | ampache-8ed4a1e163f8750820f643b4f81b04215154e972.tar.gz ampache-8ed4a1e163f8750820f643b4f81b04215154e972.tar.bz2 ampache-8ed4a1e163f8750820f643b4f81b04215154e972.zip |
fixed some typos and dead links
-rw-r--r-- | login.php | 1 | ||||
-rw-r--r-- | register.php | 1 | ||||
-rw-r--r-- | templates/handheld.css | 8 | ||||
-rw-r--r-- | templates/print.css | 11 | ||||
-rw-r--r-- | templates/show_random_albums.inc.php | 2 | ||||
-rw-r--r-- | templates/show_user_registration.inc.php | 1 | ||||
-rw-r--r-- | themes/classic/templates/default.css | 2 |
7 files changed, 11 insertions, 15 deletions
@@ -157,7 +157,6 @@ $htmllang = str_replace("_","-",conf('lang')); <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo conf('site_charset'); ?>" /> <link rel="shortcut icon" href="<?php echo conf('web_path'); ?>/favicon.ico" /> -<link rel="stylesheet" href="templates/default.css" type="text/css" media="screen" /> <link rel="stylesheet" href="templates/print.css" type="text/css" media="print" /> <link rel="stylesheet" href="templates/handheld.css" type="text/css" media="handheld" /> <link rel="stylesheet" href="<?php echo conf('web_path'); ?><?php echo conf('theme_path'); ?>/templates/default.css" type="text/css" media="screen" /> diff --git a/register.php b/register.php index fee00f0e..0c0be40f 100644 --- a/register.php +++ b/register.php @@ -164,7 +164,6 @@ switch ($action) { send_confirmation($username, $fullname, $email, $pass1, $validation); ?> - <link rel="stylesheet" href="<?php echo $web_path; ?>/templates/default.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $web_path; ?><?php echo conf('theme_path'); ?>/templates/default.css" type="text/css" /> <?php show_confirmation(_('Registration Complete'),$message,'/login.php'); diff --git a/templates/handheld.css b/templates/handheld.css index c93f6c68..ef5d9a98 100644 --- a/templates/handheld.css +++ b/templates/handheld.css @@ -96,12 +96,12 @@ BDO[DIR="rtl"] { direction: rtl; unicode-bidi: bidi-override } *[DIR="ltr"] { direction: ltr; unicode-bidi: embed } *[DIR="rtl"] { direction: rtl; unicode-bidi: embed } +@page { + margin: 5%; + size: landscape; +} @media print { - @page { - margin 5%; - size: landscape; - } h1 { page-break-before: always } h1, h2, h3, h4, h5, h6 { page-break-after: avoid } diff --git a/templates/print.css b/templates/print.css index 74efe2b7..f4d963de 100644 --- a/templates/print.css +++ b/templates/print.css @@ -93,12 +93,11 @@ BDO[DIR="rtl"] { direction: rtl; unicode-bidi: bidi-override } *[DIR="ltr"] { direction: ltr; unicode-bidi: embed } *[DIR="rtl"] { direction: rtl; unicode-bidi: embed } -@media print { - @page { - margin 5%; - size: landscape; - } - h1 { page-break-before: always } +@page { margin: 5%; size: landscape; } + +@media print { + + h1 { page-break-before: always } h1, h2, h3, h4, h5, h6 { page-break-after: avoid } ul, ol, dl { page-break-before: avoid } diff --git a/templates/show_random_albums.inc.php b/templates/show_random_albums.inc.php index a3edaf9f..bc41edef 100644 --- a/templates/show_random_albums.inc.php +++ b/templates/show_random_albums.inc.php @@ -31,7 +31,7 @@ $web_path = conf('web_path'); ?> <td> <a href="<?php echo $web_path; ?>/albums.php?action=show&album=<?php echo $album_id; ?>"> - <img src="<?php echo $web_path; ?>/image.php?thumb=1&id=<?php echo $album_id; ?>" width="75" height="75" border="0" alt="<?php echo $name; ?>" title="<?php echo $name; ?>"> + <img src="<?php echo $web_path; ?>/image.php?thumb=1&id=<?php echo $album_id; ?>" width="75" height="75" border="0" alt="<?php echo $name; ?>" title="<?php echo $name; ?>" /> </a> </td> <?php } ?> diff --git a/templates/show_user_registration.inc.php b/templates/show_user_registration.inc.php index df922136..aa43af4e 100644 --- a/templates/show_user_registration.inc.php +++ b/templates/show_user_registration.inc.php @@ -27,7 +27,6 @@ $htmllang = str_replace("_","-",conf('lang')); <head> <link rel="shortcut icon" href="<?php echo conf('web_path'); ?>/favicon.ico" /> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo conf('site_charset'); ?>" /> -<link rel="stylesheet" href="<?php echo conf('web_path'); ?>/templates/default.css" type="text/css" /> <link rel="stylesheet" href="<?php echo conf('web_path'); ?><?php echo conf('theme_path'); ?>/templates/default.css" type="text/css" /> <title><?php echo conf('site_title'); ?> - <?php echo $location['title']; ?></title> </head> diff --git a/themes/classic/templates/default.css b/themes/classic/templates/default.css index b1129833..55db23f0 100644 --- a/themes/classic/templates/default.css +++ b/themes/classic/templates/default.css @@ -91,7 +91,7 @@ textarea { font-size: 12px; } .table-header { -// background: url(../images/ampache-light-bg.gif) #dddddd repeat-x; +/* background: url(../images/ampache-light-bg.gif) #dddddd repeat-x; */ background: #a0a0a0; vertical-align: top; text-align:center; |