File tree Expand file tree Collapse file tree 3 files changed +71
-0
lines changed
core/src/plugins/auth.sqlgf Expand file tree Collapse file tree 3 files changed +71
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+ /*
3
+ * Copyright 2007-2011 Charles du Jeu <contact (at) cdujeu.me>
4
+ * This file is part of AjaXplorer.
5
+ *
6
+ * AjaXplorer is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License as published by
8
+ * the Free Software Foundation, either version 3 of the License, or
9
+ * (at your option) any later version.
10
+ *
11
+ * AjaXplorer is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU Affero General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Affero General Public License
17
+ * along with AjaXplorer. If not, see <http://www.gnu.org/licenses/>.
18
+ *
19
+ * The latest code can be found at <http://www.ajaxplorer.info/>.
20
+ */
21
+ defined ('AJXP_EXEC ' ) or die ( 'Access not allowed ' );
22
+
23
+ /**
24
+ * @package info.ajaxplorer.plugins
25
+ * sqlAuthDriver with Ultreia Comunicaciones modifications for GrandesFicheros.com
26
+ */
27
+ class sqlgfAuthDriver extends sqlAuthDriver
28
+ {
29
+ function usersEditable ()
30
+ {
31
+ return false ;
32
+ }
33
+
34
+ function passwordsEditable ()
35
+ {
36
+ return true ;
37
+ }
38
+ }
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <authdriver name =" sqlgf" label =" GrandesFicheros.com" description =" CONF_MESSAGE[Use GrandesFicheros.com SQL authentication.]" mixins =" authdriver_commons" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" file:../core.ajaxplorer/ajxp_registry.xsd" >
3
+ <client_settings >
4
+ <resources >
5
+ <i18n namespace =" sql_auth" path =" plugins/auth.sql/i18n" />
6
+ </resources >
7
+ </client_settings >
8
+ <server_settings >
9
+ <param name =" SQL_DRIVER" type =" group_switch:dibi" label =" CONF_MESSAGE[Connexion]" description =" CONF_MESSAGE[The Database Connexion]" mandatory =" true" />
10
+ <param type =" button" name =" INSTALL_SQL" choices =" run_plugin_action:auth.sql:installSQLTables" label =" CONF_MESSAGE[SQL Tables]" description =" CONF_MESSAGE[Install SQL Tables]" mandatory =" false" />
11
+ </server_settings >
12
+ <class_definition filename =" plugins/auth.sqlgf/class.sqlgfAuthDriver.php" classname =" sqlgfAuthDriver" />
13
+ <registry_contributions >
14
+ <external_file filename =" plugins/core.auth/standard_auth_actions.xml" include =" actions/*" exclude =" actions/action[@name='pass_change']" />
15
+ <actions >
16
+ <action name =" pass_change" >
17
+ <gui text =" 194" title =" 194" src =" yast_security.png" iconClass =" icon-key" accessKey =" " hasAccessKey =" false" >
18
+ <context selection =" false" dir =" " recycle =" true" ajxpWidgets =" UserWidget::logging_string" ></context >
19
+ </gui >
20
+ <processing >
21
+ <clientCallback prepareModal =" true" ><![CDATA[
22
+ location.href = 'https://webmail.ticaas.net/?_task=settings&_action=plugin.password';
23
+ ]]> </clientCallback >
24
+ <serverCallback methodName =" switchAction" ></serverCallback >
25
+ </processing >
26
+ </action >
27
+ </actions >
28
+ </registry_contributions >
29
+ <dependencies >
30
+ <pluginClass pluginName =" auth.sql" />
31
+ </dependencies >
32
+ </authdriver >
Original file line number Diff line number Diff line change
1
+ < p > See auth.sql.</ p >
You can’t perform that action at this time.
0 commit comments