Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
object
plugin
invalid.php
Go to the documentation of this file.
1
<?php
12
/* @var ElggPlugin $plugin */
13
$plugin
=
$vars
[
'entity'
];
14
15
$id
=
$plugin
->getID();
16
$path
= htmlspecialchars(
$plugin
->getPath());
17
$message
=
elgg_echo
(
'admin:plugins:warning:invalid'
, array(
$plugin
->getError()));
18
$css_id
= preg_replace(
'/[^a-z0-9-]/i'
,
'-'
,
$plugin
->getID());
19
?>
20
21
<
div
class
=
"elgg-state-draggable elgg-plugin elgg-state-inactive elgg-state-cannot-activate"
id
=
"<?php echo $css_id; ?>"
>
22
<div
class
=
"elgg-image-block"
>
23
<div
class
=
"elgg-image"
>
24
<div>
25
<?php
26
echo
elgg_view
(
'output/url'
, [
27
'href'
=>
''
,
28
'text'
=>
elgg_echo
(
'admin:plugins:cannot_activate'
),
29
]);
30
?>
31
</div>
32
</div>
33
<div
class
=
"elgg-body"
>
34
<div
class
=
"elgg-head"
>
35
<div
class
=
"elgg-plugin-title"
>
36
<?php
echo
$id
?>
37
</div>
38
</div>
39
<div
class
=
"elgg-body"
>
40
<
p
class
=
"elgg-text-help elgg-state-error"
>
41
<?php
echo
$message
; ?>
42
<?php
echo
elgg_echo
(
'admin:plugins:label:location'
) .
": "
.
$path
; ?>
43
</
p
>
44
<
p
class
=
"elgg-text-help"
><?php
echo
elgg_echo
(
'admin:plugins:warning:invalid:check_docs'
); ?></p>
45
</div>
46
</div>
47
</div>
48
</div>
elgg_echo
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition:
languages.php:21
$vars
$vars['entity']
Definition:
plugin_settings.php:15
$message
$message
Definition:
invalid.php:17
div
fieldset div
Definition:
admin.css.php:485
echo
elgg echo
Translates a string.
Definition:
languages.js:48
elgg_view
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:336
$plugin
$plugin
Definition:
invalid.php:13
p
p
Definition:
admin.css.php:118
$id
$id
Definition:
invalid.php:15
$css_id
$css_id
Definition:
invalid.php:18
$path
$path
Definition:
invalid.php:16
Generated on Fri Dec 13 2024 00:01:13 for Elgg by
1.8.11