diff options
Diffstat (limited to 'view/it')
-rw-r--r-- | view/it/cropbody.tpl | 57 | ||||
-rw-r--r-- | view/it/head.tpl | 32 | ||||
-rw-r--r-- | view/it/intros-top.tpl | 7 | ||||
-rw-r--r-- | view/it/profile.php | 72 | ||||
-rw-r--r-- | view/it/registrations-top.tpl | 3 | ||||
-rw-r--r-- | view/it/settings_nick_unset.tpl | 15 |
6 files changed, 0 insertions, 186 deletions
diff --git a/view/it/cropbody.tpl b/view/it/cropbody.tpl deleted file mode 100644 index fe072f0b5..000000000 --- a/view/it/cropbody.tpl +++ /dev/null @@ -1,57 +0,0 @@ -<h1>Ritaglia Immagine</h1> -<p id="cropimage-desc"> -Sistema il ritaglio dell'immagine per una visualizzazione ottimale. -</p> -<div id="cropimage-wrapper"> -<img src="$image_url" id="croppa" class="imgCrop" alt="" /> -</div> -<div id="cropimage-preview-wrapper" > -<div id="previewWrap" ></div> -</div> - -<script type="text/javascript" language="javascript"> - - function onEndCrop( coords, dimensions ) { - $( 'x1' ).value = coords.x1; - $( 'y1' ).value = coords.y1; - $( 'x2' ).value = coords.x2; - $( 'y2' ).value = coords.y2; - $( 'width' ).value = dimensions.width; - $( 'height' ).value = dimensions.height; - } - - Event.observe( window, 'load', function() { - new Cropper.ImgWithPreview( - 'croppa', - { - previewWrap: 'previewWrap', - minWidth: 175, - minHeight: 175, - maxWidth: 640, - maxHeight: 640, - ratioDim: { x: 100, y:100 }, - displayOnInit: true, - onEndCrop: onEndCrop - } - ); - } - ); - -</script> - -<form action="profile_photo/$resource" id="crop-image-form" method="post" /> - -<input type="hidden" name="imagename" value="$hash" /> -<input type="hidden" name="cropfinal" value="1" /> -<input type="hidden" name="xstart" id="x1" /> -<input type="hidden" name="ystart" id="y1" /> -<input type="hidden" name="xfinal" id="x2" /> -<input type="hidden" name="yfinal" id="y2" /> -<input type="hidden" name="height" id="height" /> -<input type="hidden" name="width" id="width" /> - -<div id="crop-image-submit-wrapper" > -<input type="submit" name="submit" value="Fatto" /> -</div> - -</form> diff --git a/view/it/head.tpl b/view/it/head.tpl deleted file mode 100644 index 8e4e0ccd7..000000000 --- a/view/it/head.tpl +++ /dev/null @@ -1,32 +0,0 @@ -<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> -<base href="$baseurl" /> -<meta name="generator" content="$generator" /> -<link rel="stylesheet" type="text/css" href="$stylesheet" media="all" /> -<link rel="shortcut icon" href="$baseurl/images/friendika-32.png" /> - -<!--[if IE]> -<script type="text/javascript" src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> -<![endif]--> -<script type="text/javascript" src="$baseurl/include/jquery.js" ></script> -<script type="text/javascript" src="$baseurl/include/main.js" ></script> -<script> - - function confirmDelete() { return confirm("Cancellare questo elemento?"); } - function commentOpen(obj,id) { - if(obj.value == 'Comment') { - obj.value = ''; - obj.className = "comment-edit-text-full"; - openMenu("comment-edit-submit-wrapper-" + id); - } - } - function commentClose(obj,id) { - if(obj.value == '') { - obj.value = 'Comment'; - obj.className="comment-edit-text-empty"; - closeMenu("comment-edit-submit-wrapper-" + id); - } - } - -</script> - - diff --git a/view/it/intros-top.tpl b/view/it/intros-top.tpl deleted file mode 100644 index d096dcfb8..000000000 --- a/view/it/intros-top.tpl +++ /dev/null @@ -1,7 +0,0 @@ -<h1>Notifiche di Amicizia/Collegamento in Attesa</h1> - -<div id="notification-show-hide-wrapper" > -<a href="$hide_url" id="notification-show-hide-link">$hide_text</a> -</div> - - diff --git a/view/it/profile.php b/view/it/profile.php deleted file mode 100644 index 5ecffb3a5..000000000 --- a/view/it/profile.php +++ /dev/null @@ -1,72 +0,0 @@ -<!DOCTYPE html ><?php // This is a perfect example of why I prefer to use template files rather than mixed PHP/HTML ?> -<html> -<head> - <title><?php if(x($page,'title')) echo $page['title']; ?></title> - <?php if(x($page,'htmlhead')) echo $page['htmlhead']; ?> -</head> -<body> -<header><?php if(x($page,'header')) echo $page['header']; ?></header> -<nav><div id="top-margin"></div><?php if(x($page,'nav')) echo $page['nav']; ?></nav> -<aside> -<?php if((is_array($profile)) && count($profile)) { ?> -<div class="vcard"> - <?php if(strlen($profile['name'])) { ?> - <div class="fn"><?php echo $profile['name']; ?></div> - <?php } ?> - - <?php if(strlen($profile['photo'])) { ?> - <div id="profile-photo-wrapper"><img class="photo" src="<?php echo $profile['photo']; ?>" alt="<?php echo $profile['name']; ?>" /></div> - <?php } ?> - - <div id="profile-extra-links"> - <ul> - <?php if($profile['uid'] != $_SESSION['uid']) { ?> - <li><a id="dfrn-request-link" href="dfrn_request/<?php echo $profile['nickname']; ?>">Connetti</a></li> - <?php } ?> - </ul> - - </div> - - <?php if ( (strlen($profile['address'])) - || (strlen($profile['locality'])) - || (strlen($profile['region'])) - || (strlen($profile['postal-code'])) - || (strlen($profile['country-name']))) { ?> - <div class="location">Location: - <div class="adr"> - <div class="street-address"><?php if(strlen($profile['address'])) echo $profile['address']; ?></div> - <span class="city-state-zip"><span class="locality"><?php echo $profile['locality']; ?></span><?php if(strlen($profile['locality'])) echo ', '; ?><span class="region"><?php echo $profile['region'] ?></span><?php if(strlen($profile['postal-code'])) { ?> <span class="postal-code"><?php echo $profile['postal-code']; ?></span><?php } ?></span> - <span class="country-name"><?php echo $profile['country-name']; ?></span> - </div> - </div> - - <?php } ?> - - <?php if(strlen($profile['gender'])) { ?> - <div class="mf">Gender: <span class="x-gender"><?php echo $profile['gender']; ?></span></div> - - <?php } ?> - - <?php if(strlen($profile['pubkey'])) { ?> - <div class="key" style="display: none;"><?php echo $profile['pubkey']; ?></div> - <?php } ?> -</div> -<?php } ?> -<?php if(strlen($profile['marital'])) { ?> -<div class="marital"><span class="marital-label"><span class="heart">♥</span> Status: </span><span class="marital-text"><?php echo $profile['marital']; ?></span></div> -<?php } ?> -<?php if(strlen($profile['homepage'])) { ?> -<div class="homepage"><span class="homepage-label">Homepage: </span><span class="homepage-url"><?php echo linkify($profile['homepage']); ?></span></div> -<?php } ?> -<?php if(x($page,'aside')) echo $page['aside'] ?> -</aside> -<section> -<?php if(x($page,'content')) echo $page['content']; ?> -<div id="page-footer"></div> -</section> -<footer> -<?php if(x($page,'footer')) echo $page['footer']; ?> -</footer> -</body> -</html> - diff --git a/view/it/registrations-top.tpl b/view/it/registrations-top.tpl deleted file mode 100644 index 8134aa210..000000000 --- a/view/it/registrations-top.tpl +++ /dev/null @@ -1,3 +0,0 @@ -<h1>Registrazioni in attesa di conferma</h1> - - diff --git a/view/it/settings_nick_unset.tpl b/view/it/settings_nick_unset.tpl deleted file mode 100644 index 8f4cba475..000000000 --- a/view/it/settings_nick_unset.tpl +++ /dev/null @@ -1,15 +0,0 @@ - -<div id="settings-nick-wrapper" > -<p id="settings-nickname-desc"> -L'URL del tuo profilo è <strong>'$baseurl/profile/$uid'</strong>. -Impostare un soprannome permetterà di avere un URL piĆ¹ aimchevole, come -<strong>'soprannome@$basepath'</strong>. -<br /> -Una volta impostato, non potr&agreve; più essere cambiato. Il soprannome <strong>deve</strong> -cominciare con una lettera; nel soprannome sono permessi solo lettere, numeri, trattini (-) e underscore (_). -</p> -<label id="settings-nick-label" for="settings-nick" >Soprannome: </label> -<input type="text" name="nick" id="settings-nick" value="$nickname" /> -</div> -<div id="settings-nick-end" ></div> - |