Community Page
- www.mikkolehtinen.com/ Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- When listing your certificates make sure you'll see the line: "Entry type: keyEntry Certificate chain length: 1" I was recently missing private key in my keystore, so I was getting...
- Thanks for the link! Glad to be of help.
- I also found TheIphoneDevPlace.com to be very useful
- So for example: if (in_array('admin', $user->roles)) : ?> do stuff for admin
- Changed a little for multisite breadcrumbs and language codes. Thank You :-) <code> function phptemplate_breadcrumb($breadcrumb) { $site = $_SERVER["HTTP_HOST"]; $language =...
8 months ago
function phptemplate_breadcrumb($breadcrumb) {
$site = $_SERVER["HTTP_HOST"];
$language = explode('/',$_REQUEST['q']);
if (($site == 'myswissdomain.ch' && $language[0] == 'fr') || ($site == 'www.myswissdomain.ch' && $language[0] == 'fr')){ $home = 'd’accueil'; }
else {$home = 'Home';}
$sep = ' » ';
$breadcrumb[0] = l(t($home), '');
return ''.implode($sep, $breadcrumb).'';
}