summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c79b372)
raw | patch | inline | side by side (parent: c79b372)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 25 May 2005 12:10:07 +0000 (12:10 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 25 May 2005 12:10:07 +0000 (12:10 +0000) |
diff --git a/include/functions.inc b/include/functions.inc
index 8e85fb445633804d815f8a7dce08ed9e3dd15019..f75a34256b055efb869689092661762ca8f99c72 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
/* Draw decrement */
if ($start > 0 ) {
- $output.=" <a href= \"main.php?plug=".validate($_GET['plug'])."&start=".
+ $output.=" <a href= \"main.php?plug=".validate($_GET['plug'])."&start=".
(($start-$range))."\">".
"<img alt=\"\" src=\"images/back.png\" border=0 align=\"middle\"></a>";
}
for ($i= $begin; $i < $end; $i++) {
if ($ppage == $i){
$output.= "<a style=\"background-color:#D0D0D0;\" href=\"main.php?plug=".
- validate($_GET['plug'])."&start=".
+ validate($_GET['plug'])."&start=".
($i*$range)."\"> ".($i+1)." </a>";
} else {
$output.= "<a href=\"main.php?plug=".validate($_GET['plug']).
- "&start=".($i*$range)."\"> ".($i+1)." </a>";
+ "&start=".($i*$range)."\"> ".($i+1)." </a>";
}
}
/* Draw increment */
if($start < ($dcnt-$range)) {
- $output.=" <a href= \"main.php?plug=".validate($_GET['plug'])."&start=".
+ $output.=" <a href= \"main.php?plug=".validate($_GET['plug'])."&start=".
(($start+($range)))."\">".
"<img alt=\"\" src=\"images/forward.png\" border=0 align=\"middle\"></a>";
}
diff --git a/plugins/addons/addressbook/class_addressbook.inc b/plugins/addons/addressbook/class_addressbook.inc
index 6157bd2b66d6147437ca6803360845445da84ede..952e3230d92f256796e3c6d6c9661ab172fc8f83 100644 (file)
isset($attrs['homePhone'][0]) ||
isset($attrs['mail'][0])){
- $this->telephone_list[$attrs['sn'][0].$attrs['dn']]=
- "<td class=\"phonelist\" title=\"".$attrs['sn'][0].", ".$attrs['givenName'][0]."\" onClick='location.href=\"main.php?plug=".validate($_GET['plug'])."&start=".validate($_GET['start'])."&show=".base64_encode($attrs['dn'])."\"'><a href=main.php?plug=".validate($_GET['plug'])."&start=".validate($_GET['start'])."&show=".base64_encode($attrs['dn']).">".$attrs['sn'][0].", ".$attrs['givenName'][0]."</a></td>".
- "<td title=\""._("Dial")." ".$attrs['telephoneNumber'][0]."\"><a href=main.php?plug=".validate($_GET['plug'])."&dial=telephoneNumber&start=".validate($_GET['start'])."&target=".base64_encode($attrs['dn']).">".$attrs['telephoneNumber'][0]."</a></td>".
- "<td title=\"".$attrs['facsimileTelephoneNumber'][0]."\">".$attrs['facsimileTelephoneNumber'][0]."</td>".
- "<td title=\""._("Dial")." ".$attrs['mobile'][0]."\"><a href=main.php?plug=".validate($_GET['plug'])."&dial=mobile&start=".validate($_GET['start'])."&target=".base64_encode($attrs['dn']).">".$attrs['mobile'][0]."</a></td>".
- "<td title=\""._("Dial")." ".$attrs['homePhone'][0]."\"><a href=main.php?plug=".validate($_GET['plug'])."&dial=homePhone&start=".validate($_GET['start'])."&target=".base64_encode($attrs['dn']).">".$attrs['homePhone'][0]."</a></td><td>".
- "<a href=\"getvcard.php?dn=".base64_encode($attrs['dn'])."\">".
- "<img alt=\"\" align=\"top\" border=0 src=\"images/save.png\"".
- "alt=\"vcf\" title=\"".sprintf(_("Save contact for %s as vcard"), $attrs['givenName'][0]." ".$attrs['sn'][0])."\"></a>";
+$this->telephone_list[$attrs['sn'][0].$attrs['dn']]=
+
+"<td class=\"phonelist\" title=\"".$attrs['sn'][0].", ".$attrs['givenName'][0]."\" onClick='location.href=\"main.php?plug=".validate($_GET['plug'])."&start=".validate($_GET['start'])."&show=".base64_encode($attrs['dn'])."\"'><a href=\"main.php?plug=".validate($_GET['plug'])."&start=".validate($_GET['start'])."&show=".base64_encode($attrs['dn'])."\">".$attrs['sn'][0].", ".$attrs['givenName'][0].
+ "</a>
+</td>
+<td title=\""._("Dial")." ".$attrs['telephoneNumber'][0]."\">
+ <a href=\"main.php?plug=".validate($_GET['plug'])."&dial=telephoneNumber&start=".validate($_GET['start'])."&target=".base64_encode($attrs['dn'])."\">".$attrs['telephoneNumber'][0]."
+ </a>
+</td>
+<td title=\"".$attrs['facsimileTelephoneNumber'][0]."\">
+ ".$attrs['facsimileTelephoneNumber'][0]."
+</td>
+<td title=\""._("Dial")." ".$attrs['mobile'][0]."\">
+ <a href=\"main.php?plug=".validate($_GET['plug'])."&dial=mobile&start=".validate($_GET['start'])."&target=".base64_encode($attrs['dn'])."\">".$attrs['mobile'][0]."
+ </a>
+</td>
+<td title=\""._("Dial")." ".$attrs['homePhone'][0]."\">
+ <a href=\"main.php?plug=".validate($_GET['plug'])."&dial=homePhone&start=".validate($_GET['start'])."&target=".base64_encode($attrs['dn'])."\">".$attrs['homePhone'][0]."
+ </a>
+</td>
+<td>
+ <a href=\"getvcard.php?dn=".base64_encode($attrs['dn'])."\">
+ <img align=\"top\" border=0 src=\"images/save.png\" alt=\"vcf\" title=\"".sprintf(_("Save contact for %s as vcard"), $attrs['givenName'][0]." ".$attrs['sn'][0])."\">
+ </a>";
if (isset($attrs['mail'])){
$dest= sprintf(_("Send mail to %s"), $attrs['mail'][0]);
$this->telephone_list[$attrs['sn'][0].$attrs['dn']].=
"<a href=\"mailto:".$attrs['givenName'][0]." ".$attrs['sn'][0]." <".$attrs['mail'][0].">\">".
- "<img alt=\"\" align=\"top\" border=0 src=\"images/mailto.png\"".
+ "<img align=\"top\" border=0 src=\"images/mailto.png\"".
"alt=\"vcf\" title=\"$dest\"></a>";
}
$this->telephone_list[$attrs['sn'][0].$attrs['dn']].= "</td>";
$name == "homePhone" ||
$name == "telephoneNumber"){
$smarty->assign("info_$name",
- "<a title=\""._("Dial")." ".$info["$name"][0]."\" href=main.php?plug=".validate($_GET['plug'])."&dial=$name&start=".validate($_GET['start'])."&target=".base64_encode($_SESSION['show_info']).">".$info["$name"][0]."</a>");
+ "<a title=\""._("Dial")." ".$info["$name"][0]."\" href=\"main.php?plug=".validate($_GET['plug'])."&dial=$name&start=".validate($_GET['start'])."&target=".base64_encode($_SESSION['show_info'])."\">".$info["$name"][0]."</a>");
} else {
$smarty->assign("info_$name", preg_replace("/\n/", "<br>", $info["$name"][0]));
}
} else {
$col= "style=\"background-color: #F5F5F5;\"";
}
- $output.= "<tr $col>$val</tr>";
+ $output.= "<tr $col>\n$val</tr>\n";
}
$smarty->assign("search_result", $output);
$smarty->assign("apply", apply_filter());
diff --git a/plugins/admin/systems/class_terminalStartup.inc b/plugins/admin/systems/class_terminalStartup.inc
index 3e2af4bfe464b646e2cc0eb2f542aa0acbb661b0..ed905e093e1d5f109a03b5051ccee131061976d6 100644 (file)
/* Add missing arrays */
foreach (array("gotoFilesystem", "gotoAutoFs", "gotoModules") as $val){
if (isset ($this->$val) && count ($this->$val) != 0){
+
$this->attrs["$val"]= array_unique($this->$val);
}
}
index 6329537d8742ed331d085fb80c6e37ce90162f97..e9f76b1e4d52306edeef71f879be5329846760a2 100644 (file)
</table>
</td>
- </t
+ </tr>
</table>
<table style="width:100%;">
index 2dd1eb60a958bc1cf3cad43783a30cfd94089a60..2d1427fd3d1c896d0dc215ef49d7ac98f0540c3b 100644 (file)
<h2>
<img alt="" align="middle" src="images/zip.png"> {t}Automount devices (format: complete autofs entry){/t}
</h2>
- <select style="width:100%; height:100px;" name="autofs_list[]" size=15 multiple title="{t}Add additional automount entries{/t}">
+ <select style="width:100%; height:100px;" name="autofs_list[]" size=15 multiple title='{t}Add additional automount entries{/t}'>
{html_options values=$gotoAutoFs output=$gotoAutoFs}
</select>
<br>
- <input name="autofs" size=30 align=middle maxlength=80 {$gotoAutoFs}>
- <input type=submit value="{t}Add{/t}" name="add_autofs" {$gotoAutoFs}>
- <input type=submit value="{t}Delete{/t}" name="delete_autofs" {$gotoAutoFs}>
+ <input name="autofs" size=30 align=middle maxlength=80>
+ <input type=submit value="{t}Add{/t}" name="add_autofs">
+ <input type=submit value="{t}Delete{/t}" name="delete_autofs">
</td>
</tr>
</table>