]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #172 from fabrixxm/master
authorfriendica <info@friendica.com>
Mon, 26 Mar 2012 09:00:14 +0000 (02:00 -0700)
committerfriendica <info@friendica.com>
Mon, 26 Mar 2012 09:00:14 +0000 (02:00 -0700)
Rearrange theme tpls

18 files changed:
include/enotify.php
view/contact_edit.tpl [changed mode: 0755->0644]
view/theme/clean/screenshot.jpg [new file with mode: 0644]
view/theme/comix/screenshot.jpg [new file with mode: 0644]
view/theme/darkness/screenshot.jpg [new file with mode: 0644]
view/theme/diabook-blue/communityhome.tpl
view/theme/diabook-blue/screenshot.png [new file with mode: 0644]
view/theme/diabook/communityhome.tpl
view/theme/diabook/icons/expand.png [new file with mode: 0755]
view/theme/diabook/screenshot.jpg [deleted file]
view/theme/diabook/screenshot.png [new file with mode: 0644]
view/theme/diabook/style-network.css
view/theme/diabook/theme.php
view/theme/goldenrod/screenshot.jpg [new file with mode: 0644]
view/theme/loozah/screenshot.jpg [new file with mode: 0644]
view/theme/purplezero/screenshot.jpg [new file with mode: 0644]
view/theme/shady/screenshot.jpg [new file with mode: 0644]
view/theme/three-d/screenshot.jpg [new file with mode: 0644]

index 1918f26df3e2e02f523a81e222fbe29e00bbdf02..8385bdec59dac7a8b332df5112f48841e8dfa170 100755 (executable)
@@ -5,6 +5,12 @@ function notification($params) {
        logger('notification: entry', LOGGER_DEBUG);
 
        $a = get_app();
+
+       // from here on everything is in the recipients language
+
+       push_lang($params['language']);
+
+
        $banner = t('Friendica Notification');
        $product = FRIENDICA_PLATFORM;
        $siteurl = z_path();
@@ -180,9 +186,6 @@ function notification($params) {
        $hsitelink = $h['hsitelink'];
        $itemlink  = $h['itemlink']; 
 
-       // from here on everything is in the recipients language
-
-       push_lang($params['language']);
 
        require_once('include/html2bbcode.php');        
 
@@ -234,8 +237,10 @@ function notification($params) {
        );
        if($r)
                $notify_id = $r[0]['id'];
-       else
+       else {
+               pop_lang();
                return;
+       }
 
        $itemlink = $a->get_baseurl() . '/notify/view/' . $notify_id;
        $msg = replace_macros($epreamble,array('$itemlink' => $itemlink));
@@ -246,7 +251,6 @@ function notification($params) {
        );
                
 
-
        // send email notification if notification preferences permit
 
        require_once('bbcode.php');
old mode 100755 (executable)
new mode 100644 (file)
index fc1a3d4..417578a
@@ -63,7 +63,7 @@
 
 <div id="contact-edit-info-wrapper">
 <h4>$lbl_info1</h4>
-       <textarea id="contact-edit-info" rows=8 cols=72 name="info" >$info</textarea>
+       <textarea id="contact-edit-info" rows="8" cols="60" name="info">$info</textarea>
        <input class="contact-edit-submit" type="submit" name="submit" value="$submit" />
 </div>
 <div id="contact-edit-info-end"></div>
diff --git a/view/theme/clean/screenshot.jpg b/view/theme/clean/screenshot.jpg
new file mode 100644 (file)
index 0000000..8d9d772
Binary files /dev/null and b/view/theme/clean/screenshot.jpg differ
diff --git a/view/theme/comix/screenshot.jpg b/view/theme/comix/screenshot.jpg
new file mode 100644 (file)
index 0000000..5ad46cd
Binary files /dev/null and b/view/theme/comix/screenshot.jpg differ
diff --git a/view/theme/darkness/screenshot.jpg b/view/theme/darkness/screenshot.jpg
new file mode 100644 (file)
index 0000000..aec866e
Binary files /dev/null and b/view/theme/darkness/screenshot.jpg differ
index 5bae06178884e7e153a75b0c0aefa8d63521baa1..f1714a436bb1e973430b2ceeb1950a1914b8ee7e 100755 (executable)
@@ -2,6 +2,7 @@
 <h3 style="margin-top:0px;">Help or @NewHere ?</h3>
 <a href="https://helpers.pyxis.uberspace.de/profile/helpers" style="margin-left: 10px; " title="Friendica Support" target="blank">Friendica Support</a><br>
 <a href="https://letstalk.pyxis.uberspace.de/profile/letstalk" style="margin-left: 10px; " title="Let's talk" target="blank">Let's talk</a><br>
+<a href="http://newzot.hydra.uberspace.de/profile/newzot" title="Local Friendica" style="margin-left: 10px; " target="blank">Local Friendica</a>
 <a href="http://kakste.com/profile/newhere" title="#NewHere" style="margin-left: 10px; " target="blank">NewHere</a>
 {{ endif }}
 
diff --git a/view/theme/diabook-blue/screenshot.png b/view/theme/diabook-blue/screenshot.png
new file mode 100644 (file)
index 0000000..b1c8902
Binary files /dev/null and b/view/theme/diabook-blue/screenshot.png differ
index 1ba9ad081a610f759a7ae5b30c19351ba9c655e0..23c26c91009895b510e76fc4ed5dcac3b49daa9e 100755 (executable)
@@ -2,7 +2,8 @@
 <h3 style="margin-top:0px;">Help or @NewHere ?</h3>
 <a href="https://helpers.pyxis.uberspace.de/profile/helpers" style="margin-left: 10px; " title="Friendica Support" target="blank">Friendica Support</a><br>
 <a href="https://letstalk.pyxis.uberspace.de/profile/letstalk" style="margin-left: 10px; " title="Let's talk" target="blank">Let's talk</a><br>
-<a href="http://kakste.com/profile/newhere" title="#NewHere" style="margin-left: 10px; " target="blank">NewHere</a>
+<a href="http://newzot.hydra.uberspace.de/profile/newzot" title="Local Friendica" style="margin-left: 10px; " target="blank">Local Friendica</a>
+<a href="http://kakste.com/profile/newhere" title="@NewHere" style="margin-left: 10px; " target="blank">NewHere</a>
 {{ endif }}
 
 {{ if $lastusers_title }}
diff --git a/view/theme/diabook/icons/expand.png b/view/theme/diabook/icons/expand.png
new file mode 100755 (executable)
index 0000000..a46e88e
Binary files /dev/null and b/view/theme/diabook/icons/expand.png differ
diff --git a/view/theme/diabook/screenshot.jpg b/view/theme/diabook/screenshot.jpg
deleted file mode 100644 (file)
index abc31e3..0000000
Binary files a/view/theme/diabook/screenshot.jpg and /dev/null differ
diff --git a/view/theme/diabook/screenshot.png b/view/theme/diabook/screenshot.png
new file mode 100644 (file)
index 0000000..2826f42
Binary files /dev/null and b/view/theme/diabook/screenshot.png differ
index 00856c8d2adcf05c7779eb8f8f01e6481c0b8048..ba43c78c258ab09fbc0ddcd05df32e6b0f338e86 100644 (file)
 .icon.language    { background-image: url("../../../view/theme/diabook/icons/language.png");}
 
 
+
 .camera        { background-image: url("../../../view/theme/diabook/icons/camera.png"); 
                          display: block; width: 28px; height: 28px; background-repeat: no-repeat;
                          }
@@ -1169,6 +1170,12 @@ right_aside #lastusers-wrapper { padding-left: 6px; padding-top: 3px; overflow:
 right_aside #ra-photos-wrapper { padding-left: 5px; padding-top: 3px; overflow: auto;  width: 100%; }
 #page-sidebar-right_aside{margin-top: 30px;}
 #page-sidebar-right_aside ul {margin-top: 0px;}
+.icon.expand           { 
+               background-image: url("../../../view/theme/diabook/icons/expand.png");
+               float: right;
+               cursor: pointer;
+               }
+
 /* wall item */
 .tread-wrapper {
   border-bottom: 1px solid #D2D2D2;
index e4af9d3f3cab683770a9a471389cc2d47bf39f65..8064fb7e741895a684b19b1cc9f02aca6441c343 100755 (executable)
@@ -251,9 +251,7 @@ $a->page['htmlhead'] .= <<< EOT
  $(function() {
        $('a.lightbox').fancybox(); // Select all links with lightbox class
  });
+  
  </script>
 EOT;
 
diff --git a/view/theme/goldenrod/screenshot.jpg b/view/theme/goldenrod/screenshot.jpg
new file mode 100644 (file)
index 0000000..357e00a
Binary files /dev/null and b/view/theme/goldenrod/screenshot.jpg differ
diff --git a/view/theme/loozah/screenshot.jpg b/view/theme/loozah/screenshot.jpg
new file mode 100644 (file)
index 0000000..41d6929
Binary files /dev/null and b/view/theme/loozah/screenshot.jpg differ
diff --git a/view/theme/purplezero/screenshot.jpg b/view/theme/purplezero/screenshot.jpg
new file mode 100644 (file)
index 0000000..c1d346b
Binary files /dev/null and b/view/theme/purplezero/screenshot.jpg differ
diff --git a/view/theme/shady/screenshot.jpg b/view/theme/shady/screenshot.jpg
new file mode 100644 (file)
index 0000000..79a9162
Binary files /dev/null and b/view/theme/shady/screenshot.jpg differ
diff --git a/view/theme/three-d/screenshot.jpg b/view/theme/three-d/screenshot.jpg
new file mode 100644 (file)
index 0000000..c3f8e85
Binary files /dev/null and b/view/theme/three-d/screenshot.jpg differ