Meh, commit 27c3e825b35de07d767a87d85b78af26a37654de was buggy. Here are the *correct* fixes of the Heredoc strings.
This commit is contained in:
parent
6a63f186c4
commit
d43dcb2e69
@ -129,7 +129,7 @@ function plugin_aaspam_comment_form() {
|
||||
}
|
||||
|
||||
// echoes the question and the form part
|
||||
echo '<p><label class="textlabel" for="aaspam">{$lang[\'plugin\'][\'accessibleantispam\'][\'prefix\']} <strong>$question (*)</strong></label><br />
|
||||
echo '<p><label class="textlabel" for="aaspam">' . $lang ['plugin'] ['accessibleantispam'] ['prefix'] . ' <strong>$question (*)</strong></label><br />
|
||||
<input type="text" name="aaspam" id="aaspam" /></p>';
|
||||
}
|
||||
|
||||
|
@ -17,11 +17,11 @@ function plugin_adminarea_widget() {
|
||||
|
||||
if ($user = user_loggedin()) {
|
||||
$userid = $user ['userid'];
|
||||
$string = '<p>{$lang[\'plugin\'][\'adminarea\'][\'welcome\']} <strong>{$userid}</strong>!</p>
|
||||
$string = '<p>' . $lang ['plugin'] ['adminarea'] ['welcome'] . '<strong>' . $userid . '</strong>!</p>
|
||||
<ul>
|
||||
<li><a href="{$baseurl}admin.php">{$lang[\'plugin\'][\'adminarea\'][\'admin_panel\']}</a></li>
|
||||
<li><a href="{$baseurl}admin.php?p=entry&action=write">{$lang[\'plugin\'][\'adminarea\'][\'add_entry\']}</a></li>
|
||||
<li><a href="{$baseurl}login.php?do=logout">{$lang[\'plugin\'][\'adminarea\'][\'logout\']}</a></li>
|
||||
<li><a href="' . $baseurl . 'admin.php">' . $lang ['plugin'] ['adminarea'] ['admin_panel'] . '</a></li>
|
||||
<li><a href="' . $baseurl . 'admin.php?p=entry&action=write">' . $lang ['plugin'] ['adminarea'] ['add_entry'] . '</a></li>
|
||||
<li><a href="' . $baseurl . 'login.php?do=logout">' . $lang ['plugin'] ['adminarea'] ['logout'] . '</a></li>
|
||||
</ul>';
|
||||
} else
|
||||
$string = '<ul><li><a href="' . $baseurl . 'login.php">Login</a></li></ul>';
|
||||
|
@ -13,9 +13,10 @@ add_action('wp_head', 'plugin_jquery_head', 0);
|
||||
|
||||
function plugin_jquery_head() {
|
||||
$pdir = plugin_geturl('jquery');
|
||||
echo '<!-- start of jsUtils -->
|
||||
<script type="text/javascript" src="{$pdir}res/jquery/3.5.1/jquery-3.5.1.min.js"></script>
|
||||
<script type="text/javascript" src="{$pdir}res/jqueryui/1.12.1/jquery-ui.min.js"></script>
|
||||
echo '
|
||||
<!-- start of jsUtils -->
|
||||
<script type="text/javascript" src="' . $pdir . 'res/jquery/3.5.1/jquery-3.5.1.min.js"></script>
|
||||
<script type="text/javascript" src="' . $pdir . 'res/jqueryui/1.12.1/jquery-ui.min.js"></script>
|
||||
<!-- end of jsUtils -->';
|
||||
}
|
||||
|
||||
|
@ -18,16 +18,18 @@ function plugin_lightbox2_setup() {
|
||||
|
||||
function plugin_lightbox2_head() {
|
||||
$pdir = plugin_geturl('lightbox2');
|
||||
echo '<!-- start of lightbox -->
|
||||
<link rel="stylesheet" type="text/css" href="{$pdir}res/slimbox2.css" />
|
||||
echo '
|
||||
<!-- start of lightbox -->
|
||||
<link rel="stylesheet" type="text/css" href="' . $pdir . 'res/slimbox2.css" />
|
||||
<!-- end of lightbox -->';
|
||||
}
|
||||
add_action('wp_head', 'plugin_lightbox2_head');
|
||||
|
||||
function plugin_lightbox2_footer() {
|
||||
$pdir = plugin_geturl('lightbox2');
|
||||
echo '<!-- start of lightbox -->
|
||||
<script type="text/javascript" src="{$pdir}res/slimbox2.js"></script>
|
||||
echo '
|
||||
<!-- start of lightbox -->
|
||||
<script type="text/javascript" src="' . $pdir . 'res/slimbox2.js"></script>
|
||||
<!-- end of lightbox -->';
|
||||
}
|
||||
add_action('wp_footer', 'plugin_lightbox2_footer');
|
||||
|
@ -619,10 +619,10 @@ if (class_exists('AdminPanelAction')) {
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteBase {$blogroot}
|
||||
RewriteBase ' . $blogroot . '
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule . {$blogroot}index.php [L]
|
||||
RewriteRule . ' . $blogroot . 'index.php [L]
|
||||
</IfModule>
|
||||
';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user