Sunday, 2012-05-27

*** Joins: Paul_46 (~IceChat09@cpc1-enfi15-2-0-cust580.hari.cable.virginmedia.com)05:28
*** Quits: dhx1 (~anonymous@60-242-247-232.static.tpgi.com.au) (*.net *.split)07:53
*** Joins: dhx1 (~anonymous@60-242-247-232.static.tpgi.com.au)07:53
*** Joins: giallu (~giallu@88.149.241.49)16:05
*** Quits: giallu (~giallu@88.149.241.49) (Changing host)16:05
*** Joins: giallu (~giallu@fedora/giallu)16:05
*** Joins: kirillka (~Miranda@128-209-36-78.baltnet.ru)17:15
kirillkawho can help me with function plugin_file()?17:19
jreesewhat do you need to know about it?17:20
kirillkais this function can get file in folder files/styles/filename.css?17:20
jreeseatm, I think no, because of security concerns17:21
kirillkai try fix broke my plugin highlighcode https://github.com/mantisbt-plugins/highlightcode17:22
jreeseie, to prevent things like ../ to get at files outside of the plugin directory17:22
kirillkaJohn, look folder https://github.com/mantisbt-plugins/highlightcode/tree/master/Highlight/files17:22
jreeseyeah, i think you'll need to move those css files up into the top-level Highlight/files/17:23
kirillkahow I can set get file of selected theme witch file in styles/17:23
kirillkafot now I set stylesheet  $t_st .= "\t<link rel=\"stylesheet\" title=\"" . plugin_config_get( 'style_css' ) . "\" href=\"" . plugin_file( 'styles/' . plugin_config_get( 'style_css' ) . '.css' ) . "\" />\n";17:24
kirillkaI must move all files/styles/*.css to files/ ? or other way exist?17:25
jreeseyou have to move them there17:25
kirillkaok17:25
kirillkastrange17:27
kirillkamove all files, change code but not work17:27
kirillkaat now in header I see <link href="/plugin_file.php?file=Highlight/solarized_light.css" title="solarized_light" rel="stylesheet">17:27
kirillkalook good17:27
kirillkabut firebug see html-text17:28
kirillkaAn error occurred during this action. You may wish to report this error to your local administrator17:29
jreeseoh, that's an issue with Firefox not liking the content-type returned by Mantis...17:29
jreeseI'm not really sure of a good way to handle that17:29
kirillkaAPPLICATION ERROR #017:30
kirillkaI try chrome, css not get'ing17:32
kirillkabut js browsing fine17:32
kirillkamay be I don't right code write?17:33
kirillkamay be for css another function? https://github.com/mantisbt-plugins/highlightcode/blob/master/Highlight/Highlight.php#L11417:34
kirillkajreese: sorry. my mistake.. I move files to other folders :(18:00
Paul_46lo jreese18:16
Paul_46kirillka: long time no see18:16
jreesehowdy18:16
kirillkaPaul_46: hi. too many project at work18:16
kirillkaPaul_46: hi. too many projects at work18:17
Paul_46jreese: i've been playing with http://code.google.com/p/xinc/ recently18:17
Paul_46trying to see if it's any use18:17
Paul_46;p18:17
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 244 seconds)18:31
kirillkaok. I can go to sleep :) 2 hours18:53
kirillka2 plugins updated18:53
*** Quits: kirillka (~Miranda@128-209-36-78.baltnet.ru) (Quit: kirillka)18:54
*** Quits: dhx1 (~anonymous@60-242-247-232.static.tpgi.com.au) (Quit: Leaving)19:07
*** Quits: Paul_46 (~IceChat09@cpc1-enfi15-2-0-cust580.hari.cable.virginmedia.com) (Quit: I cna ytpe 300 wrods pre mniuet!!!)19:24
*** Quits: sdfjkljkdfsljkl (~sdfjkljkd@static.96.23.63.178.clients.your-server.de) (Remote host closed the connection)20:00
*** Joins: sdfjkljkdfsljkl (~sdfjkljkd@static.96.23.63.178.clients.your-server.de)20:00

Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!