Skip to content

Commit

Permalink
feature 2477: Remove unused CSS / html elements from version 2.3
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@12479 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
rvelices committed Oct 17, 2011
1 parent d4cf6a0 commit ef9766a
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 24 deletions.
5 changes: 0 additions & 5 deletions admin/themes/default/theme.css
Expand Up @@ -376,11 +376,6 @@ IMG {
border: none;
}

HR.separation {
visibility: hidden;
clear: both;
}

/** General defaults **/
INPUT, SELECT {
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion include/functions_html.inc.php
Expand Up @@ -465,7 +465,7 @@ function get_tags_content_title()
.l10n('remove this tag from the list')
.'"><img src="'
.get_root_url().get_themeconf('icon_dir').'/remove_s.png'
.'" alt="x" style="vertical-align:bottom;" class="button">'
.'" alt="x" style="vertical-align:bottom;">'
.'</a>';
}
return $title;
Expand Down
2 changes: 1 addition & 1 deletion themes/default/template/comment_list.tpl
Expand Up @@ -40,7 +40,7 @@
<label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></label>
<input type="hidden" name="key" value="{$comment.KEY}">
<input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
<input class="submit" type="submit" value="{'Submit'|@translate}">
<input type="submit" value="{'Submit'|@translate}">
</fieldset>
</form>
{else}
Expand Down
2 changes: 1 addition & 1 deletion themes/default/template/comments.tpl
Expand Up @@ -63,7 +63,7 @@

</fieldset>

<p><input class="submit" type="submit" value="{'Filter and display'|@translate}"></p>
<p><input type="submit" value="{'Filter and display'|@translate}"></p>

</form>

Expand Down
2 changes: 1 addition & 1 deletion themes/default/template/identification.tpl
Expand Up @@ -52,7 +52,7 @@

<p>
<input type="hidden" name="redirect" value="{$U_REDIRECT|@urlencode}">
<input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}">
<input tabindex="4" type="submit" name="login" value="{'Submit'|@translate}">
</p>

<p>
Expand Down
4 changes: 2 additions & 2 deletions themes/default/template/password.tpl
Expand Up @@ -47,7 +47,7 @@
</label>
</p>

<p class="bottomButtons"><input class="submit" type="submit" name="submit" value="{'Change my password'|@translate}"></p>
<p class="bottomButtons"><input type="submit" name="submit" value="{'Change my password'|@translate}"></p>
{elseif $action eq 'reset'}

<div class="message">{'Hello'|@translate} <em>{$username}</em>. {'Enter your new password below.'|@translate}</div>
Expand All @@ -68,7 +68,7 @@
</label>
</p>

<p class="bottomButtons"><input class="submit" type="submit" name="submit" value="{'Submit'|@translate}"></p>
<p class="bottomButtons"><input type="submit" name="submit" value="{'Submit'|@translate}"></p>
{/if}

</form>
Expand Down
2 changes: 0 additions & 2 deletions themes/default/template/picture.tpl
Expand Up @@ -290,8 +290,6 @@ y.callService(
{/if}
</div>

<hr class="separation">

{if isset($COMMENT_COUNT)}
<div id="comments">
{if $COMMENT_COUNT > 0}
Expand Down
15 changes: 4 additions & 11 deletions themes/default/theme.css
Expand Up @@ -356,8 +356,8 @@ TD.calDayHead {
}

#imageInfos {
position:relative;
min-height:110px;
position: relative;
min-height: 120px;
}

#linkPrev {
Expand Down Expand Up @@ -415,9 +415,8 @@ TD.calDayHead {
margin-left:20em;
}
.pictureContent #imageToolBar,
.pictureContent #theImage,
.pictureContent hr.separation {
clear:none;
.pictureContent #theImage {
clear: none;
}


Expand Down Expand Up @@ -466,11 +465,6 @@ IMG {
border: 0;
}

HR.separation {
visibility: hidden;
clear: both;
}

#copyright {
clear: both;
font-size: 83%;
Expand Down Expand Up @@ -790,7 +784,6 @@ LEGEND {
.message {
background-color: lightyellow;
color:#333;
/* margin: 0.5em 1em 0.5em 1em; */
margin-bottom:1em;
padding: 12px;
-moz-border-radius: 3px;
Expand Down

0 comments on commit ef9766a

Please sign in to comment.