]> git.mxchange.org Git - friendica.git/commitdiff
openid settings appearing when disabled, don't tag numbers, install admin not getting set
authorFriendika <info@friendika.com>
Wed, 13 Jul 2011 06:14:38 +0000 (23:14 -0700)
committerFriendika <info@friendika.com>
Wed, 13 Jul 2011 06:14:38 +0000 (23:14 -0700)
boot.php
mod/install.php
mod/settings.php
view/install_db.tpl
view/settings.tpl

index 88d72dec38362d116b9660b74cf36609322039cb..5f0898a5371b1f6a2ef80142fac20541bce4fb3d 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -4,7 +4,7 @@ set_time_limit(0);
 ini_set('pcre.backtrack_limit', 250000);
 
 
-define ( 'FRIENDIKA_VERSION',      '2.2.1038' );
+define ( 'FRIENDIKA_VERSION',      '2.2.1039' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.21'    );
 define ( 'DB_UPDATE_VERSION',      1075      );
 
@@ -2058,6 +2058,9 @@ function get_tags($s) {
                                // we might be inside a bbcode color tag - leave it alone
                                continue;
                        }
+                       // ignore strictly numeric tags like #1
+                       if((strpos($mtch,'#') === 0) && ctype_digit(substr($mtch,1)))
+                               continue;
                        if(substr($mtch,-1,1) === '.')
                                $ret[] = substr($mtch,0,-1);
                        else
index 301630528b8bccf3d5e62c704268d68935ddf45d..970ff6af8f09ccfdbf3f171181f58054f18217a6 100644 (file)
@@ -140,7 +140,7 @@ function install_content(&$a) {
                '$dbpass' => notags(trim($_POST['dbpass'])),
                '$dbdata' => notags(trim($_POST['dbdata'])),
                '$phpath' => $phpath,
-               '$adminemail' => notags(trim($_POST['adminemail']))
+               '$adminmail' => notags(trim($_POST['adminmail']))
        ));
 
        return $o;
index 844b06a715df5c42a6d39d776eeed7ca59adf8ef..1b4098de8f6c1c6b929bfd00785df79d1a63b4b7 100644 (file)
@@ -490,6 +490,7 @@ function settings_content(&$a) {
                '$h_pass'       => t('Password Settings'),
                '$password1'=> array('npassword', t('New Password:'), '', ''),
                '$password2'=> array('confirm', t('Confirm:'), '', t('Leave password fields blank unless changing')),
+               '$oid_enable' => (! get_config('system','no_openid')),
                '$openid'       => $openid_field,
                
                '$h_basic'      => t('Basic Settings'),
index 6a4d1e2a247db83a5bd1758270855f770a0d39a9..ff4e11ab160c5b433c782cb6c50ca483afcceaea 100644 (file)
@@ -27,7 +27,7 @@ $lbl_03 $lbl_04 $lbl_05
 <div id="install-dbdata-end"></div>
 
 <label for="install-admin" id="install-admin-label">$lbl_11</label>
-<input type="text" name="adminemail" id="install-admin"  value="$adminemail" />
+<input type="text" name="adminmail" id="install-admin"  value="$adminmail" />
 <div id="install-admin-end"></div>
 
 <div id="install-tz-desc">
index fb35c8e45d823404242129e6693a87815c8dc53a..b79fbfe43c3e8df72ae7bba903b95aa00d75d211 100644 (file)
@@ -15,8 +15,9 @@ $nickname_block
 {{inc field_password.tpl with $field=$password1 }}{{endinc}}
 {{inc field_password.tpl with $field=$password2 }}{{endinc}}
 
+{{ if $oid_enable }}
 {{inc field_input.tpl with $field=$openid }}{{endinc}}
-
+{{ endif }}
 
 <div class="settings-submit-wrapper" >
 <input type="submit" name="submit" class="settings-submit" value="$submit" />