ソースを参照

Removed some debug messages

pecesama 16 年 前
コミット
7b68538a80
共有3 個のファイルを変更した3 個の追加78 個の削除を含む
  1. 0 75
      admin/css/slimbox.css
  2. 1 1
      admin/index.php
  3. 2 2
      index.php

+ 0 - 75
admin/css/slimbox.css ファイルの表示

@@ -1,75 +0,0 @@
1
-/* SLIMBOX */
2
-
3
-#lbOverlay {
4
-	position: absolute;
5
-	left: 0;
6
-	width: 100%;
7
-	background-color: #000;
8
-	cursor: pointer;
9
-}
10
-
11
-#lbCenter, #lbBottomContainer {
12
-	position: absolute;
13
-	left: 50%;
14
-	overflow: hidden;
15
-	background-color: #fff;
16
-}
17
-
18
-.lbLoading {
19
-	background: #fff url(images/loading.gif) no-repeat center;
20
-}
21
-
22
-#lbImage {
23
-	border: 10px solid #fff;
24
-}
25
-
26
-#lbPrevLink, #lbNextLink {
27
-	display: block;
28
-	position: absolute;
29
-	top: 0;
30
-	width: 50%;
31
-	outline: none;
32
-}
33
-
34
-#lbPrevLink {
35
-	left: 0;
36
-}
37
-
38
-#lbPrevLink:hover {
39
-	background: transparent url(images/prevlabel.gif) no-repeat 0% 15%;
40
-}
41
-
42
-#lbNextLink {
43
-	right: 0;
44
-}
45
-
46
-#lbNextLink:hover {
47
-	background: transparent url(images/nextlabel.gif) no-repeat 100% 15%;
48
-}
49
-
50
-#lbBottom {
51
-	font-family: Verdana, Helvetica, sans-serif;
52
-	font-size: 10px;
53
-	color: #666;
54
-	line-height: 1.4em;
55
-	text-align: left;
56
-	border: 10px solid #fff;
57
-	border-top-style: none;
58
-}
59
-
60
-#lbCloseLink {
61
-	display: block;
62
-	float: right;
63
-	width: 66px;
64
-	height: 22px;
65
-	background: transparent url(images/closelabel.gif) no-repeat center;
66
-	margin: 5px 0;
67
-}
68
-
69
-#lbCaption, #lbNumber {
70
-	margin-right: 71px;
71
-}
72
-
73
-#lbCaption {
74
-	font-weight: bold;
75
-}

+ 1 - 1
admin/index.php ファイルの表示

@@ -281,7 +281,7 @@ if ($user->isAdmin()) {
281 281
 									<span style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;">
282 282
                                     	<a href="http://hobix.com/textile/">Textile</a> <?php echo __("syntax is supported.")?>
283 283
                                         <br />
284
-                                        Bookmarklet - <a href="javascript:var w; setTimeout('w.focus()',100);w=window.open(' http://www.pecesama.net/quotes/admin/bm.php?url='+encodeURIComponent(location.href)+'&sel='+encodeURIComponent(window.getSelection()),'bookmarklet','toolbar=0,resizable=0,status=1,width=650,height=460,dependent=yes' ); w.focus();"><?php echo __("add to gelato")?></a>
284
+                                        Bookmarklet - <a href="javascript:var w; setTimeout('w.focus()',100);w=window.open('<?php echo $conf->urlGelato; ?>/admin/bm.php?url='+encodeURIComponent(location.href)+'&sel='+encodeURIComponent(window.getSelection()),'bookmarklet','toolbar=0,resizable=0,status=1,width=650,height=460,dependent=yes' ); w.focus();"><?php echo __("add to gelato")?></a>
285 285
                                     </span>
286 286
 								</p>
287 287
 								<p>

+ 2 - 2
index.php ファイルの表示

@@ -269,9 +269,9 @@ $template = new plantillas($conf->template);
269 269
 					$template->precargarPlantillaConBloque($input, $output, "template_comments", "comments");
270 270
 
271 271
 					while($rowComment = mysql_fetch_assoc($rsComments)) {
272
-						echo "<pre>";
272
+						/*echo "<pre>";
273 273
 						print_r($rowComment);
274
-						echo "</pre>";
274
+						echo "</pre>";*/
275 275
 						$commentAuthor = ($rowComment["web"]=="") ? $rowComment["username"] : "<a href=\"".$rowComment["web"]."\" rel=\"external\">".$rowComment["username"]."</a>";
276 276
 						$input = array("{Id_Comment}", "{Comment_Author}", "{Date}", "{Comment}");
277 277
 						$output = array($rowComment["id_comment"], $commentAuthor, gmdate("d.m.y", strtotime($rowComment["comment_date"])+transform_offset($conf->offsetTime)), $rowComment["content"]);