XOOPS RMCommon Utilities
2.1.8.91RC
Main Page
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
rmc_modules.php
Go to the documentation of this file.
1
<h1
class
=
"rmc_titles"
xmlns=
"http://www.w3.org/1999/html"
><?php
_e
(
'Modules Management'
,
'rmcommon'
); ?></h1>
2
<script type=
"text/javascript"
>
3
<!--
4
var message =
"<?php _e('Do you really want to uninstall selected module?','rmcommon'); ?>"
;
5
var message_upd =
"<?php _e('Do you really want to update selected module?','rmcommon'); ?>"
;
6
var message_dis =
"<?php _e('Do you really want to disable selected module?','rmcommon'); ?>"
;
7
var message_name =
"<?php _e('New name must be different from current name!','rmcommon'); ?>"
;
8
var message_wname =
"<?php _e('You must provide a new name!','designia'); ?>"
;
9
-->
10
</script>
11
12
<form action=
"modules.php"
method=
"post"
id
=
"form-modules"
>
13
<input type=
"hidden"
name=
"action"
id
=
"mod-action"
value=
""
/>
14
<input type=
"hidden"
name=
"module"
id
=
"mod-dir"
value=
""
/>
15
<?php echo
$xoopsSecurity
->getTokenHTML(); ?>
16
</form>
17
18
<table
class
=
"tablesorter"
id
=
"des-mods-container"
>
19
<thead>
20
<tr>
21
<th
class
=
"logo"
><?php
_e
(
'Image'
,
'designia'
); ?></th>
22
<th><?php
_e
(
'Name'
,
'designia'
); ?></th>
23
<th><?php
_e
(
'Version'
,
'designia'
); ?></th>
24
<th><?php
_e
(
'Author'
,
'designia'
); ?></th>
25
<th colspan=
"4"
><?php
_e
(
'Options'
,
'designia'
); ?></th>
26
</tr>
27
</thead>
28
<tfoot>
29
<tr>
30
<th
class
=
"logo"
><?php
_e
(
'Image'
,
'designia'
); ?></th>
31
<th><?php
_e
(
'Name'
,
'designia'
); ?></th>
32
<th><?php
_e
(
'Version'
,
'designia'
); ?></th>
33
<th><?php
_e
(
'Author'
,
'designia'
); ?></th>
34
<th colspan=
"4"
><?php
_e
(
'Options'
,
'designia'
); ?></th>
35
</tr>
36
</tfoot>
37
<tbody>
38
<?php
foreach
(
$modules
as
$mod
): ?>
39
<tr
class
=
"<?php echo tpl_cycle("
even,
odd
"); ?><?php echo $mod['active'] ? '' : ' inactive'; ?>"
id
=
"module-<?php echo $mod['dirname']; ?>"
valign=
"middle"
align=
"center"
>
40
<td
class
=
"logo"
>
41
<a
href
=
"<?php if($mod['active']): ?><?php echo $mod['admin_link']; ?><?php else: ?>#<?php endif; ?>"
title=
"<?php echo $mod['realname']; ?>"
><img src=
"<?php echo $mod['icon']; ?>"
alt=
"<?php echo $mod['name']; ?>"
/></a>
42
</td>
43
<td
class
=
"name"
align=
"left"
>
44
<span
class
=
"the_name"
>
45
<?php
if
($mod[
'active'
]): ?>
46
<a href=
"<?php echo $mod['admin_link']; ?>"
><?php echo $mod[
'name'
]; ?></a>
47
<?php
else
: ?>
48
<?php echo $mod[
'name'
]; ?>
49
<?php
endif
; ?>
50
</span>
51
<a href=
"#"
class
=
"rename"
><?php
_e
(
'Edit'
,
'rmcommon'
); ?></a>
52
<span
class
=descriptions><?php echo $mod[
'description'
]; ?></span>
53
</td>
54
<td nowrap=
"nowrap"
>
55
<?php echo $mod[
'version'
]; ?>
56
</td>
57
<td
class
=
"author"
>
58
<?php
if
($mod[
'author_mail'
]!=
''
): ?>
59
<a href=
"mailto:<?php echo $mod['author_mail']; ?>"
><?php echo $mod[
'author'
]; ?></a>
60
<?php
else
: ?>
61
<?php echo $mod[
'author'
]; ?>
62
<?php
endif
; ?>
63
<span
class
=
"hidden_data"
>
64
<span
class
=
"adminlink"
><?php echo $mod[
'admin_link'
]; ?></span>
65
<span
class
=
"link"
><?php echo $mod[
'link'
]; ?></span>
66
<span
class
=
"name"
><?php echo $mod[
'name'
]; ?></span>
67
<span
class
=
"id"
><?php echo $mod[
'id'
]; ?></span>
68
<span
class
=
"icon"
><?php echo $mod[
'icon'
]; ?></span>
69
<span
class
=
"image"
><?php echo $mod[
'image'
]; ?></span>
70
<span
class
=
"oname"
><?php echo $mod[
'realname'
]; ?></span>
71
<span
class
=
"version"
><?php echo $mod[
'version'
]; ?></span>
72
<span
class
=
"dirname"
><?php echo $mod[
'dirname'
]; ?></span>
73
<span
class
=
"author"
><?php echo $mod[
'author'
]; ?></span>
74
<span
class
=
"mail"
><?php echo $mod[
'author_mail'
]; ?></span>
75
<span
class
=
"web"
><?php echo $mod[
'author_web'
]; ?></span>
76
<span
class
=
"url"
><?php echo $mod[
'author_url'
]; ?></span>
77
<span
class
=
"license"
><?php echo $mod[
'license'
]; ?></span>
78
<span
class
=
"help"
><?php echo $mod[
'help'
]; ?></span>
79
<span
class
=
"active"
><?php echo $mod[
'active'
]; ?></span>
80
</span>
81
</td>
82
<td
class
=
"actions"
>
83
<a href=
"#"
class
=
"data_button"
title=
"<?php _e('Show Information','designia'); ?>"
>
84
<img src=
"<?php echo RMCURL; ?>/themes/designia/images/data.png"
alt=
"<?php _e('Show Information','rmcommon'); ?>"
/>
85
</a>
86
</td>
87
<td
class
=
"actions"
>
88
<a href=
"#"
class
=
"update_button"
title=
"<?php _e('Update','rmcommon'); ?>"
>
89
<img src=
"<?php echo RMCURL; ?>/themes/designia/images/update.png"
alt=
"<?php _e('Update','rmcommon'); ?>"
/>
90
</a>
91
</td>
92
<?php
if
($mod[
'active'
]): ?>
93
<td
class
=
"actions"
>
94
<?php
if
($mod[
'dirname'
]!=
'system'
): ?>
95
<a href=
"#"
class
=
"disable_button"
title=
"<?php _e('Disable','rmcommon'); ?>"
>
96
<img src=
"<?php echo RMCURL; ?>/themes/designia/images/disable.png"
alt=
"<?php _e('Disable','rmcommon'); ?>"
/>
97
</a>
98
<?php
else
: ?>
99
<img src=
"<?php echo RMCURL; ?>/themes/designia/images/disable.png"
alt=
"<?php _e('Disable','rmcommon'); ?>"
/>
100
<?php
endif
; ?>
101
</td>
102
<?php
endif
; ?>
103
<?php
if
(!$mod[
'active'
]): ?>
104
<td
class
=
"actions"
>
105
<a href=
"#"
class
=
"enable_button"
title=
"<?php _e('Enable','rmcommon'); ?>"
>
106
<img src=
"<?php echo RMCURL; ?>/themes/designia/images/enable.png"
alt=
"<?php _e('Enable','rmcommon'); ?>"
/>
107
</a>
108
</td>
109
<?php
endif
; ?>
110
<td
class
=
"actions"
>
111
<?php
if
($mod[
'dirname'
]!=
'system'
): ?>
112
<a href=
"#"
class
=
"uninstall_button"
title=
"<?php _e('Uninstall','rmcommon'); ?>"
>
113
<img src=
"<?php echo RMCURL; ?>/themes/designia/images/uninstall.png"
alt=
"<?php _e('Uninstall','rmcommon'); ?>"
/>
114
</a>
115
<?php
else
: ?>
116
<img src=
"<?php echo RMCURL; ?>/themes/designia/images/uninstall.png"
alt=
"<?php _e('Uninstall','rmcommon'); ?>"
/>
117
<?php
endif
; ?>
118
</td>
119
</tr>
120
<?php
endforeach
; ?>
121
</tbody>
122
</table>
123
124
<div
id
=
"info-blocker"
></div>
125
<div
id
=
"info-module"
>
126
<div
class
=
"th"
><?php
_e
(
'Module Information'
,
'designia'
); ?></div>
127
<div
class
=
"info_container"
>
128
<div
class
=
"header"
>
129
<img src=
"#"
alt=
"#"
/>
130
<h3></h3>
131
<span
class
=
"desc"
></span>
132
</div>
133
<div
class
=
"dark_bg info_sep"
></div>
134
<table
class
=
"thedata"
cellspacing=
"4"
>
135
<tr>
136
<td
class
=
"caption"
><?php
_e
(
'Current Version:'
,
'designia'
); ?></td>
137
<td
class
=
"caption"
><?php
_e
(
'Directory:'
,
'designia'
); ?></td>
138
</tr>
139
<tr>
140
<td
class
=
"version"
><span></span></td>
141
<td
class
=
"dirname"
><span></span></td>
142
</tr>
143
<tr>
144
<td
class
=
"caption"
><?php
_e
(
'Author(s):'
,
'designia'
); ?></td>
145
<td
class
=
"caption"
><?php
_e
(
'Web site:'
,
'designia'
); ?></td>
146
</tr>
147
<tr>
148
<td
class
=
"author"
><span><?php
_e
(
'Not provided'
,
'designia'
); ?></span></td>
149
<td
class
=
"web"
><span><?php
_e
(
'Not provided'
,
'designia'
); ?></span></td>
150
</tr>
151
<tr>
152
<td
class
=
"caption"
><?php
_e
(
'License:'
,
'designia'
); ?></td>
153
<td
class
=
"caption"
><?php
_e
(
'Help:'
,
'designia'
); ?></td>
154
</tr>
155
<tr>
156
<td
class
=
"license"
><span></span></td>
157
<td
class
=
"help"
><span><?php
_e
(
'Not provided'
,
'designia'
); ?></span></td>
158
</tr>
159
<tr>
160
<td colspan=
"2"
align=
"center"
>
161
<input type=
"button"
class
=
"buttonOrange info_close"
value=
"<?php _e('Close Window','designia'); ?>"
/>
162
</td>
163
</tr>
164
</table>
165
</div>
166
</div>
L:
XOOPS_Allure
SVN_XOOPS2
RMC
rmcommon
trunk
rmcommon
themes
designia
modules
rmcommon
rmc_modules.php
Generated on Sun Mar 17 2013 20:41:07 for XOOPS RMCommon Utilities by
1.8.3.1