modified: 0.3/autoblog.php
modified: 0.3/index.php - juste generic pour OPML
This commit is contained in:
parent
9be813d668
commit
fd987988c1
2 changed files with 2 additions and 2 deletions
1
0.3/autoblog.php
Executable file → Normal file
1
0.3/autoblog.php
Executable file → Normal file
|
@ -600,7 +600,6 @@ echo '<?xml version="1.0" encoding="UTF-8"?>
|
|||
<dateCreated>'.date('r', time()).'</dateCreated>
|
||||
</head>
|
||||
<body>
|
||||
<outline sitetype="'.escape($config->site_type).'"/>
|
||||
<outline htmlUrl="'.escape($config->site_url).'"/>
|
||||
<outline xmlUrl="'.escape($config->feed_url).'"/>
|
||||
<outline title="'.escape($config->site_title).'"/>
|
||||
|
|
|
@ -569,9 +569,10 @@ if( !empty($_POST['opml']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY_OPML
|
|||
|
||||
if(!empty($autoblogs)){
|
||||
foreach ($autoblogs as $key => $autoblog) {
|
||||
if(escape($autoblog->site_type)=='generic') {$opml_link=' <a href="'.$key.'/?opml">opml</a>';} else $opml_link='';
|
||||
$autoblogs_display .= '<div class="vignette">
|
||||
<div class="title"><a title="'.escape($autoblog->site_title).'" href="'.$key.'/"><img width="15" height="15" alt="" src="./?check='.$key.'"> '.escape($autoblog->site_title).'</a></div>
|
||||
<div class="source">config <sup><a href="'.$key.'/vvb.ini">ini</a> <a href="'.$key.'/?opml">opml</a></sup> | '.escape($autoblog->site_type).' source: <a href="'.escape($autoblog->site_url).'">'.escape($autoblog->site_url).'</a></div>
|
||||
<div class="source">config <sup><a href="'.$key.'/vvb.ini">ini</a>'.$opml_link.'</sup> | '.escape($autoblog->site_type).' source: <a href="'.escape($autoblog->site_url).'">'.escape($autoblog->site_url).'</a></div>
|
||||
</div>';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue