View | Details | Raw Unified | Return to bug 8111
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/css/sco.css (-23 / +51 lines)
Lines 271-311 a.koha_url { Link Here
271
    color: #666666;
271
    color: #666666;
272
}
272
}
273
273
274
275
div#changelanguage{
274
div#changelanguage{
276
	background-color: #fff;
275
    background-color: #fff;
277
	border-top: 1px solid #CCC;
276
    border-top: 1px solid #CCC;
278
	color : #666;
277
    color : #666;
279
	font-size : 85%;
278
    font-size : 85%;
280
	padding : 1em;
279
    padding : 1em;
281
	margin-top : 2em;
280
    margin-top : 2em;
282
 }
281
 }
283
282
284
div#changelanguage a {
283
div#changelanguage a {
285
	font-weight : normal;
284
    font-weight : normal;
286
	padding : .5em;
285
    padding : .5em 0;
287
}
286
}
288
287
289
div#changelanguage a.more {
288
div#changelanguage li.yuimenuitem {
290
	background-image:url(../../images/more-up-arrow.gif);
289
    font-size: 120%;
291
	background-position:right center;
290
    font-weight: normal;
292
	background-repeat:no-repeat;
291
    margin: 0;
293
	padding-right:13px;
292
    padding: 0 1em;
293
}
294
div#changelanguage li.yuimenuitem a.yuimenuitemlabel {
295
    padding: 0;
294
}
296
}
295
297
296
div#changelanguage li.yuimenuitem {
298
ul#i18nMenu {
297
	font-size : 120%;
299
    margin : 0;
298
	font-weight : normal;
300
    padding : .2em 0;
299
	margin : 0;
301
 }
300
	padding : 0 1em;
302
303
ul#i18nMenu li {
304
    border-left : 1px solid #CCC;
305
    display : inline;
306
    list-style : none;
307
    padding : 0 .4em;
308
 }
309
310
ul#i18nMenu li:first-child {
311
    border-left : 0;
312
 }
313
314
ul#i18nMenu li ul li {
315
    border : 0;
316
    display : block;
317
    padding : 0;
318
 }
319
320
321
ul#i18nMenu li.more a {
322
    background-image : url("../../images/sprite.png");
323
    background-position : 37px -940px;
324
    background-repeat:no-repeat;
325
    padding-right: 1.3em;
301
}
326
}
302
327
303
div#changelanguage li.yuimenuitem a.yuimenuitemlabel {
328
ul#i18nMenu li.more ul li a {
304
	padding : 0;
329
    background-image : none;
330
    padding: 0 1.3em;
305
}
331
}
306
332
307
div.lang{
333
span.lang{
308
        float:left;
334
    float:left;
335
    border-right : 1px solid black;
336
    padding : 0 .5em;
309
}
337
}
310
338
311
div.ft {
339
div.ft {
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt (+33 lines)
Lines 3-8 Link Here
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<meta name="generator" content="Koha [% Version %]" /> <!-- leave this for stats -->
4
<meta name="generator" content="Koha [% Version %]" /> <!-- leave this for stats -->
5
<link rel="shortcut icon" href="[% themelang %]/includes/favicon.ico" type="image/x-icon" />
5
<link rel="shortcut icon" href="[% themelang %]/includes/favicon.ico" type="image/x-icon" />
6
<!-- yui js -->
7
<script type="text/javascript" src="[% yuipath %]/utilities/utilities.js"></script>
8
<script type="text/javascript" src="[% yuipath %]/container/container-min.js"></script>
9
<script type="text/javascript" src="[% yuipath %]/menu/menu-min.js"></script>
6
<script type="text/javascript" src="[% themelang %]/lib/jquery/jquery.js"></script>
10
<script type="text/javascript" src="[% themelang %]/lib/jquery/jquery.js"></script>
7
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
11
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
8
<script type="text/javascript">//<![CDATA[
12
<script type="text/javascript">//<![CDATA[
Lines 34-39 function checkout_confirm(patronid) { Link Here
34
    return true;
38
    return true;
35
}
39
}
36
40
41
// build Change Language menus
42
YAHOO.util.Event.onContentReady("changelanguage", function () {
43
  $(".sublangs").each(function(){
44
    var menuid = $(this).attr("id");
45
    var menuid = menuid.replace("show","");
46
47
    var oMenu = new YAHOO.widget.Menu("sub"+menuid, { zindex: 2 });
48
    function positionoMenu() {
49
      oMenu.align("bl", "tl");
50
    }
51
    oMenu.subscribe("beforeShow", function () {
52
    if (this.getRoot() == this) {
53
      positionoMenu();
54
    }
55
    });
56
    oMenu.render();
57
    oMenu.cfg.setProperty("context", ["show"+menuid, "bl", "tl"]);
58
    function onYahooClick(p_oEvent) {
59
      // Position and display the menu
60
      positionoMenu();
61
      oMenu.show();
62
      // Stop propagation and prevent the default "click" behavior
63
      YAHOO.util.Event.stopEvent(p_oEvent);
64
    }
65
    YAHOO.util.Event.addListener("show"+menuid, "click", onYahooClick);
66
    YAHOO.widget.Overlay.windowResizeEvent.subscribe(positionoMenu);
67
  });
68
});
69
37
$.tablesorter.addParser({
70
$.tablesorter.addParser({
38
    id: 'articles',
71
    id: 'articles',
39
    is: function(s) {return false;  },
72
    is: function(s) {return false;  },

Return to bug 8111