Skip to content

Commit 87e17b3

Browse files
committed
Removed dead code.
1 parent 190b278 commit 87e17b3

3 files changed

Lines changed: 15 additions & 28 deletions

File tree

css/zerobin.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ div#deletelink { float:right; }
111111
div#toolbar, div#status { margin-bottom:5px; }
112112
#copyhint { color: #666; font-size:8pt; }
113113

114-
button,.button,div#expiration,div#language {
114+
button,.button,div#expiration {
115115
color:#fff;
116116
background-color:#323B47;
117117
background-repeat:no-repeat;
@@ -164,21 +164,21 @@ position:relative;
164164
top:2px;
165165
}
166166

167-
div#expiration, div#language, div#burnafterreadingoption, div#opendisc, div#syntaxcoloringoption {
167+
div#expiration, div#burnafterreadingoption, div#opendisc, div#syntaxcoloringoption {
168168
background-color:#414D5A;
169169
padding:6px 8px;
170170
margin:0px 5px 0px 0px;;
171171
position: relative;
172172
bottom:1px; /* WTF ? Why is this shifted by 1 pixel ? */
173173
}
174-
div#expiration select, div#language select {
174+
div#expiration select {
175175
color:#eee;
176176
background: transparent;
177177
border: none;
178178
}
179179

180180

181-
div#expiration select option, div#language select option {
181+
div#expiration select option {
182182
color:#eee;
183183
background: #414D5A;
184184
background-color:#414D5A;

js/zerobin.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,6 @@ function stateNewPaste() {
397397
$('button#clonebutton').hide();
398398
$('div#expiration').show();
399399
$('div#remainingtime').hide();
400-
$('div#language').hide(); // $('#language').show();
401-
$('input#password').hide(); //$('#password').show();
402400
$('div#burnafterreadingoption').show();
403401
$('div#opendisc').show();
404402
$('div#syntaxcoloringoption').show();
@@ -426,8 +424,6 @@ function stateExistingPaste() {
426424
}
427425

428426
$('div#expiration').hide();
429-
$('div#language').hide();
430-
$('input#password').hide();
431427
$('div#burnafterreadingoption').hide();
432428
$('div#opendisc').hide();
433429
$('div#syntaxcoloringoption').hide();

tpl/page.html

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -59,27 +59,18 @@ <h3>{$VERSION}</h3>
5959
</select>
6060
</div>
6161
<div id="remainingtime" style="display:none;"></div>
62-
<div id="language" style="display:none;">
63-
<select name="language">
64-
<option value="language" selected="selected">Language</option>
65-
<option value="C/C++">C/C++</option>
66-
<option value="php">php</option>
67-
<option value="python">Python</option>
68-
</select>
62+
<div id="burnafterreadingoption" class="button" style="display:none;">
63+
<input type="checkbox" id="burnafterreading" name="burnafterreading" />
64+
<label for="burnafterreading">Burn after reading</label>
65+
</div>
66+
<div id="opendisc" class="button" style="display:none;">
67+
<input type="checkbox" id="opendiscussion" name="opendiscussion" />
68+
<label for="opendiscussion">Open discussion</label>
69+
</div>
70+
<div id="syntaxcoloringoption" class="button" style="display:none;">
71+
<input type="checkbox" id="syntaxcoloring" name="syntaxcoloring" />
72+
<label for="syntaxcoloring">Syntax coloring</label>
6973
</div>
70-
<div id="burnafterreadingoption" class="button" style="display:none;">
71-
<input type="checkbox" id="burnafterreading" name="burnafterreading" />
72-
<label for="burnafterreading">Burn after reading</label>
73-
</div>
74-
<input id="password" value="Optional password..." style="display:none;" />
75-
<div id="opendisc" class="button" style="display:none;">
76-
<input type="checkbox" id="opendiscussion" name="opendiscussion" />
77-
<label for="opendiscussion">Open discussion</label>
78-
</div>
79-
<div id="syntaxcoloringoption" class="button" style="display:none;">
80-
<input type="checkbox" id="syntaxcoloring" name="syntaxcoloring" />
81-
<label for="syntaxcoloring">Syntax coloring</label>
82-
</div>
8374
</div>
8475
<div id="pasteresult" style="display:none;">
8576
<div id="deletelink"></div>

0 commit comments

Comments
 (0)