*** 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 | |
kirillka | who can help me with function plugin_file()? | 17:19 |
---|---|---|
jreese | what do you need to know about it? | 17:20 |
kirillka | is this function can get file in folder files/styles/filename.css? | 17:20 |
jreese | atm, I think no, because of security concerns | 17:21 |
kirillka | i try fix broke my plugin highlighcode https://github.com/mantisbt-plugins/highlightcode | 17:22 |
jreese | ie, to prevent things like ../ to get at files outside of the plugin directory | 17:22 |
kirillka | John, look folder https://github.com/mantisbt-plugins/highlightcode/tree/master/Highlight/files | 17:22 |
jreese | yeah, i think you'll need to move those css files up into the top-level Highlight/files/ | 17:23 |
kirillka | how I can set get file of selected theme witch file in styles/ | 17:23 |
kirillka | fot 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 |
kirillka | I must move all files/styles/*.css to files/ ? or other way exist? | 17:25 |
jreese | you have to move them there | 17:25 |
kirillka | ok | 17:25 |
kirillka | strange | 17:27 |
kirillka | move all files, change code but not work | 17:27 |
kirillka | at now in header I see <link href="/plugin_file.php?file=Highlight/solarized_light.css" title="solarized_light" rel="stylesheet"> | 17:27 |
kirillka | look good | 17:27 |
kirillka | but firebug see html-text | 17:28 |
kirillka | An error occurred during this action. You may wish to report this error to your local administrator | 17:29 |
jreese | oh, that's an issue with Firefox not liking the content-type returned by Mantis... | 17:29 |
jreese | I'm not really sure of a good way to handle that | 17:29 |
kirillka | APPLICATION ERROR #0 | 17:30 |
kirillka | I try chrome, css not get'ing | 17:32 |
kirillka | but js browsing fine | 17:32 |
kirillka | may be I don't right code write? | 17:33 |
kirillka | may be for css another function? https://github.com/mantisbt-plugins/highlightcode/blob/master/Highlight/Highlight.php#L114 | 17:34 |
kirillka | jreese: sorry. my mistake.. I move files to other folders :( | 18:00 |
Paul_46 | lo jreese | 18:16 |
Paul_46 | kirillka: long time no see | 18:16 |
jreese | howdy | 18:16 |
kirillka | Paul_46: hi. too many project at work | 18:16 |
kirillka | Paul_46: hi. too many projects at work | 18:17 |
Paul_46 | jreese: i've been playing with http://code.google.com/p/xinc/ recently | 18:17 |
Paul_46 | trying to see if it's any use | 18:17 |
Paul_46 | ;p | 18:17 |
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 244 seconds) | 18:31 | |
kirillka | ok. I can go to sleep :) 2 hours | 18:53 |
kirillka | 2 plugins updated | 18: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!