mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
This commit is contained in:
@@ -37,6 +37,11 @@ $message='';
|
||||
$message_lkt='';
|
||||
$lektoren=array();
|
||||
|
||||
//ini_set('soap.wsdl_cache_enabled',0);
|
||||
//ini_set('soap.wsdl_cache_ttl',0);
|
||||
|
||||
echo "Start um ".date('Y-m-d H:i:s');
|
||||
|
||||
//nur Synchronisieren wenn ein aktuelles Studiensemester existiert damit keine
|
||||
//Probleme durch die Vorrueckung entstehen
|
||||
$stsem = new studiensemester();
|
||||
@@ -51,6 +56,10 @@ if($stsem_kurzbz=$stsem->getakt())
|
||||
while($row = $db->db_fetch_object($result))
|
||||
{
|
||||
$course = new moodle24_course();
|
||||
echo 'Sync fuer kurs '.$row->mdl_course_id.'<br>';
|
||||
flush();
|
||||
ob_flush();
|
||||
|
||||
if($course->load($row->mdl_course_id))
|
||||
{
|
||||
$message_lkt='';
|
||||
@@ -73,7 +82,11 @@ if($stsem_kurzbz=$stsem->getakt())
|
||||
$message.="\nFehler: $mdluser->errormsg";
|
||||
$fehler++;
|
||||
}
|
||||
echo $mdluser->log;
|
||||
flush();
|
||||
ob_flush();
|
||||
|
||||
echo "<br><br>--studenten--";
|
||||
//Studenten
|
||||
$mdluser = new moodle24_user();
|
||||
if($mdluser->sync_studenten($row->mdl_course_id))
|
||||
@@ -92,6 +105,9 @@ if($stsem_kurzbz=$stsem->getakt())
|
||||
$fehler++;
|
||||
}
|
||||
|
||||
echo $mdluser->log;
|
||||
flush();
|
||||
ob_flush();
|
||||
foreach ($mitarbeiter as $uid)
|
||||
{
|
||||
if(!isset($lektoren[$uid]))
|
||||
@@ -154,4 +170,5 @@ if($stsem_kurzbz=$stsem->getakt())
|
||||
}
|
||||
else
|
||||
echo "Kein aktuelles Studiensemester vorhanden->kein Syncro";
|
||||
echo "Ende um ".date('Y-m-d H:i:s');
|
||||
?>
|
||||
|
||||
@@ -194,6 +194,9 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
|
||||
<style:paragraph-properties fo:line-height="150%"/>
|
||||
<style:text-properties style:font-name="Arial" fo:font-size="3pt" fo:language="de" fo:country="AT" style:font-size-asian="3pt" style:font-name-complex="Arial" style:font-size-complex="3pt"/>
|
||||
</style:style>
|
||||
<style:style style:name="P23" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:paragraph-properties fo:break-before="page" />
|
||||
</style:style>
|
||||
<style:style style:name="T1" style:family="text">
|
||||
<style:text-properties fo:language="de" fo:country="AT" style:font-name-complex="Arial"/>
|
||||
</style:style>
|
||||
@@ -451,7 +454,6 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
|
||||
<text:p text:style-name="P12"/>
|
||||
<text:p text:style-name="P12"/>
|
||||
<text:p text:style-name="P12"/>
|
||||
<text:p text:style-name="P12"/>
|
||||
</table:table-cell>
|
||||
<table:covered-table-cell/>
|
||||
<table:covered-table-cell/>
|
||||
@@ -468,7 +470,6 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
|
||||
<text:p text:style-name="P12"/>
|
||||
<text:p text:style-name="P12"/>
|
||||
<text:p text:style-name="P12"/>
|
||||
<text:p text:style-name="P12"/>
|
||||
</table:table-cell>
|
||||
<table:covered-table-cell/>
|
||||
<table:covered-table-cell/>
|
||||
@@ -480,7 +481,7 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
|
||||
<table:covered-table-cell/>
|
||||
</table:table-row>
|
||||
</table:table>
|
||||
<text:p text:style-name="P19"/>
|
||||
<text:p text:style-name="P23"> </text:p>
|
||||
<text:p text:style-name="P19"><xsl:value-of select="titelpre" /><xsl:text> </xsl:text><xsl:value-of select="vorname" /><xsl:text> </xsl:text><xsl:value-of select="nachname" /><xsl:text> </xsl:text><xsl:value-of select="titelpost" /></text:p>
|
||||
<text:p text:style-name="P18">Personenkennzeichen: <xsl:value-of select="matrikelnr" /></text:p>
|
||||
<text:p text:style-name="P19"/>
|
||||
|
||||
Reference in New Issue
Block a user