From 44901b752dc8470d91c0e56d7791d473c3f67a5b Mon Sep 17 00:00:00 2001 From: Mitsukarenai Date: Sat, 2 Mar 2013 12:46:14 +0100 Subject: [PATCH] =?UTF-8?q?=09modified:=20=20=200.3/index.php=20bugfix=20d?= =?UTF-8?q?ans=20la=20v=C3=A9rification=20de=20$sitetype,=20et=20petite=20?= =?UTF-8?q?correction=20CSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 0.3/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/0.3/index.php b/0.3/index.php index f80f3b2..3accd65 100755 --- a/0.3/index.php +++ b/0.3/index.php @@ -105,7 +105,7 @@ function create_from_opml($opml) { foreach( $opml->body->outline as $outline ) { if ( !empty( $outline['title'] ) && !empty( $outline['text'] ) && !empty( $outline['xmlUrl']) && !empty( $outline['htmlUrl'] )) { $siteurl = escape($outline['htmlUrl']); - $sitetype = escape($outline['text']); if ( $sitetype !== 'generic' or $sitetype !== 'microblog' or $sitetype !== 'shaarli') { die('SITE TYPE inconnu'); } + $sitetype = escape($outline['text']); if ( $sitetype == 'generic' or $sitetype == 'microblog' or $sitetype == 'shaarli') { } else { die("SITE TYPE inconnu: $sitetype"); } $rssurl = DetectRedirect(escape( $outline['xmlUrl'])); $sitename = escape( $outline['title'] ); @@ -540,7 +540,7 @@ if( !empty($_POST['opml_file']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY input {width:30em;} input[type="radio"] { width:1em; } input[type="submit"] { width:8em; } - input[type="text"]#socialaccount, input[type="text"]#statusneturl, input[type="text"]#shaarliurl,input[type="text"].smallinput {width:15em;} + input[type="text"]#socialaccount, input[type="text"]#statusneturl, input[type="text"]#shaarliurl,input[type="text"].smallinput {width:20em;} div.form {padding:0.2em;border:1px solid #fff;} div.form:hover {background-color:#FAF4DA;border:1px dotted; } .vignette { width:20em;height:2em;float:left;margin:0; padding:20px;background-color:#eee;border: 1px solid #888;}