CloundOS eyeOS + WebOffice OpenGoo Einbindungsproblem
Moin,
ich habe folgendes Problem:
OpenGoo Office lässt sich nicht in eyeOS starten.
Fenster öffnet sich, weißer Inhalt, daraufhin keine weiteren Funktionen.
Stimmt was mit den PHP-Files nicht? Ich begaff dies schon seit gestern Nacht.
Ich komme nicht drauf, und im Internet gibt es auch nichts griffiges.
Randinfos:
OpenGoo ist ein "OnlineOffice" welches ein eigenes Webinterface hat. Allerdings kann man mit diesen Tools das Office in eyeOS direkt einbinden. Nur eben dort erscheint lediglich ein leeres Fenster.
Eingebunden wird das mit der eyePS Software: eyeOpenGoo (einbetten), eyePass (automatische Anmeldung)
Danke, Patrick
------
events.eyecode
<?php
/*
events.eyecode File
*/
function eyeOpenGoo_on_Message($params="") {
reqLib('eyeWidgets','updateContent',$params);
}
function eyeOpenGoo_on_Resize($params=null) {
$width = $params['arg'][0];
$height = $params['arg'][1];
$width = intval($width);
$height = intval($height);
$GLOBALS['eyeOpenGoo_frame']->setWidth($width-35);
$GLOBALS['eyeOpenGoo_frame']->setHeight($height-65);
}
//Not in use !!!!!
function eyeOpenGoo_on_editeyeOpenGoo_save($params = ""){
//creation of file "config.xml"
global $currentUser;
$oldUser = $currentUser;
$path = service('um','getCurrentUserDir') ;
$path.= 'conf/eyeOpenGoo/' ;
$currentUser = ROOTUSER;
service('vfs','mkdir',array($path)) ;
$currentUser = $oldUser;
//get inserted url.
$url = $GLOBALS['textbox_url']->text;
if ((strlen($url)-strpos($url, '/')) != 0) $url .= '/';
$xml['eyeOpenGoo'][0]['url'][0] = $url;
eyeXML('setXMLconfig',array('eyeOpenGoo','conf.xml',$xml));
eyex('messageBox',array('content' => 'Changes successfully saved.'));
}
exit;
</form>
function eyeOpenGoo_on_Login($params = '') {
global $currentUser ;
$oldUser = $currentUser;
$currentUser = ROOTUSER;
$currentUser = $oldUser;
$info = um('retriveUser',array($currentUser));
$key = substr($info['eyeUser'][0]['username'][0],0,8) ;
$key = "Doud.biz!".$key ;
/*
$conf = eyeXML('getXMLconfig',array('eyeOpenGoo','conf.xml'));
$url = $conf['eyeOpenGoo'][0]['url'][0];
$post = $url.'index.php?c=access&a=login';
*/
$xmlinfo = getAppInfo('eyeOpenGoo');
$url = $xmlinfo['OpenGoo'][0]['Server'][0];
$post = $url.'index.php?c=access&a=login';
$eyePass = eyeXML('getXMLconfig',array('eyePass','conf.xml'));
if (is_array($eyePass)){
$cryptedl = $eyePass['eyePass'][0]['eyeOpenGoo'][0]['login'][0];
$cryptedp = $eyePass['eyePass'][0]['eyeOpenGoo'][0]['pass'][0];
$crypt = array('data' => base64_decode($cryptedl) , 'key' => $key, 'cipher' => 'xxtea') ;
$login = reqLib('eyeCrypt','decrypt',$crypt);
$login = str_replace("|dot|",".",$login);
$crypt = array('data' => base64_decode($cryptedp) , 'key' => $key, 'cipher' => 'xxtea') ;
$password = reqLib('eyeCrypt','decrypt',$crypt);
$password = str_replace("|dot|",".",$password);
echo '<body onload="document.gaia_loginform.submit();">';
echo '<form name="gaia_loginform" action="'.$post.'" method="post">';
echo '<input id="loginUsername" class="medium" type="hidden" name="login[username]" value="'.$login.'" />';
echo '<input id="loginPassword" class="medium" type="hidden" name="login[password]" value="'.$password.'" /> ';
//echo '<input id="loginRememberMe" type="hidden" class="checkbox" name="login[remember]" value="checked" />';
echo '<input class="gaia le button" type="hidden" name="signIn" value="Connexion" />';
echo '</form>' ;
}else{
echo '<body onload="document.gaia_loginform.submit();">';
echo '<form name="gaia_loginform" action="'.$post.'" method="post">';
echo '<input class="gaia le button" type="hidden" name="signIn" value="Connexion" />';
echo '</form>' ;
}
}
exit;
</form>
--------
app.eyecode
<?php
/*
app.eyecode
*/
function eyeOpenGoo_run($params=null){
global $checknum ;
//Run OpenGoo
$startpage = "index.php?checknum=".$checknum."&msg=Login" ;
$myWindow = new Window(array(
'name' => 'eyeOpenGoo_win',
'father' => 'eyeApps',
'title' => 'eyeOpenGoo',
'cent' => 1,
'width' => 1000,
'height' => 540,
'sendResizeMsg' => 1,
'sigResize' => 'Resize',
'scroll' => 'no',
'savePosition' => 1
));
$myWindow->show();
$myIframe = new Iframe(array(
'name' => 'eyeOpenGoo_frame',
'father' => 'eyeOpenGoo_win_Content',
'x' => 1,
'y' => 20,
'height' => $myWindow->height-50,
'width' => $myWindow->width-10,
'scroll'=> "no",
'url' => $startpage,
));
$myIframe->show();
}
function eyeOpenGoo_end($params = '') {
reqLib('eyeWidgets','unserialize');
}
?>
--------
info.xml
<package>
<name>eyeOpenGoo</name>
<category>Office</category>
<version>1.0</version>
<description>OpenGoo adapted for eyeOS</description>
<author>Roberto Lammioni</author>
<license>GPL</license>
<type>Application</type>
<icon>index.php?extern=apps/eyeX/themes/default/icons/48x48/eyeOpenGoo.png</icon>
</package>
<eyepass>
<app>eyeOpenGoo</app>
<name>eyeOpenGoo</name>
<description>Web Office</description>
<category>Office</category>
<date></date>
<logout>http://www.edv-lachmann.de/features/system/office/opengoo/index.php?c=access&a=logout</logout>
</eyepass>
<OpenGoo>
<Server>http://www.edv-lachmann.de/features/system/office/opengoo/</Server>
</OpenGoo>
Seite 1 von 1
Eyeos & Opengoo Einbindungsproblem Office lässt sich nicht in eyeOS einbinden
Anzeige
- ← Phillips 37pfl8404h/12 Und Die Netzwerkfähigkeit
- Alternative Systeme
- Symbian S60 Bzw. Symbian Os Auf Tablet-pc's! →
Thema verteilen:
Seite 1 von 1