Elgg
Version 1.11
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
13
/* @var ElggPlugin $plugin */
14
$plugin
=
$vars
[
'entity'
];
15
16
$id
=
$plugin
->getID();
17
$path
= htmlspecialchars(
$plugin
->getPath());
18
$message
=
elgg_echo
(
'admin:plugins:warning:invalid'
, array(
$plugin
->getError()));
19
$css_id
= preg_replace(
'/[^a-z0-9-]/i'
,
'-'
,
$plugin
->getID());
20
21
?>
22
23
<
div
class
=
"elgg-state-draggable elgg-plugin elgg-state-inactive elgg-state-error"
id
=
"elgg-plugin-<?php echo $plugin->guid; ?>"
>
24
<div
class
=
"elgg-head"
><
h3
><?php
echo
$id
; ?></
h3
></div>
25
<div
class
=
"elgg-body"
>
26
<
p
class
=
"elgg-state-error"
><?php
echo
$message
; ?></
p
>
27
<
p
><?php
echo
elgg_echo
(
'admin:plugins:warning:invalid:check_docs'
); ?></
p
>
28
29
<div
class
=
"pts"
>
30
<?php
31
echo
elgg_view
(
'output/url'
, array(
32
'href'
=>
"#elgg-plugin-manifest-$css_id"
,
33
'text'
=>
elgg_echo
(
"admin:plugins:label:moreinfo"
),
34
'rel'
=>
'toggle'
,
35
));
36
?>
37
</div>
38
39
<div
class
=
"hidden elgg-plugin-more"
id
=
"elgg-plugin-manifest-<?php echo $css_id; ?>"
>
40
<
p
><?php
echo
elgg_echo
(
'admin:plugins:label:location'
) .
": "
.
$path
; ?></
p
>
41
</div>
42
</div>
43
</div>
p
p
Definition:
admin.php:118
div
fieldset div
Definition:
admin.php:470
$message
$message
Definition:
invalid.php:18
elgg_echo
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition:
languages.php:21
echo
elgg echo
Translates a string.
Definition:
languages.js:43
$plugin
$plugin
Definition:
invalid.php:14
elgg_view
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:354
$id
$id
Definition:
invalid.php:16
$css_id
$css_id
Definition:
invalid.php:19
$path
$path
Definition:
invalid.php:17
h3
h3
Definition:
admin.php:85
$vars
if(file_exists($welcome)) $vars
Definition:
upgrade.php:93
Generated on Sat Dec 21 2024 00:00:50 for Elgg by
1.8.11