more templates gone
This commit is contained in:
parent
e1fd2ecb16
commit
f1db34eebc
|
@ -65,12 +65,11 @@ function notifications_content(&$a) {
|
|||
else
|
||||
$sql_extra = " AND `ignore` = 0 ";
|
||||
|
||||
$o .= '<h1>' . t('Pending Friend/Connect Notifications') . '</h1>' . "\r\n";
|
||||
|
||||
$tpl = load_view_file('view/intros-top.tpl');
|
||||
$o .= replace_macros($tpl,array(
|
||||
'$hide_url' => ((strlen($sql_extra)) ? 'notifications/all' : 'notifications' ),
|
||||
'$hide_text' => ((strlen($sql_extra)) ? t('Show Ignored Requests') : t('Hide Ignored Requests'))
|
||||
));
|
||||
$o .= '<div id="notification-show-hide-wrapper" >';
|
||||
$o .= '<a href="' . ((strlen($sql_extra)) ? 'notifications/all' : 'notifications' ) . '" id="notifications-show-hide-link" >'
|
||||
. ((strlen($sql_extra)) ? t('Show Ignored Requests') : t('Hide Ignored Requests')) . '</a></div>' . "\r\n";
|
||||
|
||||
|
||||
$r = q("SELECT COUNT(*) AS `total` FROM `intro`
|
||||
|
@ -141,7 +140,7 @@ function notifications_content(&$a) {
|
|||
|
||||
if ($a->config['register_policy'] == REGISTER_APPROVE &&
|
||||
$a->config['admin_email'] === $a->user['email']){
|
||||
$o .= load_view_file('view/registrations-top.tpl');
|
||||
$o .= '<h1>' . t('User registrations waiting for confirm') . '</h1>' . "\r\n";
|
||||
|
||||
$r = q("SELECT `register`.*, `contact`.`name`, `user`.`email`
|
||||
FROM `register`
|
||||
|
|
|
@ -196,9 +196,11 @@ function profile_photo_content(&$a) {
|
|||
$o .= replace_macros($tpl,array(
|
||||
'$filename' => $filename,
|
||||
'$resource' => $a->config['imagecrop'] . '-' . $a->config['imagecrop_resolution'],
|
||||
'$image_url' => $a->get_baseurl() . '/photo/' . $filename
|
||||
'$image_url' => $a->get_baseurl() . '/photo/' . $filename,
|
||||
'$title' => t('Crop Image'),
|
||||
'$desc' => t('Please adjust the image cropping for optimum viewing.'),
|
||||
'$done' => t('Done Editing')
|
||||
));
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
|
3001
util/messages.po
3001
util/messages.po
File diff suppressed because it is too large
Load diff
|
@ -321,6 +321,7 @@ $a->strings['See all %d comments'] = 'See all %d comments';
|
|||
$a->strings['Invalid request identifier.'] = 'Invalid request identifier.';
|
||||
$a->strings['Discard'] = 'Discard';
|
||||
$a->strings['Ignore'] = 'Ignore';
|
||||
$a->strings['Pending Friend/Connect Notifications'] = 'Pending Friend/Connect Notifications';
|
||||
$a->strings['Show Ignored Requests'] = 'Show Ignored Requests';
|
||||
$a->strings['Hide Ignored Requests'] = 'Hide Ignored Requests';
|
||||
$a->strings['Claims to be known to you: '] = 'Claims to be known to you: ';
|
||||
|
@ -334,6 +335,7 @@ $a->strings['Friend/Connect Request'] = 'Friend/Connect Request';
|
|||
$a->strings['New Follower'] = 'New Follower';
|
||||
$a->strings['Approve'] = 'Approve';
|
||||
$a->strings['No notifications.'] = 'No notifications.';
|
||||
$a->strings['User registrations waiting for confirm'] = 'User registrations waiting for confirm';
|
||||
$a->strings['No registrations.'] = 'No registrations.';
|
||||
$a->strings['Login failed.'] = 'Login failed.';
|
||||
$a->strings["Welcome back "] = "Welcome back ";
|
||||
|
@ -375,6 +377,9 @@ $a->strings['Profile'] = 'Profile';
|
|||
$a->strings['Photos'] = 'Photos';
|
||||
$a->strings['Image uploaded but image cropping failed.'] = 'Image uploaded but image cropping failed.';
|
||||
$a->strings['Unable to process image'] = 'Unable to process image';
|
||||
$a->strings['Crop Image'] = 'Crop Image';
|
||||
$a->strings['Please adjust the image cropping for optimum viewing.'] = 'Please adjust the image cropping for optimum viewing.';
|
||||
$a->strings['Done Editing'] = 'Done Editing';
|
||||
$a->strings['Image uploaded successfully.'] = 'Image uploaded successfully.';
|
||||
$a->strings['Profile Name is required.'] = 'Profile Name is required.';
|
||||
$a->strings['Profile updated.'] = 'Profile updated.';
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<h1>Crop Image</h1>
|
||||
<h1>$title</h1>
|
||||
<p id="cropimage-desc">
|
||||
Please adjust the image cropping for optimum viewing.
|
||||
$desc
|
||||
</p>
|
||||
<div id="cropimage-wrapper">
|
||||
<img src="$image_url" id="croppa" class="imgCrop" alt="" />
|
||||
<img src="$image_url" id="croppa" class="imgCrop" alt="$title" />
|
||||
</div>
|
||||
<div id="cropimage-preview-wrapper" >
|
||||
<div id="previewWrap" ></div>
|
||||
|
@ -41,7 +41,6 @@ Please adjust the image cropping for optimum viewing.
|
|||
|
||||
<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" />
|
||||
|
@ -51,7 +50,7 @@ Please adjust the image cropping for optimum viewing.
|
|||
<input type="hidden" name="width" id="width" />
|
||||
|
||||
<div id="crop-image-submit-wrapper" >
|
||||
<input type="submit" name="submit" value="Done Editing" />
|
||||
<input type="submit" name="submit" value="$done" />
|
||||
</div>
|
||||
|
||||
</form>
|
|
@ -1,58 +0,0 @@
|
|||
<h1>Bild zuschneiden</h1>
|
||||
<p id="cropimage-desc">
|
||||
Zur optimalen Darstellung des Bildes kann es nun auf einen Bereich
|
||||
zugeschnitten werden. Bitte wähle diesen Bereich.
|
||||
</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="Done Editing" />
|
||||
</div>
|
||||
|
||||
</form>
|
|
@ -1,7 +0,0 @@
|
|||
<h1>Schwebende Freundschafts/Kontakt Benachrichtigungen</h1>
|
||||
|
||||
<div id="notification-show-hide-wrapper" >
|
||||
<a href="$hide_url" id="notification-show-hide-link">$hide_text</a>
|
||||
</div>
|
||||
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<h1>Schwebende Neuanmeldungen</h1>
|
||||
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
|
||||
<div id="settings-nick-wrapper" >
|
||||
<p id="settings-nickname-desc">
|
||||
Deine Profil URL ist im Moment <strong>'$baseurl/profile/$uid'</strong>.
|
||||
Wenn du einen Spitznamen wählst kann man diese URL freundlicher ausdrücken
|
||||
z.B. <strong>'spitzname@$basepath'</strong>.
|
||||
<br />
|
||||
Einmal gewählt kann der Spitzname nicht mehr geändert werden. Er
|
||||
<strong>muss</strong> mit einem Buchstaben beginnen. Es sind ausschließlich
|
||||
Buchstaben, Zahlen sowie Binde- und Unterstriche erlaubt.
|
||||
</p>
|
||||
<label id="settings-nick-label" for="settings-nick" >URL Spitzname: </label>
|
||||
<input type="text" name="nick" id="settings-nick" value="$nickname" />
|
||||
</div>
|
||||
<div id="settings-nick-end" ></div>
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<h1>Pending Friend/Connect Notifications</h1>
|
||||
|
||||
<div id="notification-show-hide-wrapper" >
|
||||
<a href="$hide_url" id="notification-show-hide-link">$hide_text</a>
|
||||
</div>
|
||||
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<h1>User registrations waiting for confirm</h1>
|
||||
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
|
||||
<div id="settings-nick-wrapper" >
|
||||
<p id="settings-nickname-desc">
|
||||
Your profile URL is currently <strong>'$baseurl/profile/$uid'</strong>.
|
||||
Setting a nickname will allow a friendly profile URL such as
|
||||
<strong>'nickname@$basepath'</strong>.
|
||||
<br />
|
||||
Once set, it can never be changed. The nickname <strong>must</strong> start with a letter; and only letters, numbers, dashes, and underscores are allowed.
|
||||
</p>
|
||||
<label id="settings-nick-label" for="settings-nick" >URL Nickname: </label>
|
||||
<input type="text" name="nick" id="settings-nick" value="$nickname" />
|
||||
</div>
|
||||
<div id="settings-nick-end" ></div>
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
<h1>Crop Image</h1>
|
||||
<p id="cropimage-desc">
|
||||
Merci d'ajuster le cadre de l'image pour un affichage optimal.
|
||||
</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="Edition terminée" />
|
||||
</div>
|
||||
|
||||
</form>
|
|
@ -1,7 +0,0 @@
|
|||
<h1>Demandes d'amitié/mise en relation en attente</h1>
|
||||
|
||||
<div id="notification-show-hide-wrapper" >
|
||||
<a href="$hide_url" id="notification-show-hide-link">$hide_text</a>
|
||||
</div>
|
||||
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<h1>Inscriptions d'utilisateurs en attente de confirmation</h1>
|
||||
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
|
||||
<div id="settings-nick-wrapper" >
|
||||
<p id="settings-nickname-desc">
|
||||
Votre adresse (URL) de profil est actuellement <strong>'$baseurl/profile/$uid'</strong>.
|
||||
Choisir un pseudo vous donnera une URL plus simple à retenir, comme
|
||||
<strong>'nickname@$basepath'</strong>.
|
||||
<br />
|
||||
Une fois défini, il ne pourra plus changer. Le pseudo <strong>doit</strong> débuter par une lettre; et seuls lettres, nombres, tirets et sous-tirets (_) sont autorisés.
|
||||
</p>
|
||||
<label id="settings-nick-label" for="settings-nick" >Pseudo: </label>
|
||||
<input type="text" name="nick" id="settings-nick" value="$nickname" />
|
||||
</div>
|
||||
<div id="settings-nick-end" ></div>
|
||||
|
|
@ -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>
|
|
@ -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>
|
||||
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<h1>Registrazioni in attesa di conferma</h1>
|
||||
|
||||
|
|
@ -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>
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
<h1>Beskär bilden</h1>
|
||||
<p id="cropimage-desc">
|
||||
Välj hur du vill att bilden ska beskäras.
|
||||
</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="Spara" />
|
||||
</div>
|
||||
|
||||
</form>
|
|
@ -1,6 +0,0 @@
|
|||
<h1>Väntande förfrågningar om vänskap/kontakt</h1>
|
||||
|
||||
<div id="notification-show-hide-wrapper" >
|
||||
<a href="$hide_url" id="notification-show-hide-link">$hide_text</a>
|
||||
</div>
|
||||
|
|
@ -1 +0,0 @@
|
|||
<h1>Registreringar från användare som inväntar godkännande</h1>
|
|
@ -1,12 +0,0 @@
|
|||
<div id="settings-nick-wrapper" >
|
||||
<p id="settings-nickname-desc">
|
||||
Din profiladress är för närvarande<strong>'$baseurl/profile/$uid'</strong>.
|
||||
Genom att ange ett smeknamn/nick kan din adress bli enklare, så här:
|
||||
<strong>'nickname@$basepath'</strong>.
|
||||
<br />
|
||||
När smeknamn/nick har angetts kan det <strong>inte</strong> ändras. Det <strong>måste</strong> inledas med en bokstav, och bara bokstäver, siffror, bindestreck och understrykningstecken får användas.
|
||||
</p>
|
||||
<label id="settings-nick-label" for="settings-nick" >URL Smeknamn/nick: </label>
|
||||
<input type="text" name="nick" id="settings-nick" value="$nickname" />
|
||||
</div>
|
||||
<div id="settings-nick-end" ></div>
|
Loading…
Reference in a new issue