"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "themes/simple/views/socialmedia/edit_social_media_link.ctp.php" between
seopanel.v.4.5.0.zip and seopanel.v.4.6.0.zip

About: Seo Panel is a seo control panel for managing search engine optimization of your websites.

edit_social_media_link.ctp.php  (seopanel.v.4.5.0):edit_social_media_link.ctp.php  (seopanel.v.4.6.0)
skipping to change at line 27 skipping to change at line 27
<input type="hidden" name="id" value="<?php echo $post['id']?>"/> <input type="hidden" name="id" value="<?php echo $post['id']?>"/>
<?php }?> <?php }?>
<table id="cust_tab"> <table id="cust_tab">
<tr class="form_head"> <tr class="form_head">
<th width='30%'><?php echo $headText?></th> <th width='30%'><?php echo $headText?></th>
<th>&nbsp;</th> <th>&nbsp;</th>
</tr> </tr>
<tr class="form_data"> <tr class="form_data">
<td><?php echo $spText['label']['Type']?>:</td> <td><?php echo $spText['label']['Type']?>:</td>
<td> <td>
<select name="type"> <select name="type" id="sm_type">
<?php foreach($serviceList as $serviceName => $se rviceInfo){?> <?php foreach($serviceList as $serviceName => $se rviceInfo){?>
<?php if($serviceName == $post['type']){? > <?php if($serviceName == $post['type']){? >
<option value="<?php echo $servic eName?>" selected><?php echo $serviceInfo['label']?></option> <option value="<?php echo $servic eName?>" selected><?php echo $serviceInfo['label']?></option>
<?php }else{?> <?php }else{?>
<option value="<?php echo $servic eName?>"><?php echo $serviceInfo['label']?></option> <option value="<?php echo $servic eName?>"><?php echo $serviceInfo['label']?></option>
<?php }?> <?php }?>
<?php }?> <?php }?>
</select> </select>
<?php echo $errMsg['service_name']?> <?php echo $errMsg['service_name']?>
</td> </td>
skipping to change at line 59 skipping to change at line 59
<?php }?> <?php }?>
</select> </select>
<?php echo $errMsg['website_id']?> <?php echo $errMsg['website_id']?>
</td> </td>
</tr> </tr>
<tr class="form_data"> <tr class="form_data">
<td><?php echo $spText['common']['Name']?>:</td> <td><?php echo $spText['common']['Name']?>:</td>
<td><input type="text" name="name" value="<?php echo $post['name' ]?>"><?php echo $errMsg['name']?></td> <td><input type="text" name="name" value="<?php echo $post['name' ]?>"><?php echo $errMsg['name']?></td>
</tr> </tr>
<tr class="form_data"> <tr class="form_data">
<td><?php echo $spText['common']['Link']?>:</td> <td id='sm_url_label'><?php echo $spText['common']['Link']?>:</td
<td><input type="url" name="url" value="<?php echo $post['url']?> >
" class="form-control"><?php echo $errMsg['url']?></td> <td>
<input type="text" name="url" value="<?php echo $post['ur
l']?>" class="form-control"><?php echo $errMsg['url']?>
<div style="padding: 10px 6px; display: none;" id="sm_url
_note">
<p><b>Eg:</b> 14576538</p>
<a target="_blank" href="<?php echo SP_MAIN_SITE?>/blog/2
020/07/how-do-i-find-the-linkedin-company-id/">
<?php echo $spTextSMC['Click here to get LinkedIn
Company Id']; ?> &gt;&gt;
</a>
</div>
</td>
</tr> </tr>
</table> </table>
<br> <br>
<table width="100%" class="actionSec"> <table width="100%" class="actionSec">
<tr> <tr>
<td style="padding-top: 6px;text-align:right;"> <td style="padding-top: 6px;text-align:right;">
<a onclick="scriptDoLoad('<?php echo $pageScriptPath?>', 'content ')" href="javascript:void(0);" class="actionbut"> <a onclick="scriptDoLoad('<?php echo $pageScriptPath?>', 'content ')" href="javascript:void(0);" class="actionbut">
<?php echo $spText['button']['Cancel']?> <?php echo $spText['button']['Cancel']?>
</a>&nbsp; </a>&nbsp;
<?php $actFun = SP_DEMO ? "alertDemoMsg()" : "confirmSubmit('$pag eScriptPath', 'edit_form', 'content')"; ?> <?php $actFun = SP_DEMO ? "alertDemoMsg()" : "confirmSubmit('$pag eScriptPath', 'edit_form', 'content')"; ?>
<a onclick="<?php echo $actFun?>" href="javascript:void(0);" clas s="actionbut"> <a onclick="<?php echo $actFun?>" href="javascript:void(0);" clas s="actionbut">
<?php echo $spText['button']['Proceed']?> <?php echo $spText['button']['Proceed']?>
</a> </a>
</td> </td>
</tr> </tr>
</table> </table>
</form> </form>
<script type="text/javascript">
$(function() {
function smTypeChange() {
smType = $("#sm_type option:selected").val();
if (smType == 'linkedin') {
$('#sm_url_label').html("<?php echo $spTextSMC['Company I
d']?>:");
$('#sm_url_note').show();
} else {
$('#sm_url_label').html("<?php echo $spText['common']['Li
nk']?>:");
$('#sm_url_note').hide();
}
}
smTypeChange();
$("#sm_type").on('change', function() {
smTypeChange();
});
});
</script>
 End of changes. 3 change blocks. 
4 lines changed or deleted 16 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)