| author | Simon Descarpentries <sid@sopinspace.com> |
| Fri, 04 Apr 2014 18:23:30 +0200 | |
| changeset 624 | 3dd70d01cec2 |
| parent 603 | f4661cf8fdd9 |
| permissions | -rw-r--r-- |
| 0 | 1 |
{% load local_perms %} |
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
3 |
<html> |
|
4 |
||
5 |
<head> |
|
6 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
7 |
{% include "site/layout/req_yui.html" %} |
|
|
553
bf26fb47a14c
To allow scrolling in Safari mobile, we set the content of text_view_comments frame in a jQuery UI layout.
Simon Descarpentries <sid@sopinspace.com>
parents:
547
diff
changeset
|
8 |
<!-- for Safari mobile--> |
|
bf26fb47a14c
To allow scrolling in Safari mobile, we set the content of text_view_comments frame in a jQuery UI layout.
Simon Descarpentries <sid@sopinspace.com>
parents:
547
diff
changeset
|
9 |
{% include "site/layout/req_jquery.html" %} |
| 0 | 10 |
|
| 482 | 11 |
<link rel="stylesheet" type="text/css" href="{{ CM_MEDIA_PREFIX }}css/site/text_view_comments/fonts.css"> |
| 160 | 12 |
<link rel="stylesheet" type="text/css" href="{{ CM_MEDIA_PREFIX }}css/site/text_view_comments/text_view_comments.css"> |
| 482 | 13 |
{% if custom_css %}<style type="text/css">{% autoescape off %}{{ custom_css }}{% endautoescape %}</style>{% endif %} |
14 |
{% if custom_font %}<style type="text/css">#textcontainer.custom { font-family: {% autoescape off %}{{ custom_font }}{% endautoescape %}; }</style>{% endif %} |
|
15 |
{% if custom_titles_font %}<style type="text/css">#textcontainer.custom h1, #textcontainer.custom h2, #textcontainer.custom h3, #textcontainer.custom h4, #textcontainer.custom h5, #textcontainer.custom h6 { font-family: {% autoescape off %}{{ custom_titles_font }}{% endautoescape %}; }</style>{% endif %} |
|
| 0 | 16 |
</head> |
17 |
||
18 |
<body> |
|
|
547
5b91d7ed9d54
Remove overflow-y: scroll
Simon Descarpentries <sid@sopinspace.com>
parents:
538
diff
changeset
|
19 |
<div id="maincontainer" > |
| 0 | 20 |
|
|
547
5b91d7ed9d54
Remove overflow-y: scroll
Simon Descarpentries <sid@sopinspace.com>
parents:
538
diff
changeset
|
21 |
<div id="contentwrapper" > |
| 0 | 22 |
<div id="contentcolumn"> |
23 |
<div class="innertube"> |
|
|
547
5b91d7ed9d54
Remove overflow-y: scroll
Simon Descarpentries <sid@sopinspace.com>
parents:
538
diff
changeset
|
24 |
<div id="textcontainer" class="initially_hidden" > |
| 0 | 25 |
{% autoescape off %} |
26 |
{{ content }} |
|
27 |
{% endautoescape %} |
|
28 |
</div> |
|
29 |
</div> |
|
30 |
</div> |
|
31 |
</div> |
|
32 |
<div id="leftcolumn"> |
|
33 |
</div> |
|
34 |
</div> |
|
35 |
</body> |
|
36 |
||
| 160 | 37 |
<link rel="stylesheet" type="text/css" href="{{ CM_MEDIA_PREFIX }}css/site/text_view_comments/c-text.css"> |
38 |
<link rel="stylesheet" type="text/css" href="{{ CM_MEDIA_PREFIX }}css/site/text_view_comments/c-text-styles.css"> |
|
39 |
<link rel="stylesheet" type="text/css" href="{{ CM_MEDIA_PREFIX }}css/site/text_view_comments/c-style-comment.css"> |
|
40 |
<link rel="stylesheet" type="text/css" href="{{ CM_MEDIA_PREFIX }}css/site/text_view_comments/c-style-gray.css"> |
|
41 |
<link rel="stylesheet" type="text/css" href="{{ CM_MEDIA_PREFIX }}css/site/text_view_comments/c-style-notelike.css"> |
|
| 0 | 42 |
<!-- date library, to be used by filter, maybe get rid of that when decent date parsing is offered elsewhere --> |
43 |
<!-- we're round tripping from object python date to str back to date to filter, TODO consider setting the date from python... --> |
|
| 160 | 44 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/lib/flexible-js-formatting/dates/date-functions.js"></script> |
| 0 | 45 |
|
46 |
<script type="text/javascript"> |
|
47 |
<!-- |
|
|
553
bf26fb47a14c
To allow scrolling in Safari mobile, we set the content of text_view_comments frame in a jQuery UI layout.
Simon Descarpentries <sid@sopinspace.com>
parents:
547
diff
changeset
|
48 |
|
|
558
5ba711a2bd06
Add comments, fix missing compressed js
Simon Descarpentries <sid@sopinspace.com>
parents:
556
diff
changeset
|
49 |
// SID: Using jQuery UI-Layout to allow scrolling in Safari mobile |
|
556
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
50 |
jQuery(document).ready (function () { |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
51 |
// safari_mobile is defined in media/js/client/c_sync.js |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
52 |
if (safari_mobile) { |
|
553
bf26fb47a14c
To allow scrolling in Safari mobile, we set the content of text_view_comments frame in a jQuery UI layout.
Simon Descarpentries <sid@sopinspace.com>
parents:
547
diff
changeset
|
53 |
jQuery('body').layout ({ |
|
bf26fb47a14c
To allow scrolling in Safari mobile, we set the content of text_view_comments frame in a jQuery UI layout.
Simon Descarpentries <sid@sopinspace.com>
parents:
547
diff
changeset
|
54 |
center: { |
|
bf26fb47a14c
To allow scrolling in Safari mobile, we set the content of text_view_comments frame in a jQuery UI layout.
Simon Descarpentries <sid@sopinspace.com>
parents:
547
diff
changeset
|
55 |
paneSelector : '#maincontainer', |
|
bf26fb47a14c
To allow scrolling in Safari mobile, we set the content of text_view_comments frame in a jQuery UI layout.
Simon Descarpentries <sid@sopinspace.com>
parents:
547
diff
changeset
|
56 |
applyDefaultStyles : true, |
|
bf26fb47a14c
To allow scrolling in Safari mobile, we set the content of text_view_comments frame in a jQuery UI layout.
Simon Descarpentries <sid@sopinspace.com>
parents:
547
diff
changeset
|
57 |
} |
|
bf26fb47a14c
To allow scrolling in Safari mobile, we set the content of text_view_comments frame in a jQuery UI layout.
Simon Descarpentries <sid@sopinspace.com>
parents:
547
diff
changeset
|
58 |
}); |
|
bf26fb47a14c
To allow scrolling in Safari mobile, we set the content of text_view_comments frame in a jQuery UI layout.
Simon Descarpentries <sid@sopinspace.com>
parents:
547
diff
changeset
|
59 |
jQuery('#maincontainer').css ({ |
|
bf26fb47a14c
To allow scrolling in Safari mobile, we set the content of text_view_comments frame in a jQuery UI layout.
Simon Descarpentries <sid@sopinspace.com>
parents:
547
diff
changeset
|
60 |
height: '100%', |
|
556
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
61 |
width: '99%' |
|
553
bf26fb47a14c
To allow scrolling in Safari mobile, we set the content of text_view_comments frame in a jQuery UI layout.
Simon Descarpentries <sid@sopinspace.com>
parents:
547
diff
changeset
|
62 |
}); |
|
556
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
63 |
|
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
64 |
/** |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
65 |
* cloneSelection |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
66 |
* s : Selection object |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
67 |
* return : a deep copy of a given Selection, co-ment usefull functions are recreated |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
68 |
*/ |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
69 |
function cloneSelection (s) { |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
70 |
var c = jQuery.extend (true, {}, s); |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
71 |
// var c = JSON.parse(JSON.stringify(s)); // alternative |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
72 |
c.ranges = []; |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
73 |
|
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
74 |
for (var j = 0; j < s.rangeCount; j++) { |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
75 |
c.ranges [j] = s.getRangeAt (j); |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
76 |
} |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
77 |
|
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
78 |
c.getRangeAt = function (j) { return this.ranges [j]; }; |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
79 |
c.toString = function () { return this.ranges[0].toString (); }; |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
80 |
return c; |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
81 |
} |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
82 |
|
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
83 |
var emptySelection = { rangeCount: 0 }; |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
84 |
// intended global variable used in media/js/client/c_selection.js |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
85 |
storedSelection = emptySelection; |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
86 |
|
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
87 |
document.addEventListener("selectionchange", function() { |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
88 |
var c = cloneSelection(window.getSelection()); |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
89 |
var c_txt = c.toString (); |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
90 |
|
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
91 |
if (c_txt && c_txt != '') { |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
92 |
storedSelection = c; |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
93 |
} else { |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
94 |
setTimeout (function () { storedSelection = emptySelection; }, 500); |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
95 |
} |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
96 |
}, false); |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
97 |
} |
|
69503659fe8f
[c_selection.js] If safari_mobile, get current selection from a previously created global variable
Simon Descarpentries <sid@sopinspace.com>
parents:
554
diff
changeset
|
98 |
}); |
|
553
bf26fb47a14c
To allow scrolling in Safari mobile, we set the content of text_view_comments frame in a jQuery UI layout.
Simon Descarpentries <sid@sopinspace.com>
parents:
547
diff
changeset
|
99 |
|
| 0 | 100 |
// GLOBALS from server |
101 |
sv_user_permissions = []; |
|
102 |
{% get_local_text_perm request text can_create_comment as can_create_comment %} |
|
103 |
{% if can_create_comment %} sv_user_permissions.push("can_create_comment") {% endif %}; |
|
104 |
||
|
114
49647a504de8
ENH ticket 20 disable edit in versions tab added ALLOW_CLIENT_MODIF_ON_LAST_VERSION_ONLY to settings.py
rbernard
parents:
113
diff
changeset
|
105 |
{% if read_only %} |
|
49647a504de8
ENH ticket 20 disable edit in versions tab added ALLOW_CLIENT_MODIF_ON_LAST_VERSION_ONLY to settings.py
rbernard
parents:
113
diff
changeset
|
106 |
sv_read_only = true ; |
|
49647a504de8
ENH ticket 20 disable edit in versions tab added ALLOW_CLIENT_MODIF_ON_LAST_VERSION_ONLY to settings.py
rbernard
parents:
113
diff
changeset
|
107 |
{% else %} |
|
49647a504de8
ENH ticket 20 disable edit in versions tab added ALLOW_CLIENT_MODIF_ON_LAST_VERSION_ONLY to settings.py
rbernard
parents:
113
diff
changeset
|
108 |
sv_read_only = false ; |
|
49647a504de8
ENH ticket 20 disable edit in versions tab added ALLOW_CLIENT_MODIF_ON_LAST_VERSION_ONLY to settings.py
rbernard
parents:
113
diff
changeset
|
109 |
{% endif %} |
|
49647a504de8
ENH ticket 20 disable edit in versions tab added ALLOW_CLIENT_MODIF_ON_LAST_VERSION_ONLY to settings.py
rbernard
parents:
113
diff
changeset
|
110 |
if (sv_read_only) |
|
49647a504de8
ENH ticket 20 disable edit in versions tab added ALLOW_CLIENT_MODIF_ON_LAST_VERSION_ONLY to settings.py
rbernard
parents:
113
diff
changeset
|
111 |
sv_user_permissions = []; |
|
49647a504de8
ENH ticket 20 disable edit in versions tab added ALLOW_CLIENT_MODIF_ON_LAST_VERSION_ONLY to settings.py
rbernard
parents:
113
diff
changeset
|
112 |
|
| 0 | 113 |
//sv_adminKey = {% if admin %}"{{ adminkey }}"{% else %}""{% endif %} ; |
114 |
{% if user.is_anonymous %} |
|
115 |
sv_loggedIn = false; |
|
116 |
sv_username = ""; |
|
117 |
{% else %} |
|
118 |
sv_loggedIn = true; |
|
119 |
sv_username = "{{ user.username|escapejs }}"; |
|
120 |
{% endif %} |
|
121 |
||
122 |
//initial comment db as json |
|
123 |
sv_comments = "{{ json_comments|escapejs }}"; |
|
124 |
sv_filter_data = "{{ json_filter_datas|escapejs }}"; |
|
|
291
7aec57e4738f
add prefix to use external caller as proxy (calls via api)
raph
parents:
277
diff
changeset
|
125 |
sv_site_url = "{% if request.GET.prefix %}{{ request.GET.prefix }}{% else %}{{ SITE_URL|escapejs }}{% endif %}"; |
|
7aec57e4738f
add prefix to use external caller as proxy (calls via api)
raph
parents:
277
diff
changeset
|
126 |
sv_prefix = "{% if request.GET.prefix %}{{ request.GET.prefix }}{% endif %}"; |
|
410
55ce34b8d146
Allows multiple co-mentable texts to be isplayed in the same HTML page (with Drupal 7 co_ment module).
Production Moz <dev@sopinspace.com>
parents:
397
diff
changeset
|
127 |
sv_delta = "{% if request.GET.delta %}{{ request.GET.delta }}{% endif %}"; |
| 0 | 128 |
|
|
291
7aec57e4738f
add prefix to use external caller as proxy (calls via api)
raph
parents:
277
diff
changeset
|
129 |
sv_client_url = "{% if request.GET.prefix %}{{ request.GET.prefix }}{% endif %}{% url text-client-exchange %}?{{ request.GET.urlencode }}" ; |
|
7aec57e4738f
add prefix to use external caller as proxy (calls via api)
raph
parents:
277
diff
changeset
|
130 |
sv_text_view_show_comment_url = "{% if request.GET.prefix %}{{ request.GET.prefix }}{% endif %}{% url text-view-show-comment text.key '' %}"; |
|
7aec57e4738f
add prefix to use external caller as proxy (calls via api)
raph
parents:
277
diff
changeset
|
131 |
sv_text_feed_url = "{% if request.GET.prefix %}{{ request.GET.prefix }}{% endif %}{% url text-feed text.key %}"; |
| 0 | 132 |
|
133 |
sv_client_date_fmt = "{{ client_date_fmt.js_parse }}"; //"%Y-%m-%dT%H:%M:%S" ; |
|
134 |
sv_key = "{{ text.key|escapejs }}"; |
|
| 24 | 135 |
sv_version_key = "{{ text_version.key|escapejs }}"; |
| 0 | 136 |
sv_format = "{{ text_version.format }}"; |
|
504
b2e0186daa5b
Adds a category to comments, painted with colored vertical bar.
gibus
parents:
501
diff
changeset
|
137 |
sv_categories = "{{ categories|escapejs }}"; |
| 0 | 138 |
|
139 |
sv_withComments = true ; // TODO will bug when false (!) |
|
140 |
c_yui_base = "{{ YUI_VERSION }}" ; |
|
141 |
sv_get_params = "{{ get_params|escapejs }}" ; |
|
142 |
||
|
163
c3329d4d6ef5
in client html files replaced MEDIA_URL with CM_MEDIA_PREFIX.
rbernard
parents:
160
diff
changeset
|
143 |
sv_media_url = "{{ CM_MEDIA_PREFIX|escapejs }}"; |
| 482 | 144 |
{% if custom_font or custom_titles_font %} |
145 |
sv_custom_font = true; |
|
146 |
{% else %} |
|
147 |
sv_custom_font = false; |
|
148 |
{% endif %} |
|
| 0 | 149 |
|
150 |
--></script> |
|
151 |
||
|
291
7aec57e4738f
add prefix to use external caller as proxy (calls via api)
raph
parents:
277
diff
changeset
|
152 |
<script type="text/javascript" src="{% if request.GET.prefix %}{{ request.GET.prefix }}{% endif %}{% url django.views.i18n.javascript_catalog %}"></script> |
| 0 | 153 |
{% if CLIENT_DEBUG %} |
| 160 | 154 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_permissions.js"></script> |
155 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_preferences.js"></script> |
|
156 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_layout.js"></script> |
|
157 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_icomment.js"></script> |
|
158 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_db.js"></script> |
|
159 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_sync.js"></script> |
|
160 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_icomments.js"></script> |
|
| 0 | 161 |
|
| 160 | 162 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_util.js"></script> |
163 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_server_exchange.js"></script> |
|
164 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_selection.js"></script> |
|
165 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_scopes.js"></script> |
|
166 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_interface_forms.js"></script> |
|
167 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_addcomment_form.js"></script> |
|
| 421 | 168 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_toc.js"></script> |
| 160 | 169 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_reply_form.js"></script> |
170 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_edit_form.js"></script> |
|
171 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_dlg_intercept.js"></script> |
|
| 0 | 172 |
|
| 160 | 173 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/site/c_text_view_comments_to_frame.js"></script> |
174 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/site/c_text_view_comments.js"></script> |
|
| 397 | 175 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/lib/asciimathtml/ASCIIMathML.js"></script> |
| 0 | 176 |
{% else %} |
| 603 | 177 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_client-min.js?1394466471"></script> |
| 397 | 178 |
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/lib/asciimathtml/ASCIIMathML.min.js"></script> |
| 0 | 179 |
{% endif %} |
180 |
||
181 |
||
182 |
||
| 395 | 183 |
</html> |