} else {
echo '<em>'._("none installed")."</em>\n\n";
}
+
?>
</small>
<br /><br />
}
}
+
?>
-</body></html>
+</body></html>
\ No newline at end of file
exit();
}
-
$defdata = array();
$formerror = '';
$abortform = false;
$abortform = true;
list($ebackend, $enick) = explode(':', $sel[0]);
$olddata = $abook->lookup($enick, $ebackend);
+ // FIXME: Test if $olddata really contains anything and return an error message if it doesn't
/* Display the "new address" form */
abook_create_form($form_url,'editaddr',_("Update address"),_("Update address"),$olddata);
if (!$r) {
/* Display error */
echo html_tag( 'table',
- html_tag( 'tr',
- html_tag( 'td',
- "\n". '<strong><font color="' . $color[2] .
- '">' . _("ERROR") . ': ' . $abook->error . '</font></strong>' ."\n",
- 'center' )
- ),
- 'center', '', 'width="100%"' );
+ html_tag( 'tr',
+ html_tag( 'td',
+ "\n". '<strong><font color="' . $color[2] .
+ '">' . _("ERROR") . ': ' . $abook->error . '</font></strong>' ."\n",
+ 'center' )
+ ),
+ 'center', '', 'width="100%"' );
/* Display the "new address" form again */
abook_create_form($form_url,'editaddr',_("Update address"),_("Update address"),$newdata);
}
// Print backend name
- echo html_tag( 'tr',
+ echo html_tag( 'tr',
html_tag( 'td', "\n" . '<strong>' . $row['source'] . '</strong>' . "\n", 'center', $color[0] ,'colspan="5"' )
);
echo "<!-- start of addressbook_bottom hook-->\n";
do_hook('addressbook_bottom');
echo "\n<!-- end of addressbook_bottom hook-->\n";
+
?>
</body></html>
\ No newline at end of file
require_once(SM_PATH . 'functions/display_messages.php');
require_once(SM_PATH . 'class/deliver/Deliver.class.php');
require_once(SM_PATH . 'functions/addressbook.php');
-require_once(SM_PATH . 'functions/identity.php');
require_once(SM_PATH . 'functions/forms.php');
+require_once(SM_PATH . 'functions/identity.php');
/* --------------------- Get globals ------------------------------------- */
/** COOKIE VARS */
return $succes;
}
-// vim: et ts=4
-?>
+?>
\ No newline at end of file
}
}
}
+
?>
<p>Congratulations, your SquirrelMail setup looks fine to me!</p>
<?php
+
/**
* delete_message.php
*
global $color;
error_box('delete_message.php script is obsolete since 1.5.1.',$color);
+
?>
</body></html>
\ No newline at end of file
mime_print_body_lines ($imapConnection, $passed_id, $ent_id, $encoding);
$mailbox_cache[$aMailbox['NAME']] = $aMailbox;
sqsession_register($mailbox_cache,'mailbox_cache');
+
?>
\ No newline at end of file
do_hook('folders_bottom');
sqimap_logout($imapConnection);
+
?>
</td></tr>
</table>
echo html_tag( 'tr',
html_tag( 'td', ' ', 'left', $color[0] )
);
+
?>
</table></body></html>
\ No newline at end of file
$DownloadLink = '../src/download.php?passed_id=' . $passed_id .
'&mailbox=' . urlencode($mailbox) .
'&ent_id=' . urlencode($ent_id) . '&absolute_dl=true';
+
?>
</b></td></tr>
<tr><td align="center">
addHidden('js_autodetect_results', SMPREF_JS_OFF).
$rcptaddress .
addHidden('just_logged_in', '1'),
- 'left', '', 'width="*"' )
- ) ,
- 'center', $color[4], 'border="0" width="100%"' ) ,
- 'left', $color[4] )
- ) .
- html_tag( 'tr',
- html_tag( 'td',
- '<center>'. addSubmit(_("Login")) .'</center>',
- 'left' )
- ),
- '', $color[4], 'border="0" width="350"' ) . '</center>',
- 'center' )
- ) ,
-'', $color[4], 'border="0" cellspacing="0" cellpadding="0" width="100%"' );
+ 'left', '', 'width="*"' )
+ ) ,
+ 'center', $color[4], 'border="0" width="100%"' ) ,
+ 'left', $color[4] )
+ ) .
+ html_tag( 'tr',
+ html_tag( 'td',
+ '<center>'. addSubmit(_("Login")) .'</center>',
+ 'left' )
+ ),
+ '', $color[4], 'border="0" width="350"' ) . '</center>',
+ 'center' )
+ ) ,
+ '', $color[4], 'border="0" cellspacing="0" cellpadding="0" width="100%"' );
do_hook('login_form');
echo '</form>' . "\n";
do_hook('login_bottom');
+
?>
</body></html>
\ No newline at end of file
session_write_close();
header('Location: ' . get_location() . '/' . $redirect);
+
?>
\ No newline at end of file
do_hook($bottom_hook_name);
}
}
+
?>
</td></tr>
</table>
echo "</form>\n";
}
do_hook('options_highlight_bottom');
+
?>
</table></body></html>
\ No newline at end of file
return ($return_val);
}
+
?>
\ No newline at end of file
} /* end pf_clean_string() function */
/* --end pf-specific functions */
+
?>
\ No newline at end of file
. '" name="bottom_frame" frameborder="0" />' . "\n";
echo "</frameset>\n";
}
+
?>
</html>
\ No newline at end of file
'<input type="button" value="' . _("Close") . '" onclick="window.parent.close()" />'.
'</form>',
'right' );
+
?>
</body></html>
\ No newline at end of file
*/
$mailbox_cache[$iAccount.'_'.$aMailbox['NAME']] = $aMailbox;
sqsession_register($mailbox_cache,'mailbox_cache');
+
?>
</body></html>
\ No newline at end of file
<?php
+
/**
* right_main.php
*
sqimap_logout($imapConnection);
echo '</body></html>';
sqsession_register($mailbox_cache,'mailbox_cache');
+
?>
\ No newline at end of file
html_tag( 'td', '<br />', 'center' ) ,
'', $color[0] ) ,
'center', $color[4], 'width="50%" cellpadding="2" cellspacing="0" border="0"' )
+
?>
</body>
</html>
\ No newline at end of file
<?php
+
/**
* $Source$
* Displays html message parts
/** TODO: charset might be part of html code. */
header('Content-Type: text/html; charset=' . $charset);
echo $body;
+
?>
\ No newline at end of file
$startMessage = (int) $startMessage;
}
-if (!sqgetGlobalVar('mailbox',$mailbox)) {
+if (!sqgetGlobalVar('mailbox', $mailbox)) {
$mailbox = 'INBOX';
}
$output = $ret;
}
echo $output;
+
?>
</frameset>
</html>
\ No newline at end of file