Subversion Repositories oidplus

Rev

Rev 875 | Rev 1086 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 875 Rev 1050
Line 15... Line 15...
15
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
 * See the License for the specific language governing permissions and
16
 * See the License for the specific language governing permissions and
17
 * limitations under the License.
17
 * limitations under the License.
18
 */
18
 */
19
 
19
 
20
if (!defined('INSIDE_OIDPLUS')) die();
20
namespace ViaThinkSoft\OIDplus;
21
 
21
 
22
class OIDplusPageRaInvite extends OIDplusPagePluginRa {
22
class OIDplusPageRaInvite extends OIDplusPagePluginRa {
23
 
23
 
24
        public function action($actionID, $params) {
24
        public function action($actionID, $params) {
25
                if ($actionID == 'invite_ra') {
25
                if ($actionID == 'invite_ra') {
Line 128... Line 128...
128
                                    '.OIDplus::getActiveCaptchaPlugin()->captchaGenerate().'
128
                                    '.OIDplus::getActiveCaptchaPlugin()->captchaGenerate().'
129
                                    <br>
129
                                    <br>
130
                                    <input type="submit" value="'._L('Send invitation').'">
130
                                    <input type="submit" value="'._L('Send invitation').'">
131
                                  </form>';
131
                                  </form>';
132
 
132
 
133
                        } catch (Exception $e) {
133
                        } catch (\Exception $e) {
134
 
134
 
135
                                $out['icon'] = 'img/error.png';
135
                                $out['icon'] = 'img/error.png';
136
                                $out['text'] = _L('Error: %1',$e->getMessage());
136
                                $out['text'] = _L('Error: %1',$e->getMessage());
137
 
137
 
138
                        }
138
                        }