Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Teamcal absence range input
Nur in tcpro_33009_patched: config.tcpro.php.
Gemeinsame Unterverzeichnisse: tcpro_33009/doc und tcpro_33009_patched/doc.
diff -u tcpro_33009/editcalendar.php tcpro_33009_patched/editcalendar.php
--- tcpro_33009/editcalendar.php 2012-05-07 14:18:10.594378017 +0200
+++ tcpro_33009_patched/editcalendar.php 2012-05-07 14:33:52.641503630 +0200
@@ -193,7 +193,7 @@
$LOG->log("logUser",$L->checkLogin(),"User default template created: ".$T->year.$T->month);
}
- if (isset($_POST['btn_apply'])) {
+ if ($_POST && !isset($_POST['btn_bwd']) && !isset($_POST['btn_fwd'])) {
/**
* Create blank new template and get the users' current template
* for comparison. If no current template is available copy the
@@ -233,100 +233,8 @@
if ( $key!="btn_apply" && $key!="rangeabs" && $key!="rangefrom" && $key!="rangeto" &&
$key!="recurrabs" && $key!="monday" && $key!="tuesday" && $key!="wednesday" &&
$key!="thursday" && $key!="friday" && $key!="saturday" && $key!="sunday" && $key!="workdays" && $key!="weekend" &&
- $key!="txtReason" && $key!="Month" && $key!="Year" && $key!="Member")
+ $key!="txtReason" && $key!="Month" && $key!="Year" && $key!="Member" && $key!="specialday" && $key!="specialdaymode")
$absarray[] = $key;
-
- /**
- * Then get the range input
- */
- if ( $key=="rangeabs" && strlen($_POST['rangefrom']) && strlen($_POST['rangeto']) )
- {
- $yearfrom = substr($_POST['rangefrom'],0,4);
- $monthfrom = substr($_POST['rangefrom'],5,2);
- $dayfrom = substr($_POST['rangefrom'],8,2);
- $yearto = substr($_POST['rangeto'],0,4);
- $monthto = substr($_POST['rangeto'],5,2);
- $dayto = substr($_POST['rangeto'],8,2);
- //echo "<script type=\"text/javascript\">alert(\"$yearfrom|$monthfrom|$dayfrom \");</script>";
- if ( $yearfrom!=$Year || $monthfrom!=$monthno || $yearto!=$Year || $monthto!=$monthno ) {
- echo "<script type=\"text/javascript\">alert(\"".$LANG['cal_range_within']."\");</script>";
- }
- else if ( $_POST['rangefrom']>$_POST['rangeto']) {
- echo "<script type=\"text/javascript\">alert(\"".$LANG['cal_range_start']."\");</script>";
- }
- else {
- for ($i=intval($dayfrom);$i<=intval($dayto);$i++) {
- $absarray[]=$_POST['rangeabs'].sprintf("%02d",$i);
- }
- }
- }
-
- /**
- * Then get the recurring input
- */
- if ( $key=="monday" ) {
- $x = intval($weekday1);
- for ($i=1; $i<=$nofdays; $i=$i+1) {
- if ( $x==1 ) $absarray[]=$_POST['recurrabs'].sprintf("%02d",$i);
- if($x<=6) $x+=1; else $x = 1;
- }
- }
- if ( $key=="tuesday" ) {
- $x = intval($weekday1);
- for ($i=1; $i<=$nofdays; $i=$i+1) {
- if ( $x==2 ) $absarray[]=$_POST['recurrabs'].sprintf("%02d",$i);
- if($x<=6) $x+=1; else $x = 1;
- }
- }
- if ( $key=="wednesday" ) {
- $x = intval($weekday1);
- for ($i=1; $i<=$nofdays; $i=$i+1) {
- if ( $x==3 ) $absarray[]=$_POST['recurrabs'].sprintf("%02d",$i);
- if($x<=6) $x+=1; else $x = 1;
- }
- }
- if ( $key=="thursday" ) {
- $x = intval($weekday1);
- for ($i=1; $i<=$nofdays; $i=$i+1) {
- if ( $x==4 ) $absarray[]=$_POST['recurrabs'].sprintf("%02d",$i);
- if($x<=6) $x+=1; else $x = 1;
- }
- }
- if ( $key=="friday" ) {
- $x = intval($weekday1);
- for ($i=1; $i<=$nofdays; $i=$i+1) {
- if ( $x==5 ) $absarray[]=$_POST['recurrabs'].sprintf("%02d",$i);
- if($x<=6) $x+=1; else $x = 1;
- }
- }
- if ( $key=="saturday" ) {
- $x = intval($weekday1);
- for ($i=1; $i<=$nofdays; $i=$i+1) {
- if ( $x==6 ) $absarray[]=$_POST['recurrabs'].sprintf("%02d",$i);
- if($x<=6) $x+=1; else $x = 1;
- }
- }
- if ( $key=="sunday" ) {
- $x = intval($weekday1);
- for ($i=1; $i<=$nofdays; $i=$i+1) {
- if ( $x==7 ) $absarray[]=$_POST['recurrabs'].sprintf("%02d",$i);
- if($x<=6) $x+=1; else $x = 1;
- }
- }
- if ( $key=="workdays" ) {
- $x = intval($weekday1);
- for ($i=1; $i<=$nofdays; $i=$i+1) {
- if ( $x>=1 AND $x<=5 ) $absarray[]=$_POST['recurrabs'].sprintf("%02d",$i);
- if($x<=6) $x+=1; else $x = 1;
- }
- }
- if ( $key=="weekend" ) {
- $x = intval($weekday1);
- for ($i=1; $i<=$nofdays; $i=$i+1) {
- if ( $x>=6 AND $x<=7 ) $absarray[]=$_POST['recurrabs'].sprintf("%02d",$i);
- if($x<=6) $x+=1; else $x = 1;
- }
- }
}
/**
@@ -965,31 +873,6 @@
}
}
- else if (isset($_POST['btn_clear']))
- {
- /**
- * First create default template
- */
- $T->template = "";
- for ($i=0; $i<intval($nofdays); $i++ )
- {
- $T->template .= $CONF['present'];
- }
- /**
- * Update his template for this month
- */
- $T->update($U->username,$Year,$monthno);
- $query = "SELECT groupname FROM `".$UG->table."` WHERE username='".$U->username."'";
- $result = $UG->db->db_query($query);
- while ($row=$UG->db->db_fetch_array($result,MYSQL_NUM) )
- {
- sendNotification("usercalchange",$U->firstname." ".$U->lastname, $row[0],$T->year.$T->month." ".$T->template);
- }
- /**
- * Log this event
- */
- $LOG->log("logUser",$L->checkLogin(),"User template cleared: ".$U->username." ".$T->year.$T->month." ".$T->template);
- }
}
$currlang = $CONF['options']['lang'];
@@ -1056,18 +939,28 @@
</td>
<td class="title-button">&nbsp;</td>
<?php
+ $weekday_array = Array();
+ $holiday_array = Array();
for ($i=1; $i<=$nofdays; $i=$i+1) {
+ $weekday_array[] = $x;
if ( $H->findBySymbol($M->template[$i-1]) ) {
if ( $H->cfgname=='busi' ) {
/*
* A business day has a special bgcolor in this dayofweek row
*/
echo "<td class=\"weekday\">".$weekdays[$x]."</td>";
+ $holiday_array[] = "null";
}else{
echo "<td class=\"weekday-".$H->cfgname."\">".$weekdays[$x]."</td>";
+ if ($H->cfgname != "wend"){
+ $holiday_array[] = "'".$H->cfgname."'";
+ } else {
+ $holiday_array[] = "null";
+ }
}
}else{
echo "<td class=\"weekday\">".$weekdays[$x]."</td>";
+ $holiday_array[] = "null";
}
if($x<=6) $x+=1; else $x = 1;
}
@@ -1175,185 +1068,171 @@
}
}
?>
+ </tr>
</table>
<table width="100%">
- <tr>
- <td width="50%" style="vertical-align: top;">
- <?php printDialogFrameTop($LANG['cal_range_title'],"0"); ?>
- <table>
- <tr>
- <td><?=$LANG['cal_range_type']?></td>
- <td><?=$LANG['cal_range_from']?></td>
- <td><?=$LANG['cal_range_to']?></td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td style="padding-right: 4px;">
- <select name="rangeabs" id="rangeabs" class="select">
- <?php
- $result = $A->db->db_query($query);
- while ( $row = $A->db->db_fetch_array($result,MYSQL_ASSOC) ){
- /**
- * Make sure this users calendar only contains those absence types
- * that his group(s) is(are) entitled for
- */
- $A->findBySymbol($row['cfgsym']);
- $showthisabsence=false;
- $Gquery = "SELECT * FROM `".$G->table."` ORDER BY `groupname`;";
- $Gresult = $G->db->db_query($Gquery);
- while ( $Grow=$G->db->db_fetch_array($Gresult,MYSQL_ASSOC) ) {
- if ($UG->isMemberOfGroup($U->username,$Grow['groupname']) &&
- $AG->isAssigned($row['cfgsym'],$Grow['groupname'])
- ) {
- $showthisabsence=true;
- if ($A->checkOptions($CONF['A_MGR_ONLY'])) {
- if ( ($UL->checkUserType($CONF['UTADMIN']) || $UL->checkUserType($CONF['UTDIRECTOR'])) || ($UL->checkUserType($CONF['UTMANAGER']) && $UG->isMemberOfGroup($UL->username,$Grow['groupname'])) ) {
- $showthisabsence=true;
- }
- else {
- $showthisabsence=false;
- }
- }
- if ( $A->checkOptions($CONF['A_APPROVAL']) ) $approvalNeeded=true;
- }
- }
- if ($showthisabsence && $row['cfgname']!="present") {
- echo " <option class=\"option\" value=\"".$row['cfgname']."\">".$row['dspname']."</option>\n";
- }
- }
- ?>
- </select>
- </td>
- <td style="padding-right: 4px;">
- <input name="rangefrom" id="rangefrom" size="10" maxlength="10" type="text" class="text" value="">
- <img src="themes/<?=$theme?>/img/ico_calendar.png" id="datepicker0" title="<?=$LANG['date_picker']?>" alt="<?=$LANG['date_picker']?>" align="top" onmouseover="return overlib('<?=$LANG['date_picker_tt']?>',<?=$CONF['ovl_tt_settings']?>);" onmouseout="return nd();">
- <script type="text/javascript">
- <!--
- Calendar.setup({
- inputField : "rangefrom", // id of the input field
- ifFormat : "%Y-%m-%d", // format of the input field
- date : "<?php echo $Year."-".$monthno."-01"; ?>",
- button : "datepicker0", // trigger for the calendar (button ID)
- align : "Tr", // alignment (defaults to "Bl")
- firstDay : 1 // First day of week: 1=Monday
- });
- -->
- </script>
- </td>
- <td style="padding-right: 4px;">
- <input name="rangeto" id="rangeto" size="10" maxlength="10" type="text" class="text" value="">
- <img src="themes/<?=$theme?>/img/ico_calendar.png" id="datepicker1" title="<?=$LANG['date_picker']?>" alt="<?=$LANG['date_picker']?>" align="top" onmouseover="return overlib('<?=$LANG['date_picker_tt']?>',<?=$CONF['ovl_tt_settings']?>);" onmouseout="return nd();">
- <script type="text/javascript">
- <!--
- Calendar.setup({
- inputField : "rangeto", // id of the input field
- ifFormat : "%Y-%m-%d", // format of the input field
- date : "<?php echo $Year."-".$monthno."-".$nofdays; ?>",
- button : "datepicker1", // trigger for the calendar (button ID)
- align : "Tr", // alignment (defaults to "Bl")
- firstDay : 1 // First day of week: 1=Monday
- });
- -->
- </script>
- </td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td colspan="4"><?=$LANG['cal_range_hint']?><br>&nbsp;</td>
- </tr>
- </table>
- <?php printDialogFrameBottom(); ?>
- </td>
- <td width="50%" style="vertical-align: top;">
- <?php printDialogFrameTop($LANG['cal_recurring_title'],"0"); ?>
- <table>
- <tr>
- <td><input name="monday" type="checkbox" id="monday" value="monday"></td>
- <td><?=$LANG['weekdays_long'][1]?></td>
- <td><input name="thursday" type="checkbox" id="thursday" value="thursday"></td>
- <td><?=$LANG['weekdays_long'][4]?></td>
- <td><input name="sunday" type="checkbox" id="sunday" value="sunday"></td>
- <td><?=$LANG['weekdays_long'][7]?></td>
- <td style="padding-left: 10px; vertical-align: top;"><?=$LANG['cal_range_type']?></td>
- </tr>
- <tr>
- <td><input name="tuesday" type="checkbox" id="tuesday" value="tuesday"></td>
- <td><?=$LANG['weekdays_long'][2]?></td>
- <td><input name="friday" type="checkbox" id="friday" value="friday"></td>
- <td><?=$LANG['weekdays_long'][5]?></td>
- <td><input name="workdays" type="checkbox" id="workdays" value="workdays"></td>
- <td><?=$LANG['cal_recurring_workdays']?></td>
- <td rowspan="2" style="padding-left: 10px; vertical-align: top;">
- <select name="recurrabs" id="recurrabs" class="select">
- <?php
- $result = $A->db->db_query($query);
- while ( $row = $A->db->db_fetch_array($result,MYSQL_ASSOC) ){
- /*
- * Make sure this users calendar only contains those absence types
- * that his group(s) is(are) entitled for
- */
- $A->findBySymbol($row['cfgsym']);
- $showthisabsence=false;
- $Gquery = "SELECT * FROM `".$G->table."` ORDER BY `groupname`;";
- $Gresult = $G->db->db_query($Gquery);
- while ( $Grow=$G->db->db_fetch_array($Gresult,MYSQL_ASSOC) ) {
- if ($UG->isMemberOfGroup($U->username,$Grow['groupname']) &&
- $AG->isAssigned($row['cfgsym'],$Grow['groupname'])
- ) {
- $showthisabsence=true;
- if ($A->checkOptions($CONF['A_MGR_ONLY'])) {
- if ( ($UL->checkUserType($CONF['UTADMIN']) || $UL->checkUserType($CONF['UTDIRECTOR'])) || ($UL->checkUserType($CONF['UTMANAGER']) && $UG->isMemberOfGroup($UL->username,$Grow['groupname'])) ) {
- $showthisabsence=true;
- }
- else {
- $showthisabsence=false;
- }
- }
- if ( $A->checkOptions($CONF['A_APPROVAL']) ) $approvalNeeded=true;
- }
- }
- if ($showthisabsence && $row['cfgname']!="present") {
- echo " <option class=\"option\" value=\"".$row['cfgname']."\">".$row['dspname']."</option>\n";
- }
- }
- ?>
- </select>
- </td>
- </tr>
- <tr>
- <td><input name="wednesday" type="checkbox" id="wednesday" value="wednesday"></td>
- <td><?=$LANG['weekdays_long'][3]?></td>
- <td><input name="saturday" type="checkbox" id="saturday" value="saturday"></td>
- <td><?=$LANG['weekdays_long'][6]?></td>
- <td><input name="weekend" type="checkbox" id="weekend" value="weekend"></td>
- <td><?=$LANG['cal_recurring_weekend']?></td>
- </tr>
- </table>
- <?php printDialogFrameBottom(); ?>
- </td>
- </tr>
- <tr>
- <td style="vertical-align: top; width: 100%;" colspan="2">
- <?php printDialogFrameTop($LANG['cal_reason_title'],"0"); ?>
- <input name="txtReason" id="txtReason" type="text" size="130" maxlength="130" value="<?=$LANG['cal_reason_dummy']?>">
- <?php printDialogFrameBottom(); ?>
- </td>
- </tr>
- </table>
- </td>
+ <td>
+ <?php printDialogFrameTop($LANG['cal_range_title'],"0"); ?>
+ <table width="100%" id="range_input_table">
+ <tr>
+ <td><?=$LANG['cal_range_type']?></td>
+ <td><?=$LANG['cal_range_from']?></td>
+ <td>
+ <input name="rangefrom" id="rangefrom" size="10" maxlength="10" type="text" class="text" value="<?php echo $Year."-".$monthno."-01"; ?>">
+ <img src="themes/<?=$theme?>/img/ico_calendar.png" id="datepicker0" title="<?=$LANG['date_picker']?>" alt="<?=$LANG['date_picker']?>" align="top" onmouseover="return overlib('<?=$LANG['date_picker_tt']?>',<?=$CONF['ovl_tt_settings']?>);" onmouseout="return nd();">
+ <script type="text/javascript">
+ <!--
+ Calendar.setup({
+ inputField : "rangefrom", // id of the input field
+ ifFormat : "%Y-%m-%d", // format of the input field
+ date : "<?php echo $Year."-".$monthno."-01"; ?>",
+ button : "datepicker0", // trigger for the calendar (button ID)
+ align : "Tr", // alignment (defaults to "Bl")
+ firstDay : 1 // First day of week: 1=Monday
+ });
+ -->
+ </script>
+ </td>
+ <td><input name="monday" type="checkbox" id="monday" value="1"></td>
+ <td><?=$LANG['weekdays_long'][1]?></td>
+ <td><input name="thursday" type="checkbox" id="thursday" value="4"></td>
+ <td><?=$LANG['weekdays_long'][4]?></td>
+ <td><input name="sunday" type="checkbox" id="sunday" value="7"></td>
+ <td><?=$LANG['weekdays_long'][7]?></td>
+ <td colspan="2"><?=$LANG['cal_special_days']?></td>
+ </tr>
+ <tr>
+ <td style="padding-right: 4px;">
+ <select name="rangeabs" id="rangeabs" class="select">
+ <option class="option" value="">---------</option>
+ <option class="option" value="present"><?=$LANG['cal_no_absence']?></option>
+ <option class="option" value="">---------</option>
+ <?php
+ $absence_ids = Array();
+ $result = $A->db->db_query($query);
+ while ( $row = $A->db->db_fetch_array($result,MYSQL_ASSOC) ){
+ /**
+ * Make sure this users calendar only contains those absence types
+ * that his group(s) is(are) entitled for
+ */
+ if ($row['cfgname'] != 'present') $absence_ids[] = "'".$row['cfgname']."'";
+ $A->findBySymbol($row['cfgsym']);
+ $showthisabsence=false;
+ $Gquery = "SELECT * FROM `".$G->table."` ORDER BY `groupname`;";
+ $Gresult = $G->db->db_query($Gquery);
+ while ( $Grow=$G->db->db_fetch_array($Gresult,MYSQL_ASSOC) ) {
+ if ($UG->isMemberOfGroup($U->username,$Grow['groupname']) &&
+ $AG->isAssigned($row['cfgsym'],$Grow['groupname'])) {
+ $showthisabsence=true;
+ if ($A->checkOptions($CONF['A_MGR_ONLY'])) {
+ if ( ($UL->checkUserType($CONF['UTADMIN']) || $UL->checkUserType($CONF['UTDIRECTOR'])) || ($UL->checkUserType($CONF['UTMANAGER']) && $UG->isMemberOfGroup($UL->username,$Grow['groupname'])) ) {
+ $showthisabsence=true;
+ }
+ else {
+ $showthisabsence=false;
+ }
+ }
+ if ( $A->checkOptions($CONF['A_APPROVAL']) ) $approvalNeeded=true;
+ }
+ }
+ if ($showthisabsence && $row['cfgname']!="present") {
+ echo " <option class=\"option\" value=\"".$row['cfgname']."\">".$row['dspname']."</option>\n";
+ }
+ }
+ ?>
+ </select>
+ </td>
+ <td>
+ <?=$LANG['cal_range_to']?></td>
+ <td>
+ <input name="rangeto" id="rangeto" size="10" maxlength="10" type="text" class="text" value="<?php echo $Year."-".$monthno."-".$nofdays; ?>">
+ <img src="themes/<?=$theme?>/img/ico_calendar.png" id="datepicker1" title="<?=$LANG['date_picker']?>" alt="<?=$LANG['date_picker']?>" align="top" onmouseover="return overlib('<?=$LANG['date_picker_tt']?>',<?=$CONF['ovl_tt_settings']?>);" onmouseout="return nd();">
+ <script type="text/javascript">
+ <!--
+ Calendar.setup({
+ inputField : "rangeto", // id of the input field
+ ifFormat : "%Y-%m-%d", // format of the input field
+ date : "<?php echo $Year."-".$monthno."-".$nofdays; ?>",
+ button : "datepicker1", // trigger for the calendar (button ID)
+ align : "Tr", // alignment (defaults to "Bl")
+ firstDay : 1 // First day of week: 1=Monday
+ });
+ -->
+ </script>
+ </td>
+ <td><input name="tuesday" type="checkbox" id="tuesday" value="2"></td>
+ <td><?=$LANG['weekdays_long'][2]?></td>
+ <td><input name="friday" type="checkbox" id="friday" value="5"></td>
+ <td><?=$LANG['weekdays_long'][5]?></td>
+ <td><input name="workdays" type="checkbox" id="workdays" value="workdays" checked="checked"></td>
+ <td><?=$LANG['cal_recurring_workdays']?></td>
+ <td><input type="radio" id="onlyspecialday" name="specialdaymode" value="only"><?=$LANG['cal_special_days_only']?></td>
+ <td>
+ <select name="specialday" id="specialday" class="select">
+ <option class="option" value="">----------</option>
+ <?php
+ $query = "SELECT * FROM `" . $H->table . "` ORDER BY `cfgsym`;";
+ $result = $H->db->db_query($query);
+ while ($row = $H->db->db_fetch_array($result, MYSQL_ASSOC)) {
+ if ($row['cfgsym'] != '0' && $row['cfgsym'] != '1') {
+ echo '<option class="option" value="'.$row['cfgname'].'">'.$row['dspname'].'</option>';
+ }
+ }
+ ?>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3"><?=$LANG['cal_range_hint']?></td>
+ <td><input name="wednesday" type="checkbox" id="wednesday" value="3"></td>
+ <td><?=$LANG['weekdays_long'][3]?></td>
+ <td><input name="saturday" type="checkbox" id="saturday" value="6"></td>
+ <td><?=$LANG['weekdays_long'][6]?></td>
+ <td><input name="weekend" type="checkbox" id="weekend" value="weekend"></td>
+ <td><?=$LANG['cal_recurring_weekend']?></td>
+ <td><input checked="checked" type="radio" name="specialdaymode" value="not"><?=$LANG['cal_special_days_not']?><br></td>
+ <td></td>
+ <script type="text/javascript">
+ <?
+ $mytime = $Month . " 1," . $Year;
+ $myts = strtotime($mytime);
+ $mydate = getdate($myts);
+ ?>
+ </script>
+ <td><input type="button" value="<?=$LANG['btn_apply']?>" class="button" onclick="
+ range_input(<?php echo $nofdays?>,
+ <?php echo intval($mydate['mon'])?>,
+ <?php echo $Year?>,
+ new Array(<?php echo implode(',', $absence_ids)?>),
+ new Array(<?php echo implode(',', $weekday_array)?>),
+ new Array(<?php echo implode(',', $holiday_array)?>),
+ '<?php echo $LANG['cal_range_start'];?>',
+ '<?php echo $LANG['cal_range_within'];?>');"/></td>
+ </tr>
+ </table>
+ <?php printDialogFrameBottom(); ?>
+ </td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top; width: 100%;" colspan="2">
+ <?php printDialogFrameTop($LANG['cal_reason_title'],"0"); ?>
+ <input name="txtReason" id="txtReason" type="text" size="108" maxlength="130" value="<?=$LANG['cal_reason_dummy']?>">
+ <?php printDialogFrameBottom(); ?>
+ </td>
+ </tr>
+ </table>
+ </td>
</tr>
<tr>
<td class="dlg-menu">
- <input name="btn_clear" type="submit" class="button" value="<?=$LANG['btn_clear']?>" onmouseover="this.className='button-over';" onmouseout="this.className='button';" onclick="return confirmSubmit('<?=$LANG['cal_clear_confirm']?>')">
- <input name="btn_apply" type="submit" class="button" value="<?=$LANG['btn_apply']?>" onmouseover="this.className='button-over';" onmouseout="this.className='button';">
<input name="btn_help" type="button" class="button" onclick="javascript:this.blur(); openPopup('help/<?=$CONF['options']['helplang']?>/html/index.html?user_calendar.html','help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,titlebar=0,resizable=0,dependent=1,width=750,height=500');" value="<?=$LANG['btn_help']?>" onmouseover="this.className='button-over';" onmouseout="this.className='button';">
- <input name="btn_close" type="button" class="button" onclick="javascript:window.close();" value="<?=$LANG['btn_close']?>" onmouseover="this.className='button-over';" onmouseout="this.className='button';">
- <input name="btn_done" type="button" class="button" onclick="javascript:closeme();" value="<?=$LANG['btn_done']?>" onmouseover="this.className='button-over';" onmouseout="this.className='button';">
+ <input name="btn_close" type="button" class="button" onclick="javascript:closeme();" value="<?=$LANG['btn_close']?>" onmouseover="this.className='button-over';" onmouseout="this.className='button';">
+ <input name="btn_apply" type="submit" class="button" value="<?=$LANG['btn_apply']?>" onmouseover="this.className='button-over';" onmouseout="this.className='button';">
+ <input name="btn_done" type="button" class="button" onclick="submit();closeme();" value="<?=$LANG['btn_apply']?> & <?=$LANG['btn_close']?>" onmouseover="this.className='button-over';" onmouseout="this.className='button';">
</td>
</tr>
</table>
</form>
-
<?php
require( "includes/footer.html.inc.php" );
}
Gemeinsame Unterverzeichnisse: tcpro_33009/export und tcpro_33009_patched/export.
Gemeinsame Unterverzeichnisse: tcpro_33009/help und tcpro_33009_patched/help.
Gemeinsame Unterverzeichnisse: tcpro_33009/img und tcpro_33009_patched/img.
Gemeinsame Unterverzeichnisse: tcpro_33009/includes und tcpro_33009_patched/includes.
Nur in tcpro_33009: installation.php.
Gemeinsame Unterverzeichnisse: tcpro_33009/sql und tcpro_33009_patched/sql.
Gemeinsame Unterverzeichnisse: tcpro_33009/themes und tcpro_33009_patched/themes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.