Selaa lähdekoodia

postcode displaid in uper case with a space (in sign up email)

master
memespring 17 vuotta sitten
vanhempi
commit
9dba4f6f59
9 muutettua tiedostoa jossa 26 lisäystä ja 10 poistoa
  1. +1
    -1
      data/%%3A^3A4^3A4E0A75%%checkmail.tpl.php
  2. +1
    -1
      data/%%45^45E^45E480CD%%index.tpl.php
  3. +1
    -1
      data/%%A4^A42^A42CC6E6%%confirm_email_text.tpl.php
  4. +1
    -1
      data/%%AD^AD7^AD71B708%%rss.tpl.php
  5. +1
    -1
      data/%%D2^D26^D26D8BFE%%xml.tpl.php
  6. +2
    -2
      data/%%F7^F7F^F7F34188%%header.tpl.php
  7. +1
    -1
      docs/confirmed.php
  8. +17
    -1
      docs/include/scraper_support.php
  9. +1
    -1
      docs/include/user.php

+ 1
- 1
data/%%3A^3A4^3A4E0A75%%checkmail.tpl.php Näytä tiedosto

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-01-07 11:04:37
<?php /* Smarty version 2.6.16, created on 2007-06-09 16:07:33
compiled from checkmail.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));


+ 1
- 1
data/%%45^45E^45E480CD%%index.tpl.php Näytä tiedosto

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-04-09 19:25:37
<?php /* Smarty version 2.6.16, created on 2007-06-09 16:07:02
compiled from index.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));


+ 1
- 1
data/%%A4^A42^A42CC6E6%%confirm_email_text.tpl.php Näytä tiedosto

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-01-07 11:04:37
<?php /* Smarty version 2.6.16, created on 2007-06-09 16:07:32
compiled from confirm_email_text.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'textformat', 'confirm_email_text.tpl', 1, false),)), $this); ?>


+ 1
- 1
data/%%AD^AD7^AD71B708%%rss.tpl.php Näytä tiedosto

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-04-21 12:06:10
<?php /* Smarty version 2.6.16, created on 2007-04-25 09:44:13
compiled from rss.tpl */ ?>
<?php echo '<?xml'; ?>
version="1.0" encoding="UTF-8"<?php echo '?>'; ?>


+ 1
- 1
data/%%D2^D26^D26D8BFE%%xml.tpl.php Näytä tiedosto

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-04-04 21:36:10
<?php /* Smarty version 2.6.16, created on 2007-05-22 18:21:22
compiled from xml.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'xml.tpl', 6, false),)), $this); ?>


+ 2
- 2
data/%%F7^F7F^F7F34188%%header.tpl.php Näytä tiedosto

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-04-09 19:25:37
<?php /* Smarty version 2.6.16, created on 2007-06-09 16:07:33
compiled from header.tpl */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
@@ -22,7 +22,7 @@
<div id="divMenu">
<ul class="collapse">
<li <?php if ($this->_tpl_vars['menu_item'] == 'about'): ?>class="selected"<?php endif; ?>><a href="about.php">About</a></li>
<li <?php if ($this->_tpl_vars['menu_item'] == 'api'): ?>class="selected"<?php endif; ?>><a href="api.php?howto">API</a></li>
<li <?php if ($this->_tpl_vars['menu_item'] == 'api'): ?>class="selected"<?php endif; ?>><a href="apihowto.php">API</a></li>

<li <?php if ($this->_tpl_vars['menu_item'] == 'getinvolved'): ?>class="selected"<?php endif; ?>><a href="getinvolved.php">Get involved</a></li>
<li <?php if ($this->_tpl_vars['menu_item'] == 'faq'): ?>class="selected"<?php endif; ?>><a href="faq.php"><acronym title="Frequently asked questions">FAQ</acronym>s</a></li>


+ 1
- 1
docs/confirmed.php Näytä tiedosto

@@ -61,7 +61,7 @@ class confirmed_page {
$smarty->assign("menu_item", "signup");
$smarty->assign("page_title","Confirmed");
$smarty->assign("form_action", $form_action);
$smarty->assign("postcode", $this->postcode);
$smarty->assign("postcode", clean_postcode($this->postcode));
$smarty->assign("alert_area_size", $this->alert_area_size);

//Render


+ 17
- 1
docs/include/scraper_support.php Näytä tiedosto

@@ -236,6 +236,22 @@ function scrape_applications_islington ($search_url, $info_url_base, $comment_ur
}
return $valid;
}

function clean_postcode ($postcode, $upper = true) {

$reg = array();
$postcode = trim($postcode);
preg_match('/^(.+?)([0-9][a-z]{2})$/',$postcode, $reg);
$clean_postcode = trim($reg[1]) . ' ' . trim($reg[2]);
if($upper){
$clean_postcode = strtoupper($clean_postcode);
}
return $clean_postcode;
}
//Tiny url
function tiny_url($url,$length=30){
@@ -344,7 +360,7 @@ function scrape_applications_islington ($search_url, $info_url_base, $comment_ur
}
function safe_scrape_page($url, $method = "GET"){
error_log(print_r($url, true));
$page = "";
for ($i=0; $i < 3; $i++){
if($page == false){


+ 1
- 1
docs/include/user.php Näytä tiedosto

@@ -47,7 +47,7 @@
$smarty->compile_dir = SMARTY_COMPILE_DIRECTORY;
$smarty->assign("email", $this->email);
$smarty->assign("postcode", $this->postcode);
$smarty->assign("postcode", clean_postcode($this->postcode));
$smarty->assign("url", BASE_URL . "/confirmed.php?cid=" . $this->confirm_id);
//Get the email text


Ladataan…
Peruuta
Tallenna